Make sure bad parameters in the file opening parameter cache don't hide good defaults

How to reproduce:
Open a dataset with good parameter guessing, for example MIB. Then close and re-open with bad parameters that trigger an error in the opening procedure. Close and re-open again.
Observed behavior:
The bad parameters are cached and there's no obvious or easy way to go back to automatically guessed or default parameters.
Expected behavior:
It is always possible to use the guessed or default parameters again without having to remember them and without having to purge the entire parameter cache.
Possible behaviors to resolve this:

Bad parameters that cause an error are not cached. Disadvantage: ALL updated parameters would likely have to be entered again, not just the bad ones.
Guessed parameters are always shown in addition to cached values and/or can be used with an easy method, for example clicking on a button next to an input field. This would be the more user-friendly choice.

There is now a per-form reset button, which resets all parameters (except name) to the detected ones. I think a per-field variant is overkill for now, as most formats don't have many parameters. Should revisit this when adding new formats!


Use valid YAML in readme

I don't recommend using this lib until I bring over the latest changes to ember-cp-validations that were made while we iterated on i18n + cp-validations.  That will happen later on tonight


Bug: network-request-failed during User Login/Registration on Android Emulator

Description
I am facing an issue while attempting to log in or register a new user using Firebase Authentication on an Android emulator. The app throws the following error during the login or registration process:
Exception: network-request-failed
I/FirebaseAuth( 4188): Logging in as<EMAIL_ADDRESS>with empty reCAPTCHA token
W/System  ( 4188): Ignoring header X-Firebase-Locale because its value was null.
E/RecaptchaCallWrapper( 4188): Initial task failed for action RecaptchaAction(action=signInWithPassword) with exception - A network error (such as timeout, interrupted connection or unreachable host) has occurred.
D/EGL_emulation( 4188): app_time_stats: avg=498.74ms min=496.81ms max=499.83ms count=3
W/WindowOnBackDispatcher( 4188): OnBackInvokedCallback is not enabled for the application.

The error seems to be related to Firebase Authentication and reCAPTCHA handling during login and registration. The login attempt is being made with an empty reCAPTCHA token, and the system logs indicate that the X-Firebase-Locale header value is null.
This issue occurs consistently on the Android emulator (I have not tested on a physical device yet). Additionally, network issues are suggested by the message stating, “A network error (such as timeout, interrupted connection or unreachable host) has occurred.”
Steps to Reproduce

Run the app on an Android emulator.
Attempt to log in or register a new user using Firebase Authentication.
Observe the error in the console and the failure of the authentication process.

Expected Behavior
The app should successfully log in or register a user without throwing a network-related error.
Actual Behavior
The authentication process fails with a network-related error (network-request-failed), preventing the user from logging in or registering.
Environment

Android Emulator (API Level 30)
Firebase Authentication (Email/Password)
Flutter version: 3.x.x
Firebase dependencies: firebase_auth version x.x.x, cloud_firestore version x.x.x

Additional Information

The app runs fine until the login/registration step.
I’ve checked network connectivity on the emulator, and it appears stable.
This issue does not seem to be related to code since it only throws during network requests for authentication.

Any ideas or suggestions to resolve this issue would be highly appreciated!

@yazdanhaider
can you assign me this issue? I would like to work on it

@yazdanhaider can you assign me this issue? I would like to work on it

Go on @Dhruv80576 and make sure to check the CONTRIBUTING markdown file.

Heyyyy @Dhruv80576 What's the update?

@yazdanhaider
There was some issue related to gradle version i just fixed that. I will work on this issue now and fix it by tommorow.


Dialog-Response-Options: No Links

Hi, I have created in the Dialog an Answer with Options. the Links you can click on in original Watson page "Try me" do not appear in the assistant-simple app. it only shows the "list label" can you fix this? Thanks & Greets.

@tkretsch I'm not sure what the issue is here, the assistant-simple app and the "Try me" responses show the same list items (List Label), as this is the text to be seen when presented to an end-user. When the user clicks on an option the system will display the value (if it's different).
Please see the below example where I modified the value to "my lights" but the list label is set to "the lights".
If you are experiencing a different issue, please let me know.

Hi Oliver,
I have copied  3 screenshots together:

the dialog (german)
the Try me dialog including the hyperlinks to klick
the simple app connected to the workspace (no hyperlinks to click)

if you click in 2. the hyperlink "Rechnungserklärung" the watson put the value "Erkläre mir meine Rechnung" into the chat. But in 3. if you can not click you will never see the value.
I would like to have the hyperlinks also in the simple app to click.

When do you think you can fix it?

@tkretsch This is working as expected in the sample app, lists can be clickable or not, as required by your solution - you would need to add the clickable code in your version of the sample app. However, if you want to use the UI code as is, please add "preference": "button", to the response code - which would be inserted just above the response_type:
    "preference": "button",
    "response_type": "option"
  }

perfekt, thanks a lot. I changed it and it works. for other people looking for it, here is the link to the documentation: https://console.bluemix.net/docs/services/conversation/dialog-responses-json.html#defining-responses-using-the-json-editor


Bugfix: error message is displayed to often

changed order of checks so that when no file shall be created, no error message is displayed.

Since when do the tests take more than 10 minutes?


can i make this work for Lenovo Miix 630 (snapdragon 835)?

Prerequisites

[x] Have you read the wiki?
[ ] Is your device in the supported list?
[x] Does the device have a Snapdragon SOC which is supported in this repo?

Description
is there's a way to make this work on Lenovo Miix 630, it has snapdragon 835, and it had windows 10 1709 installed before, but i'm unable to reinstall it again

AFAIK  Lenovo Miix 630 has native Windows support and I don't really see the point of trying to port this project to that instead of using the native support :P
You can try working on that though


WooCommerce + Printful compatibility

reference https://wordpress.org/support/topic/woocommerce-372/
I seem to be having a problem with WooCommerce, all main Pictures aren’t showing up, but when I edit such item the pics are there. I have disabled the mode and it works. I’m using the Printful addon to add products created at the Printful website and it syncs the images to WordPress. I have also Sync your program and it seems to be syncing the images in the log.

It's working fine. Nothing is wrong there.

@alimuzzaman there was a new comment from the user, he sent a zip of his woo plugin - https://wordpress.org/support/topic/dynamic-image-support/#post-10424222


Contributions rules

Hey @SubhadityaMukherjee
With be nice to add some Contributions rules, so we know how to contribute, like:
which branch to work on and tests
Cheers,
Eden

Hello Eden @jusce17 . To be honest I am not particularly experienced with this.
I have set up some rudimentary rules in the README. If you have any suggestions, just drop a PR.
Thank you for your interest :)

Hey @SubhadityaMukherjee I believe you already did :)
on readme you wrote :
to add support for a new language/add specific functions, use the testing branch.
Be sure to add a proper explanation with each commit, etc etc... I think this is it


of systems/brews supported on a single Pi

Hi guys, I have been following the coding work and issue resolutions for a while now and have to say how impressed I am at how a completely separate group of people, spread from what I can see around the world, are working together in an organised and professional manner. You should all be proud of what you have achieved here it is nothing short of brilliant. :)
I do have one question though now that I have sorted my system and actually have my Z talking to the server via a wired network. The question is can more than one Z system work with a single Pi, I have the Z2 setup. This is not really covered in any of the posts here and I don't have access to Facebook. I believe from my initial setup that yes the Pi will support multiple brew systems but will it support 2 separate brews at the same time using my Z2?
Happy New Year
Cheers
Les

Multiple devices are supported - I'd recommend getting a dummy switch/hub and wire the Z's and pi to it

Multiple devices are supported - I'd recommend getting a dummy switch/hub and wire the Z's and pi to it

Since I don't have two Z's attached to the same Picobrew account I never was able to intercept a log of data flowing for a "group brew". I have an idea based on existing captures of independent brews and the use of "group brew" when attaching an accessory device (PicoStill).
However as @chiefwigms mentions I haven't looked at getting that to work... Just start the same session twice and you are good.
I personally have a Z2, Pro and 4 (?) PicoFerms all able to have active sessions. The software should support "unlimited" (aka God's limit) the hardware however is where the God limit will be enforced. If you want to hardwire then yeah a hub/switch is the limiting factor, if you go wireless likely # devices the wireless interface can support at one time will be limiting factor before things like available OS Sockets, Open File Handlers, etc become a problem I'm sure.

Since I don't have two Z's attached to the same Picobrew account I never was able to intercept a log of data flowing for a "group brew". I have an idea based on existing captures of independent brews and the use of "group brew" when attaching an accessory device (PicoStill).
However as @chiefwigms mentions I haven't looked at getting that to work... Just start the same session twice and you are good.
I personally have a Z2, Pro and 4 (?) PicoFerms all able to have active sessions. The software should support "unlimited" (aka God's limit) the hardware however is where the God limit will be enforced. If you want to hardwire then yeah a hub/switch is the limiting factor, if you go wireless likely # devices the wireless interface can support at one time will be limiting factor before things like available OS Sockets, Open File Handlers, etc become a problem I'm sure.

@LEFsher you can try this by just starting two clean, rinse or drain utility methods on your devices while connected to the Pi. Let us know if you run into problems with that. Similarly just start two brew sessions and see it work as I do this at least once a week.

@LEFsher you can try this by just starting two clean, rinse or drain utility methods on your devices while connected to the Pi. Let us know if you run into problems with that. Similarly just start two brew sessions and see it work as I do this at least once a week.

Thanks Guys,
I have the 2 Z’s connected via a hub so will try the clean, rinse or drain utility methods and let you know what happens.
Cheers
Les
From: Trevor Mack<EMAIL_ADDRESS>Sent: Monday, January 4, 2021 10:13
To: chiefwigms/picobrew_pico<EMAIL_ADDRESS>Cc: LEFsher<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [chiefwigms/picobrew_pico] # of systems/brews supported on a single Pi (#177)
@LEFsherhttps://github.com/LEFsher you can try this by just starting two clean, rinse or drain utility methods on your devices while connected to the Pi. Let us know if you run into problems with that. Similarly just start two brew sessions and see it work as I do this at least once a week.
[https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png]https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/chiefwigms/picobrew_pico/issues/177#issuecomment-754130757, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARULOXBIDVO7SPQJCIJVCQDSYIAKTANCNFSM4VTJ6YJQ.

Thanks Guys,
I have the 2 Z’s connected via a hub so will try the clean, rinse or drain utility methods and let you know what happens.
Cheers
Les
From: Trevor Mack<EMAIL_ADDRESS>Sent: Monday, January 4, 2021 10:13
To: chiefwigms/picobrew_pico<EMAIL_ADDRESS>Cc: LEFsher<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [chiefwigms/picobrew_pico] # of systems/brews supported on a single Pi (#177)
@LEFsherhttps://github.com/LEFsher you can try this by just starting two clean, rinse or drain utility methods on your devices while connected to the Pi. Let us know if you run into problems with that. Similarly just start two brew sessions and see it work as I do this at least once a week.
[https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png]https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/chiefwigms/picobrew_pico/issues/177#issuecomment-754130757, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARULOXBIDVO7SPQJCIJVCQDSYIAKTANCNFSM4VTJ6YJQ.

Just completed a full system clean on both Z’s no issues and the data/charts were recorded under session\brew history… Next steps pull together a couple of simple recipes and brew 😊
Cheers
Thanks for all of your help
From: Trevor Mack<EMAIL_ADDRESS>Sent: Monday, January 4, 2021 10:13
To: chiefwigms/picobrew_pico<EMAIL_ADDRESS>Cc: LEFsher<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [chiefwigms/picobrew_pico] # of systems/brews supported on a single Pi (#177)
@LEFsherhttps://github.com/LEFsher you can try this by just starting two clean, rinse or drain utility methods on your devices while connected to the Pi. Let us know if you run into problems with that. Similarly just start two brew sessions and see it work as I do this at least once a week.
[https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png]https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/chiefwigms/picobrew_pico/issues/177#issuecomment-754130757, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARULOXBIDVO7SPQJCIJVCQDSYIAKTANCNFSM4VTJ6YJQ.

Just completed a full system clean on both Z’s no issues and the data/charts were recorded under session\brew history… Next steps pull together a couple of simple recipes and brew 😊
Cheers
Thanks for all of your help
From: Trevor Mack<EMAIL_ADDRESS>Sent: Monday, January 4, 2021 10:13
To: chiefwigms/picobrew_pico<EMAIL_ADDRESS>Cc: LEFsher<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [chiefwigms/picobrew_pico] # of systems/brews supported on a single Pi (#177)
@LEFsherhttps://github.com/LEFsher you can try this by just starting two clean, rinse or drain utility methods on your devices while connected to the Pi. Let us know if you run into problems with that. Similarly just start two brew sessions and see it work as I do this at least once a week.
[https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png]https://user-images.githubusercontent.com/2158627/103565524-7890a500-4e8e-11eb-975c-52ee16d871ae.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/chiefwigms/picobrew_pico/issues/177#issuecomment-754130757, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARULOXBIDVO7SPQJCIJVCQDSYIAKTANCNFSM4VTJ6YJQ.


Cannot find LinkedIn account connections

Is It possible to pull the value of LinkedIn account connections?
You can find it under Azure Active Directory -> Users -> Manage -> User settings.

Unfortunately this setting is not yet available in Graph API.


build --prod on azure webapp CI

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Azure Webapp

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.19-3
node: 6.9.0

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.
I've tried building my app on azure CI, the build process is fine ng build --prod however when I start the app it only shows me the home page when I route to other page like site.com/login it gives me an error of The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. It seems like the routes is not there at all.
The build checks my TFS repo then do the build --prod and copy the dist folder and upload it to the webapp.
Can someone shed a light on this issue?
I get this when building on my local machine

Thanks! We'll be in touch soon.

A typical SPA requires the server to have a redirect rule that sends all non resource requests to the index.

So how can I fix this?

Put this in your web.config
`

`

@elvirdolic
It's giving me 500 Internal Server Error.

A quick google search turned up this (it's pretty much what @elvirdolic wrote):
https://coderwall.com/p/mycbiq/deep-linking-angularjs-on-windows-azure-iis

@clydin
Yeah, which is giving me an error of 500 the app isn't loading at all now.
Do I need to change my  to my azure web url or leaving it as is fine?

This seems like it's not an Angular-CLI problem, but rather an Azure configuration issue. The link above should be a good starter, but you'll need to customize it to your projects and needs.
Stack Overflow might be a better tool for this kind of question. For now, closing this as the CLI doesn't do anything special for servers, be it Azure or AWS or Google Cloud or any other...
Cheers.

If your site is an static page there is an Azure configuration that you can use
https://gist.github.com/1a566a72d9ce49600dd2207b9b21f975

@juanpmarin-infocorp how that would that be added to the azure cloud service definition file?

@alejorybak put this on the .deployment file
[config] command = deploy.cmd

Add web.config file to your root directory and insert the code below in it.

Although this has been closed, I found the issue YES with the web.config - but add in the "staticContent" element. I had the same issue with trying to read a JSON file on an Azure deployed instance... It was the mimeType that was missing.
My copy of the web.config...
<configuration>     <system.webServer>       <staticContent>         <mimeMap fileExtension=".woff" mimeType="application/font-woff" />         <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />         <mimeMap fileExtension=".json" mimeType="application/json" />       </staticContent>       <rewrite>         <rules>           <rule name="Angular">             <match url=".*" />             <conditions logicalGrouping="MatchAll">               <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />               <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />             </conditions>             <action type="Rewrite" url="/" />           </rule>         </rules>       </rewrite>     </system.webServer> </configuration>


VsCode not responsive since last update when typing TypeScript code

VSCode Version: Code 1.13.0 (376c52b955428d205459bea6619fc161fc8faacf, 2017-06-08T16:43:13.058Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author
Version

Bookmarks
alefragnani
0.15.1

bracket-pair-colorizer
CoenraadS
0.10.7

tslint
eg2
0.15.0

vscode-codemetrics
kisstkondoros
1.7.2

debugger-for-chrome
msjsdiag
3.1.3

vscode-subword-navigation
ow
1.1.5

vscode-icons
robertohuertasm
7.9.0

gitblame
waderyan
1.11.2

Steps to Reproduce:

Typing code (TS)
Application hand up. This started to occurs since the last update. I can resize the windows, go in the main top menu, but cannot click in the code, or click anything on the left side. I can click the 'X' but nothing happen.

I don't have more accurate steps to reproduce. You can reach my at<EMAIL_ADDRESS>if we you want to chat about it.

I'm unable to reproduce this. First can you please make sure an extension is not to blame by starting code with the --disable-extensions command line flag

This may be related to this issue https://github.com/Microsoft/vscode/issues/28824

For your information, I didn't see the error today, neither the day before. However, since then, I worked on smaller file (always under 1000 lines of code). When it was crashing, I also noticed that it was happening not only when working in some TypeScript file, but happened also when executing some searches on a big repository without a filter for file extension. Maybe it's not related, I am still trying to find the pattern.

Closing. Please let us know if you see this issue in the latest vscode builds with extensions disabled


ERROR: column n.namespace does not exist (SQLSTATE 42703)

Describe the bug
Getting the error column namespace not found while running the kubernetes_compliance.benchmark.nsa_cisa_v1_network_hardening_cpu_limit benchmark
Steampipe version (steampipe -v)
v0.20.11
Plugin version (steampipe plugin list)
Kubernetes Plugin = v0.22.1
To reproduce
1 - Clone the steampipe-mod-kubernetes-compliance repo and CD into it
2 - run "steampipe check kubernetes_compliance.benchmark.nsa_cisa_v1_network_hardening_cpu_limit"
Expected behavior
It should look for appropriate columns

Welcome to Steampipe @the-cloudops-guy and apologies for the snag!!
A couple of questions that might help us in debugging this issue:

Could you please mention the environment that you are using to run the query? Is it on the terminal?
Are you able to run other benchmarks/controls? Do you also get an error for them?
If you are running on your local machine and you have the kubernetes plugin installed, could you please share the results that you are getting from .inspect kubernetes_limit_range and kubernetes_namespace?
Are you able to run the basic queries of kubernetes_limit_range and kubernetes_namespace tables? Like the queries mentioned in https://hub.steampipe.io/plugins/turbot/kubernetes/tables/kubernetes_limit_range
Could you please share your sample kubernetes.spc file with sensitive information redacted?

Thanks @graza-io for your insight on the kubernetes_namsespace table not including a namespace column.
The error seems to be in https://github.com/turbot/steampipe-mod-kubernetes-compliance/blob/main/query/namespace.sp#L154-L182 wherein we are trying to query the namespace column as a common dimension.

To clarify I think using common_dimensions_qualifier_namespace_sql instead of common_dimensions_qualifier_sql in the queries where n is kubernetes_namespace should resolve the issues.

Additional notes:

I believe all the queries mentioned in namespace.sp should be updated to use common_dimensions_qualifier_namespace_sql instead of common_dimensions_qualifier_sql.
For instance, the query namespace_limit_range_default_memory_limit should look like the following -

query "namespace_limit_range_default_memory_limit" {
  sql = <<-EOQ
    with default_limit_range as (
      select
        namespace,
        l -> 'default' as default_limit,
        l -> 'defaultRequest' as default_request
        from
        kubernetes_limit_range,
        jsonb_array_elements(spec_limits) as l
    )
    select
      coalesce(n.uid, concat(n.path, ':', n.start_line)) as resource,
      case
        when default_limit ->> 'memory' is null then 'alarm'
        else 'ok'
      end as status,
      case
        when default_limit ->> 'memory' is null then n.name || ' do not have LimitRange default memory limit.'
        else n.name || ' has LimitRange default memory limit.'
      end as reason
      ${replace(local.tag_dimensions_qualifier_sql, "__QUALIFIER__", "n.")}
      ${replace(local.common_dimensions_qualifier_namespace_sql, "__QUALIFIER__", "n.")}
    from
      kubernetes_namespace n
      left join default_limit_range r
      on n.name = r.namespace;
  EOQ
}

Thanks @misraved and @graza-io for your help.
Additional Info that you have asked @misraved:

I am using the Steampipe CLI.
Yes, I am able to run the controls like steampipe check control.daemonset_cpu_limit.
Find the list of columns below:

.inspect kubernetes_limit_range

_ctx
annotations
context_name
creation_timestamp
deletion_grace_period_seconds
deletion_timestamp
end_line
finalizers
generate_name
generation
labels
name
namespace
owner_references
path
resource_version
source_type
spec_limits
start_line
tags
title
uid

.inspect kubernetes_namespace

_ctx
annotations
conditions
context_name
creation_timestamp
deletion_grace_period_seconds
deletion_timestamp
end_line
finalizers
generate_name
generation
labels
name
owner_references
path
phase
resource_version
source_type
spec_finalizers
start_line
tags
title
uid

Yes, I am able to run basic queries.
The following is the kubernetes.spc:

connection "kubernetes" {
  plugin = "kubernetes"
  custom_resource_tables = ["*"]
}

Thanks @misraved and @graza-io for your help.
Additional Info that you have asked @misraved:

I am using the Steampipe CLI.
Yes, I am able to run the controls like steampipe check control.daemonset_cpu_limit.
Find the list of columns below:

.inspect kubernetes_limit_range

_ctx
annotations
context_name
creation_timestamp
deletion_grace_period_seconds
deletion_timestamp
end_line
finalizers
generate_name
generation
labels
name
namespace
owner_references
path
resource_version
source_type
spec_limits
start_line
tags
title
uid

.inspect kubernetes_namespace

_ctx
annotations
conditions
context_name
creation_timestamp
deletion_grace_period_seconds
deletion_timestamp
end_line
finalizers
generate_name
generation
labels
name
owner_references
path
phase
resource_version
source_type
spec_finalizers
start_line
tags
title
uid

Yes, I am able to run basic queries.
The following is the kubernetes.spc:

connection "kubernetes" {
  plugin = "kubernetes"
  custom_resource_tables = ["*"]
}


Introduce Experimental API - Future features

Is your feature request related to a problem? Please describe.
Introduce experimental submodule to provide less stable experimental API
Describe the solution you'd like
Put the submodule right below the main module, .i.e. childe module of main module.
Describe alternatives you've considered
None
Screenshots / Text
Not Needed
Additional context
This will be useful for the prototyping some experimental features, see below

Features to increase the flexibility of torchview:

Add option to draw computational graph of methods other than forward
For instance, we would want to have
model_graph = draw_graph(model, input_data, model_method="preprocess")

Issues:

the record_tensor module is based only on call method. We would need to adapt it based on the method provided.

Context manager to record computation into visual graph: This seems pretty self-explanatory. Create a context manager,                             e  every (torch) operation inside it.
Issues:

the record_tensor module is based only on call method. We would need to adapt it based on the method provided. This is because a variety of operations will be called inside the context manager. An ideal tool should capture this, otherwise, it is kind of pointless to introduces this feature
Register the model with context and manager and their respective methods.


Handle object literals with "erased" type

Bug report
I believe it's one of the optimisations TypeScript compiler is doing, like type interning, but the type of the object literal can be "erased" down to an anonymous type when used in combination with generic function.
The examples below give more context.
The Model interface is annotated as @public and should not be minified.
However, when the generic context function gets in the middle, the type checker ends up "erasing" the type of the object literal being returned, i.e. instead of type being Model it becomes an anonymous { param1: string, param2: string }.
As a result the minifier will now minify property names it should not, breaking the code.
Input code
/** @public */
interface Model {
    param1: string;
    param2: string;
}

export declare function context<Result>(name: string, producer: () => Result): Result;

export function exampleWithGeneric(param1: string, param2: string): Model {
    return context("contextName", () => {
        return {
            param1: param1,
            param2: param2,
        };
    });
}

export function exampleWithGenericAndAnnotation(param1: string, param2: string): Model {
    return context<Model>("contextName", () => {
        return {
            param1: param1,
            param2: param2,
        };
    });
}

export function exampleWithoutGeneric(param1: string, param2: string): Model {
    return {
        param1: param1,
        param2: param2,
    };
}

Expected output

/** @public */
interface Model {
    param1: string;
    param2: string;
}

export declare function context<Result>(name: string, producer: () => Result): Result;

export function exampleWithGeneric(param1: string, param2: string): Model {
    return context("contextName", () => {
        return {
            param1: param1,
            param2: param2,
        };
    });
}

export function exampleWithGenericAndAnnotation(param1: string, param2: string): Model {
    return context<Model>("contextName", () => {
        return {
            param1: param1,
            param2: param2,
        };
    });
}

export function exampleWithoutGeneric(param1: string, param2: string): Model {
    return {
        param1: param1,
        param2: param2,
    };
}

Actual output
/** @public */
interface Model {
    param1: string;
    param2: string;
}

export declare function context<Result>(name: string, producer: () => Result): Result;

export function exampleWithGeneric(param1: string, param2: string): Model {
    return context("contextName", () => {
        return {
            _internal_param1: param1,
            _internal_param2: param2,
        };
    });
}

export function exampleWithGenericAndAnnotation(param1: string, param2: string): Model {
    return context<Model>("contextName", () => {
        return {
            param1: param1,
            param2: param2,
        };
    });
}

export function exampleWithoutGeneric(param1: string, param2: string): Model {
    return {
        param1: param1,
        param2: param2,
    };
}

Additional context
It's worth noting that it seems to be how TypeScript compiler resolves types.
Even VS Code's LSP indicates it.

Annotating generic functions with type signature is an option, but not a very reliable one because I don't think there's a way to enforce it.
If there's such option with linter or compiler that'd be nice.
It feels like transformer plugin has to do the work compiler chose not to.
E.g. if object literal is part of return statement then the plugin would have to analyse return type of the parent function and then all the other parent functions all the way up to the top (source file) and check if any of those types is external or annotated with @public.

Hi there,

It's worth noting that it seems to be how TypeScript compiler resolves types.

Yes, as far as we have a duck typing TypeScript compiler will match types in later stages, but it won't assign a name Model (in your case) automatically since you didn't specify it anywhere. You can test it by doing some interesting trick: just move cursor to the first param1 in param1: param1 in return statement object and press "navigate to the symbol" (f12 in vscode) - it won't go anywhere.

If there's such option with linter or compiler that'd be nice.

I think it's possible to write such eslint rule for sure, but most probably it will require a type checking information. Also, I think this case is suitable for https://github.com/timocov/ts-transformer-properties-rename/issues/10, but the transformer can't generate errors/warnings properly at the moment I'm afraid.
For my experience of maintaining lightweight-charts (we use this transformer there for a long time) I can tell that if you have any kind of test (manual or automated ones) it's much much easier to maintain the project to have it work with this transformer once you setup it and check everything known at the moment of introducing.

It feels like transformer plugin has to do the work compiler chose not to.

Oh no, I don't think that this transformer should do this work in any way 🙂 I mean, Microsoft has the whole team to support compiler and type checking especially, I don't think that part of compiler's work should be done somewhere outside, just because it will be outdated on every new version of the compiler. Just look at any of JetBrains IDE with their own TypeScript implementation - they have to do a lot of work every new TypeScript release just because they don't use TypeScript's compiler and they still have a lot of unimplemented features so for (for instance they don't have support for composite projects what makes work on big project painful).
This is might be huge amount of work actually, I think it's much easier to implement eslint rule to enforce people to write types for everything 😂 (probably tslint/eslint already have such rule but I don't remember exactly).
We have had exactly the same issue when we introduced this transformer in lightweight-charts some time ago and fixed it by adding a generic specifier, e.g. https://github.com/tradingview/lightweight-charts/commit/080aa9aa52a10499f1c038db970b3f9cab1c6332#diff-8bbee54ab053b73e1b695d299bc1f31998a043bd96da02dc2d4020e9169e2d97R153 - for me it's the best solution of this issue.


azure-servicebus.AutoLockRenewer change ThreadPool usage

Is your feature request related to a problem? Please describe.
The azure.servicebus.AutoLockRenewer is implicitly limited to renewing locks for at most max_workers number of messages. For an application that takes many messages off of the queue for parallel processing, this can present problems.
The azure.servicebus.AutoLockRenewer uses a single future inside of a ThreadPoolExecutor to monitor messages and renew locks. This means it's limited to monitoring at most max_workers messages at a time (since a thread pool only runs one future per-thread until the future completes).
Describe the solution you'd like
An alternative implementation could instead use max_workers futures monitoring a set of messages per future rather than a single message per future.
Describe alternatives you've considered
An alternative solution would be to implement parallelism with each worker taking a message off of the queue for itself to process. This is certainly possible, but there are still cases where taking more than max_workers messages off of the queue could be desirable (e.g. prefetching messages).

hey @michaelcredera , thanks for your feedback, I'll take a look into it.

hey @michaelcredera , sorry we have limited resourcing currently. would you like to try making a PR for the change? I would be glad to review it😊 (It's completely fine if you don't have the time, just FYI we're an open-source library and we welcome user contributions)

Hey @yunhaoling - I can try to get a PR up this week

@yunhaoling Are there branching permissions on the repo? I didn't see anything in the contribution guide, but I'm getting a 403 error pushing my branch:
git push --set-upstream origin feature/19362-threadpool-improvements-for-servicebus
...
fatal: unable to access 'https://github.com/Azure/azure-sdk-for-python.git/': The requested URL returned error: 403

hey @michaelcredera , creating a branch directly in the azure-sdk-for-python repo is not allowed for external contributors.
instead, you could fork the azure-sdk-for-python repo and create a PR from your repo branch.

hey @michaelcredera , just friendly checking if you need any help on the PR?

hey @michaelcredera , we have improved the implementation in the release v7.3.2 so that the message count that auto lock renewer could handle is not limited to the max_worker value, sorry for keeping you waiting and please try it out.
however, it is still recommended that a large max_worker or executor of large max_worker is passed in the case that there're many objects to be renewed.

Hey @yunhaoling, I'd like to note here that this change seemed to be the cause of a significant performance degradation we've observed in a couple of our apps where processing times increased from ~1.7s to ~9s per message.
We're running microservices which process one message at a time in a single process. However, since these services run as containers on an AKS with multi-core nodes, python still "thinks" it has multiple cores available and thus the AutoLockRenewer will create a ThreadPoolExecutor with at least 5 threads (because we neither set executor nor max_workers). This, in turn, causes the dispatcher to submit the renewals as tasks instead of executing them directly. We can't say for sure, but we assume that this (in combination with the reduced sleep time to 0.5s) causes a message ping-pong which wastes precious resources.
Now, I don't want to call this out as a bug, mainly because we can't validate our claims, but also because we're able to mitigate this issue by simply setting max_workers=1 (which doesn't really matter in our single-message-at-a-time case). However, I want to raise awareness that this has (or can have) a massive impact because it changed the default behavior of the AutoLockRenewer and the change was also released in a "patch" release (7.3.1 to 7.3.2), which was quite unexpected for us.

hey @Gerrit-K , I sincerely apologize for the trouble that the change has caused to you and I totally agree upon that the computing resource are precious.
I suspect that the 0.5s is the key factor here as the locker loop is executed as twice faster as before.
Could you help me to verify that if hacking the sleeping time back to 1 would mitigate your issue?
we set the time interval to a shorter value because we want the auto lock renewer to be more "proactive" in renewing locks to keep messages/session live with short lock duration.
I would be glad to roll it back to 1 if it helps mitigate the performance issue you're suffering from. Also I'll seek for ways to save CPU cycles.

Hi @yunhaoling . Thanks for your hint.

I suspect that the 0.5s is the key factor here as the locker loop is executed as twice faster as before.
Could you help me to verify that if hacking the sleeping time back to 1 would mitigate your issue?

I was honestly a bit sceptic with that being the culprit, as the performance decrease seemed to be too significant for that. I've monkey-patched the sleep time back to 1 and indeed there was no notable change. Only when using more radical values like 5s or more, I've seen slight improvements (~5-6s instead of 9s, but nowhere near the original performance). So I suspect this is not the issue here (at least not the only one).
My next guess was that the ThreadPoolExecutor was somehow conflicting with another one we're currently using for heartbeats. So I hooked up our existing executor with the AutoLockRenewer to test this hypothesis, but without luck unfortunately ... processing times stayed at around 9s.
I'll continue to dig through the changes and try to spot anything that might cause this behavior.

hey @Gerrit-K , I took a closer look and think it might be the dispatcher worker that's adding the performance overhead.
so basically when max_worker > 1, there's (1) one dispatcher worker thread which keeps checking the queue tasks, while (2) renew worker threads doing the real new lock work.
The dispatcher thread didn't sleep while keep pumping the queue which seems to be the bottleneck here.
what I am thinking is to add a sleep time in the end of the while loop within the _dispatch_worker as the following:
    def _dispatch_worker(self):
            # ... codes
            if time.time() - self._last_activity_timestamp >= self._dispatcher_timeout:
                self._running_dispatcher.clear()
                self._last_activity_timestamp = None
                return

            # [ADD A SLEEP HERE]
            time.sleep(self._sleep_time)  # save cpu cycles if there's currently no task in self._renew_tasks

would you kindly help me to verify it?

Hi @yunhaoling indeed that seems to be the culprit 👍  Now that I look at it again I'm wondering how I could not spot that ... I guess my attention was solely drawn towards the inner loop instead of the outer one. Anyhow, a simple sleep as you've proposed does the trick.

hey @Gerrit-K , thanks for the confirmation.
I have a PR out for that, let me do some more test with it making sure lock renew works properly with this extra sleep.
https://github.com/Azure/azure-sdk-for-python/pull/20352
and if it's working fine, I will do a release for the improvement.
apologize again for the trouble that it's causing to you.

@yunhaoling no worries! Our automated tests caught this one pretty quickly, so we didn't have a big impact - just some confusion 😉  Glad we could be of help detecting this!


[Relay][Op] Add test for batch_flatten

This commit adds unit tests for nn.batch_flatten, for which a compute primitive had been registered.

Thanks @slyubomirsky This is now merged.


Vaultwarden IP header from Caddy not working

It appears that Caddy is not forwarding the correct header for IPs, or Vaultwarden doesn't trust it.

I think this was fixed by 9b12369e.


added support for @separate_rows

I removed the macro component for grouped dataframes because I could not think of a scenario to group_by before separating rows that would change the outcome. I'm happy to add support to the function if that is useful.

Awesome! To your question about grouping, I'd need to look and see how it works in dplyr/tidyr. My guess is that we need to "respect" grouping.
In other words, my guess is that if a grouped data frame is used, then we would ungroup it, apply the separate_rows transformation, and then regroup it. But I could be wrong.

So i changed the function to now check it it is grouped, ungroup if it is, apply logic to ungrouped df, then regroup at the end. So now the macro can be used in a grouped chain / after a @group_by.
I played around with a small df in R, and couldn't seem to elicit changes to the separating based on grouping or not, so I think this should be ok.

Thanks! I'll review and plan to merge soon.


Update styles.css to:

update the specificity to remove the need for "!important" CSS flags that could cause issues down the line (https://docs.obsidian.md/Themes/App+themes/Theme+guidelines#Avoid+`!important`+declarations)
replace padding-left with padding-inline-start to make styling more resilient for left-to-right and right-to-left changes
replace the padding values with built-in obsidian CSS variables that control list indent sizes

Thanks for this, these are great changes. Let me test them out, then I'll get them merged and released in the next day or two.

I gave this a try, reading mode looks fine. In live preview the dt terms are not bold. The .dl-dt class is applied to the elements, but css isn't being applied. Can you fix that?

Thanks for your contribution.


Edit Policy - Bulk user/group add

NIFI-2884:

Adding support to selecting multiple users before updating a policy.
NIFI-2533:
Only including a user/group in the search results if they are not currently selected.
NIFI-2286:
Providing a tooltip for the add user and remove policy button.

Reviewing...


Updated Bookmark Info in the Readme file as well as in the Landing Page of the Website.

I have Updated the changes as mentioned.

I have changed the code according to the changes mention and added readme-assets.


Trying to convert this to handlebars

Hello
I'm trying to convert these jade files to handlebars files. I went to test the user sign up and I'm getting this error:
Connect
403 Error: CSRF token missing
   at checkCsrf (C:\Users\Josh\Projects\hackathon-starter\node_modules\lusca\lib\csrf.js:89:18)
   at C:\Users\Josh\Projects\hackathon-starter\app.js:94:17
   at Layer.handle [as handle_request] (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\layer.js:95:5)
   at trim_prefix (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:312:13)
   at C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:280:7
   at Function.process_params (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:330:12)
   at next (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:271:10)
   at C:\Users\Josh\Projects\hackathon-starter\node_modules\express-flash\lib\express-flash.js:31:7
   at C:\Users\Josh\Projects\hackathon-starter\node_modules\connect-flash\lib\flash.js:21:5
   at C:\Users\Josh\Projects\hackathon-starter\node_modules\express-flash\lib\express-flash.js:22:5
   at Layer.handle [as handle_request] (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\layer.js:95:5)
   at trim_prefix (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:312:13)
   at C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:280:7
   at Function.process_params (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:330:12)
   at next (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:271:10)
   at SessionStrategy.strategy.pass (C:\Users\Josh\Projects\hackathon-starter\node_modules\passport\lib\middleware\authenticate.js:325:9)
   at SessionStrategy.authenticate (C:\Users\Josh\Projects\hackathon-starter\node_modules\passport\lib\strategies\session.js:71:10)
   at attempt (C:\Users\Josh\Projects\hackathon-starter\node_modules\passport\lib\middleware\authenticate.js:348:16)
   at authenticate (C:\Users\Josh\Projects\hackathon-starter\node_modules\passport\lib\middleware\authenticate.js:349:7)
   at Layer.handle [as handle_request] (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\layer.js:95:5)
   at trim_prefix (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:312:13)
   at C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:280:7
   at Function.process_params (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:330:12)
   at next (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:271:10)
   at initialize (C:\Users\Josh\Projects\hackathon-starter\node_modules\passport\lib\middleware\initialize.js:53:5)
   at Layer.handle [as handle_request] (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\layer.js:95:5)
   at trim_prefix (C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:312:13)
   at C:\Users\Josh\Projects\hackathon-starter\node_modules\express\lib\router\index.js:280:7

Do you know what could be causing this?
My mongodb is connecting to a mongolab URL, when I looked in the mongolab database, I see two collections, sessions (1), and users (0). The one document in sessions reads:
{
    "_id": "S3Yy0dqlnAk-weiW8WeEoWgBYEtgQwDQ",
    "session": "{\"cookie\":{\"originalMaxAge\":null,\"expires\":null,\"httpOnly\":true,\"path\":\"/\"},\"_csrfSecret\":\"m2Cl6l6t4m37rw==\",\"flash\":{},\"returnTo\":\"/api\"}",
    "expires": {
        "$date": "2016-03-16T05:51:47.775Z"
    }
}

One of the files that I haven't turned into handlebars yet is the flash file because there are some references to variables, so I skipped over it for now. Not sure if that's related to what's going on or not.
If it makes it easier to look at, I've committed my changes to my local fork of the repo here: https://github.com/joshterrill/hackathon-starter

You have created a CSRF hidden input form field, but it does not contain any value. That's the issue.
  <input type="hidden" name="_csrf"/>

I saw that, but I couldn't find where that value was coming from. The only csrf mention I saw was in app.js at https://github.com/sahat/hackathon-starter/blob/master/app.js#L92 How does the value get generated?

I added this:
exports.getSignup = function (req, res) {
  if (req.user) {
    return res.redirect('/');
  }
  res.render('account/signup', {
    title: 'Create Account',
    csrf: req.csrfToken()
  });
};

I was able to sign up, but it didn't log me in. It did create a record in the user collection in the database. And now when I click any links, it redirects me to /.... What did I mess up?

I looked in the jade template and it seems the _csrf variable is available globally, so I added
 <input type="hidden" name="_csrf" value="{{_csrf}}"/>
To the signup and login page. Same thing still happens. Clicking links always redirects me to /

A good way to check would be to print that value as a h1 heading. That way you will know if CSRF value is even present in the handlebars template. It should be available the same way it is available in Jade templates.

Ah ok. I didn't see your update.


Add buildbot profile for cross-compiling for linux-armv7 using external sysroot

Explanation:
Added new buildbot profiles that allow cross-compiling Swift 5.10 for linux-armv7. This provides 2 different build steps that must be performed to cross compile:

buildbot_linux_crosscompile_armv7,llvm
buildbot_linux_crosscompile_armv7,stdlib,corelibs

The first step is required to get some sort of llvm-linux-x86_64 directory created in the buildbot_linux_armv7 directory, which is required for the rest of the build.
This does require an external sysroot to be provided, but I created a guide on my blog how to do this, and also how to use the buildbot profiles: https://medium.com/@jesselzamora/cross-compiling-swift-5-10-1-for-linux-armv7-b15986c0f1bf.

Scope:
This mostly adds the new buildbot profiles, but also fixes an issue that prevented cross compilation starting in Swift 5.10, as well as tweaking the hardcoded --gcc-toolchain that prevented an external sysroot from being used to compile CXX interop modules.
I also had to patch the COMMON_SWIFT_FLAGS that are passed to -DCMAKE_Swift_FLAGS since it was including extra quotes that made any usage of common-swift-flags= in the build-presets.ini file crash and burn when building libdispatch, foundation, etc.

Issues:

Cross compilation issue: #75341
CXX Interop issue: #75344

Original PRs:

release/5.10

Risk:
As far as I can tell these changes should NOT negatively impact other builds, but we need to run the CIs against it.

Testing:
All the existing CIs should be run against this to make sure that nothing was broken, especially with the CXX interop patch.
I tested all of this on a Raspberry Pi 3B+ running Raspberry Pi OS 12 (32-bit) and it all works great. This should be able to be replicated on other Pis and other people's systems. I did not try building these profiles on a macOS host- just on Ubuntu and Debian hosts with the correct dependencies installed.

Reviewers:

@MaxDesiatov

Please feel free to suggest better ways to do things here. I did spend a lot of time figuring out what doesn't work but if there are other ways this can be improved and still work, I'm all ears.

@xtremekforever IIUC 5.10 is no longer taking patches in, and generally any changes have to land on main first, so I'm not sure if we can proceed with this PR.

@MaxDesiatov in that case I can replicate this on main then, no problem...

EDIT: If we PR to main and it's accepted, is there a chance of it being able to eventually make it into release/6.0 since it hasn't been released yet?

To 6.0 yes, but the window is very short and closing down.

@MaxDesiatov I wasn't able to get it building with main since some source files appeared to not cross compile due to not being able to find headers in the sysroot. It seems like a much deeper investigation to get this working on main, and it's a much faster moving target.
However, the latest 6.0 snapshot works perfectly fine when I cross compile it from armv7 with the buildbot. I would like to instead try to get this into release/6.0 since the changes are small- maybe it would be considered then.


Test on windows

I (package author) do not have access to a windows machine. It is possible this package will have minor bugs on windows, i.e. path name resolution. I welcome anyone to try it on windows and report any bugs discovered.

Solved with travis, at great difficulty.


Fix dev docs to point to netdaemon.xyz instead

Breaking change

Proposed change

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]
[ ] The code compiles without warnings (code quality chek)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

Codecov Report

Merging #638 (fb1e424) into dev (7794732) will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #638      +/-   ##
==========================================
- Coverage   80.26%   80.08%   -0.18%
==========================================
  Files         111      111
  Lines        2898     2898
  Branches      311      311
==========================================
- Hits         2326     2321       -5
- Misses        446      450       +4
- Partials      126      127       +1

Flag
Coverage Δ

unittests
80.08% <ø> (-0.18%)
:arrow_down:

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

Impacted Files
Coverage Δ

...mon.HassClient/Internal/Net/WebSocketClientImpl.cs
61.11% <0.00%> (-8.34%)
:arrow_down:

...mon.HassClient/Internal/HomeAssistantConnection.cs
86.66% <0.00%> (-1.91%)
:arrow_down:

Continue to review full report at Codecov.

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


Update statement using FromSql throws error

@smitpatel @ajcvickers
Describe what is not working as expected.
Want to update a table with values using FromSQl and getting below error.
repo.FromSql("update dbo.Invoice set InvoiceStatus= {0},UpdateUser='{1}' where id={2}", 1, User,BatchId).  Please let me know what am i missing here. Can I use FromSQL to do update.
Exception
The required column 'DetailId' was not present in the results of a 'FromSql' operation.

FromSql is for querying data using custom SQL and not for updates. For updates consider using context.ExecuteSqlCommand

Thanks Smit, @smitpatel
I need to tweak to make this change in my API, If inject DBContext  in the API controller do I need to dispose explicitly? I assume the framework take care.
In the Startup file, I've the following
services.AddDbContextPool(options =>
{
options.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking);
            options.UseSqlServer(connectionString);
        }
        );

If you are getting context through DI, DI will dispose it automatically.

Thanks, when we do delete and update at the sametime.. do we need to it in a transaction ? EF Core does create transaction internally if im not wrong. @smitpatel

SaveChanges are wrapped inside a transaction. ExecuteSqlCommand does not start a transaction. You would need manual transaction.

Thanks


Support remote collections

Example:
const connection = DDP.connect('http://localhost:3000');
const Jobs = new Mongo.Collection('jobs', { connection });
const table = new TabularTable({
  collection: Jobs,
  //...
});

With this setup both apps need to define the same tabular table so they can communicate. It should be possible to lift this constraint (maybe by providing an option to override tabular_getInfo) but it's not part of this PR.

+1 for this


Add error messaging for psc-statement page

Add new validation messages and functionality
Update debugging
Add new test for validation error
Update web page
Remove generic unused validation
NOTE: Code coverage will rectify after PR#174 is complete

CI: No security warnings found

CI: No security warnings found


Support for mijnafvalwijzer.nl trash pickup monitoring.

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @xirixiz,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

I am all in for new components but couldn't be this kept as a custom component? This isn't even a Dutch wide service provider.
How far do we want to go with the official components?

@covrig Hmm, I totally agree... I`m closing this request.

Why would you close this @xirixiz?
Seems like a nice addition to the project, maybe it is a little region bound, but there are more components suffer from this. That is not essentially a bad thing, right?
(Small disclaimer, I'm Dutch as well. Nevertheless, I'm outside the service area of this specific operator so I have no personal benefit from this).

Maybe it's better to modify this sensor firts so it can be used with other "mijnafvalwijzer" like sites.

Well in that case the discussion will move to:

Component with a single responsibility
Component combining data

I personally would opt for the first one, but that discussion needs to be broader I guess...


Election checkbox is slightly misaligned

Move that to the right a smidge.

Solved with a change to the server.


Idling calculations for pre-warmup

Feature request
Hi! When running inference, I see that my tokens/second almost go 1.5x higher when having run a very recent query. Wait for a couple of seconds and the speed is down again. I would like to issue an API call for pre-warming so that I can send a new query that instantly gets processed whilst every inference step is warmed up
Motivation
Doing pre warming by hand slightly hurts latency and is not as pretty as built-in. The main motivation is that one has reliable and as fast as possible speed when needed.
Your contribution
I do not know how to implement a neat solution, however I want to help where I can

Sorry but I cannot provide a response without additional information about your setup. Please provide more details and context for me to better understand the problem your are facing.
FYI, we don't have any production prometheus graphs to back up your hypothesis.

Thanks for your response. I'm running my queries on the Lambda H100 GPUs, although I noticed this behaviour with every other hardware I tested too. Basically, the generation speed is the fastest when directy querying generations one after another. When waiting a couple of seconds, the generation speed drops again for the first call after this waiting time.
All I did was to write a script that calculates the average TPS for each request and noticed that. The TPS basically drops around 5 to 7 tokens/second. This is a problem with HuggingFace Transformers in general and even happens when running the stock HF generate code.
I thought that an API call named "warmup" could help mitigate this issue by running a loop of constantly generating 1 token until a real generate call gets made, the loop can be broken and actual generation would be as fast as possible.
I can understand how this might has low priority, but I wanted to document the issue here nonetheless.
I hope I could get the idea across and I hope this helps clarify my issue. Let me know if you need more information.


[SPARK-32546][SQL][3.0] Get table names directly from Hive tables

What changes were proposed in this pull request?
Get table names directly from a sequence of Hive tables in HiveClientImpl.listTablesByType() by skipping conversions Hive tables to Catalog tables.
Why are the changes needed?
A Hive metastore can be shared across many clients. A client can create tables using a SerDe which is not available on other clients, for instance ROW FORMAT SERDE "com.ibm.spss.hive.serde2.xml.XmlSerDe". In the current implementation, other clients get the following exception while getting views:
java.lang.RuntimeException: MetaException(message:java.lang.ClassNotFoundException Class com.ibm.spss.hive.serde2.xml.XmlSerDe not found)

when com.ibm.spss.hive.serde2.xml.XmlSerDe is not available.
Does this PR introduce any user-facing change?
Yes. For example, SHOW VIEWS returns a list of views instead of throwing an exception.
How was this patch tested?

By existing test suites like:

$ build/sbt -Phive-2.3 "test:testOnly org.apache.spark.sql.hive.client.VersionsSuite"

And manually:

Build Spark with Hive 1.2: ./build/sbt package -Phive-1.2 -Phive -Dhadoop.version=2.8.5

Run spark-shell with a custom Hive SerDe, for instance download json-serde-1.3.8-jar-with-dependencies.jar from https://github.com/cdamak/Twitter-Hive:

$ ./bin/spark-shell --jars ../Downloads/json-serde-1.3.8-jar-with-dependencies.jar

Create a Hive table using this SerDe:

scala> :paste
// Entering paste mode (ctrl-D to finish)

sql(s"""
  |CREATE TABLE json_table2(page_id INT NOT NULL)
  |ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe'
  |""".stripMargin)

// Exiting paste mode, now interpreting.
res0: org.apache.spark.sql.DataFrame = []

scala> sql("SHOW TABLES").show
+--------+-----------+-----------+
|database|  tableName|isTemporary|
+--------+-----------+-----------+
| default|json_table2|      false|
+--------+-----------+-----------+

scala> sql("SHOW VIEWS").show
+---------+--------+-----------+
|namespace|viewName|isTemporary|
+---------+--------+-----------+
+---------+--------+-----------+

Quit from the current spark-shell and run it without jars:

$ ./bin/spark-shell

Show views. Without the fix, it throws the exception:

scala> sql("SHOW VIEWS").show
20/08/06 10:53:36 ERROR log: error in initSerDe: java.lang.ClassNotFoundException Class org.openx.data.jsonserde.JsonSerDe not found
java.lang.ClassNotFoundException: Class org.openx.data.jsonserde.JsonSerDe not found
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2273)
	at org.apache.hadoop.hive.metastore.MetaStoreUtils.getDeserializer(MetaStoreUtils.java:385)
	at org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:276)
	at org.apache.hadoop.hive.ql.metadata.Table.getDeserializer(Table.java:258)
	at org.apache.hadoop.hive.ql.metadata.Table.getCols(Table.java:605)

After the fix:
scala> sql("SHOW VIEWS").show
+---------+--------+-----------+
|namespace|viewName|isTemporary|
+---------+--------+-----------+
+---------+--------+-----------+

Authored-by: Max Gekk<EMAIL_ADDRESS>Signed-off-by: Wenchen Fan<EMAIL_ADDRESS>(cherry picked from commit dc96f2f8d6e08c4bc30bc11d6b29109d2aeb604b)
Signed-off-by: Max Gekk<EMAIL_ADDRESS>

Test build #127136 has started for PR 29377 at commit 9f3bda9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31758/
Test PASSed.

Test build #127136 has finished for PR 29377 at commit 9f3bda9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

thanks, merging to 3.0!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127136/
Test PASSed.


runtime/syntax: Numeric separator for JavaScript

Shown here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Numeric_separators
I did contact the maintainer:
https://github.com/fleiner/vim/issues/2
However the maintainer has not been active at GitHub in over a year.

I added Decimal as well

https://github.com/vim/vim/issues/7923

@zvezdan yeah no worries, I mainly did it so I can have a correct version for myself, like this:
https://github.com/vim/vim/blob/8f325bbe/runtime/syntax/python.vim
and others can use it as well while they are waiting for yours, if they want

I am not inclined to make any further changes, as mine works "good enough", and apparently a official version is forthcoming

The PR #8033 resolves this same issue.
Can this PR be closed without merging, please?

No, because it has JavaScript too. So Python here can be removed and merge can still happen.

I have updated this PR to only have JavaScript changes, so this PR can still be merged separate from the Python one.

This pattern is too permissive "234" is invalid, "2__34" is invalid, "234" is invalid.

I think I am not understanding you. I am not a math expert, but 234 is a valid number.

I pushed another commit that fixes leading and trailing underscore

Nope. Im done. Ive done five commits already, Im not doing any more. Close this if you want to, I dont care.

Hi Bram,
did you add this already or would you prefer if I send you a patch?
thanks, Claudio
On Tue, Mar 30, 2021 at 1:06 PM Bram Moolenaar @.***>
wrote:

That can be simplified:
syn match   javaScriptNumber	       "-=<\d+%(_\d+)*>"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vim/vim/pull/8023#issuecomment-810542790, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNNN4QXMIOPRW2YKAU46TTGIVMHANCNFSM4Z5POHLQ
.

I closed this on accident, it seems this is still a valid issue


Task Scheduler and -AllowEscapedDotsAndSlashes

Hi,
I encountered the following error:
If I run my script directly it works fine, if I start it with the Windows Task Scheduler the Get-RabbitMQQueue cmdlet throws the error "A parameter cannot be found that matches parameter name 'AllowEscapedDotsAndSlashes'".
I fixed it by removing the parameter from the GetItemsFromRabbitMQApis.ps1 but maybe you have a look at it. The URL I give to the cmdlet has no characters which need to be escaped so that I don't need the functionality, but maybe other do. If you need any more details, I'll be happy to provide them.
Kind regards,
secana

I can confirm I get the same error with some any command making use of the Invoke-Restmethod proxy.
It looks like it does not load the proxy under the task scheduler (even when doing the ipmo -force -noClobber).
This is an issue when doing integration testing with Test-Kitchen as it uses task scheduler to run the pester tests.
Investigating...

It looks like Scheduled Task does not have a caller's Session to load the ScriptsToProcess into, so when the module call Invoke-RestMethod it only knows the Core Cmdlet (no override in the parent scope).
One fix seems to move those functions from ScriptsToProcess to dot source them in the PSM1, or maybe add the similarly to NestedModule ones.
You'd have to do so for both 'PreventUnEscapeDotsAndSlashesOnUri.ps1' and 'Invoke_RestMethodProxy.ps1', and remove them from the ScriptsToProcess field in the PSD1.

hi.. am using this piece of code. i still get the error while running.. but it works through ise.
Encode process monitor report file full path
			if($restResponse.outputFileName -ne $null) {
				$dmReportFileName = $restResponse.outputFileName.Substring($restResponse.outputFileName.LastIndexOf("/")+1)
				$encodeDMReportFilePath = [System.Net.WebUtility]::UrlEncode($restResponse.outputFileName.replace('/','\\'))
				# Download output file
				$restResponse = Invoke-RestMethod -Uri ($fileURL +  $encodeDMReportFilePath + "/contents") -Method Get -Headers $headers -Outfile ($Root_Path + "\Outbox\" + $dmReportFileName) -ContentType "application/octet-stream"

Any help?


proxy: make tests workable when offline

Instead of accessing the google website, we setup a local server
for test, then tests will work fine even we are offline.
Fix issue #346
Signed-off-by: Tw<EMAIL_ADDRESS>

Very good - didn't even think about this. Thanks for your PR! Great way to solve it.


Create feature to override with u64, which would force u64 emulation

LLVM should handle the u64 emulation on 32-bit platforms just fine, if this is the desire of the lib user.

I consider the digit size to be an implementation detail. Using u64 should always work, as far as codegen goes, but it's expected to be slower on 32-bit targets. Can you explain why a user would want to control this?

I'm closing this for lack of response.


[BUG] hydra doesn't load

Describe the bug

hydra just doesn't load and I can't register and download games and things like that and I tried to say old versions but they also give the same error
гидра просто не грузит и я не могу зарегистрироваться и скачать игры и тому подобные вещи и пытался сказать старые версии но они тоже выдают такую же ошибку
wrote English with translation
Steps to Reproduce
.
Expected behavior
No response
Additional information and data

this computer/documents/hydra
Operating System
Win10
Hydra Version
v3.0.5 "Skyscaper"
Before opening this Issue

[X] I have searched the issues of this repository and believe that this is not a duplicate.
[X] I am aware that Hydra team does not offer any support or help regarding the downloaded games.
[X] I have read the Frequently Asked Questions (FAQ).

"zloxdobro" my discord if anyone wants to help a lot with all this
"zloxdobro" мой дискорд если кто то хочет сильно помочь со всем этим

hi @ZLOYkitaeza , pls close the launcher in system tray and delete this folder %appdata%/hydra
reopen the launcher again, if this doesnt work you can reply me

hi @ZLOYkitaeza , pls close the launcher in system tray and delete this folder %appdata%/hydra
reopen the launcher again, if this doesnt work you can reply me

working, thx.


Include not working for me

My folder structure
.
├── '
├── base
│   └── layout.jade
├── modules
├── pages
├── shared
│   └── head.jade
└── variations

in layout.jade I tried to call head.jade like below
doctype html
html(lang="en")
	include ../../shared/head.jade

	body

I got this message in the terminal
Running "jade:compile" (jade) task
>> Error: jade/base/layout.jade:3
>>     1| doctype html
>>     2| html(lang="en")
>>   > 3| 	include ../../shared/head.jade
>>     4|
>>     5| 	block bodyClass
>>     6| 	body(class='#{bodyClasses}')
>>
>> ENOENT: no such file or directory, open 'shared/head.jade'
Warning: Jade failed to compile "jade/index.jade".
>> Destination not written because compiled files were empty.

Anybody please help me, am i missing something?
Thank you!

Sorry, just my mistake.


static_wstring should be conditionally enabled

Hi!
static_wstring fails to compile on platforms that don't have libc support
for wide-character strings.  I got it to work by defining a no-op
std::swprintf(...), but obviously that isn't really a solution.
However, boost::config has feature detection macros for this: BOOST_NO_CWCHAR
and BOOST_NO_SWPRINTF.  So ideally, static_wstring should be conditionally
enabled based on those.

Reasonable, I'll take care of this soon

Please note this was probably because of the standalone library. We would need two paths here.

@alandefreitas I'm not sure if it's worth trying to replicate BOOST_NO_CWCHAR in standalone.. Might be better to just check for cwchar in standalone?

Probably not. Whatever is easier in standalone. We can have a separate path for boost.


Small translation issue (french)

I noticed today that the description of move2 in french in the level panel is
Introduction à rebase
while it should read
Introduction au rebase interactif
There are currently two levels with the same description (intro4 and move2). The first one is correct. Not the second one.
I have no idea where to fix this else I would have proposed a PR.

Hey @danielleberre — usually when I don't know a codebase but want to make a wording correction as is the case here, I simply search the repository for the exact string, and if I find a file that seems to be the right one, I edit it directly on the github web interface. It's pretty convenient! :)
In this case, a search for "Introduction à rebase" shows that the phrase is present in:
https://github.com/pcottle/learnGitBranching/blob/b3c46032c32c0481fd1f20c04bad7d9be4f4acca/src/levels/intro/rebasing.js#L13
and
https://github.com/pcottle/learnGitBranching/blob/ea22bf80537fd2a06512c118176e292cf7b5b262/src/levels/rampup/interactiveRebase.js#L35
So according to your message above, the second file is the one that needs to be edited to use the proposed wording.

Hey @danielleberre — usually when I don't know a codebase but want to make a wording correction as is the case here, I simply search the repository for the exact string, and if I find a file that seems to be the right one, I edit it directly on the github web interface. It's pretty convenient! :)
In this case, a search for "Introduction à rebase" shows that the phrase is present in:
https://github.com/pcottle/learnGitBranching/blob/b3c46032c32c0481fd1f20c04bad7d9be4f4acca/src/levels/intro/rebasing.js#L13
and
https://github.com/pcottle/learnGitBranching/blob/ea22bf80537fd2a06512c118176e292cf7b5b262/src/levels/rampup/interactiveRebase.js#L35
So according to your message above, the second file is the one that needs to be edited to use the proposed wording.

Thanks @waldyrious. PR #786 is available to fix this.

Thanks @waldyrious. PR #786 is available to fix this.

Fix merged. Thanks @pcottle

Fix merged. Thanks @pcottle


Failing at yarn setup

UPDATE: I confused the preview token with management token.
SUGGESTION: Include the clarification that API page with Space ID and Content Delivery API - access token do not show the management token. Management token must be generated in the Content management tab.
I made a new space on contentful but when I run the yarn setup after entering the info it throws an error:
Writing config file...
Importing content into your Contentful ...
┌──────────────────────────────────────────────────┐
│ The following entities are going to be imported: │
├─────────────────────────────────┬────────────────┤
│ Content Types                   │ 3              │
├─────────────────────────────────┼────────────────┤
│ Editor Interfaces               │ 3              │
├─────────────────────────────────┼────────────────┤
│ Entries                         │ 8              │
├─────────────────────────────────┼────────────────┤
│ Assets                          │ 4              │
├─────────────────────────────────┼────────────────┤
│ Locales                         │ 1              │
├─────────────────────────────────┼────────────────┤
│ Webhooks                        │ 0              │
├─────────────────────────────────┼────────────────┤
│ Tags                            │ 0              │
└─────────────────────────────────┴────────────────┘
  ✔ Validating content-file
  ✔ Initialize client (1s)
  ✖ Checking if destination space already has any content and retrieving it
 (1s)
    → AccessTokenInvalid: Status: 403 - Forbidden - Message: The access tok
…
    Apply transformations to source data
    Push content to destination space

The following 1 errors and 0 warnings occurred:

18:10:11 - Error: Status: 403 - Forbidden - Message: The access token you sent could not be found or is invalid. - Request ID: e32a4ecba10bf0e758f2e2cc915637a3

Stored the detailed error log file at:
/Users/andreyf/Projects/andrey-landing-page/andrey-lander/contentful-import-error-log-locbsooimm6e-2021-03-04T18-10-65.json
(node:93745) UnhandledPromiseRejectionWarning: ContentfulMultiError: Errors occurred
    at /Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/contentful-import/dist/index.js:202:28
    at tryCatcher (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:93745) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:93745) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
✨  Done in 18.41s.

Hey, have you checked the YouTube video with the explanation? Maybe you are
sending the wrong value. Let me know if it works!
periwinkleFTW<EMAIL_ADDRESS>schrieb am Fr., 5. März 2021,
02:14:

I made a new space on contentful but when I run the yarn setup after
entering the info it throws an error:
Writing config file...
Importing content into your Contentful ...
┌──────────────────────────────────────────────────┐
│ The following entities are going to be imported: │
├─────────────────────────────────┬────────────────┤
│ Content Types                   │ 3              │
├─────────────────────────────────┼────────────────┤
│ Editor Interfaces               │ 3              │
├─────────────────────────────────┼────────────────┤
│ Entries                         │ 8              │
├─────────────────────────────────┼────────────────┤
│ Assets                          │ 4              │
├─────────────────────────────────┼────────────────┤
│ Locales                         │ 1              │
├─────────────────────────────────┼────────────────┤
│ Webhooks                        │ 0              │
├─────────────────────────────────┼────────────────┤
│ Tags                            │ 0              │
└─────────────────────────────────┴────────────────┘
✔ Validating content-file
✔ Initialize client (1s)
✖ Checking if destination space already has any content and retrieving it
(1s)
→ AccessTokenInvalid: Status: 403 - Forbidden - Message: The access tok
…
Apply transformations to source data
Push content to destination space
The following 1 errors and 0 warnings occurred:
18:10:11 - Error: Status: 403 - Forbidden - Message: The access token you sent could not be found or is invalid. - Request ID: e32a4ecba10bf0e758f2e2cc915637a3
Stored the detailed error log file at:
/Users/andreyf/Projects/andrey-landing-page/andrey-lander/contentful-import-error-log-locbsooimm6e-2021-03-04T18-10-65.json
(node:93745) UnhandledPromiseRejectionWarning: ContentfulMultiError: Errors occurred
at /Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/contentful-import/dist/index.js:202:28
at tryCatcher (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/andreyf/Projects/andrey-landing-page/andrey-lander/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (internal/timers.js:461:21)
(Use node --trace-warnings ... to show where the warning was created)
(node:93745) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:93745) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
✨  Done in 18.41s.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EmaSuriano/gatsby-starter-mate/issues/711, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZ56BIX4IUROEQQ572YYV3TCAWAHANCNFSM4YUJRSNQ
.

I have update the post that I confused the preview token with management token. Since starter was asking for access code and 2 API key I assumed that the page that showed access code and 2 API keys had all the information i needed. It took some googling to realize the the 3rd API had to be created in an another tab


add PHP support

Is your feature request related to a problem? Please describe.
we need php package for kuliya
Describe the solution you'd like
a package under ./php folder

I would like to take this issue!

c

Sure @mallekbh , assigning it to your name 🔥


Remove boilerplate docusaurus deploy instructions

These are very helpful internal instructions; they're present on the (ConsenSys docs template)[https://github.com/ConsenSys/docs-template], but they essentially have to do with setting up/local development on the docs site itself.

Pull request checklist
Use the following template to make sure your PR fits the ConsenSys documentation standard.
Before creating the PR
Make sure that:

[x] You've read the contribution guidelines.
[x] You've previewed your changes locally.

Describe the change
Removed the boilerplate Docusaurus instruction blocks, 'Local Development' and 'Build', from the Linea Docs readme.
Issue fixed
N/A
Impacted parts
For content changes:

[x] Documentation content
[ ] Documentation page organization

For tool changes:

[ ] Build and QA tools
[ ] Node dependencies and JavaScript
[ ] GitHub integration

After creating your PR and tests have finished
Make sure that:

[ ] You've fixed any issues raised by the tests.
[ ] You've previewed your changes on Vercel below.

I'm a little confused by the rationale here
Are you expecting users not to run a local environment when making docs changes?

I'm a little confused by the rationale here Are you expecting users not to run a local environment when making docs changes?

Yes, that was my point--that someone may have a perfectly good contribution to make without having that level of technical knowledge. It feels gatekeeping-esque, throwing node at them, if all they want to do is point out a typo.
However, it is good best practices. I'm going to close this PR for now, and revisit the topic at a later date.


FFTransformation: can't seem to get it to work correctly

Hey,
I am  using your component to render a image and I want to combine this with the blur transformation that you are providing.
I have downloaded and installed the Nuget package and it seems to find the package itself. But somehow the image won't show up and a white page is shown.
I am using the sample code that you have provided in this Git. When I for example remove the transformation part the image is shown.
The code example below results in image being shown in the middle:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:forms="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"
             xmlns:controls="clr-namespace:BNApp.Controls;assembly=BNApp"
             xmlns:transformations="clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations"
             x:Class="BNApp.Tests.test">
    <ContentPage.Content>
        <ScrollView>
            <StackLayout>

                <forms:CachedImage HorizontalOptions="Center" VerticalOptions="Center"
				     DownsampleToViewSize="true"
					Aspect="AspectFit" HeightRequest="400" WidthRequest="400" Source="BNAppLoginBackground.jpg">

                </forms:CachedImage>

                <Label Text="BlurredTransformation" HorizontalTextAlignment="Center"/>

                <Button Text="Load another image" Command="{Binding LoadAnotherCommand}"/>

            </StackLayout>
        </ScrollView>
    </ContentPage.Content>
    </ContentPage>

And this code shows nothing when used:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:forms="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"
             xmlns:controls="clr-namespace:BNApp.Controls;assembly=BNApp"
             xmlns:transformations="clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations"
             x:Class="BNApp.Tests.test">
    <ContentPage.Content>
        <ScrollView>
            <StackLayout>

                <forms:CachedImage HorizontalOptions="Center" VerticalOptions="Center"
				     DownsampleToViewSize="true"
					Aspect="AspectFit" HeightRequest="400" WidthRequest="400" Source="BNAppLoginBackground.jpg">
                    <forms:CachedImage.Transformations>
                        <transformations:BlurredTransformation Radius="40"/>
                    </forms:CachedImage.Transformations>
                </forms:CachedImage>

                <Label Text="BlurredTransformation" HorizontalTextAlignment="Center"/>

                <Button Text="Load another image" Command="{Binding LoadAnotherCommand}"/>

            </StackLayout>
        </ScrollView>
    </ContentPage.Content>
    </ContentPage>

I have uploaded screenshots to for the following example and I do hope someone could help me out to fix this problem. http://imgur.com/a/l7qng
Also I am using Xamarin.Forms.
Thanks in advance and have a great weekend!
Luuk

It's probably Xamarin.Forms linker issue. Just reference you transformation in a platform specific project. Something like this:
var ignore = new BlurredTransformation()

I have added a reference to the transformation in the platform specific project maps. Still it didn't work sadly ;/

Well let me be more specific the issue only happens when using the blurred transformation all other transformations work.

@LukasThijs

What is you app target / min SDK version?
Is it device specific?
Does it work in Debug builds?
Please note that it's very important to add Transformations packages to both PCL / platform specific projects.

@daniel-luberda

What is you app target / min SDK version?

The target level is set to API level 23 , SDK 6.0 and higher.

Is it device specific?

I don't know I am using the Android emulator. Tried both on Tablet and phone emulator still no result.

Does it work in Debug builds?

I am using debug build it's not release yet.

Please note that it's very important to add Transformations packages to both PCL / platform specific projects.

I have used the Nuget to install this and I have double checked of the reference is added to the project. Also I have the following information inside the .Droid packages file:
  <package id="Xamarin.FFImageLoading" version="2.2.8-pre-311" targetFramework="monoandroid60" />
  <package id="Xamarin.FFImageLoading.Forms" version="2.2.8-pre-311" targetFramework="monoandroid60" />
  <package id="Xamarin.FFImageLoading.Transformations" version="2.2.8-pre-311" targetFramework="monoandroid60" />
  <package id="Xamarin.Forms" version="<IP_ADDRESS>-pre1" targetFramework="monoandroid60" />

Even inside the MainActivity.cs is the following:
 var blurred =new BlurredTransformation();

I have as you can see included the Xamarin.Forms package version so maybe that's usefull :)

@LukasThijs I made some additional fixes. New nuget should be released today. Could you try it? If it still won't work for you, you could use a legacy mode. Just set (in Android project): BlurredTrasnformation.LegacyModel = true.

Hey!
 Anyway I can confirm that the latest pre-release fixes the issue and the transformation now works properly!
Thanks for your help and time!
Luuk

Thanks for info! 👍


Update MSFT_SecurityTemplate.psm1

Remove [ValidateNotNullOrEmpty()] attribute for IsSingleInstance parameter.

Hi @alexandair, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


Link in "D8 Library Desugaring" post now "dead"

The post "D8 Library Desugaring" contains the following text:

For now the best list of backported types is in the Android Studio preview features and the best list of backported APIs on existing types are […]

The preview features page no longer contains the relevant information. Maybe you could point to this page instead:
https://developer.android.com/studio/releases/gradle-plugin#j8-library-desugaring

Thanks will fix. CC #8.

dd0cb6bdb09621f8f8be9c1e769122724ac85188


SSL_CERT_FILE seems to be leaner and potentially provides more coverage than patching

The variable is used by OpenSSL and any program that links against it. I'm wondering if setting --docker_truststore_env_vars=SSL_CERT_FILE was deemed insufficient compared to manually patching trust stores in https://github.com/google/oss-rebuild/blob/de8aaef11881c6d114354d0f33e6b19c16d8c16f/pkg/proxy/docker/linux.go#L26-L55

The variable is used by OpenSSL and any program that links against it.

What about those that don't 😄
But beyond that, during the internal deployment experiment, there were numerous cases where env vars were insufficient, ignored, or lost (think sudo). Both redirecting and directly modifying the container truststore offer incomplete assurance that the truststore cert is trusted. By combining the techniques, we increase our odds of not breaking the proxied build.

Yep, I forgot about sudo. That's fair.


Image comparison on different computers cannot pass

For example, I executed cypress run on computer 1, generated a baseline image, and then submitted the code. When I execute it again on computer 2, there will be a difference between the images in the diff folder, resulting in failure. I need to pass the threshold to get control? If so, how should this range be controlled?

The font is relatively thicker, or the difference in the shadow implementation of the border of the div tag

If your read this section of the readme it's stated how important it is for you to replicate all runs in the same setup... you have a few alternatives... either run your tests against browserstack or via container...


Problems rendering unicode characters

If I render czech unicode characters using doc.text(), I get strange output and followup latin characters are not rendered correctly:
I get the following output when calling doc.text('IČO: ICO') (Unicode: \u010c)

You need to use an embedded font. The built-in fonts have a limited character set available.


Pull request to keep things in sync

Mostly benign changes related to packaging and cuda_correlator benchmarking tool.

@david-macmahon somehow I managed to go a a year without noticing this.  Is this still relevant, shall I merge?

That would be great!  It would also be nice to update the README with details about building for the various generations of GPU, but I guess I can add that as a separate feature request.

@david-macmahon Thanks for the pull and sorry for the aeonic response time.  Feel free to file more with respect to gpu architectures.
Is there any urgent at your end for me to clean up the dp4 branch and merge this in, eh are you folks using pascals at all and want to use the native 8-bit multipliers?

In the spirit of slow response time -- we're about to try a GTX1080-based HERA correlator, so anything to smooth that process would be appreciated. We're still building antennas though, gonna be bandwidth limited for a while...


Does not work on 1.21. Tools are still trimmable (and compatible with mods like trims expanded), but the trim just doesn't show on screen.

I also tried without resource packs and without any mod, still nothing. One of the best mods, if you can fix this that would be great. I love the work, thanks.

Thanks. In solved issues, someone mentioned that the Ressource pack never loads in the .jar and needs to be downloaded manually along the datapack from here https://modrinth.com/datapack/trimmable-tools/version/1.0.5.

The resource pack in v2 should load fine.

From what I understand v2 is still in progress ? What does it bring ? If you need a tester by the way, I'm here. Well you can always just boot up Minecraft yourself, but getting exterior opinions is an extra +

The mod version of v2 has been done for some time now, it's the datapack version still in progress.


Tool Tips remain after GeoMap page is unloaded and browser displays another 'page'.

First off , thank you for creating this for react.  It's working great except for the tooltips which once they are opened remain open even when the page unloads for another screen.
I am using the GeoMap with points defined. When you hover over the point it displays some information and when you click on the point the user is navigated away from the page.  The issue is the information displayed in the tool tip never disappears until you go back to the map and hover over another point.
Any ideas on how to fix this issue would be greatly appreciated since there doesn't not appear to be a handle to the svg objects anywhere.
const methods = {
//status: 0 good, 50 -out of range 100- critical
data: data
,
pointSizeMax: 5,
pointSizeMin: 1,
            // hides ColorScale, but still allows coloring shapes
            colorScalePosition: false,
            colorScale:"status",
            colorScaleConfig:{
                color: ["blue",  "green",  "red"],
            },
            groupBy:["label"],
            color:{
                value: "status"
            },

            label:(d)=> {
                return d.label  ;
            },

            legend: false,
            point:(d)=> {
                return [d.lon, d.lat];
            },on: {
                "click.shape": (d) => this.poolSelectHandler(d),
            },

        };

        geoGraph = <Geomap config={methods} /> ;

////
poolSelectHandler = (d) => {
this.props.onSetCompanyId(d.cId);
this.props.history.push( '/info/');
};
This is happening in all browsers, Chrome, Firefox and Safari on a Mac Desktop.

@strafton thanks reporting this, and for the kind words! 🍻
This is a really good point, and I think d3plus-react could handle this with something like a  componentDidUnmount event. In the meantime, since I'm the only dev here and this isn't at the top of my todo... here's a hack that we've used in other projects:
You can manually target the d3plus tooltip and remove it from the page. Depending on your project, this code could live in something like a react-router middleware where you able to detect the page change, or maybe even directly in your on click event:
d3.selectAll(".d3plus-tooltip").remove();

(I'm using d3-selection here, but this could be written in any library with query selection, or just raw vanilla JS)

@davelandry thank you for this tip. I was able to get it working using raw vanilla JS since react didn't seem to have a handle to the d3 object itself.   Much appreciated!
// inside the onClick handler
let toolTips = document.getElementsByClassName("d3plus-tooltip");
Array.from(toolTips).forEach(function (element) {
element.remove();
});