nmake_helper cannot configure parameters in VS2017.

Please update parameters in VS2017 ASAP, thx.

在!ELSE前加上
!ELSEIF "$(_NMAKE_VER)" == “14.13.26129.0”
VL_MSVC = 14.0
VL_MSC = 1900
VL_MSVS = 140
如果你的版本不是"14.13.26129.0"，命令行运行nmake可以看到你的版本号，改成你的版本号就好了

Has anyone managed to compile it with Visual Studio 2019 / MSVC 2019 with the latest MATLAB (Something like R2020a or R2020b)?

Has anyone managed to compile it with Visual Studio 2019 / MSVC 2019 with the latest MATLAB (Something like R2020a or R2020b)?

Try this CMake file, it works with VS2017 https://github.com/vlfeat/vlfeat/pull/171

Has anyone managed to compile it with Visual Studio 2019 / MSVC 2019 with the latest MATLAB (Something like R2020a or R2020b)?

Try this CMake file, it works with VS2017 https://github.com/vlfeat/vlfeat/pull/171


Idea: Mod compatibility Unified Oil/Unified Fuel

I would like to see unified oils.
I.e. Actually Additions add Canola Oil and a processing/refining to fuel for oil generator.
The processing might be available for seed oil, cooking oil, etc. too.
But there are a lot of Mods out there, which provide some kind of oil.

I'm not quite sure where TVO comes into play in this suggestion?

I don't know the inner structure of the system and I'm not familiar with programming at all.
So break it down to a suggestion of plant oil adding to forge ore dictionary (if already in place) and allow to replace it in recipes with oils from other mods.
Else it would be an issue for Forge. :)

Oh are you saying the Vegetable Oil from The Vegan Option should be able to be used in recipes using oils from other mods like Actually Additions?

Yes. Would be great but vice versa also.
Many mods add oil and some of these mods add refining, fermenting and fuel creation from oil (i.e. Immersive Engineerings bio diesel).
Why not using IEs creosote oil or seed oil for TVO recipes? :)

On fluids, specifically:

Fluids are hard to make compatible in the same way as items (although I might just not be aware of how its done; afaik the way to do it is have a bunch of mods try to register fluids with the same names and then just use whatever fluid gets registered with that name if another mod registered it before you)
Things that can be used as (or refined into) fuel need at least somewhat careful integration so as to not break balance unintentionally (see the note at the end of the commit message in https://github.com/squeek502/VeganOption/commit/cc22f7ba7345e415e5d6987ea8d4e59cf522f808)


implementation of twitch_oauth2::client::Client is not general enough

I'm trying to use the client in a tokio::spawn context but I get the following error.
async fn get_auth_token_request() -> Result<AppAccessToken, AppError> {
    let config = get_config();

    let client_id = ClientId::new(config.twitch.api.id.clone());
    let client_secret = ClientSecret::new(config.twitch.api.secret.clone());
    let client: TwitchClient<reqwest::Client> = TwitchClient::default();

    let token =
        AppAccessToken::get_app_access_token(&client, client_id, client_secret, Scope::all())
            .await
            .unwrap();

    Ok(token)
}

fn spawn_followers_poll(pool: Pool) {
    tokio::spawn({ // <---- here is the error
        async move {
            get_auth_token_request().await.unwrap();
        }
    });
}

implementation of `twitch_oauth2::client::Client` is not general enough
`twitch_oauth2::client::Client<'1>` would have to be implemented for the type `TwitchClient<'0, reqwest::Client>`, for any two lifetimes `'0` and `'1`...
...but `twitch_oauth2::client::Client<'2>` is actually implemented for the type `TwitchClient<'2, reqwest::Client>`, for some specific lifetime `'2`rustc

Following the exemple, I can see that we must explicit some lifetimes but I don't really understand what should be done.
Can you provide some help please ?

real error is
/// [dependencies]
/// twitch_api2 = {version= "0.6.0-rc.3", features = ["client", "helix", "reqwest_client"]}
/// tokio = {version = "*", features=["full"]}
/// reqwest = "*"

use twitch_api2::{twitch_oauth2::*, *};

async fn get_auth_token_request(client: &TwitchClient<'static, reqwest::Client>) -> Result<AppAccessToken, ()> {

    let client_id = ClientId::new("aaa");
    let client_secret = ClientSecret::new("aaaa");

    let token =
        AppAccessToken::get_app_access_token(&client, client_id, client_secret, Scope::all())
            .await
            .unwrap();

    Ok(token)
}

fn spawn_followers_poll() {
    let client: TwitchClient<'static, reqwest::Client> = TwitchClient::new();

    tokio::spawn({
        // <---- here is the error
        async move {
            get_auth_token_request(&client).await.unwrap();
        }
    });
}

❯ cargo check
    Checking aaa v0.1.0 (G:\workspace\small dev space\aaa)
error[E0277]: the trait bound `&twitch_api2::TwitchClient<'_, reqwest::Client>: twitch_api2::twitch_oauth2::client::Client<'_>` is not satisfied
   --> src\lib.rs:9:9
    |
9   |         AppAccessToken::get_app_access_token(&client, client_id, client_secret, Scope::all())
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `twitch_api2::twitch_oauth2::client::Client<'_>` is not implemented for `&twitch_api2::TwitchClient<'_, reqwest::Client>`
    |
    = help: the following implementations were found:
              <twitch_api2::TwitchClient<'a, C> as twitch_api2::twitch_oauth2::client::Client<'a>>
note: required by a bound in `twitch_api2::twitch_oauth2::AppAccessToken::get_app_access_token`
   --> G:\workspace\twitch_api2\twitch_oauth2\src\tokens\app_access_token.rs:136:12
p_access_token`

error[E0277]: the trait bound `&twitch_api2::TwitchClient<'_, reqwest::Client>: twitch_api2::twitch_oauth2::client::Client<'_>` is not satisfied
  --> src\lib.rs:9:9
   |
9  | /         AppAccessToken::get_app_access_token(&client, client_id, client_secret, Scope::all())
10 | |             .await
   | |__________________^ the trait `twitch_api2::twitch_oauth2::client::Client<'_>` is not implemented for `&twitch_api2::TwitchClient<'_, reqwest::Client>`
   |
   = help: the following implementations were found:
             <twitch_api2::TwitchClient<'a, C> as twitch_api2::twitch_oauth2::client::Client<'a>>

For more information about this error, try `rustc --explain E0277`.
error: could not compile `aaa` due to 2 previous errors

scratch that, that's not the error...
I'm not sure if this is a library issue, or if it's a rust bug.

cc rust-lang/rust#85516

I'm not 100% sure what this issue is, but to fix it there is a workaround.
Instead of giving the TwitchClient, give it the "real" client inside, this can be done with
AppAccessToken::get_app_access_token(&client.helix.clone_client(), ...)

I'm going to expose the client() fn to make this easier and not having to clone (although the clone is cheap).
I need to do some minimization of this to see if the issue is the same as above mentioned issue or if it's something else.

Thanks ! I tried to implement the given solution like this:
async fn get_auth_token_request(config: &Config) -> Result<AppAccessToken, AppError> {
    let client_id = ClientId::new(config.twitch.api.id.clone());
    let client_secret = ClientSecret::new(config.twitch.api.secret.clone());
    let client: TwitchClient<'static, reqwest::Client> = TwitchClient::new();

    let token = AppAccessToken::get_app_access_token(  // <------ error here
        &client.helix.clone_client(),
        client_id,
        client_secret,
        Scope::all(),
    )
    .await
    .unwrap();

    Ok(token)
}

This brings the following issue:
the trait bound `reqwest::Client: twitch_oauth2::client::Client<'_>` is not satisfied
the trait `twitch_oauth2::client::Client<'_>` is not implemented for `reqwest::Client`rustcE0277
app_access_token.rs(136, 12): required by a bound in `twitch_oauth2::AppAccessToken::get_app_access_token`

Then I tried to replace the reqwest client with the twitch_oauth2 one, even if I'm not sure why I'm required too.
async fn get_auth_token_request(config: &Config) -> Result<AppAccessToken, AppError> {
    let client_id = ClientId::new(config.twitch.api.id.clone());
    let client_secret = ClientSecret::new(config.twitch.api.secret.clone());
    let client: TwitchClient<'static, dyn twitch_oauth2::client::Client> = TwitchClient::new(); // <----- error 1 here (I tried with and without dyn keyword)

    let token = AppAccessToken::get_app_access_token(
        &client.helix.clone_client(),  // <-----  error 2 here
        client_id,
        client_secret,
        Scope::all(),
    )
    .await
    .unwrap();

    Ok(token)
}

the size for values of type `dyn twitch_oauth2::client::Client<'_>` cannot be known at compilation time
the trait `Sized` is not implemented for `dyn twitch_oauth2::client::Client<'_>`rustcE0277
lib.rs(203, 29): required by a bound in `TwitchClient`

the method `clone_client` exists for struct `HelixClient<'static, dyn twitch_oauth2::client::Client<'_>>`, but its trait bounds were not satisfied
the following trait bounds were not satisfied:
`dyn twitch_oauth2::client::Client<'_>: Sized`
`dyn twitch_oauth2::client::Client<'_>: HttpClient`rustcE0599
client.rs(17, 1): doesn't satisfy `dyn twitch_oauth2::client::Client<'_>: HttpClient`
client.rs(17, 1): doesn't satisfy `dyn twitch_oauth2::client::Client<'_>: Sized`

Second way wont work. the error message after doing the workaround suggests that you dont have reqwest_client feature enabled in twitch_api2.

this just works™ now


Fix pkgConfig

Fix pkgConfig and remove unnecessary headers.
Without this linking failed on my Mac.
This has been tested on OS X 10.14 and Ubuntu 18.04, both with Swift 4.2.

First of all thanks to @TaborKelly!
Would be really nice if this could be pull into master, thanks. Is the repo still maintained?
Cheers! :)


docs: Fix small typo in readme example

I spotted a small typo in the example

:tada: This PR is included in version 2.10.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v2.10.1

Your semantic-release bot :package::rocket:


how set connect timeout？

If  set a error address, it will take a long time to return.how set connect timeout？

The test code shows a pretty good example, can change TestContextTimeout:
https://github.com/mattn/go-oci8/blob/63b1f03e8cae01d2edb7d15e86bde94e2fb55723/oci8Sql_test.go#L30-L50
If you use a tnsnames.ora file, add CONNECT_TIMEOUT. The tnsname goes inside the openString instead of host.
MYDBNAME =
(DESCRIPTION =
  (CONNECT_TIMEOUT = 55)
  (ADDRESS = (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521))
)

Can also use a sqlnet.ora file instead and set SQLNET.OUTBOUND_CONNECT_TIMEOUT=55 in that file.
https://docs.oracle.com/cd/E11882_01/network.112/e10835/sqlnet.htm#NETRF427

You can now set some of these options via the Easy Connect syntax without needing a tnsnames.ora or sqlnet.ora. See https://docs.oracle.com/en/database/oracle/oracle-database/19/netag/configuring-naming-methods.html#GUID-8C85D289-6AF3-41BC-848B-BF39D32648BA

@cjbj i test use Easy Connect.
command="system/oracle@host:1521/ora11g?connect_timeout=60&retry_count=1"
sql.Open()
dp.ping()
i found timeout always "20s".

easy connect is oracle 19,i am 11.

I do not think oci8 supports Easy Connect at this time. Feature request for that is probably needed.

@zhaoya881010 Did the tnsnames.ora or sqlnet.ora file change work fine?

@mattn Close this?


How to upload to jfrog without appending "agent path directory"

Hello Team,
We started implementing  Jfrog enterprise integrating with Azure devops (CI-CD)., we are using "generic-upload" for CI to publish the artifacts. i need your advise on below screenshot i want to discard the agentpath like example
Currently Repo path is saved as in JFROG : pulsetcrpacific-generic-nonprod/D:/a/1/s/WSM.PulseTech.root/WSM.PulseTech.Web/obj/Release/Package/PackageTmp/ (all files with folders)
What i wanted to achieve to publish in jfrog repository like :  pulsetcrpacific-generic-nonprod/PackageTmp/(all files and folders.)
Below are my File spec configuration:
{
"files": [
{
"pattern":"$(Build.Repository.LocalPath)\WSM.PulseTech.root\WSM.PulseTech.Web\obj\Release\Package",
"flat" : "false",
"target": "pulsetcrpacific-generic-nonprod/"
}
]
}

Hi @koteshbhupathi ,
Thanks for reaching out.
You can achieve your desired functionality using Placeholders.
Try changing your file spec to:
"files": [
        {
            "pattern": "$(Build.Repository.LocalPath)\WSM.PulseTech.root\WSM.PulseTech.Web\obj\Release\Package\(*)",
            "target": "pulsetcrpacific-generic-nonprod/{1}",
            "flat": "true"
        }
    ]

Let me know if this works for you.

Hi Robi,
Let me change that pipeline and update you.
Thanks
Kotesh
Get Outlook for iOShttps://aka.ms/o0ukef

From: Robi Nino<EMAIL_ADDRESS>Sent: Monday, September 14, 2020 8:02 PM
To: jfrog/artifactory-azure-devops-extension
Cc: Bhupathi, Kotesh @ Hyderabad; Mention
Subject: Re: [jfrog/artifactory-azure-devops-extension] How to upload to jfrog without appending "agent path directory" (#195)
External
Hi @koteshbhupathihttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_koteshbhupathi&d=DwMCaQ&c=jozbAXBGpZCeJmn-Q9SThA&r=OKbaF6B-LqqrHqT_oiu09Y0qSu85rAw4p8YS9oVRfFw&m=ncm2qDK5oyYTE-6Z9mYmb2drbi4oeENOIdi-4GAp5qo&s=kzgQiPNATguizVC2wyqHsA08ldEnEF39kS9I8coskPM&e= ,
Thanks for reaching out.
You can achieve your desired functionality using Placeholdershttps://urldefense.proofpoint.com/v2/url?u=https-3A__www.jfrog.com_confluence_display_CLI_CLI-2Bfor-2BJFrog-2BArtifactory-23CLIforJFrogArtifactory-2DUsingPlaceholders&d=DwMCaQ&c=jozbAXBGpZCeJmn-Q9SThA&r=OKbaF6B-LqqrHqT_oiu09Y0qSu85rAw4p8YS9oVRfFw&m=ncm2qDK5oyYTE-6Z9mYmb2drbi4oeENOIdi-4GAp5qo&s=BKUHIrLRIcv-iLIHJHJMotLxHnqryY0TP_uYiclwj1k&e=.
Try changing your file spec to:
"files": [
{
"pattern": "$(Build.Repository.LocalPath)\WSM.PulseTech.root\WSM.PulseTech.Web\obj\Release\Package(*)",
"target": "pulsetcrpacific-generic-nonprod/{1}",
"flat": "true"
}
]
Let me know if this works for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jfrog_artifactory-2Dazure-2Ddevops-2Dextension_issues_195-23issuecomment-2D692097168&d=DwMCaQ&c=jozbAXBGpZCeJmn-Q9SThA&r=OKbaF6B-LqqrHqT_oiu09Y0qSu85rAw4p8YS9oVRfFw&m=ncm2qDK5oyYTE-6Z9mYmb2drbi4oeENOIdi-4GAp5qo&s=oV6hIDKaD6CyVAMnZHwAbBdK4nceoY5yLSS3HbqjxJA&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ANPKKPURTAUA26OSMHAJPITSFYSODANCNFSM4RLVDZ5Q&d=DwMCaQ&c=jozbAXBGpZCeJmn-Q9SThA&r=OKbaF6B-LqqrHqT_oiu09Y0qSu85rAw4p8YS9oVRfFw&m=ncm2qDK5oyYTE-6Z9mYmb2drbi4oeENOIdi-4GAp5qo&s=PAcjHxhFCfzAAfxfHnpjPbngSwc9zKv4fYUMhidYk-c&e=.

Hi @koteshbhupathi ,
Thanks for reaching out.
You can achieve your desired functionality using Placeholders.
Try changing your file spec to:
"files": [
        {
            "pattern": "$(Build.Repository.LocalPath)\WSM.PulseTech.root\WSM.PulseTech.Web\obj\Release\Package\(*)",
            "target": "pulsetcrpacific-generic-nonprod/{1}",
            "flat": "true"
        }
    ]

Let me know if this works for you.

This is really perfect ,awesome ,what i was looking for Robi. i kept "Flat=false" because i have folder structure to copied inside as is.
I pushed the artificatory with aritifcatory build info like (Build name$(Build.DefinitionName) and buildnumber $(Build.BuildNumber).
please help me How can i download this in CD pipeline (generic download) with buildname and buildnumber using filespec.

Im glad to hear that helped, @koteshbhupathi .
I suggest you leave flat=true, since the placeholder takes the full path that matches the wildcard (the result will not be flat).
See the file specs documentation to learn about more about the possible fields.
To download by build, set the build field accordingly.

Im glad to hear that helped, @koteshbhupathi .
I suggest you leave flat=true, since the placeholder takes the full path that matches the wildcard (the result will not be flat).
See the file specs documentation to learn about more about the possible fields.
To download by build, set the build field accordingly.

Thanks Robi.
i am trying to download the aritifact which i have upload in repo path "pulsetcrpacific-generic-nonprod/PackageTmp/"
i just want to download only PackageTmp directory (which contains my files and folders to be deployed). i dont want the repo  full path "pulsetcrpacific-generic-nonprod" to download in the CD agent default working directory $(System.DefaultWorkingDirectory).
i am using the file spec in below
{
"files": [
{
"pattern": "pulsetcrpacific-generic-nonprod/",
"build" :  "JFROG-upload/$(Build.BuildNumber)",
"target" : "$(System.DefaultWorkingDirectory){1}"
}
]
}

@koteshbhupathi,
The pattern field can be set to a specific path ("pulsetcrpacific-generic-nonprod/PackageTmp/").
You can also use wildcards to help you control which files are affected ("pulsetcrpacific-generic-nonprod/PackageTmp/*.zip" - will only download artifacts with zip extension).

Hi @koteshbhupathi ,
Im closing this issue for now, do let us know if you need any further assistance.
Thanks


Field names that start with a capital letter don't marshal

If you have a struct like this:
struct Person {
    FirstName   string
    LastName   string
}

Outbound marshaling of these fields will fail.  This is a bug in StructTypeConverter.structToMap  It uses reflection to invoke get methods on the IDL2Java generated classes, but makes the incorrect assumption that the first letter of the bean property should be lower case.
A simple workaround would be to try to find a struct field with both cases.

This is fixed in 0.1.15, which is now in maven central


Error getting the output of an LSTM layer

I try to get the output of an LSTM layer in the type of numpy.array with the following code
from keras import backend as K
xxx = nnlm.model.get_layer('lstm_2').output
xxx = K.eval(xxx, session=K.get_session())
and got the following error:
Traceback (most recent call last):
File "make_training_insts.py", line 27, in
xxx = xxx.eval(session=K.get_session())
File "/software/python/2.7.12/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 581, in eval
return _eval_using_default_session(self, feed_dict, self.graph, session)
File "/software/python/2.7.12/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3797, in _eval_using_default_sessio
n
return session.run(tensors, feed_dict)
File "/software/python/2.7.12/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 767, in run
run_metadata_ptr)
File "/software/python/2.7.12/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 965, in _run
feed_dict_string, options, run_metadata)
File "/software/python/2.7.12/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1015, in _do_run
target_list, options, run_metadata)
File "/software/python/2.7.12/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1035, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'keras_learning_phase' with dt
ype bool
[[Node: keras_learning_phase = Placeholderdtype=DT_BOOL, shape=[], _device="/job:localhost/replica:0/task:0/gpu:0"]]

Hello,
I'm no tensorflow expert put your error seems that you are not feeding the keras_learning_phase.
Here is a blog which explain how to use it.
https://blog.keras.io/keras-as-a-simplified-interface-to-tensorflow-tutorial.html
Relevant part to feed learning phase:
acc_value.eval(feed_dict={img: mnist_data.test.images,
                                    labels: mnist_data.test.labels,
                                    K.learning_phase(): 0})


Scope CSS imports

First seen in #2794. We need to consider this breaking.
Basically, you can require CSS out of src/ which probably shouldn't be allowed.

./src/index.js
Module not found: You attempted to import ../test.css which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/.```

With webpack dev and prod


Error to build cordova-plugin-bluetoothle

I got the next error when I'm building the project for android (cordova build android):
Discovered saved plugin "cordova-plugin-bluetoothle ". Adding it to the project
Failed to restore plugin "cordova-plugin-bluetoothle " from config.xml. You might need to try adding it again. Error: Failed to fetch plugin cordova-plugin-bluetoothle @3.1.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code EINVALIDPACKAGENAME
npm ERR! Invalid package name "cordova-plugin-bluetoothle ": name cannot contain leading or trailing spaces; name can only contain URL-friendly characters
npm ERR!      C:\Users\user\AppData\Roaming\npm-cache_logs\2019-12-08T22_33_29_391Z-debug.log
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\user\AppData\Local\Android\Sdk (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app

Task :app:preBuild UP-TO-DATE
Task :CordovaLib:preBuild UP-TO-DATE
Task :CordovaLib:preDebugBuild UP-TO-DATE
Task :CordovaLib:checkDebugManifest UP-TO-DATE
Task :CordovaLib:processDebugManifest UP-TO-DATE
Task :app:preDebugBuild UP-TO-DATE
Task :CordovaLib:compileDebugAidl NO-SOURCE
Task :app:compileDebugAidl NO-SOURCE
...

While waiting for a fix (if any) you can replace all occurences of "cordova-plugin-bluetoothle " with "cordova-plugin-bluetoothle" (without the ending space character).
If I remember well, it should only occures in the config.xml and package.json files.


Try BeamJIT in Docker image

We may have to have our own elixir image based on erts 24 with BeamJIT enabled

Close this because already resolved


Status of upgrading to eslint v9?

Hi, I use your plugin originally when I was on v8 but I'm wishing to upgrade to v9 and I noticed that your plugin is not supported. Is there a plan for this dependency to be upgraded to v9? Just curious. Thanks.

See #2948

Duplicate of #2948.


changed file encoding to UTF-8

as git or some gitlibs or GitHub/GitLab does not like non UTF-8 encodings and shows them as binary

Thanks!


Include missions as a hamburger menu item

Missions on web are not fixed yet. When they are, include a menu item (in the hamburger menu) for Missions (can open a Chrome Custom tab first)
world.openfoodfacts.org/missions

Hey @teolemon is there anything happening with the missions web page? Doesn't look like anything has been done with it. Can we close this?

Yup, we'll reopen once it's fixed, I guess


Update web-service-gin to newer way of adding modules

Hi, I was following this tutorial using Go 1.17 and saw that using go get . doesn't work to install the github.com/gin-gonic/gin module. I followed this stack overflow: https://stackoverflow.com/questions/69025385/go-1-14-to-1-17-update-modules-not-working-anymore and found that go mod tidy correctly added the module for me. Obviously open to wording, refactoring, reconsideration changes

Actually I may stand corrected, while go mod tidy allowed github.com/gin-gonic/gin to be imported, I still couldn't run the example. It turns out it is the latest github.com/gin-gonic/gin module that is the issue. There is an open issue with v1.7.5, so the fix (for now) is go get<EMAIL_ADDRESS>


Worried about the snapshot performance, how does valtio algorithm compare to immer?

I don't know about the internal of immer, but valtio snapshot should be lightweight keeping the last version (one history).


Change clear to clearalldata

Codecov Report

Merging #342 (53a1937) into master (5658619) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #342   +/-   ##
=========================================
  Coverage     56.60%   56.60%
  Complexity      720      720
=========================================
  Files           139      139
  Lines          3196     3196
  Branches        420      420
=========================================
  Hits           1809     1809
  Misses         1286     1286
  Partials        101      101

Impacted Files
Coverage Δ

src/main/java/seedu/awe/commons/core/Messages.java
87.50% <ø> (ø)

.../seedu/awe/logic/commands/ClearAllDataCommand.java
100.00% <100.00%> (ø)

...rc/main/java/seedu/awe/logic/parser/AweParser.java
57.14% <100.00%> (ø)

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 5658619...53a1937. Read the comment docs.


appservice: enable pep8 check

Fix #2562

Codecov Report

Merging #2593 into master will increase coverage by 0.01%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master    #2593      +/-   ##
==========================================
+ Coverage    72.5%   72.51%   +0.01%
==========================================
  Files         374      374
  Lines       20190    20188       -2
  Branches     2957     2953       -4
==========================================
+ Hits        14638    14639       +1
  Misses       4632     4632
+ Partials      920      917       -3

Impacted Files
Coverage Δ

...zure/cli/command_modules/appservice/_validators.py
100% <ø> (ø)
:arrow_up:

...vice/azure/cli/command_modules/appservice/_help.py
100% <100%> (ø)
:arrow_up:

...e/azure/cli/command_modules/appservice/commands.py
96.66% <100%> (+4.47%)
:arrow_up:

...e/azure/cli/command_modules/appservice/__init__.py
100% <100%> (ø)
:arrow_up:

.../cli/command_modules/appservice/_client_factory.py
100% <100%> (ø)
:arrow_up:

...ce/azure/cli/command_modules/appservice/_params.py
94.39% <100%> (ø)
:arrow_up:

...ice/azure/cli/command_modules/appservice/custom.py
72.92% <60%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Set up the overall Cupcake website elements

User story:

As a Digital Design System Cupcake website adopter

I need to see the correct left-hand Github and Carbon Design System links, right-hand mini menu, on-page navigation, and footer link set ups

so that I can be taken to the proper places to get the information I need without confusion.
Additional information

The current Gatsby theme for the Cupcake website can be viewed here
This task contains the following  areas:

The website title - It should say "Carbon for IBM.com"?

Left-hand Github and Carbon Design System links

Right-hand mini menu

On-page navigation

Footer

Acceptance criteria

[ ] All four items listed above set up completed and linked to the correct places and review with Jenny.

@JennySanchez do you have the URLs that these need to go to?

@jeffchew No, but I can create a list.

For item 1:
Confirmed with Linda, we will say "Carbon for IBM.com" and it will take the website visitor back to the homepage.
For item 2:
Github: https://github.com/carbon-design-system/ibm-dotcom-library
Carbon Design System: https://www.carbondesignsystem.com/
For item 3:
IBM Design: https://www.ibm.com/design/
IBM Design Language: https://www.ibm.com/design/language/
IBM Brand Center: https://www.ibm.com/brand/
IBM Carbon Design System: https://www.carbondesignsystem.com/
IBM Design Research: http://www.research.ibm.com/
Enterprise Design Thinking: https://www.ibm.com/design/thinking/
IBM iX: https://www.ibm.com/services/ibmix/
IBM Journey System: (Coming soon - working on this with Sarah)
IBM Accessibility:https://w3.ibm.com/able/
For item 5:
Email<EMAIL_ADDRESS>Github: https://github.com/carbon-design-system/ibm-dotcom-library

@jeffchew  For the IBM Journey System link, Sarah is working on creating a Journey System site off of the IBM Design website as a practice. The development should start in December so we won't know the URL till then. If it helps, let's take the link off the website for now.

PR Approved!


Implement the Read Only View for Topics

Implement the Read Only view for topics page for strimzi-ui PatternFly.
This view shows all of the options in readonly for a topic:

Mock of the full read-only view can be found here: https://marvelapp.com/prototype/bibe7hb/screen/76009598

Mock of the full read-only view can be found here: https://marvelapp.com/prototype/bibe7hb/screen/76009598


('init() takes at least 3 arguments (1 given)', <class 'googleapiclient.errors.HttpError'>, ())

its showing me this error while i was trying getting subtitles in any other language.

I have the same problem.

I had the same issue. Turns out that the translate api wasn't enabled on my google cloud account.

@simonwallin you are right, this all you need to do, to resolve this issue.


background service is not running anymore when app minimized

background task is not running anymore when app minimized. it still running in emulator. but not running in real device.
RN 0.72, device poco x3

Bump message for issue, affects me as well.
React Native 0.72, Samsung Galaxy S23

Same here
React native 0.72, Redme Note 10 pro

same issue, i using react-native 0.68.2

Hi, I've spent hours debugging why the service didn't start after upgrading React Native.
In the end, I've figured out that I needed to add an exclusion in the proguard file:
# React Native Background Actions
-keep public class com.asterinet.react.bgactions.** {*;}

Hope this works for you too.

This is common, as the OS has absolute control over the background processes of the device. See https://github.com/Rapsssito/react-native-background-actions/issues/22#issuecomment-628737527


Restore the VSIX project with MSBuild instead of NuGet.exe

Preparation for changes coming soon to a KoreBuild near you (https://github.com/aspnet/KoreBuild/issues/258).
This replaces the nuget.exe restore step with msbuild /t:Restore.

cc @ryanbrandenburg - this will unblock the build


fs not building

fs hasn't built since the 1.5.2 release. Looking at the news, in 1.6.0 they bundled the latest libuv (1.44.2). Not sure if this has caused the problem or if it is just a coincidence.

Thanks, it seems that they require a system dependency that was not declared (automake). Fixed now!


Update spring-boot-starter-test, ... to 3.3.3

About this PR
📦 Updates

org.springframework.boot:spring-boot-starter-test
org.springframework.boot:spring-boot-starter-web

from 2.7.18 to 3.3.3 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.springframework.boot" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.springframework.boot" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #2027.


Updated with neuro 1 & 2 project templates

Added "Vision with lost glasses" and "Moving Beyond Labels" templates (code and images). The template image has been linked to colabs on this repo after merging.

On it.
It's not needed to run here, but if the students want to generate processed datasets with different levels of blur/oterh forms of noise they can use the code. So should i keep it or not?
Sure

Ok, move it to the bottom of the notebook then please and add some text at the top to clarify what that code is for.
Also, please remove the "ideas" at the bottom of the Moving Beyond Labels notebook.

Done


head: handle multibyte numeric utf-8 chars

fixes  #3039.

TIL that is_numeric accepts much more than just ASCII numbers! Thanks! I found 2 other uses of is_numeric in the codebase, could you fix those as well?
https://github.com/uutils/coreutils/blob/main/src/uu/tail/src/parse.rs#L22
https://github.com/uutils/coreutils/blob/main/src/uu/stat/src/stat.rs#L196

I see this has been picked up in another PR, so I'll leave it here
as for the is_numeric call is stat, i'm not sure if is_digit is even the right thing to do, so it might not be right to fix here. I've opened #3051 for that


Revert "Revert "Ensure ports are only added if either name or lbPort is set""

Reverts dcos/dcos-ui#603

Reviewer: @pierlo-upitup


Add support for the  html element

Support for rendering GitHub comment reactions was added with https://github.com/artsy/artsy.github.io/pull/429. :tada:
The implementation followed GitHub's pattern of rendering emojis using a system typeface by default and injecting an image tag with a fallback image for platforms which may not have an emoji typeface pre-installed.
The custom <g-emoji> html element must be defined and registered to the window before it can be used. This commit brings in the custom html element as defined by GitHub in https://github.com/github/g-emoji-element.

nice! love it


Ensure reproducible builds for daffodil release candidate container

Update the daffodil release candidate container README to us a git URL to the main daffodil branch to download the container source. This ensures release candidate builds use the latest source and do not include any local changes that could affect reproducibility.
Also add documentation how to to build, test, and remove local changes since using a git URL makes that a bit more difficult.
DAFFODIL-2907

This change to using the URL doesn't work for me:
$podman build -t daffodil-release-candidate https://github.com/apache/daffodil.git#main:containers/release-candidate
Error: error prepping temporary context directory: exit status 128

But if I use the original command line it works:
$ podman build -t daffodil-release-candidate containers/release-candidate

Might be a version of podman that's too old? I have 4.9.4 and it works for me, maybe git URLs is a relatively new feature?

Found this commit that added support for Git URLs to support branch and subdirectory: https://github.com/containers/buildah/commit/5d9d28ba1f754deab2cb80db2c9d48916b655605 That was merged in v1.27.0 in 2022, so you need a somewhat new version.
Note that command you use works fine, just make sure there are no local changes and you've have the latest main branch. We may want to revert this change if v1.27.0 isn't widely distributed or if it's some other bug.

podman --version says it is version 3.4.4.
This is what Ubuntu 22.04 (very recent) installs when you issue the regular podman install using apt.
Per
https://askubuntu.com/questions/1414446/whats-the-recommended-way-of-installing-podman-4-in-ubuntu-22-04
it seems that installing podman 4.x on Ubuntu 22.04 involves changing the PPA to that for a future/later revision of Ubuntu. I prefer not to do this update. 22.04 is a LTS release of Ubuntu, the next one 23.10 is not an LTS release.

Yeah, we might have to stick with not using a github url. What version of of buildah do you have? I think that's the thing that actually parses and gets the git repo, and has different versions than podman.

buildah --version
gives
buildah version 1.23.1 (image-spec 1.0.1, runtime-spec 1.0.2-dev)

Yep, looks like Ubuntu is a few versions behind where buildah added support for git URLs with directories (v1.27). So maybe we should undo this commit.
In theory you could use replace "podman" with "docker" in all the commands and everything should just work. I think docker has had this git URL directory support for much longer than podman, so it's probably supported in whatever version of docker you might have. Though, I haven't actually tested docker so who knows if there are subtle differences. Probably safest to just use the directory instead of git url.


I think there is a code error  happended  in Classifier.py file

In 213 line of Classifier.py file :
       " for y_t, y_p in zip(data_test, class_test) "

I think it should be :
       " for y_t, y_p in zip(class_labels, class_test) "

Hi miamioge,
Thanks for carefully checking the code. I believe however the code is correct as it is. Although the variable names might be a bit confusing, the true labels are stored in the 'data_test' variable, while the 'class_labels' variable is a meant to be a simple list of possible classes.  See the 5th box of 2_model_SimCLR.ipynb, where 'class_labels' is defined as ["cardboard", "glass", "metal", "paper", "plastic"]


Fix keyword to watch SM cluster provisioning logs and increase timeout

Content of the PR:

change logic of Watch Hive Install Log keyword to avoid RHOAIENG-10829 bug
increase timeout to 70m

This won't necessarily fix some of the failures we have seen in CI while provisioning clusters, but would:

ensure to provide provisioning logs when available
reduce the chance of failure in case provisioning takes more than the fixed timeout

PR validation:

PSI provisioning  OK

IBM Cloud provisioning OK

Hi @bdattoma although you added output_should_contain=install completed successfully you should also fail fast if fatal error occurs, as in this job job/rhods/job/rhods-ci-pr-test/3312/console
Please also add output_should_not_contain=fatal msg


create homebrew tap

publish the Formula folder as a separate repo (git subtree FTW)
this would make homebrew happier (since the team doesn't like local Formulas)
alternatively, figure out a way to fake a local tap by symlinking to the support-firecloud directory
EDIT: once that is in place, there's a good candidate to create separate formula for all of moreutils' executables. Homebrew already has a separate sponge formula, and the reasons are detailed in https://github.com/Homebrew/homebrew-core/pull/60330

faking the local tap by symlinking is impossible from a pure management perspective. what if you have more than 1 support-firecloud repo cloned locally? which one wins at symlinking?

https://github.com/ysoftwareab/homebrew-tap


GitHub action failed

Check to see too if this relates to #42 where _main files epub , pdf and .tex are not being updated (at least from a local Build)

I'm sure it has. Let's close it


Pylance doesn't recognize properties of a Generic class with a ParamSpec as one of the generic types

Pyright correctly recognizes the property, while pylance doesn't. This is not the case for attributes or methods.
Environment data

Language Server version: v2021.9.4
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): 3.9.7

Code Snippet
from __future__ import annotations

from typing import Generic, TypeVar

from typing_extensions import ParamSpec

T = TypeVar('T')
T_ = TypeVar('T_')
P = ParamSpec('P')

class Command(Generic[P, T]):
    @property
    def qualified_name(self) -> str: ...

def foo(command: Command):
    reveal_type(command.qualified_name) # Cannot access member "qualified_name" for type "Command[Unknown, Unknown]"

class Command2(Generic[T, T_]):
    @property
    def qualified_name(self) -> str: ...

def bar(command: Command2):
    reveal_type(command.qualified_name) # str

Thanks for the bug report. This will be fixed in the next release.
The type checker wasn't properly handling the case where an "Any" type argument was assigned the a ParamSpec. Because it rejected this case, the operation failed when attempting to bind the __get__ method on the property object.


An error in a step should be propagated in the dependent steps

See https://github.com/huggingface/datasets-server/issues/948:

the entries of "/first-rows" should have been deleted because the upstream jobs are errors and we cannot get the list of splits.
the entry of "/dataset-info" should be an error, since the result of "/parquet-and-dataset-info" is an error, and both are at dataset level.
etc.

I think we have to review the logic of what occurs in case of error, to have a coherent status for the cache of a dataset.

See https://github.com/huggingface/datasets-server/issues/1012

https://github.com/huggingface/datasets-server/issues/1022


Without dict.get() method this part can raise Exception

Without dict.get() method this part can raise Exception if the database haven't 'ENGINE' key for some reason

@svfat could you point to me the part of the django documentation where it says having a database without the ENGINE key is allowed?

Since this check is done on all databases, even those ones which do not concern django-hstore it makes sense to be forgiving.


Error when writing aligned pdb

Hi.
Interested in using this tool, but I'm receiving the following error:
  File "/root/miniconda3/bin/caretta-cli", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/caretta/bin/caretta-cli", line 103, in <module>
    app()
  File "/root/miniconda3/lib/python3.9/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/root/miniconda3/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/root/miniconda3/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/root/miniconda3/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/root/miniconda3/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/root/miniconda3/lib/python3.9/site-packages/typer/main.py", line 497, in wrapper
    return callback(**use_params)  # type: ignore
  File "/caretta/bin/caretta-cli", line 87, in align
    multiple_alignment.StructureMultiple.align_from_pdb_files(
  File "/caretta/caretta/multiple_alignment.py", line 221, in align_from_pdb_files
    msa_class.write_files(
  File "/caretta/caretta/multiple_alignment.py", line 624, in write_files
    self.write_superposed_pdbs(pdb_folder)
  File "/caretta/caretta/multiple_alignment.py", line 688, in write_superposed_pdbs
    reference_pdb[helper.get_alpha_indices(reference_pdb)]
IndexError: arrays used as indices must be of integer (or boolean) type

There's no error if I use the --no-pdb flag. But those alignments is what I'm after.
I'm using the cli and I'm running it as docker image. Not sure if that might have anything to do with it.
Any ideas?

Hi,
Thanks for trying this out! Could you provide some more information on the kind of input proteins used? The line with the error finds the indices of alpha carbons in the PDB and uses that to get their corresponding coordinates. The error itself likely indicates that there were no alpha carbons found - is this something you would expect given your input proteins? Also, you mentioned that the --no-pdb flag works - what do you find in the output fasta file?

Hi Ninjani,
I think I actually managed to solve the issue. I was aligning 100 models, that are perhaps quite divergent. I pinned the problem down to:
# multiple_alignment.py
core_indices = np.array(
            [
                i
                for i in range(len(alignments[reference_name]))
                if -1 not in [alignments[n][i] for n in alignments]
            ]
        )

This returned an empty array for my models which causes an error downstream. I changed the code to use a threshold instead to identify core indices. This seems to be working for me now.
Although I'm still not sure what I'm trying to achieve!
Thank you!

Ah, I see! Caretta currently uses the set of core indices (which are the indices that don't have gaps across all proteins) to decide the rotation matrices for superposing proteins - this breaks on divergent sets which don't have core indices as you've seen. We've been meaning to change this behavior to mimic the superpose function which rotates all other proteins according to the first protein - and instead choose a "central" protein to handle cases where the first protein is very divergent from the rest. The threshold idea also makes a lot of sense, essentially implying that indices which are >threshold conserved can be considered as core indices, but this could be quite variable for different datasets.
I'll make another issue to change this behavior. Thank you!


Sitecore.Social requires Ninject, Version <IP_ADDRESS>

In Sitecore 8.0 rev. 150223 the following warning is thrown in the Sitecore log file.

Sitecore.Social: Ninject, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c7192dc5380945e7 is not loaded. The task execution is skipped.

As Unicorn is dependent of Ninject, Version <IP_ADDRESS> these two are not working very well together. Can you upgrade Ninject to version <IP_ADDRESS> in the unicorn solution?

Unfortunately I have the same issue. Unicorn is not compatible with Sitecore 8. When do you expect to upgade ninject fot the solution?

The next release will have this; in the meantime, a binding redirect works just fine (I have Sitecore 8 sites in production with Unicorn):
<dependentAssembly>
    <assemblyIdentity name="Ninject.Web.Common" publicKeyToken="c7192dc5380945e7" culture="neutral" />
    <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
    <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
  </dependentAssembly>

Thanks kamsar! That will work for now.

Thx! works for now!


[2.4.4. Build 123] Weather provider resetting in seemingly random fashion

Since installing 2.4.4 Build 123 I've had two instances of the data provider resetting to Meteo France from Open Meteo.
The first time it was right after installing the upgrade. The second one today, after forcing a manual refresh.
After taking a look at a filtered logcat, I did not find much of relevance, other than the activity has been resumed/restarted from background, as apparently I had used the app about 90 minutes prior.

@Mrnofish I suspect it is not random but because of a hidden feature. If you swipe left/right on the actionbar(location name) then it switches provider.
Could it be that ?

I didn't do it on purpose (first I hear of this feature) and I cannot rule out that it wasn't some mishap. I'll pay extra attention now that I have been made aware.
Since the provider can be changed that way, perhaps you should have that piece of information displayed somewhere in the main screen.

@Mrnofish you are right. I dont want to clutter the main view so i ll make it a setting disable by default!
If you think there is still an issue not coming from that feature please let me know and i ll take a deeper look

The issue didn't present itself after the switch was introduced, so I'm guessing your diagnosis was correct.
Closing with many thanks.


Completion item's description with markdown are messed up

Description:

Affected Versions:
sl-alpha3 at least

Related #29547

This is fixed with #30703. Hence closing the issue


Add XCFramework artifacts

Description
Add unused Artifact.flutterXcframework to get ready for the XCFramework being added to the uploaded engine artifacts.
Pass EnvironmentType into the artifacts logic.  This will be used to differentiate Flutter.xcframework/ios-x86_64-simulator/Flutter.framework from Flutter.xcframework/ios-arm64_armv7/Flutter.framework.  Parse the environment (iOS vs iOS simulator) in the ios build system target.
Related Issues
Will be used as part of #60109 when the xcframework is added to artifacts.
Tests
artifacts test, ios build system target test

Google test failing because #71095 hasn't been rolled yet.


Missing identifier code severity

The error "Is not recognized as a standards identifier." is currently given the severity INFO. In my opinion that is at minimum a WARN, if not an ERROR.

@opoudjis we need to fix it in the flavor relaton-* gem. Which gem sends the message?

@opoudjis I think it is a WARN. It means an incorrect reference is provided, so the warn is issued inform about the problem. But if you think it is a ERROR, we can make it an error.

Well, all I can say is, when I try and fetch "ISO 00a", the log tells me it's INFO, and it should be WARN. The same applies to any standards codes not found.

fixed in relaton-iso v1.19.1


Design pattern for sanity querying

Description
Right now, there exists individual functions for all sanity querying. This is okay, but it leads to messy code. To simplify this, use the fluent design pattern, or perhaps the builder or factory pattern, to create a query programmatically.
Links

https://justgokus.medium.com/what-is-the-fluent-interface-design-pattern-177b9cc93c75

Additional context
No response

Didn't use fluent design pattern. This is resolved in 35230d3e9ec8cc871edc297fce5b7fdd807f802a.


Question - Pywinauto support for Microsoft edge browser application

Expected Behavior
Able to automate the Microsoft Edge browser application using pywinauto
Actual Behavior
me_app = application.Application(backend='uia').start(r"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe")
ext = me_app.connect(title='.New tab.')
This results in error like below: (Also changed the 'backend' argument to win32 to see if that helps. It did not!)
Traceback (most recent call last):
File "C:\Users\cisco\edge.py", line 19, in
ext = me_app.connect(title='.New tab.')
File "C:\Users\cisco\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\application.py", line 997, in connect
self.process = findwindows.find_element(**kwargs).process_id
File "C:\Users\cisco\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\findwindows.py", line 87, in find_element
raise ElementNotFoundError(kwargs)
pywinauto.findwindows.ElementNotFoundError: {'title': '.New tab.', 'backend': 'uia', 'visible_only': False}
Steps to Reproduce the Problem

Run the code snippet
from pywinauto import application
me_app = application.Application(backend='uia').start(r"C:\Program Files\Google\Chrome\Application\chrome.exe")
ext = me_app.connect(title='New Tab - Google Chrome', found_index=1)

ext.NewTabGoogleChrome.print_control_identifiers()
me_app = application.Application(backend='uia').start(r"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe")
ext = me_app.connect(title='.New tab.')
ext.NewtabMicrosoftEdge.print_control_identifiers()
Short Example of Code to Demonstrate the Problem
The Google chrome app opens fine and able to print the control identifiers just fine. But error  occurs with MS Edge.
Specifications
Pywinauto version: 0.6.8
Python version and bitness: 3.9.5, 64 bit
Platform and OS: Windows 10, 64 bit

pywinauto is able to automate Edge as it is built on top of Chrome engine. Just run Inspect.exe and see property FrameworkId:	"Chrome" :)
The problem here is that Edge has launcher process which spawn a child one. So Application(backend="uia").start("msedge.exe") can't see anything in launcher process. Detecting child processes is a feature request #593.
But it is a bit tricky to use correct title for MS Edge window:
from pywinauto import Desktop, Application

app = Application(backend="uia").start(r"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe")
print(app.process)
print(app.windows())

app = Application(backend="uia").connect(title_re=u".*Microsoft\u200b Edge", timeout=10)
print(app.process)
print(app.windows())

app.window(title_re=u".*Microsoft\u200b Edge").dump_tree()

See also #590 for other browsers examples.


feat(backend): add tenant name

Changes proposed in this pull request

Context

Checklist

[ ] Related issues linked using fixes #number
[ ] Tests added/updated
[ ] Documentation added
[ ] Make sure that all checks pass
[ ] Bruno collection updated

Some generic comments:

Are you thinking we need a separate tenantEndpoints table in order to track changes/deletions? Should the same be done for the tenant endpoints in auth?
We probably don't need tenantId for grants in backend, since I think it is tenant agnostic (the backend grants are the stored grants that the Rafiki instance itself has gotten from Open Payment requests it has made to remote/other Rafiki instances)

Some generic comments:

Are you thinking we need a separate tenantEndpoints table in order to track changes/deletions? Should the same be done for the tenant endpoints in auth?
We probably don't need tenantId for grants in backend, since I think it is tenant agnostic (the backend grants are the stored grants that the Rafiki instance itself has gotten from Open Payment requests it has made to remote/other Rafiki instances)

This design is a little bit premature. We should change tenantEndpoints to tenantConfiguration. Down the line we can have basically all ENVs that are tenant specific there. And that can be then configured from Admin UI. I think that we should have audit trail for data change on the tenant, but audit is completely different feature and I think that we will need to tackle that sooner or later.
TenantId is only mandatory for auth in order to get correct grant for tenant.


BoxBuilder lacks orientation method

Widget construction defaults to a horizontal layout, so vertical layouts aren't possible unless set outside of the builder.

That's because the orientation is no property. It could be added as a manual function to the builder though. But not sure how to best do it: to create a box you must give an orientation, so ideally it should be part of the constructor of the builder itself. Which is currently not supported. And you'd need to be able to hook into the build() function, call some more code there, and most important be able to store the value of the property inside the builder.
This needs some more work on the gir side to allow customization of the generated builders. CC @EPashkin @antoyo

Actually, orientation is a property: it's here.
I'm not sure why gir didn't generate it though.

This seems already fixed.

@GuillaumeGomez can be closed


Bro integration via conn-tanium.log

Fixing writing to bro logs - was issue with both data types and field count.

no, i don't want to merge into master :)


drivers: I2CSPIDriver add a number of missing addresses

How about make constructor  request for address as well, instead of an optional parameter?

This was just a quick attempt to silence distracting console output before the next release.
[2020-04-16T10:00:16.987Z] ERROR [SPI_I2C] Bug: driver rgbled does not pass the I2C address to I2CSPIDriverBase
[2020-04-16T10:00:16.987Z] rgbled #0 on I2C bus 2 (external)

This was just a quick attempt to silence distracting console output before the next release.

That is indeed wrong then. I was looking at LidarLiteI2C.
Going through them, only blinkm, rgbled_ncp5623c and rgbled need to be fixed.

Updated to only blinkm, rgbled_ncp5623c and rgbled.

Sweet silence (or at least slightly improved).


No cars being tracked

Reason: https://github.com/zappybiby/SimShift/blob/Xbox/SimShift/SimShift/Dialogs/dlDebugInfo.cs#L218 is returning false
More debug info: https://i.imgur.com/IwbbuUa.png
More than likely we need to update offsets in AdvancedMiner (Ets2DataMiner.cs)

Pointers List for Speed of car #1: https://drive.google.com/open?id=0B384_Xn8nNNpdUY3THdfTVNtaWM
Image: https://imgur.com/a/4vm0m
Found using https://github.com/zappybiby/SimShift/commit/c5139cff0864a68ee9fc72f40f48532c405c5a97

speed, x, y, and z are all updating normally.

car.Tick is not being called, making it so that the boxes are never created for the cars.

Determines if a car is valid
Determines if a car is tracked

Current Theory:
IsPolygonsIntersecting is returning false due to this line
Therefore, the car is not tracked
Debug info:
https://i.imgur.com/Jxa3Dn6.png

Unfortunately, project will remain deprecated due to this issue (until @nlhands returns to Github)
This is not a memory scanning issue, all the values are obtained fine. I have been testing and testing this IsPolygonsIntersecting function for a little bit now. At the very least, I was able to get car.Validto return true which confirmed that the current offsets are indeed correct.

Regarding this issue, I honestly don't know. It's been 1,5 years since I've written that piece of software, and to be honest it was only short lived because of regressions in the game executable and memory addresses. If you're running 1.19 on Windows/Steam , that shouldn't be the issue however.
What I do know is you need to leave the 'debug window' open in order for it to stay scanning traffic.

One thing you might be able to help me with is the setup in-game you used for your ps4 controller (If it retained all your previous settings ...)


fix: build error (non-existent modules in PRODUCT_PACKAGES)

Magisk should not be added to PRODUCT_PACKAGES from EXTENDROM_PACKAGES to prevent it from being added to the Makefile, since it isn't actually being built. This commit should fix this (see https://github.com/sfX-android/android_vendor_extendrom/issues/36)

do you have tested that this change works properly? https://github.com/sfX-android/android_vendor_extendrom/pull/40/commits/97ce33bf01ba25158c9d642b501e4613fd0c8ae4
if so: also when using e.g. Magisk_v26.2 instead of Magisk?

do you have tested that this change works properly -> 97ce33b if so: also when using e.g. Magisk_v26.2 instead of Magisk?

Was just typing a post about my updated pull request when I saw yours. I'm not getting any errors with both Magisk and Magisk_v26.2 so your proposed fix seems to be working.

thanks again for your contribution :+1:


Checksum verification can fail if node previously ran in production mode

In production mode, a blocks checksum is not set. As a result, when forking, or randomly in debug mode, when the revertapply check is done, it fails with missing checksums

Adding of the checksum when the block is initially validated happens here:
https://github.com/rivine/rivine/blob/bdfee0fe307b7daaf9f50f60039c7b30fc9f1e6f/modules/consensus/diffs.go#L186-L193
while verification of this checksum happens here:
https://github.com/rivine/rivine/blob/bdfee0fe307b7daaf9f50f60039c7b30fc9f1e6f/modules/consensus/consistency.go#L97-L129
This method is called in the checkConsistency method, IF build.DEBUG is true:
https://github.com/rivine/rivine/blob/bdfee0fe307b7daaf9f50f60039c7b30fc9f1e6f/modules/consensus/consistency.go#L131-L143
So it only takes into account the current running mode, not the previous one. When this method hits blocks created in prod mode while the daemon runs in debug mode, it triggers a checksum fail as it calculated the current checksum and matches it against the default value (00000000...)


Custom URLStreamHandler is stripped off internally

Expected behavior
I am running in Google App Engine Standard environment, which does not allow me to create/write to any files. The sslKeystore and sslTruststore configuration parameters are required to be URI objects. So I created a custom URLStreamHandler and created a custom URI out of the certificate object in memory.
This should work as expected.
Actual behavior
However, it does not work as expected. Instead the custom URLStreamHandler is stipped off in RedisChannelInitializer.java, line number 140: However, in RedissonChannelInitializer.java, line 140, InputStream stream = config.getSslKeystore().toURL().openStream();`, when uri is converted to url using toURL().
Proposed patch/fix
So I have modified the source code as follows and it works as expected for me.

Change the type of sslKeystore and sslTruststore variables from URI to URL in RedisClientConfig.java and BaseConfig.java.
Change the line 140 in RedisChannelInitializer to remove toURL().

On a side note, I tried to push this modification to the redisson github repo on a new branch and then request a PR. But looks like I do not have some permissions as I get back a 403 response code.

git push --set-upstream origin sslKeystore
remote: Permission to redisson/redisson.git denied to psubramanian2007.
fatal: unable to access 'https://github.com/redisson/redisson.git/': The requested URL returned error: 403

Redisson version
2.13.2-SNAPSHOT

You need to fork project first and then send changes as PR

Thanks, will do.
On Fri, Sep 21, 2018 at 10:54 PM Nikita Koksharov<EMAIL_ADDRESS>wrote:

You need to fork project first and then send changes as PR
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/redisson/redisson/issues/1644#issuecomment-423719110,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae9x_IEVg7mRbMd39jVvnrWSv2PE0UZHks5uddCIgaJpZM4W0-tp
.

--
Praveen
Subramanian
Staff Software Engineer
408.780.5429
http://www.leanplum.com/
Mobile Engagement Delivered
Find out how in <90 seconds! https://vimeo.com/241978055
https://www.leanplum.com/guides/gartner-magic-quadrant-mobile-marketing-platforms

I have solved a similar problem (not in reddison) by instead using a custom protocol scheme,  that way even if url or uri is converted to text and back the proper custom stream handler is used.    Converting URL to string and back is very common in many libraries -- impractical to count on it not happening.

Done


Title Case a Sentence Bonfire not accepting my answer even though its correct.

Challenge Bonfire: Title Case a Sentence has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function titleCase(str) {
  var a=str;
  var lower=a.toLowerCase();
  var b=lower.split(' ');

  var result=' ';
  for (var i=0;i<b.length;i++){

  c=b[i].charAt(0).toUpperCase()+b[i].slice(1);

  result=result+' '+c;

}
  return result;
}

titleCase("I'm a liTtle tea pot");

When I enter this code, it is not accepting my cases. However, all my cases pass. Why wont it accept my answer?
Thank you

The problem is that you always have a leading space on your string.
For programming questions, please ask for help in the Bonfire Help Room.
Closing as this is not a site issue.  Thanks and happy coding!

function titleCase(str)  { return str.split(' ').map(function(a){return a.toLowerCase();}).map(function(a){return a.replace(a[0],a[0].toUpperCase());}).join(' '); }


Please further clarify the difference in Modes

The following is very confusing:
Modes
The plugin has two modes:

mode: checkout to merge the PR after checking out source; and
mode: trigger to async trigger another build (of the current pipeline)

I would like to use this plugin to always merge the PR into the base branch before running our checks on Buildkite and I want new builds to trigger when the base branch changes.

Can I only use one mode?
If I use the trigger mode, will it also do the checkout for those steps?

Hi, thanks for raising an issue.

I would like to use this plugin to always merge the PR into the base branch before running our checks

In this case you'd use mode: merge if you want to only have one build, and the merge would be done before your checks. mode: trigger can be used if you want to kick off a new build for "what the PR would look like if it was merged" -- giving you two builds, one on the unmerged PR and another on the merged PR.

Can I only use one mode?

Yes. Not sure how using both would help you in your case?

If I use the trigger mode, will it also do the checkout for those steps?

Yes, providing the plugin is used in each of the steps. As trigger works by:
Kicking off a new build with the SHA:
https://github.com/seek-oss/github-merged-pr-buildkite-plugin/blob/aaff3e4d3fcf22ad7a2012063d0005600f8b8f56/hooks/post-checkout#L107
https://github.com/seek-oss/github-merged-pr-buildkite-plugin/blob/aaff3e4d3fcf22ad7a2012063d0005600f8b8f56/hooks/post-checkout#L10-L20
Then when that step runs it will "force merge" the changes:
https://github.com/seek-oss/github-merged-pr-buildkite-plugin/blob/aaff3e4d3fcf22ad7a2012063d0005600f8b8f56/hooks/post-checkout#L89-L95
TL;DR we'd normally suggest using merge which gets you back on parity with the now defunct github /merge PR ref. And only use trigger if your use-case is sufficiently complicated.
You can currently only "trigger" PRs to re-build if you're using mode: trigger:
https://github.com/seek-oss/github-merged-pr-buildkite-plugin/blob/master/hooks/post-checkout#L114
Although we could probably change this PR to allow you to "re-trigger" PR builds when the base branch changes. Keen for your thoughts on this @seekdave ?

My team currently use the plugin in the way that is described by @rplankenhorn.
All of our main steps use the plugin in checkout mode, e.g.:
  - label: ":building_construction: Build"
    commands:
      - "make distclean dist"
    plugins:
      - seek-oss/github-merged-pr#v1.1.2:
          mode: checkout

Then we also include this PR triggering step to run on master all builds (master typically only builds after a merge):
  - label: ":github: Trigger PR branches"
    command: "true"
    branches: "master"
    plugins:
      - seek-oss/github-merged-pr#v1.1.2:
          mode: trigger
          update_prs: true

All PRs therefore build and test the merged result, and all builds on master re-trigger all open PRs. It was important for us to ensure we have a buildkite agent always ready and add the "Trigger PRs" at the start of the pipeline - this reduces the time window between a merge and triggering other PRs (to block them from merging until after their new build).
Note that the git-fu used to identify PR branches that need to be triggered requires to to ensure you clean up branches for closed (unmerged) PRs, or they will re-trigger and waste build resources.
Please let me know if that's unclear.

@seekdave @zsims Thanks!  This helps a lot!


Prerender deploy

How can i deploy website using yarn build:prerender ?

build all your path of the app.
Then you need to deploy like the static site(nginx)

Can you please be more specific

npm run build:universal
npm run build:prerender
which folders need to be copied to static web server? (e.g. I see  static, dist, and dist-server beeing generated ...) Also, any specific rule where should I put them?


Update docs w/ new props style

https://github.com/snowpackjs/astro/pull/515
Astro no longer uses magic Svelte props! Whooo!

Did this as a part of a quick style update in 595d07fbfe00bdc1aa00d322157089d8971ca78d


[Mempool] Listen for blocks and save to the discovery database

Currently lib cardano provides multiple way to handle the transactions and blocks received from the node. For the mempool explorer we need to discuss on either directly listen from node and save it to the database or listen from kafka. Currenlty we also don't have a service to produce the messages to kafka. Even if we push messages to kafka currently there will be only one consumer so we might not see value in publishing it to kafka and consuming same message.

Update: Moving forward with direct saving to discovery db as we messages published to kafka is not used anywhere and might just be extra burden.


*: tiny refactor

Make status borrow data instead of cloning. Also introduce a new API to
force leader broadcast heartbeats.

LGTM

#232 should fix this failed CI, merging.


Updated README with new information

What does this PR do?
Fixes # (issue)
Before submitting

[x] Did you read the contributor guideline?

LGTM!


Feat/module catalogue improvements test

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

Closing as it was just to test the changeset during branch sync.


don't attempt to close null body

Change-Id: I8f6e47a167956b04a9cab3d8889e84eefa9bac42

Codecov Report

Merging #276 into master will decrease coverage by 1%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #276    +/-   ##
======================================
- Coverage      82%    82%   -<1%
======================================
  Files          22     22
  Lines        1667   1667
======================================
- Hits         1361   1358     -3
- Misses        187    189     +2
- Partials      119    120     +1

Impacted Files
Coverage Δ

adapter/product/manager.go
77% <0%> (-1%)
: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 a9cc351...69619c4. Read the comment docs.


xmake can found "main" includes but not "subincludes" on imgui

Xmake Version
2.9.7
Operating System Version and Architecture
Windows 10
Describe Bug
xmake can found imgui.h but not backend includes
Expected Behavior
compile succefully
Project Configuration
add_rules("mode.debug", "mode.release")
add_requires("spdlog", "glad", "glfw")
add_requires("imgui", {opengl3, glfw})

add_defines("GLFW_INCLUDE_NONE")

set_languages("cxx17")

if is_mode("debug")
then
    set_optimize("none")
else
    set_optimize("fastest")
end

target("fge")
    set_kind("static")
    add_packages("spdlog", "glad", "glfw")

target("Sandbox")
    set_kind("binary")
    add_packages("fge", "glad", "glfw", "imgui")
    add_files("Sandbox.cpp")

Additional Information and Error Logs
 Executing task: xmake build Sandbox

[ 50%]: compiling.release Sandbox.cpp
error: Sandbox.cpp
Sandbox.cpp(4): fatal error C1083: Não é possível abrir arquivo incluir: 'imgui_impl_glfw.h': No such file or directory

add_requires("imgui", {opengl3, glfw}) -> add_requires("imgui[glfw]")

you didn't enable the backend in the right way, what you're doing is basically passing two nils values as a config to add_requires, which is the same as passing an empty table.
try
add_requires("imgui", { configs = { opengl3 = true, glfw = true })

or even simpler
add_requires("imgui[opengl3, glfw]")

you didn't enable the backend in the right way, what you're doing is basically passing two nils values as a config to add_requires, which is the same as passing an empty table. try
add_requires("imgui", { configs = { opengl3 = true, glfw = true })

or even simpler
add_requires("imgui[opengl3, glfw]")

first works and second not and you missing a closing bracket at the end :)


Editing a contact

When editing a contact, lists are mandatory (field p[123]) is there an easy way to edit the contact and keeping its current lists?
Does the the param returned ''listslist" returns all the lits separated by a dash? ( listslist: '1-2' )
On p[123] description there's a warning I don't quite get. WARNING: if overwrite = 1 (which is the default) this call will silently UNSUBSCRIBE this contact from any lists not included in this parameter.
Does that mean I can maybe do something p[1] = listslist to achieve what I need to?

Hello! I believe you need to use our contact_sync endpoint, which won't overwrite anything by default. Example below that changes only the contact's first name, and leaves all other details (like list subscriptions) alone:
ac.api("contact/sync", {
	email<EMAIL_ADDRESS>	first_name: "Abc"
}).then(...

If you do want to edit the contact's lists, you can include the "p" parameter with the list ID:
"p[31]": 31

Multiple lists would look like:
"p[31]": 31,
"p[36]": 36

Let us know if that doesn't answer your question! 👍


C# waterfall validate input from adaptive card

Bot Info

SDK Platform: .net
SDK Version: 4.0
Active Channels: Direct Line
Deployment Environment:  local development with Emulator? -->

#found the solution with decrement a step.

Hi
Kindly share the solution for validation of input with adaptive cards as in my case i wanted to validate Phone number and email.
Kindly guide me.


How to use proxy in snoowrap?

Let's say I want to use a proxy server 123.456.789 with the port 8080, how do I pass that to snoowrap?

there's instructions above the rawRequest function which is used for all api requests. you can create a modded class like this:
const request = require('request-promise');
class ProxiedSnoowrap extends Snoowrap {
constructor(options, proxy) {
super(options);
this.proxy = proxy;
}
rawRequest(options) {
    // send all requests through the proxy passed in the constructor
    return request(Object.assign(options, { proxy: this.proxy }));
}

}
const r = new ProxiedSnoowrap({
userAgent: '',
clientId: '',
clientSecret: '',
whatever needed here
}, "http://123.456.789:8080");
you can use the proxy like this: {protocol}://{ip}:{port}
this works with the underlying request-promise module; look there for more details on what proxies are supported and whatnot
not sure if it works for socks as well

@LucasianProfessor ok, and how to pass username password for the proxy?

This is how I made it work..
interface RequestOptions {
  json: boolean;
  baseUrl: string;
  uri: string;
  method: string;
  headers: object;
  qs?: object;
  form?: object;
  auth?: {
    bearer: string;
    user: string;
    pass: string;
  };
  formData: object;
  body: object;
  transform: Function;
  resolveWithFullResponse: boolean;
}

export default class SnoowrapWithProxy extends Snoowrap {
  proxy: {
    host: string;
    port: number;
    auth: {
      username: string;
      password: string;
    };
    protocol: "http";
  };
  constructor(
    options: SnoowrapOptions,
    proxy: {
      host: string;
      port: number;
      auth: {
        username: string;
        password: string;
      };
      protocol: "http";
    }
  ) {
    super(options);
    this.proxy = proxy;
  }
  rawRequest(options: RequestOptions) {
    const auth = options?.auth?.bearer
      ? `bearer ${options.auth.bearer}`
      : "basic " + btoa(`${options?.auth?.user}:${options?.auth?.pass}`);
    const agent = options?.headers!["user-agent"];
    const axiosOptions = {
      url: options.uri,
      method: options.method,
      baseURL: options.baseUrl,
      data: options.form,
      proxy: this.proxy,

      headers: {
        Authorization: auth,
        "user-agent": agent,
        "Content-Type": "application/x-www-form-urlencoded",
      },
    };
    const promise = axios(axiosOptions)
      .then((resp) => resp.data)
      .catch((r) => r.message);
    return promise;
  }
}

Note, this uses axios as the client, but it could be anything..
Not tested for all usages though. Please be sure to test it before you use it in important places.


YouTube Video is "Private"?

Hi, I'm trying to watch the SQL OLTP tuning video on YouTube https://docs.microsoft.com/en-us/sql/relational-databases/in-memory-oltp/in-memory-oltp-in-memory-optimization?view=sql-server-ver15#anchorname-17minute-video, but it tells me the video is "private".
How can I watch it?

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

ID: 494b3bdc-5dc6-66a0-3c01-ab53f76539fc
Version Independent ID: 22627b4b-4877-6aa5-933b-8010e07487a4
Content: In-Memory OLTP (In-Memory Optimization) - SQL Server
Content Source: docs/relational-databases/in-memory-oltp/in-memory-oltp-in-memory-optimization.md
Product: sql
Technology: in-memory-oltp
GitHub Login: @rothja
Microsoft Alias: jroth

@domcote -- thank you for your feedback.  I am investigating this issue.

@domcote -- apologies for the delay in responding.  That video has been retired, and this page as well.  Please see Overview and Usage Scenarios instead.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


support AIX/OS400 system

Signed-off-by: GavinZhang<EMAIL_ADDRESS>Please do not send pull requests to the BoringSSL repository.
We do, however, take contributions gladly.
See https://boringssl.googlesource.com/boringssl/+/master/CONTRIBUTING.md
Thanks!

switching to gerrit : https://boringssl-review.googlesource.com/c/boringssl/+/53365. Closing here.


mDNS lookup on esp32

Hello Maarten!
Old problem with mDNS on ESP32. If use "loraserver.local" as ttnserver on ESP8266 - all good, works, but not on ESP32, dies cause cannot resolve hostname. You might not see issue if using public servers, those work always, but mDNS causes problem. On setup where there is no DNS server mDNS is very useful.
Would you consider something like this in the code (better code up to you :), please?
I added it into _utils for myself. Seems to be working for both esp8266 and esp32 (ttgo) boards I have.
IPAddress resolveHost(char * svr) {
IPAddress svrIP;
String svrName = String(svr);
Serial.print("Server ");
Serial.println(svrName);
if (svrName.endsWith(".local")) {
#if ESP32_ARCH==1
svrName=svrName.substring(0,svrName.length()-6);
svrIP = MDNS.queryHost(svrName);
for (byte i=0; i<5; i++) {
svrIP = MDNS.queryHost(svrName);
if (svrIP.toString() != "<IP_ADDRESS>") break;
Serial.println("ReTrying to resolve mDNS");
delay(1000);
}
#else
if (!WiFi.hostByName(svr, svrIP))      // Use DNS to get server IP once
{
die("Setup:: ERROR hostByName");
};
#endif
} else {
if (!WiFi.hostByName(svr, svrIP))      // Use DNS to get server IP once
{
die("Setup:: ERROR hostByName");
};
}
return svrIP;
}
Call it for all 3 servers, ntp, ttn and thingserver, cause for me ntp is also .local on server.
From setup:
ttnServer=resolveHost(_TTNSERVER);
Thanks!
Reggie

@rk125 many thanks. Now it works also for me :-)

Yeee! Glad to hear!
Reggie

I will have a look. I/m busy with 6.1.5 also, so looking whether I can squeeze it in.
Maarten

Added the code to 6,1,5 together with some clight mods

Can someone tell what files to modify and add lines where ?
Thanks


Warning 'The following packages did not export their package.json file...' in case of non-svelte packages

Describe the problem
I'm always getting a warning message  from vite:resolve when tslib is resolved:
[vite-plugin-svelte] The following packages did not export their package.json file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
- tslib
(see index.ts:205)
The message is caused when somewhere in src/utils/resolve.ts:resolveViaPackageJsonSvelte(..) the error ERR_PACKAGE_PATH_NOT_EXPORTED occurs.
Because tslib Is a third-party lib that does not use Svelte, it does not make sense to check the "svelte" field.
Describe the proposed solution
It would be nice to have an option to exclude some libs from being checked for the "svelte" field.
Alternatives considered
None
Importance
nice to have

This sounds similar to https://github.com/sveltejs/kit/issues/3053. This should be fixed in Vite 2.7.10. Can you confirm this is still happening in the latest version of Kit, Vite and vite-plugin-svelte? If so, it would be great if you can provide a repro

I'm not using SvelteKit, because my app will be hosted on an embedded server (not nodejs).
But I'm using the newest packages: vite 2.7.10 and @sveltejs/vite-plugin-svelte 1.0.0-next.33.
I have uploaded a small example causing the warning The following packages did not export their package.json file...
It seems that the warnings thrown by vite-plugin-svelte are not handeld by the "onwarn" handler, right? See vite.config.ts in my example.

I'm not seeing the warning in the repro. When I run npm run dev, the logs are:
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
(node:1778) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/bjorn/Work/repros/smui-example-vite/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files

And for npm run build:
vite v2.7.10 building for production...
transforming (66) ../node_modules/@smui/common/dist/elements/Nav.svelte(node:1783) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/bjorn/Work/repros/smui-example-vite/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
✓ 103 modules transformed.
../dist/index.html                  0.49 KiB
../dist/assets/index.8c4bed50.js    3.64 KiB / gzip: 1.42 KiB
../dist/assets/vendor.25b7050f.js   38.35 KiB / gzip: 11.54 KiB
../dist/assets/index.5e69d31e.css   455.51 KiB / gzip: 43.85 KiB

(macos m1, node 16.13.0)

Thank you for the feedback!
The problem seems to depend on the current Node version: I used 17.3.0 before, and when I switch to 16.13.0 I get the same deprecation warning than you (and my former export warning disappears).
I can currently not rate if this might be a problem of the newest Node js or of vite-plugin-svelte. Could you please cross-check it with Node js 17.3.0?

Interesting. I checked node 17.3.0, but I had the same warnings. Dev is still running fine though:
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
(node:10688) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/bjorn/Work/repros/smui-example-vite/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files
Sourcemap for<EMAIL_ADDRESS>points to missing source files

So maybe the node version isn't the issue here 🤔

I have no clue why you don't see this warning in your set up, maybe its because you are using a Mac while I'm using Windows. But I found something about this issue in rollup-plugin-svelte, discussed in May 2020.
The problem has somethng to do with the (external) module require-relative, used by src/utils/resolve.ts. require-replative will return ERR_PACKAGE_PATH_NOT_EXPORTED, because it uses the NodeJS require(). require() checks the exports field in package.json (see entry-point-export ) and generates that error (at least in newer NodeJS environments).
In my opinion this warning does not make sense in case of external modules not using Svelte, because the idea was to inform the user on potential problems with Svelte. Would there be a simple way to check if a module should use Svelte? Then the check in src/utils/resolve.ts could be skipped.

The problem has somethng to do with the (external) module require-relative, used by src/utils/resolve.ts. require-relative will return ERR_PACKAGE_PATH_NOT_EXPORTED, because it uses the NodeJS require(). require() checks the exports field in package.json (see entry-point-export ) and generates that error (at least in newer NodeJS environments).

Yes you're correct. This only happens for dependencies that you directly import though, so I was confused why the error reported for a transitive library (tslib). Perhaps our custom prebundling handling surface it.

In my opinion this warning does not make sense in case of external modules not using Svelte, because the idea was to inform the user on potential problems with Svelte. Would there be a simple way to check if a module should use Svelte? Then the check in src/utils/resolve.ts could be skipped.

The only best way to check if a module uses Svelte is (ironically) to check the package.json, which in this case was reporting the error in the first place. However the idea of this warning is to bring up problems in the nodejs ecosystem in general though (see https://github.com/nodejs/modules/issues/445)
I don't think we should hide this warning altogether, so I was wondering when/how to reproduce it as it's not expected behaviour per my first paragraph.

Another hunch I have is that this is caused by https://github.com/vitejs/vite/pull/3951 released in Vite 2.7.0-beta.7 perhaps you can try a version before that and see if the warning still arises?
It would be tricky for me to fix this without able to reproduce locally though, so I'm trying to toss some ideas 😅

Really wonder whats going on here because tslib should not be checked at all https://github.com/sveltejs/vite-plugin-svelte/blob/c219726919c876c2fc03bbee496ea0b0c7539b7f/packages/vite-plugin-svelte/src/utils/dependencies.ts#L142

Another hunch I have is that this is caused by vitejs/vite#3951 released in Vite 2.7.0-beta.7 perhaps you can try a version before that and see if the warning still arises?

I'm getting the same warning with Vite v2.7.0-beta.6:
> vite build
vite v2.7.0-beta.6 building for production...
transforming (132) ..\node_modules\engine.io-parser\build\esm\commons.js11:19:14 [vite-plugin-svelte] The following packages did not export their `package.json` file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
[...]

Really wonder whats going on here because tslib should not be checked at all
https://github.com/sveltejs/vite-plugin-svelte/blob/c219726919c876c2fc03bbee496ea0b0c7539b7f/packages/vite-plugin-svelte/src/utils/dependencies.ts#L142

Building with vite build --debug gave me a bit mor information about this phenomenon:
[...]
  vite:vite-plugin-svelte dependency @svicons/material-rounded does not export package.json Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:371:5)
    at throwExportsNotFound (node:internal/modules/esm/resolve:429:9)
    at packageExportsResolve (node:internal/modules/esm/resolve:683:3)
    at resolveExports (node:internal/modules/cjs/loader:482:36)
    at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at resolveDependencyData (file:///C:/work/smui-example-vite/node_modules/@sveltejs/vite-plugin-svelte/dist/index.js:588:17) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
} +5ms
[...]

Obviously the warning is not caused when tslib if required direclty by my project, but when it is required by an external module, requiring tslib: @svicons\material-rounded\package.json

Really wonder whats going on here because tslib should not be checked at all
https://github.com/sveltejs/vite-plugin-svelte/blob/c219726919c876c2fc03bbee496ea0b0c7539b7f/packages/vite-plugin-svelte/src/utils/dependencies.ts#L142

When I remove the use of @smui/button in my example project, the warning is gone. So it seems that it is caused by external modules, using tslib indirectly.
As far as I understand the code, the modules listed in COMMON_DEPENDENCIES_WITHOUT_SVELTE_FIELD will not be excluded from checks by done indirectly by require().

I'm not really sure how we can resolve this issue. I can't repro it to fix it, so this might have to be stagnant at the meantime. When https://github.com/sveltejs/vite-plugin-svelte/issues/222 is resolved, it would also indirectly fix this though

Still receiving such warning when I import native nodejs packages in endpoints.
[...]
.svelte-kit/output/client/_app/assets/pages/__layout.svelte-f054a79d.css   161.49 KiB / gzip: 24.11 KiB
.svelte-kit/output/client/_app/chunks/vendor-da02a2b1.js                   195.28 KiB / gzip: 54.96 KiB
vite v2.7.13 building SSR bundle for production...
transforming (254) src/app.css2:22:34 PM [vite-plugin-svelte] vite-plugin-svelte was unable to find package.json of the following packages and wasn't able to resolve via their "svelte" field.
If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
- fs
- child_process
- os
- net
- https
- crypto
✓ 264 modules transformed.
.svelte-kit/output/server/manifest.json                                                17.71 KiB
.svelte-kit/output/server/app.js                                                       57.60 KiB
[...]

"@sveltejs/kit": "^1.0.0-next.257"
"@sveltejs/adapter-node": "^1.0.0-next.67"
'@sveltejs/vite-plugin-svelte': 1.0.0-next.36_svelte<EMAIL_ADDRESS>

@vfilatov That is now fixed in 1.0.0-next.37


[Marker.io] suggestion: we should close this "egift card" pop up if the user clicks somewhere on the page or tries to scroll down on page after opening it

Steps to reproduce:
click "redeem your egift card" button at the bottm left
2) try to click somewhere on the page or try to scroll down on the page using scroll bar
Actual result: it remains open
Expected result: probably we should close it if we agree with this suggestion

Reported by: vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://wf-b.stg.prezzee.com/en-us?marker=true
Issue details: Open in Marker.io
Device typedesktopBrowserChrome <IP_ADDRESS>Screen Size1366 x 768OSWindows 10 (10.0.0)Viewport Size1366 x 641Pixel Ratio@1x

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


fix: removes conditional render and uses the open prop hide and show dropdown

This fixes a positioning bug that happens when the screen is resized or the user scrolls in certain scenarios.
Removes the conditional rendering of the Menu and passes the open state to menus open prop.
This is important since the Menu component uses the useFloating hook. Which uses the open argument to check if the Menu has been positioned:
Before:

After:

I'm currently working on a new version of the ComboBox, I'll add this to the backlog. Is this something you need now?


fix(plugin-legacy): Restore guessable polyfill id (fix #6097)

Description
The name of the polyfill file is determined by a hardcoded string.
Some packages based on this plugin rely on this predefined name.
This name was changed in 3127219bfa4129538fe5448c86b7e9aa1fe4d9ea
to prevent resolving files which don't exist. This commit changes
that behaviour to restore the predefined name.
Closes #6097

Additional context

I wanted to write a proper test for this but I wasn't sure where to put this. So if anyone can give me some guidelines I could spend some time on that.
Next to this, we are a bit doubting if this was a typo or an intended change as discussed in https://github.com/ElMassimo/vite_ruby/issues/156 and https://github.com/nystudio107/craft-vite/issues/20.
What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Closed in favor of #6225


Cannot read termcap database OR No entry for terminal type

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Use my Rails console without errors and with a functional up arrow.
What happened (include command output)
Fresh install in a new mac (Mojave).
Every time I start a rails console in ANY project (even a brand new rails one), I get a random error message (one of the following variations), which I can only assume is a bug related to the bugfix reported here (https://github.com/Homebrew/brew/pull/5445), which hasn't been fixed completely.
Not only that exact same error messages get echoed in my Rails console, but the up arrow breaks inside the rails console (so I can't use command history).
Here are some example messages:
This is the most common:
rails c
Running via Spring preloader in process 35560
Loading development environment (Rails <IP_ADDRESS>)
Cannot read termcap database;
using dumb terminal settings.

rails c
Running via Spring preloader in process 40631
Loading development environment (Rails <IP_ADDRESS>)
No entry for terminal type "s/myself/.oh-my-zsh";
using dumb terminal settings.

This path "s/myself" is actually "Users/myself", I don't know why it was clipped.
rails c
Running via Spring preloader in process 32098
Loading development environment (Rails <IP_ADDRESS>)
No entry for terminal type "s/myself/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'";
using dumb terminal settings.

rails c
Running via Spring preloader in process 41257
Loading development environment (Rails <IP_ADDRESS>)
No entry for terminal type "s/myself/dev/new_rails_project/lib";
using dumb terminal settings.

rails c
Running via Spring preloader in process 61975
Loading development environment (Rails 5.2.3)
No entry for terminal type "2.5.0/irb/slex";

What you expected to happen
My Rails console to work fine without random error messages and up arrow working.
This is a fresh install, I have 8+ years in Rails development, never seen anything like this before.

Changed my terminal advanced settings from x-term-256-color to x-term (was suggested in SO);
Tried with mac default terminal (Bash) and with Oh My Zsh;
Uninstalled ruby using rbenv and installed it again, including all gems;
Uninstalled readline and installed it again;
Tried in various rails projects, including brand new ones;

➜  ~ brew config
HOMEBREW_VERSION: 2.1.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 37714b5ce1e4909d4d61de2af98343c7012f7cd9
Last commit: 9 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 670c569cd41cc594d2939eada8514fad980e043c
Core tap last commit: 22 minutes ago
HOMEBREW_PREFIX: /usr/local
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1001
Git: 2.20.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_222
macOS: 10.14.5-x86_64
CLT: <IP_ADDRESS>.1.1562985497
Xcode: 10.3
CLT headers: <IP_ADDRESS>.1.1562985497

I have filled up the template!

Can you please post the exact commands you use from a working system, including brew install etc commands and the commands you are using in rails?
No entry for terminal type "s/myself/.oh-my-zsh"; suggests that some aspect of your bashrc or similar is setting the TERM variable to something unrelated.

Please add the steps to reproduce under the header Step-by-step reproduction instructions (by running brew commands).

I see no evidence this has anything to do with Homebrew but instead Rails.


Home App: Changing "Rain Delay" to ON - from Home App - doesn't work

When I flip the switch for Rain Delay on my phone, the switch "turn on" for 2 seconds, then flips back to Off.  If I set it from OpenSprinkler webpage, the Rain Delay button shows the correct status on my phone.
If I try to turn OFF the rain delay form my phone, it works.  But I still cannot turn ON rain delay from the home app.
Any ideas?

Looks like this - the set command is getting received by Homebridge:

When the poll runs, it gets the current status correctly.  The problem seems to be within the SetCharacteristic part... I am able to turn on my Valves manually, so the password is correct.


DarkiStar firmware patch

Q
A

Bug fix?
yes

New feature?
no

Doc update?
yes

BC breaks?
no

Deprecations?
no

Fixed tickets
#...

This patch is intended to solve the ominous problem of displaying invalid firmware versions. Boards which show a firmware version 0x12, 0x80, 0x00 etc. are therefore not defective. There seems to be another problem with DumpInfo.ino. Some readers will only read the tags if they are within range of the reader when starting the SerialMonitor.

Your solution implies, that the pcd is not ready after the init process. Shouldnt be the delay in the init process?

Thx. I took your pr to d36f9370ea3b075c4b9730388ce620bc7f28f929.

Try connecting the SDA pin directly to an SDA pin on the uno/mega.


Fix https://github.com/elmarquis/Leaflet.GestureHandling/issues/76

I've piggy-backed on your update of the abandoned but useful library - thanks for updating it.
I found that because I wanted to fix a Sentry error which I think was caused by the map being removed/recreated under the feet of the code.  This PR is a safe change which stops that error for me.

Hey there! I'm so sorry I didn't notice this PR for almost a year, it just slipped by when you first opened it and I didn't look into this repo for quite a while.
If it's still relevant, I'd gladly merge this and publish a new version if you update this PR to the newest master.

Thanks for noticing it!  I've merged against your master and I think there is still a minor difference, which looks safe to take.  I can't remember this change now, but I doubt I would have done it if I wasn't seeing the error that the added if test fixes.