Android Studio: Cannot detect installed Kotlin Multiplatform Mobile Plugin

Running kdoctor shows:
[x] Android Studio
    * Android Studio (2021.3)
      Location: /Users/wumo/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app
      Bundled Java: openjdk 11.0.13 2021-10-19
      Kotlin Plugin: 213-1.7.10-release-for-android-studio-AS6777.52
      Kotlin Multiplatform Mobile Plugin: not installed
          Install Kotlin Multiplatform Mobile plugin - https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform-mobile

But the plugin is installed:

Same issue for me.
Partial kdoctor output:
[x] Android Studio
    * Android Studio (2021.3)
      Location: /Users/wblondel/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app
      Bundled Java: openjdk 11.0.13 2021-10-19
      Kotlin Plugin: 213-1.7.10-release-for-android-studio-AS6777.52
      Kotlin Multiplatform Mobile Plugin: not installed
          Install Kotlin Multiplatform Mobile plugin - https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform-mobile

Installed plugin:

macOS 12.6 on M1

@wumo @wblondel
Maybe you've multiple Android Studio installed, and the one you're running is not the same one mentioned in the error you're getting?

@findjigar
No, only one version android studio is installed.
I also check the android studio app listed in kdoctor and kotlin multiplatform mobile plugin is installed.

Hi, I have the same issue and I believe kdoctor does not check the location of kmm plugin correctly.
As I tested, kdocter looks for plugins installed in a default location like:

$HOME/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/222.4345.14.2221.9178080/Android Studio Preview.app/Contents
$HOME/Library/Application Support/Google/AndroidStudioPreview2022.2

but, with JetBrains Toolbox App, the kmm plugin was actually installed in the "$location.plugins" directory like:
$HOME/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/222.4345.14.2221.9178080/Android Studio Preview.app.plugins
So I guess https://github.com/mhorioka/kdoctor/blob/3d15c6f34790fa85097bad35108d32759fc7f223/kdoctor/src/macosMain/kotlin/org/jetbrains/kotlin/doctor/entity/Application.kt needs to be updated.

I have the same issue and I have installed Android Studio trough Jetbrains Toolbox

Yep, same for me.
The issue is still there, someone should review the PR :)

I've fixed the issue during refactoring kdoctor. Should be OK in the next release

I've fixed the issue during refactoring kdoctor. Should be OK in the next release
If you want, you can try to run it via ./gradlew runDebugExecutableMacosX64 on wip branch

The easiest way to make it work is to create a soft link:
cd $HOME/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/plugins
ln -s ../../../Android\ Studio.app.plugins/kmm .

it should be fixed in 0.0.5 version


rafthttp: not send 0-entry MsgApp using stream

It is not sent out because it is useless to let remote raft step the
message.
Moreover, MsgApp stream reader can always assume that the length
of entries sent is > 0.
fixes #2270

lgtm


Add sendCANameList to best effort functions.

Motivation:
TLSConfiguration cannot be made equatable due to its use of closures, so
we have our own best-effort functions. Unfortunately, I forgot to make
sure everything was added to them, so I'm doing so now.
Modifications:

Add missing fields to bestEffort functions.

Result:
Better bestEffort functions.

Yeah that's a good idea, let's add that.


plugins/lsp-lines: switch to mkNeovimPlugin

It is a neovim plugin, but it has no setup options so use mkVimPlugin.
The plugin recommends several defaults and examples for vim.diagnostic.config, some of which we've historically set. This PR makes that a little more configurable, closes #1703.
IMO we could probably handle this better by having a diagnostics module (similar to opts, keymaps, etc); a freeform submodule option that gets passed directly to vim.diagnostic.config(). Any thoughts on this approach?
If we had a diagnostics module, would we deprecate the extraOptions here, or would we just lib.mkDefault what we need to and document other examples?

Tagging @PowerUser64

I think a vim.diagnostics module makes sense

Blocked on #1737

@PowerUser64 this now uses a mkDefault on the new diagnostics module, so to achieve what you wanted in #1703 you would just set diagnostics.virtual_text = null or diagnostics.virtual_text = true.


Support host_inventory['user']

Add user information to host_inventory

Thanks! LGTM.
I will release this after merging #550. So please wait a moment.

Released as v2.58.0.


Maybe talk about lazy loading in these guides?

See https://github.com/ember-cli/ember-cli/issues/7908

I think that it already documented on ember-engines guides. And lazy loading will not be a exclusively feature of ember-engines, but of embroider as well. So I thinks that we must avoid an overhead info for while.

makes sense @jenweber?


Removes invalid commas

Thanks for the fix! Surprising it didn't cause a problem earlier. Did this cause an issue in one of CI pipelines? If so I'll need to tag a new version.

yeah the dub json parser is somewhat forgiving
thanks for merging

I tagged a new version (1.4.1). This will get picked up in dlang CI builds, so any PRs needing the fix will get it.
Thanks again for the PR.

thanks again for merging


allow key overrides

Operating system
MacOS Montery 12.5.1
Helmfile Version
helmfile version v0.145.2
Helm Version
version.BuildInfo{Version:"v3.9.3", GitCommit:"414ff28d4029ae8c8b05d62aa06c7fe3dee2bc58", GitTreeState:"clean", GoVersion:"go1.19"}
Bug description
See: https://github.com/roboll/helmfile/issues/657
This fails with "already set in map"
Example helmfile.yaml
templates:
  default: &default
    labels:
      sync: everyday
charts:
  - name: test
    <<: *default
    chart: test
    labels:
      sync: thur

Error message you've seen (if any)
already set in map
Steps to reproduce
override an existing value in a yaml file
Relevant discussion
https://github.com/roboll/helmfile/issues/657

fix: https://github.com/helmfile/helmfile/pull/396

@kaktus42 done in https://github.com/helmfile/helmfile/pull/396. wait for review.


[Network] Command Linter fixes

Various fixes to Network, identified by the command linter tool.

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6026
This is an experimental preview for @microsoft users.


Error: The Refresh token is missing at OAuthClient.validateToken

I have followed the README (https://github.com/intuit/oauth-jsclient#revoke-access_token) and tried multiple permutations, but I keep receiving the error below:
2019-06-26T22:15:28.768Z	e82358eb-f950-400e-af7e-f059d3fbf938	Error: The Refresh token is missing at OAuthClient.validateToken (/var/task/node_modules/intuit-oauth/src/OAuthClient.js:641:42) at OAuthClient.<anonymous> (/var/task/node_modules/intuit-oauth/src/OAuthClient.js:299:14) at new Promise (<anonymous>) at OAuthClient.revoke (/var/task/node_modules/intuit-oauth/src/OAuthClient.js:292:13) at db.fetchConnectionObject.then (/var/task/lib/quickbooks.js:118:37) at <anonymous> at process._tickDomainCallback (internal/process/next_tick.js:228:7)
The token I am trying to revoke is stored in a database. The tokenParams object matches the format indicated by the README and I have validated that the values at each property in the object below are not null.
                        const tokenParams = {
                            token_type: 'bearer',
                            expires_in: parsedConnectionObject.qboconnection.tokenExpiration,
                            refresh_token: parsedConnectionObject.qboconnection.refreshToken,
                            x_refresh_token_expires_in: parsedConnectionObject.qboconnection.refreshTokenExpiration,
                            access_token: parsedConnectionObject.qboconnection.accessToken,
                        }

This is where I make the call and pass in the tokenParams object:
                        oauthClient.revoke(tokenParams).then(
                            (revokeTokenResponse) => {
                                console.log('revoke token response ::', revokeTokenResponse);
                                console.log('[INFO] - Access token revoked by user');

                               ///... do more work here

Any help would be appreciated.

I was able to figure this out. It seems that you cannot revoke an access token by passing in the token explicitly. This seems to be contrary to the README documentation https://github.com/intuit/oauth-jsclient#revoke-access_token.
This does not follow the same pattern as refreshing tokens. I can indeed pass in a refresh token to refresh the access token.
Also, looking at the source, it seems the validateToken() method is being called  without considering whether a token object was passed in the params. If validateToken is looking for a token on the config object passed in at the time of construction, that could explain the error, as the token was explicitly passed in to the method as an argument, not as part of the object construction.
`
OAuthClient.prototype.revoke = function(params) {
return (new Promise(function(resolve) {

    params = params || {};

    /**
     * Check if the tokens exist and are valid
     */
    this.validateToken();

    var body = {};

    body.token = params.access_token || params.refresh_token || (this.getToken().isAccessTokenValid() ? this.getToken().access_token : this.getToken().refresh_token);

    var request = {

`

@appeality : Your right. Thanks for opening a Bug.  I am doing validation on the refresh_token that is being passed here: validateToken()
This check might be redundant if the token (access_token / refresh_token) is passed explicitly or implicitly from the client. However, per the README, you can still pass the tokens explicitly also.
I will remove this validation and release a new version. Thanks.

@appeality : The validation has been fixed.
You can refer to the latest release 1.3.0 and the update README.md here Thank you for your patience.


Find a way how to fix / reenable failing tests on CI / locally

#216 enabled testing of everything on the Travis CI, but some tests were marked with the #[ignore] attribute to make it passing. You can still run them locally with:

Windows - cargo test --all -- --ignored
macOS/Linux - cargo test --all --exclude crossterm_winapi -- --ignored

NOTE: Following tests are failing on the Travis CI, but some of them are failing even locally (macOS). Mentioning it, because I do not want to say that the Travis CI is the only bad guy here.
crossterm_terminal/src/terminal/test.rs - winapi_tests::resize_winapi

Failing with 31 != 30
Travis job

Normally, I'd say that this is a Travis problem. But when I saw 31 != 30, it seems like an off-by-one error. Can anyone with Windows machine check this? I've got macOS & Linux around only.
#[cfg(windows)]
mod winapi_tests {
    use super::super::*;

    // TODO - Test is ignored, because it returns wrong result (31 != 30)
    #[test]
    #[ignore]
    fn resize_winapi() {
        let terminal = WinApiTerminal::new();

        terminal.set_size(30, 30).unwrap();

        let (x, y) = terminal.terminal_size();

        assert_eq!(x, 30);
        assert_eq!(y, 30);
    }
}

crossterm_cursor/src/cursor/test.rs - reset_safe_ansi
crossterm_cursor/src/cursor/test.rs - goto_ansi

Failing with The build has been terminated
Travis job

Both tests are stalled on the Travis CI, which leads to a killed job after +- 10 minutes.
crossterm_terminal/src/terminal/test.rs - resize_ansi

Failing with 80 != 50
Travis job

crossterm_winapi/src/console_mode.rs - test::set_get_mode

Failing with Getting mode failed
Travis job

crossterm_terminal/src/terminal/terminal.rs - terminal::terminal::Terminal::exit

Failing with Test executable failed (exit code 256)
Travis job

This one is a docstring example marked with no_run for now.

Normally, I'd say that this is a Travis problem. But when I saw 31 != 30, it seems like an off-by-one error. Can anyone with Windows machine check this? I've got macOS & Linux around only.

I am on windows and will validate those tests for you. The problem is probably introduced in the latest release where we changed from 0-based to 1-based.

Fixed, tests that can be enabled are enabled.


Error in _get_posts()

I encountered an error while implementing _getposts(). It was working fine previously, but now I'm receiving the following error message:
When calling the Crawl_PagePosts method and executing _getposts(headers, identifier, entryPoint, docid, cursor) in main.py, the response obtained from resp is:
{"data":{"node":null},"errors":[{"message":"A server error missing_required_variable_value occurred. Check server logs for details.","severity":"WARNING"}],"extensions":{"is_final":true}}
Could you please advise on how to resolve this issue? Thank you.

You have to change the request send towards the api endpoint, and also some other things regarding parsing of the particular fields involved. In order to be able to get a valid response back you have to change variables dictionary:
` variables = {
"count": 3,
"cursor": cursor,
"feedLocation": "TIMELINE",
"privacySelectorRenderLocation": "COMET_STREAM",
"renderLocation": "timeline",
"scale": 1,
"id": identifier
}
    data = {
        "variables": json.dumps(variables),
        "doc_id": docid}

    resp = requests.post(url='https://www.facebook.com/api/graphql/',
                         data=data,
                         headers=headers)`

Thanks for your reply, the problem has been solved!


Get the history

Hello
Could it be possible to get the Securitas history in home assistant ?
So we can know who activate / deactivate the alarm, show when the alarme is in alert state and get the images from the alert.
Best Regards

I don't know if the API expose this kind of information, but I can take a look at it.


Is there a way to implement dns-prefetch tags?

Hello again,
Is there a way to include dns-prefetch tags using metagen? We need to include them after the default charset, http-equiv, and viewport tags, but before everything else. Not seeing a way to do this and would appreciate some insight!

👋 @sergehf
Prior to v1.6.0, this wasn't supported in the metagen.
I have now added support for <link rel="dns-prefetch"> as well as <link rel="preconnect"> as they can commonly be paired together for DNS lookups/resolutions. Thank you for raising this issue! The plugin supports two new fields dns_prefetch, and preconnect which can accept two cases, a string or an array of strings:

A string i.e. {% metagen ..., dns_prefetch="https://example.com" %}
Or as an array of href value strings for defining multiple "dns-prefetch" or "preconnect" tags.

{% metagen
   ...,
   dns_prefetch=["https://example.com", "https://foo.com"]
%}

Feel free to upgrade metagen to the latest version 1.6.0 and let me know if the support I've added works for what your team needs.

@tannerdolby perfect! Thanks again for your quick response.. confirmed that it's working as expected.

@sergehf great! Thats music to my ears. Thanks for confirming!


Final project

Hi there 👋
The project requirement is as follows:

[ ] Splash screen

A simple page with the name of your app (yes, you need to choose one), and links to the sign up and log in pages.

[ ] Sign up and log in pages

The user should be able to register in the app with full name, email and password (all mandatory).

The user can log into the app using email and password.

If the user is not logged in, they can't access pages that require the user to be logged in (all the pages described below).

[ ] Home page (catagories page)

When the user logs in, they are presented with the categories page.

For each category, the user can see their name, icon and the total amount of all the transactions that belongs to that category.

When the user clicks (or taps) on a category item, the application navigates to the transactions page for that category.

There is a button "add a new category" at the bottom that brings the user to the page to create a new category.

[ ] Transactions page

For a given category, the list of transactions is presented, ordered by the most recent.

At the top of the page the user could see the total amount for the category (sum of all of the amounts of the transactions in that category).

There is a button "add a new transaction" at the bottom that brings the user to the page to create a new transaction.

When the user clicks on the "Back" button (<), the user navigates to the home page.

[ ] "Add a new category" page

The user fills out a form to create a new category, indicating their name and icon (both mandatory).

The user click (or taps) the "Save" button to create the new category, and is taken to the home page on success.

When the user clicks on the "Back" button (<), the user navigates to the home page.

[ ] "Add a new transaction" page

The user fills out a form to create a new transaction with:

name (mandatory)

amount (mandatory)

categories (mandatory at least one)

The user click (or taps) the "Save" button to create the new category, and is taken to the transactions page for that category.

When the user clicks on the "Back" button (<), the user navigates to the transactions page for that category.

[ ] Testing requirements

Create unit and integration tests for all the most important components of your RoR application.

Hello, next reviewer
I have made the required changes.
Please run the app on the localhost "rails s" for the changes.

Hi,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights

The Pull Request has a proper title and description. ✔
You have added a descriptive Readme file. Good Job. ✔
There is no linter error is present. ✔
Project has met all the technical aspects you needed for this project. Keep rocking! ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hello, next reviewer
Please run the app on the localhost "rails s" for the changes.

Hello, next reviewer
Please run the app on the localhost "rails s" for the changes.

I have already approved your project. Good work with the requested changes,


Redesign feedback response

Round of updates as response to compiled user feedback

[ ] Fix chart overflow
[ ] Reduce text and padding
[ ] Show user pool asset composition
[ ] Include staked assets in total assets amount
[x] Issue #1029

Current WIP on branch jonator/redesign-response


Cascading Worldgen Lag

Cyclic loaded a new chunk (116, 27  Dimension: 0) during chunk population, causing cascading worldgen lag. Please report this to the mod's issue tracker. This log can be disabled in the Forge config.

With 1.11.2-1.4.2, Forge is reporting a large amount of cascading worldgen in 1.11.2. There is more information about the problem and possible fixes @ https://github.com/Vazkii/Quark/issues/412
Thanks.

Thanks for the report, i had no idea a all this was happening.

Looks like a proper solution is in debate but there are some possible answers. I will check in on this routinely.

Related link found in one of the threads from above link https://www.reddit.com/r/feedthebeast/comments/5x0twz/investigating_extreme_worldgen_lag/

Update again: it was BiomeCrops feature causing this.  I was considering either overhaulling or removing this feature anyway, so ill just take it out or now

Should be fixed here let me know of course if you see that again https://minecraft.curseforge.com/projects/cyclic/files/2420656

This is a useful piece of info, in case your mod still has a config that messes with emerald ore gen.  There's a vanilla bug that often causes emerald ore to cause cascading worldgen lag...  https://bugs.mojang.com/browse/MC-114332


Enable linux aarch64 build

@conda-forge-admin please rerender

@conda-forge-admin please rerender

Newer release is out https://github.com/conda-forge/openvino-feedstock/pull/2


question about re-implemented methods

Thank you for your great work.
I have a question about re-implemented methods.
You used drone images with weather effects during musenet training. Have you used drone images with weather effects when re-implementing other methods?

We emply drone images with weather effects when re-implementing other methods.


Set the make file to perform all the initial setup of the template

Description
The makefile should be used to create versions, conda environments, installations, etc. Use another dag module to handle actual manipulation
Proposed Commands

conda-env - Creates a conda environment with the same name as the import-name based on the environment.yml file and then runs setup.py develop to add the module to the path.
versioneer - Runs the versioneer setup
git - Runs all the initial git setup, and then prompts for the git remote url and then pushes to the remote repo.
new-project - Runs the full stack of initial setup commands (conda-env, versioneer, git, and then run-tests --short to make sure everything is working properly)
clean - Goes through the repo and deletes all untracked files
uninstall - Cleans the repo, deletes the logs, deletes the conda environment associated with the project, runs git status to show the user what needs to be addressed
run-tests - Sources the conda-env and then runs all the tests. Passing --short will run a curated set of tests.

conda-env, git, github, are implemented. versioneer was deprecated.


Count of VLANs is incorrect when displaying vlan_groups

Environment

Python version:
Nautobot version: 4aa3f3706287 (v1.0.1)

Steps to Reproduce

Add non concurrent VLANs to a vlan Group
display the vlan group

Expected Behavior
The "VLANs" count should match the vlans in this group

Observed Behavior
The count ist higher that the ammount of vlans defined in Nautobot
I argue that the lines showing "VLANs avaliable" will be counted as VLANs too

@glennmatthews if this is done with review, I can take this one

Thanks!


Document Loader Filters

Is your feature request related to a problem? Please describe.
I need to filter files and paths using regex patterns that users of my app will specify. As at v.4.30 langchain-rust useful features for file filtering via DirLoaderOptions but lacks built-in support for regex-based filtering for files and directories. This limitation makes it cumbersome to exclude or include files based on more complex patterns.
Describe the solution you'd like
I propose integrating regex-based filtering into the library. This feature would allow users to specify regex patterns for including or excluding files and directories when processing paths. The integration could involve adding functionality that allows users to provide regex patterns in configuration options, and then use those patterns to filter files during processing.
Describe alternatives you've considered
An alternative approach could be to provide a more general filtering mechanism, such as supporting glob patterns or simple substring matching. However, regex offers greater flexibility and power for complex matching scenarios, which would be beneficial for users with more advanced filtering needs.
Additional context
I would be happy to contribute to this enhancement by submitting a Pull Request (PR) if this feature aligns with the project's goals. Please let me know if you would be open to this contribution or if you have any suggestions on how to proceed.

Fixed by https://github.com/Abraxas-365/langchain-rust/pull/204


Proposal: Change default value of FC's generic argument from Element to JSX.Element

Problem
Unfortunately, at the moment default values of FC's generic arguments don't make any sense, cause without specifying them, the function returns Element by default, which is not valid JSX.Element since
type Element = ReactElement
type ReactElement = HTMLElement | SVGElement

Invalid code (that should not be invalid) example:
import React, { FC } from "jsx-dom";

const Foo: FC = () => <div/>;
const element = <Foo/>;

Error message:

TS2786: 'Foo' cannot be used as a JSX component.
Its return type 'Element' is not a valid JSX element.
Type 'Element' is missing the following properties from type 'SVGElement': ownerSVGElement, viewportElement, oncopy, oncut, and 90 more.

Possible solution
Since returning a type from a function that is not considered a valid JSX.Element doesn't make sense (we simply cannot construct jsx with it), we can change Element to JSX.Element.
P.S. - I can include this fix in #40 if @proteriax agrees to apply the change

I’m open to this. Does it break anything?

@proteriax, I can't think of a scenario in which it would break something. At the moment FC without generic arguments doesn't work at all, so there's nothing to break, tbh :D
- interface FunctionComponent<P = {}, T extends Element = Element>
+ interface FunctionComponent<P = {}, T extends Element = JSX.Element>

This small change just makes it possible to use FC without specifying generic arguments, as is possible in React, and doesn't affect the existing code in any way

Looks good. Do you want to make a pull request?

Yep. I wanted to include this into existing #40, but you've already merged it :D So give me few more minutes


⚠ Guya.moe Proxied has degraded performance

In e736369, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 11891 ms

Resolved: Guya.moe Proxied performance has improved in b29f4be after 22 minutes.


FW RTL return broken due to LNDMC_ALT_MAX

RTL on FW is skipping the return stage because the land detector max altitude isn't populated.
Land detector doesn't seem like the right place to publish an maximum altitude limit.

The land detector will be renamed to vehicle_model. Then it makes much more sense and it becomes more obvious that this is the right location to group this.

Is this applicable to 1.6.0 RC1?

No its not.

Fixed in: https://github.com/PX4/Firmware/pull/6732


Add Olathe Public Schools (USD #233)

Official website https://olatheschools.com

@jimmyjameston Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


Unexpected locale path after login successful

Hi there, I found a problem when the user change the language in login page, it change but doesn't keep after login. This occurs whenever the user is redirected to login page because it's not fully authenticated.
It happen because the default Target Path Behavior (in Security component) which retains the information of the last request URI in a session variable and upon a successful login, the user is redirected to this path (with the old locale), changing it again.
One possible solution could be set always_use_default_target_path: true to generate the default target path with the current locale? or add the _target_path parameter into login form. i.e.:
<input type="hidden" name="_target_path" value="admin_index"/>

Any suggestion?

Even if this issue is real, I'd say it's an edge case that we shouldn't fix in the demo application.

Won't fix, agreed!


Add EIP-55 validation

EIP-55 validation should be added to parsing to avoid interop issues and test cases should be added.

The positive test cases should be fixed since they don't use EIP-55 addresses.

Addressed at #62

As per the spec it SHOULD be EIP-55 compliant but it's not a MUST.
The current SiweMessage constructor throws if the provided address in the string message is all lowercase.
This brakes SIWE integrations when the user connects with wallets like Zerion.
Is there any chance we can add an optional param to bypass EIP55 validation ?

address REQUIRED. The Ethereum address performing the signing. Its value SHOULD be conformant to mixed-case checksum address encoding specified in ERC-55 where applicable.


A suggestion to the 912_project.

Hello，senior schoolmates of Tsinghua University.
I have a great honor to write this issue for you. First, let me give you a self introduction.
I am a candidate for the post-graduate entrance examination of 2022. Now I'm preparing for the exam, and I use this repository to help my review. As we all know, GitHub CAN NOT be visited at all locations of Mainland of China(Because of the GFW...), so I suggest that you could transfer the repository to the Giteehttps://www.gitee.com, a Git platform that be developed by Chinese company.
I know the action may spend lots of time, but I think we should consider it through long-term visions. First, the repository is used to help students at Mainland of China, so the way to develop it with GitHub(over the China) is not the best choice.(BaiduNetDisk needs cost some money, so it isn't a wise choice, too.)
In addition, achieve the self-development of IT as soon as possible is a more and more important thing, so please consider this suggestion cautiously.
Best wishes!

A great suggestion! Sorry for the delay. We will take this into consideration soon.
Summer vacation may be a good time to do some modifications.
Thanks.

https://codechina.csdn.net/A916583011/912_project_new

Excellent! Sorry for delay,too. I can't use GitHub for a long time. I find that it has been a year since last update.So we can keep up to date, and told others by some ways for get more users.


pdn: multicut handling

Closes #5755
Changes:

iterates over internal vias in multicut vias to fill in missing vias

No new test needed since it turns  out the asap7_offcenter_via test exhibited the same issue.
Possible improvements:

there is a possibility to further reduce the number of instances by collapsing the who via into a single instance, however, that is causing of odd side effects, so I think it would make sense to handle that in a separate PR.

@gadfort does this lose some of the original benefit of your change?

@maliberty only in the cases where the techvia has multiple cuts. When I have a little more time I'll see about fixing this so it can generate a single block via instead of 3 which should get us back to the same.


SDK interferes with application logging

Description
So far I have seen two scenarios-

Where an application depends on the sdk but doesn't instantiate any clients: The application's already configured LogHandler will be used but all log statements will be recorded as occurring at Logging/SwiftLog+LogAgent.swift:36 (due to this statement not passing the source, function and line - https://github.com/awslabs/smithy-swift/blob/main/Packages/ClientRuntime/Sources/Logging/SwiftLog%2BLogAgent.swift#L36-L39).
Where an application instantiates at least one client: Application logging uses StreamLogHandler rather than any application configured LogHandler. This has the potential of changing the formatting of all application logs and/or not passing logs to the correct backend. (I assume issue 1 also happens here but StreamLogHandler doesn't emit the location so I can't confirm)

Context
As specified in the README of swift-log (https://github.com/apple/swift-log/blob/main/README.md), applications should be free to select the LogHandler implementation that meets their requirements. Currently the SDK appears to hard-code using StreamLogHandler for its clients which means all application logging is using this handler regardless of what the application has configured.
Environment

AWS Swift SDK version used: 0.1.0
Operating System and version (iOS/macOS/Linux): Amazon Linux 2
Xcode version (if applicable):
Swift compiler version (if applicable): 5.5.2
Swift Tools version (if applicable): 5.5

Reproduction Steps

Create an application that bootstraps the LoggingSystem with a custom LogHandler
Initialise a client from the SDK
Emit a log from the application

Observed Behavior
The log will be emitted using the StreamLogHandler
Expected Behavior
The log should be emitted using the application-configured LogHandler and reporting the correct code location.
Possible Solution

I was able to reproduce this.  Consider the following example:
let log = Logger(label:"test logger")
log.info("something")

LoggingSystem.bootstrap { label in
    return MyTestStandardErrorLogger(minimumLogLevel: .info)
}

let log2 = Logger(label:"test logger2")
log2.info("something2")

Expected behavior is:
2022-01-13T10:25:04-0800 info test logger : something
/Users/wooj/workspaces/testLogging/Sources/testLogging/main.swift:102:testLogging [INFO] something2

Observed behavior is:
2022-01-13T10:25:33-0800 info test logger : something
/Users/wooj/Projects/Amplify/SwiftSDK_Releases/smithy-swift/Packages/ClientRuntime/Sources/Logging/SwiftLog+LogAgent.swift:36:log(level:message:metadata:source:file:function:line:) [INFO] something2

Notice that the second log statement is incorrectly printing the file attached to SwiftLog+LogAgent.swift thereby loosing the line where where the caller called the log statement from.


Combine workspace trust with enablePromptUseWorkspaceTsdk

Related:
https://github.com/microsoft/vscode/issues/65546#issuecomment-617937038
https://github.com/microsoft/vscode/issues/65546
https://github.com/microsoft/vscode/issues/30069#issuecomment-312732928
Now that we have workspace trust feature in VSCode. The separate prompt of enablePromptUseWorkspaceTsdk felt somewhat redundant. Can we automatically honor typescript.tsdk in workspace setting when user already trust the workspace?
This doesn't regress on security and makes distributing typescript.tsdk among our large developer user base much easier.
Actually I would prefer if it can be enforced because we have 500 developers and "my enlistment doesn't work" - "oh wrong TS was selected" came up several times every month. And people usually tolerance the issue for quite some time before they reach out for help, slowing down their daily development work in the meantime.
@mjbvz

+1! This would be super helpful and quicken our workflows. Without using the workspace version of TS, developers are peppered with errors that aren't relevant, making it harder to filter out the ones that are relevant and slowing down development (and, in some cases, VSCode IDE performance) significantly. Doing this would promise both the security benefits of workspace trust and quicker dev loops.

+1 This would be super useful to my team.

+1 we use this in our team. When we update Vscode sometimes it reverts to its TS version instead of the one from workspace, so I'm baffled seeing seen errors until I realize what happened and manually switch back to the workspace version.

+1 This will be of huge help.

Do you mind if I attempt a fix for this issue?

Related Stack Overflow question: How do I force VSCode to always use my workspaces version of typescript for all projects?

Setting the vscode.typescript-language-features extension as trusted in user settings also doesn't set the extension to use the workspace version without the prompt.
e.g. I set:
  "extensions.supportUntrustedWorkspaces": {
    "vscode.typescript-language-features": {
      "supported": true,
    }
   }

@mjbvz I would be happy to contribute this.
The biggest question I have before implementing is why do we check useWorkspaceTsdkSetting if the workspace is trusted.
My limited understanding is that if the workspace is trusted, the typescript binary that sits in the project should also be trusted.
So my PR would be to just remove this line.
If the workspace isn't trusted, then we can prompt the user to only trust the typescript binary.
WDYT?

How can we promote this issue and my PR? @mjbvz

@fudom

I wonder why this issue is being ignored by members

If you mean by the maintainers, they have a lot of issue tickets to deal with, a lot of people telling them what they want prioritized, and they need to make calls about how they spend their time.

What's the reason for ignoring this for years?

I think "ignored" is the wrong word. Have you read the linked SO Q&A which summarizes the state of the design discussion? There are actual reasons for the current design. If you haven't read up, you would do well to.

Chiming in from Notion to say that this is a large pain point for our developer experience team, we regularly get issues from folks saying their tsserver isn't working, and it's because they haven't set their vscode to use the workspace tsdk that we provide.
Quite confusing to us that this specific setting works differently from everything else.

@walkerdb then set the setting in the workspace settings.json file and commit it to source control.

@starball5 we do! As the issue and thread describes the issue is that vscode doesn't automatically apply the setting by default if you set it in workspace settings, the user needs to manually select it from an easily-ignorable popup.

FWIW, given the lack of clarity from the VSCode typescript team on removing duplicate tsserver prompts in trusted workspaces (even though they're using workspace trust for a bunch of new things like workspace extensions), and the impact this has on performance/stability of the server in some cases, we ended up implementing a script that modifies the workspace tsserver settings for our users programmatically.
This is done by scanning for VSCode state files (state.vscdb) and patching in the settings for the current workspace.
While this is hacky — and the VSCode team doesn't provide any guarantees against change, this is the only way we've been able to default to a workspace TSServer version + custom node path + max tsserver memory settings reliably to thousands of developers.

We have the same issue. We have 100+ developers and getting different TS errors (because of different versions) in IDE and when building in terminal or CI is confusing.


Refactor schema

[ ] which guest status should take preference if there are more reservations in-place
[ ] add checks for date_from < date_to and possibly others

Closed as severely outdated issue.


Site Request

Are you able to add nbatopshot.com ? Thank you!

Hi,
i looked at the site but i am not sure,
which element you want to have clicked.
A screenshot with the element highlighted might be helpful.
Later.


Schema validation

[x] Validation of scalars
[ ] Validation of dict
[ ] Validation of array
[x] Parameters in query string
[x] Parameters in URL path parameters
[ ] Parameters in request body
[ ] Documentation

Merging this in as it currently stands, as an incremental improvement.
More to follow.


Bump jquery from ^3.5.0 to ^3.5.1 in /src/package.json(#18)

This fixes the issues caused by the incompatibility of Jquery 3.5.0 with Bootstrap 4's collapse class.

I have also added the Project module functionality, which includes the Project settings page and functionality to update the Project details.


fix(context): adds missing colors and demo

What I did

Added dark and light as ColorPalette context colors
Added demos for rh-context-provider with components that should be context-aware

Todo

[ ] Address rh-blockquote not picking up the correct context.  See deploy preview localhost demo. (Should we fix this in this PR or open an issue and fix with a followup?)

Dev Notes:
rh-secondary-nav is by default color-palette="lighter".  However, it also has a dark variant color-palette="dark".
This was incorrectly mapped as darker in prior releases, and was exposed by this change to rh-context-provider. So when rh-context-provider started providing actual background colors using a container div in it's shadow root this caused the slotted cta in rh-secondary-nav to display the wrong (although correct by name) color background due to it being wrapped by rh-context-provider.
rh-secondary-nav needs this rh-context-provider to handle the switch between secondary-nav's cta context from desktop (lighter|dark) to mobile (lightest) when the mobile menu is opened.  So, in order to fix this, we need to provide the dark surface token value and add it to the ColorPalette type which is what this PR does.
However, this brings up the question should rh-context-provider provide the background surface?  My original thought was it was nearly a wrapper that provides the context (and the ability to switch it) and that the components themselves would apply the correct surface colors. rh-context-provider was a way to inform child elements which are context aware of that change that may only exist in CSS.  At some point, I think having rh-context-provider provide the background color is almost like recreating pfe-band, but without the additional layout content.  That said, I'm not sure I have a strong opinion either way, but maybe this should be a discussion thread?
Secondary Nav Desktop Example:
 rh-secondary-nav color-palette="dark"
 |
 |_ rh-context-provider color-palette="dark"
    |
    |_rh-cta component gets on `dark`

Secondary Nav on Mobile Nav Open Example:
 rh-secondary-nav color-palette="dark" /* mobile nav button clicked and dropdown nav opens */
 |
 |_ rh-context-provider color-palette="lightest" /* changed in JS as CSS changes but parent context stays the same */
    |
    |_rh-cta component gets on `light`

My original thought was it was nearly a wrapper that provides the context (and the ability to switch it) and that the components themselves would apply the correct surface colors.

I would agree with this, I would think that rh-context-provider will / can provide the data for the components but I would think the components themselves need to apply the correct styles.
IMO if a component needed to style a child component differently than the rest of the elements I would use rh-context-provider and then style it either through the parent if it's a one off or through the child component if it doesn't already have those styles for that context.

I'm very happy to revert the added div in context-provider, so long as all the demos work out.


Separate tools heading and items

@shivshankar9  Please check the changes and review them.

Add screenshot or share page link

Remove center heading add function buttons for every tools in center,

Add screenshot or share page link

There is no change in the view of the page, it is a change in the arrangement of the HTML elements. It is helpful when applying CSS in this section.

Remove center heading add function buttons for every tools in center,

Not getting "function buttons". Are you talking about adding a button to every tool, so that they execute some JavaScript function? Also not getting tools in center.

Remove center heading add function buttons for every tools in center,

Not getting "function buttons". Are you talking about adding a button to every tool, so that they execute some JavaScript function? Also not getting tools in center.

Yes

Remove center heading add function buttons for every tools in center,

Not getting "function buttons". Are you talking about adding a button to every tool, so that they execute some JavaScript function? Also not getting tools in center.

Yes, add Page link or screenshot here

I'm using it on my local system, by localhost. How can I share a link?

Screenshot, after removing center heading.

Remove center heading add function buttons for every tools in center,

Not getting "function buttons". Are you talking about adding a button to every tool, so that they execute some JavaScript function? Also not getting tools in center.

Yes, add Page link or screenshot here

I'm using it on my local system, by localhost. How can I share a link?  Screenshot, after removing center heading.

GitHub provides page link where u can host your branch and share link ,

I mean that change styling for those buttons

Remove center heading add function buttons for every tools in center,

Not getting "function buttons". Are you talking about adding a button to every tool, so that they execute some JavaScript function? Also not getting tools in center.

Yes, add Page link or screenshot here

I'm using it on my local system, by localhost. How can I share a link?  Screenshot, after removing center heading.

GitHub provides page link where u can host your branch and share link ,

Ok

Remove center heading add function buttons for every tools in center,

Not getting "function buttons". Are you talking about adding a button to every tool, so that they execute some JavaScript function? Also not getting tools in center.

Yes, add Page link or screenshot here

I'm using it on my local system, by localhost. How can I share a link?  Screenshot, after removing center heading.

GitHub provides page link where u can host your branch and share link ,

Ok

Here's the link: https://abaran803.github.io/Student-portal/

I mean that change styling for those buttons

Is this the change you are talking about?

I mean that change styling for those buttons

Is this the change you are talking about?

Yes do something unique, and also ui should be responsive on other devices as well

I mean that change styling for those buttons

Is this the change you are talking about?

Yes do something unique, and also ui should be responsive on other devices as well

Can I use flexbox and media query here for responsiveness

Please check if the tools part is responsive
Link: https://abaran803.github.io/Student-portal/

Please check if the tools part is responsive Link: https://abaran803.github.io/Student-portal/

Nav-bar not responsive can you that

Please check if the tools part is responsive Link: https://abaran803.github.io/Student-portal/

Nav-bar not responsive can you that

Yeah. But for me, it took time.

Please check if the tools part is responsive Link: https://abaran803.github.io/Student-portal/

Nav-bar not responsive can you that

Yeah. But for me, it took time.

But as I saw, someone it already working on a navbar issue, should I do it.

@shivshankar9 Thanks for merging PR. I have created a different issue, which is about width of heading, which is not responsive. Please check this.

Please check if the tools part is responsive Link: https://abaran803.github.io/Student-portal/

@shivshankar9 Thanks for merging PR. I have created a different issue #42 , which is about width of heading, which is not responsive. Please check this.

Ok sure I ll check,


slow http read performance on aws lambda

Problem description
I am trying to stream data from a website using http directly into s3 using smart_open using an AWS Lambda function. Testing has shown that the http read with smart_open is much slower than the same function using requests directly, by about an order of magnitude, so the examples reflect that for simplicity of reproduction.
Tests on a local machine do not show the same discrepancy.
I may well be doing this wrong as I couldn't find an example of how to do this, but happy to contribute one if someone can put me right.
Steps/code to reproduce the problem
Fast version ~ 5 seconds
import logging
import requests
from smart_open import open as s_open

CHUNK_SIZE = 100 * 1024**2
MP_UPLOAD_SIZE = 50 * 1024**2

with s_open( "/tmp/100.bin", 'wb') as fout:
    with requests.get("https://speed.hetzner.de/100MB.bin", stream=True) as r:
         r.raise_for_status()
         for chunk in r.iter_content(chunk_size=CHUNK_SIZE):
             fout.write(chunk)

slow version ~ 170 seconds
import logging
from smart_open import open as s_open

CHUNK_SIZE = 100 * 1024**2
MP_UPLOAD_SIZE = 50 * 1024**2

with s_open( "/tmp/100.bin", 'wb') as fout:
    with s_open('https://speed.hetzner.de/100MB.bin' , 'rb') as fin:
        chunk = b'0'
        while len(chunk) > 0:
            chunk = fin.read(CHUNK_SIZE)
            fout.write(chunk)

Versions
Linux-4.14.255-276-224.499.amzn2.x86_64-x86_64-with-glibc2.26
Python 3.9.13 (main, Jun 10 2022, 16:49:31) [GCC 7.3.1 20180712 (Red Hat 7.3.1-15)]
smart_open 6.0.0

Checklist
Before you create the issue, please make sure you have:

[x] Described the problem clearly
[x] Provided a minimal reproducible example, including any required data
[x] Provided the version numbers of the relevant software

The fast version does not run correctly because of a missing requests import. But, even after fixing that, I still could not reproduce the problem.
$ cat gitignore/slow.py
import logging
from smart_open import open as s_open

CHUNK_SIZE = 100 * 1024**2
MP_UPLOAD_SIZE = 50 * 1024**2

with s_open( "/tmp/100.bin", 'wb') as fout:
    with s_open('https://speed.hetzner.de/100MB.bin' , 'rb') as fin:
        chunk = b'0'
        while len(chunk) > 0:
            chunk = fin.read(CHUNK_SIZE)
            fout.write(chunk)
$ cat gitignore/fast.py
import logging
import requests
from smart_open import open as s_open

CHUNK_SIZE = 100 * 1024**2
MP_UPLOAD_SIZE = 50 * 1024**2

with s_open( "/tmp/100.bin", 'wb') as fout:
    with requests.get("https://speed.hetzner.de/100MB.bin", stream=True) as r:
         r.raise_for_status()
         for chunk in r.iter_content(chunk_size=CHUNK_SIZE):
             fout.write(chunk)

$ time python gitignore/slow.py

real    1m43.211s
user    0m14.324s
sys     0m18.733s
$ time python gitignore/fast.py

real    2m4.085s
user    0m0.987s
sys     0m0.763s

Thanks for pointing out the typo, will fix in my original post.
Tested locally on 3.9 to rule that out:
python3.9 fast.py  2.20s user 2.02s system 6% cpu 1:03.77 total
python3.9 slow.py  8.83s user 5.79s system 18% cpu 1:18.89 total
And double checked again on Lambda:
fast
REPORT RequestId:xxxxDuration: 3457.29 ms	Billed Duration: 3458 ms	Memory Size: 350 MB	Max Memory Used: 258 MB	Init Duration: 407.47 ms
slow
REPORT RequestId: xxx	Duration: 121736.98 ms	Billed Duration: 121737 ms	Memory Size: 350 MB	Max Memory Used: 259 MB	Init Duration: 438.44 ms
As you can see the differential is negligible locally, huge on lambda. Not sure what is going on there. Possibly something to do with memory availability?

I don't have much experience with Lambda, so it's difficult for me to comment.
It's odd that the slow version is still more than twice as slow locally, though... Are you able to investigate why there is such a difference? There is a small chance that this difference is what's causing the huge slowdown on Lambda.
The way I would approach this is:

Make the slow version behave identical to the fast one locally (possibly by modifying smart_open)
Re-run the slow version on Lambda and test the duration

I am able to reproduce this with s3 and https request as well.
with python requests library to read https stream - <1s to upload 70 MB file
with smart_open it takes 750s to upload 70MB file

Are you able to profile the code to work out where the time-consuming part is? It seems that downloading is slow, because you're using smart_open for the upload in both cases. If so, then we can probably eliminate the upload component altogether, and look for the problem in the download component.
Also, ensure compression isn't causing the slow-down. By default, smart_open uses the file extension to transparently handle compression.


Modal cleanup

Cleaned up modal code, added more options and renamed some props.
Would like to figure out how to do the transitions without injecting classes (in Fade.js) but this works for now.

Yes, typically we'll update docs and version after the review.


[Task]: Fix mismatched tx history

Platform
Desktop
Version
2.1.4
Description
The activity history of a profile does not match. I create a profile, make a profile backup and then restore the profile.
I make some transactions from the restored profile and the activity history of the profiles shows differently
Restored profile

Original profile

For example, the last nft sent is not shown, and the native tokens, on restored profile is shown as sent and on original profile as burned
Expected behaviour
Same activity history in both profiles
Actual behaviour
Different activity history in both profiles
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

Create a profile
Make a stronghold backup of the profile
Restore a profile from stronghold backup
Make transactions from this profile
Check that the activity histories of the profiles are different

Operating System
Linux
Diagnostics
No response
Developer Profile
Yes
Profile Type
Software (Stronghold)
Staking
None
Crash Status
None of the above
Error Messages
No response
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Importing from sttonghold I believe should have the exact same tx history on all profiles, as stronghold serves as tx tracker too. We should investigate if this is an issue on our end or the sdk


Patch 2 pr resolution

@bolt-io : Thanks for your contribution! The author(s) have been notified to review your proposed change.


fix: reference yellow color, not table

Fixes https://github.com/AlexvZyl/nordic.nvim/issues/1

I do not know how I missed that, thanks!


org.springframework.http.client.ClientHttpResponse interface change backwards compatibility

Description
Spring 6.x (boot 3.x) changed the interface org.springframework.http.client.ClientHttpResponse. The return type of getStatusCode() is changed. If we're on spring 5.x (or boot 2.x), there is a condition in which we get a NoSuchMethodError when using this method in our custom Sink.
This PR is to make the relevant method backwards compatible by catching this exception and trying the old way in case of failure.
Motivation and Context
It fixes a bug with backwards compatibility with spring 5.x
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

This is a blocker for us for the upgrade. Can someone please review this?

Hi @dipsk2, thank you for the contribution. Could you please merge in the latest main branch?

@kasmarian done

:+1:


TN-529 use title to list resource items

use title of LR item instead of tag to display the name for the resource item
@mcjustin Justin, as per today's demo, we use title of LR item to identify each item on the resources page.
Example json returned from Liferay for resources items:
https://stg-lr7.us.truenth.org//c/portal/truenth/asset/query?anyTags=ironman work instruction

shoot, meant for the release, will close and recreate


Supprt counting executed wasm operations

This sketches out support for counting the number of wasm operations executed through an Instance::run call.
The new location that that count is tracked in also made a good excuse to refactor how we represent the sliver of data that lucetc and lucet-runtime must cooperate on, as well as adding docs about lucet-runtime's choices around memory organization, so that's here too :tada:

when this last build passes (and this PR has a :heavy_check_mark: again) this is good to merge - I've given up any hope of parceling this into meaningful commits and plan on just squashing :(


Queue implementation using array [CPP]

Is your feature request related to a problem? Please describe.
Queue implementation using array
Describe the solution you'd like
I would like to code it as a gssoc participant
Do you want to work on it
I would like to code it in c++

I  am a GSSOC'21 participant and would love to contribute my part to this problem by implementing it using CPP.
Please assign me the issue.

Please do assign this to me.


platform:f27 is missing python3-rpm-generators package

python3-devel binary package run-requires python3-rpm-generators, but the package is not in the plaform:f27. This bug prevents from building Python 3 packages against platform:f27 and pytothon3:3.6. See https://koji.fedoraproject.org/koji/taskinfo?taskID=23095957.
Please add python3-rpm-generators package into the platform:f27 module.

This is still issue in latest platform-f27-20171114200751 https://koji.fedoraproject.org/koji/taskinfo?taskID=23155623. The modulemd is missing python-rpm-generators component.

This blocks building nodejs-6, nodejs-8, meson-master, cmake-bootstrap-3.9 and cmake-3.9.

@ppisar nice thing is that python3-devel was not supposed to be there :)

As far as I know in python3 for platform:f27 is supposed to be almost empty
and all the packages should be provided by platform:f27. This is the differnece
between f27 and master. Ask torsava for more details.

Great. But that's not all. Now we need this change in the dist-git and build the module.

@ignatenkobrain What is the set of new deps needed in the F27 platform? Note that we can't use BPL for this directly anymore, since we're manually curating the F27 modulemd now. However, if you can get me the diff for master, I can probably work it up for F27.


LFI: added absolute C:\Windows\win.ini paths and web.config

Added additional entries to LFI-Jhaddix.txt for testing LFI and arbitrary file retrieval:

added absolute paths of the default file C:\Windows\win.ini which were missing until now
added entries for web.config which typically resides in the web root

Thanks @exploide !

Is there a source at all for this, to give credit to/background reading?

Is there a source at all for this, to give credit to/background reading?

The file C:\Windows\win.ini should almost always be present, which can be checked with access to an installation of Windows. I added it because a simple LFI like ?file=C:\Windows\win.ini was present but could not be discovered using LFI-Jhaddix.txt just because it did not contain any absolute path to an existing Windows default file.
Besides of absolute paths to default files, typical files in the web root are also useful when testing for LFI. The web.config file is one of such files, since it is used by IIS at least for ASP.NET applications. See https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config


Improve post-capture imagery file size reduction utility

Each observing session generates huge SER files with raw camera imagery. Keeping these files as-is is a waste of disk space for two main reasons:

There are typically many frames with no target in view, especially at the beginning and end.
The target is nearly always very small compared to the size of the frame. The rest of the pixels carry nothing of value.

If reasonable steps are taken to cut and crop the video the size of the file can be reduced by about two orders of magnitude in a typical case. Applying lossless compression to the result can reduce disk space even further.
The existing crop_and_stabilize.py script is a crude implementation of automated cropping for JPEG files. Extend or replace this script to support the following:

[ ] SER file support
[ ] Auto cut frames with no target
[ ] Auto crop and stabilize, keeping the target at center frame (similar to existing capability)
[ ] Preview the changes for human review by annotating the original frames

Related: https://github.com/seeing-things/non-software-issues/issues/4, https://github.com/seeing-things/non-software-issues/issues/11

It turns out that PIPP does a pretty good job of most of the desired processing steps. I took some preliminary notes here: https://github.com/bgottula/non-software-issues/issues/20

Closing as a duplicate of seeing-things/non-software-issues#20.

Closing as a duplicate of seeing-things/non-software-issues#20.


fix(doc): Fix wrong URL in README.md

Would you mind signing our CLA? https://docs.google.com/forms/d/1Npd68d32UDUKUYuCDDrW0VN5Lv8p-a6Ziaa2JFKp6Cg/viewform?c=0&w=1

Thanks for reply @EisenbergEffect .
Now signed :pencil2:

Apologies for taking so long to respond to the PR. Getting it merged in now :)

Thanks @EisenbergEffect :dancers:
I missed to see CONTRIBUTING.md :bow:

It's not uncommon. No worries. Hope to see you around contributing more in the future. Everything is a help.


[WIP] Fetch Terragrunt files in terraform file fetcher

As suggested in #654.

Very nice! Thank you!

OK, this should be working now. I'll cut a release and deploy, but it's late here in the UK, so I won't be able to fully watch it out. If you run into any issues let me know and I'll pick them up in the morning.
(Tests will probably fail due to the ongoing npm issues.)

Deploying now - should be live in 10 minutes.

Nice, thanks @greysteil! I was able to add a dependabot config for the root of that wrangler-watchmaker repo I linked in the issue, but adding another config for the subdirectory release/salt-yum-defs fails. Get an error saying the repo must contain a terraform configuration file.
https://github.com/plus3it/wrangler-watchmaker/blob/master/release/salt-yum-defs

Ah, that makes sense - I'd deployed the update to our updater, but not to the backend responsible for doing that check. Should be fixed now.

Alright, c working now, thanks again!


Add Dataproc job object in DataProcSubmitTrigger yield message

Remove param location and wait_timeout from the DataProcSubmitTrigger docs string since these do not belong to DataProcSubmitTrigger class.
Add Dataproc job object in DataProcSubmitTrigger yield event this will have some info about the job

https://cloud.google.com/python/docs/reference/dataproc/latest/google.cloud.dataproc_v1.types.Job
https://cloud.google.com/python/docs/reference/dataproc/latest/google.cloud.dataproc_v1.types.JobStatus

Can you please enhance the description as to what all and why we're making these changes?
Also, can you please paste a screenshot of the details we will have now that solves the issue/ helps debug the issue?

this change LGTM once the above changes are done.

Were we able to reproduce the issue and see some logs? Or are we not able to reproduce and want to merge this to see the logs when the issue comes for further debugging?

I was not able to reproduce so thought of adding this to get some insight when error occur

Can we verify once running the DAG locally/cloud to make sure the DAG runs fine with these changes?

I do it sometime tomorrow

okay, understood, I think we can merge this once we verify that the DAG runs fine with these changes. @Lee-W has already approved it so we should be able to merge this one then.


Fix #183: strip out origin/ when using the default Jenkins GIT_BRANCH en...

Remove origin remote from GIT_BRANCH

Looks great :+1:


Unable to install caffe-gpu

mamba install caffe-gpu
conda-forge/linux-64     Using cache
conda-forge/noarch       Using cache
pkgs/r/linux-64          [====================] (00m:00s) No change
pkgs/main/noarch         [====================] (00m:00s) No change
pkgs/r/noarch            [====================] (00m:00s) No change
pkgs/main/linux-64       [====================] (00m:00s) No change
menpo/linux-64           [====================] (00m:00s) No change
menpo/noarch             [====================] (00m:00s) No change
Looking for: ['caffe-gpu']
Encountered problems while solving.
Problem: nothing provides cudatoolkit 8.0.* needed by caffe-gpu-1.0-py27h03f526a_2

did you try with conda?
cudatoolkit 8 is not on defaults anymore according to mamba repoquery search condatoolkit
This has nothing to do with mamba :)

Installed cudatookit has version 10.2
Conda uses 10.2, not sure why Mamba wants 8.0

{
  "arch": "x86_64",
  "build": "py37hdb72b7a_4",
  "build_number": 4,
  "depends": [
    "blas 1.0 mkl",
    "boost",
    "cudatoolkit 8.0.*",
    "cudnn 7.1.*",
    "gflags >=2.2.1,<2.3.0a0",
    "glog >=0.3.5,<<IP_ADDRESS>a0",
    "h5py",
    "hdf5 >=1.8.20,<1.9.0a0",
    "ipython",
    "leveldb >=1.20,<1.21.0a0",
    "libboost >=1.67.0,<<IP_ADDRESS>a0",
    "libgcc-ng >=5.4.0",
    "libopencv >=3.4.2,<<IP_ADDRESS>a0",
    "libstdcxx-ng >=5.4.0",
    "lmdb >=0.9.22,<1.0a0",
    "matplotlib",
    "mkl >=2018.0.3",
    "networkx",
    "numpy >=1.15.1,<2.0a0",
    "pandas",
    "protobuf",
    "py-boost",
    "py-opencv >=3.4.2,<3.5.0a0",
    "python >=3.7,<3.8.0a0",
    "python-dateutil",
    "python-gflags",
    "python-leveldb",
    "pyyaml",
    "scikit-image",
    "scipy",
    "six",
    "snappy >=1.1.7,<2.0a0"
  ],
  "license": "BSD 2-Clause",
  "license_family": "BSD",
  "name": "caffe-gpu",
  "platform": "linux",
  "requires_features": {
    "blas": "mkl"
  },
  "subdir": "linux-64",
  "timestamp":<PHONE_NUMBER>489,
  "version": "1.0"
}

you are wrong, conda does not find a solution.

seems issue is in the channel
I have installed caffe-gpu with conda:
# Name                    Version          Build             Channel
caffe-gpu                 1.0              py37h999e8d7_5    anaconda

mamba install -c anaconda caffe-gpu
pkgs/main/noarch         [====================] (00m:00s) No change
pkgs/main/linux-64       [====================] (00m:00s) No change
anaconda/linux-64        [====================] (00m:00s) No change
anaconda/noarch          [====================] (00m:00s) No change
pkgs/r/linux-64          [====================] (00m:00s) No change
pkgs/r/noarch            [====================] (00m:00s) No change
Looking for: ['caffe-gpu']
Encountered problems while solving.
Problem: nothing provides cudatoolkit 8.0.* needed by caffe-gpu-1.0-py27h03f526a_2

Resolved issue by creating new conda env with python 3.7
(new conda has python 3.8 by default and there is no caffe-gpu for python 3.8)

indeed i was confused by the multiple variants of caffe-gpu: there are packages for cudatoolkit 8, 9, and 10 for python 3.7.
Mamba is not yet very clever in selecting the best cudatoolkit so you might be better off specifying a variant version manually (e.g. cudatoolkit=10).
We have an open issue for this #91
And for the error reporting which could have been improved in this case: #283


Add example for TimePointing

Hi!
Is there a possibility to get a sample on how to use TimePointing with TextToSpeech.V1Beta1 ?
I'm trying to figure how to use it but I've been unable to.
Thanks.

Never mind, I already found how to do it. Just use the constructor that takes a SynthetizeSpeechRequest and then you can get TimePoints.
	var request = new SynthesizeSpeechRequest
	{
		Input = input,
		Voice = voiceSelection,
		AudioConfig = audioConfig,
		EnableTimePointing =
		{
			SynthesizeSpeechRequest.Types.TimepointType.SsmlMark,
		},
	};

accessing at them is just looping through response.Timepoints.


Inner Doclet doesn't show

I have a function inside my controller in AngularJS.  I put function Doclet on the top of my function. and I can see its documentation. I put a description for used variables inside the function but I can not see them.
         * Adds new Santa, and send it server and mongoDB. It is connected to the SIGNUP BUTTOM
         *
         * @function addSanta
         */
        $scope.addSanta = function(){
            /** Name for Santa which is assumed to be unique
            * @default ""
            * @type {string}
            */
            $scope.santa.name = $scope.santa.name || '';
            /** @default "" */
            $scope.santa.spouse = $scope.santa.spouse || '';
            if ($scope.santa.name.length !==0){
                // console.log("addSanta: Good to talk to server");
                santa.post($scope.santa).then(function(response){
                    // console.log('New Santa is added');
                });
            }
            init();
        };

What can I do?
Repository is here: https://github.com/alireza-saberi/secret-santa
documentation demo is here: https://alireza-saberi.github.io/secret-santa/

There are a few issues with your example:

If you want to document $scope.addSanta as addSanta, you'll need to add @alias tags to $scope.santa.name and $scope.santa.spouse so JSDoc knows what you want to name them.
You need to use @alias addSanta rather than @function addSanta so that JSDoc doesn't ignore the code associated with the JSDoc comment.
addSanta needs to be documented as a namespace rather than a function.

The following code works for me with the latest version of JSDoc:
/**
 * Adds new Santa, and send it server and mongoDB. It is connected to the SIGNUP BUTTOM
 *
 * @namespace
 * @alias addSanta
 */
$scope.addSanta = function(){
    /** Name for Santa which is assumed to be unique
    * @default ""
    * @type {string}
    * @alias addSanta.name
    */
    $scope.santa.name = $scope.santa.name || '';
    /**
     * @default ""
     * @alias addSanta.spouse
     */
    $scope.santa.spouse = $scope.santa.spouse || '';
    if ($scope.santa.name.length !==0){
        // console.log("addSanta: Good to talk to server");
        santa.post($scope.santa).then(function(response){
            // console.log('New Santa is added');
        });
    }
    init();
};


Lab: Start IS-IS

Do the absolute minimum to get IS-IS started
Talk about defaults and point out why you need to change them. Details in https://github.com/bgplab/isis/commit/7e0622b11738e482cc04cd26c46f222a03868216#r144206621
Ask the user to configure point-to-point interfaces
Ask the user to validate IS-IS adjacencies and IP routing table.

The defaults we'll ask the user to change (with "trust us for the moment, we'll explain in a bit"):

Interface type => P2P
IS type => L2-only

Implemented in 0dcef3da4c9e098e7325a6431ed78038f32cec8f


Bug: Brave browser history back

When I klick on the :ecency: it opens the feed, can choose new friend whatever, it works.
I klick on a post, this opens.
But when I klick browsers back button, the feed is empty. Also refreching doesnt change, it stays empty.
Only solution: through my wallet - to Blogs - opening one of my posts. Only than I can klick :ecency:  again and see the feed
With "hot" for example, going back this blue reloading bearn appears, but not with 'friends"

fixed in #935


[backport] Update install guide with new numpy versions

Backport of #5454

pfnCI, test this please.

Jenkins CI test (for commit 8295d486b9f22942681328752647f7967e03ad12, target branch v9) failed with status FAILURE.

pfnCI, test this please.

Jenkins CI test (for commit 8295d486b9f22942681328752647f7967e03ad12, target branch v9) succeeded!


Add slack webhook

[ ] Describe the purpose of the change

[ ] Create test cases for your changes if needed

[ ] Include the ticket id if possible (Collaborator only)

The cypress test failed, I think we may need to update the generated.ts file

The cypress test failed, I think we may need to update the generated.ts file

Issue was cypress was using prod for its gql types. New changes has been pushed out to fix


Problem with add method and Rouge

As reported here the following code yields an error:
 rouge = evaluate.load('rouge')
 rouge.add(predictions="sentence 1", references="sentence 2")

ValueError: Evaluation module inputs don't match the expected format.
Expected format: {'predictions': Value(dtype='string', id='sequence'), 'references': Value(dtype='string', id='sequence')},
Input predictions: sentence 1,
Input references: sentence 2

Hi @lvwerra, Happy to work on this Issue. Would be really great to get more information about the issue and also guidance from you. Thankyou

Hi @Sumanth077, that would be great. Under the hood this add method is called. It could be either _infer_feature_from_example or _enforce_nested_string_type that is not working as expected. The former infers which feature type is used if a metric defines several (as in ROUGE) and the latter makes sure that we don't accidentally cast a type that's not a string to string (since everything can be cast as a string). I would check if you can find anything unusual there.

Thankyou @lvwerra. Could you also kindly attach the exact file link of Rouge here. It would be great.

Sure, it's here.

Hi @Sumanth077, just a friendly pin to ask if you have started working on this. would like to help and collab here.


Allow key to fallback to tag

We're using a generic datadog match to send all of our metrics:
<match dogstatsd.**>
  type dogstatsd
</match>

Instead of separating out match blocks for each tag we know we want to use use_tag_as_key, it'd be nice if the plugin just falls back on the tag if no key is provided.

Hi, @jridgewell
IMO to avoid unexpected falling back to a tag, this behavior should be enabled by an option like use_tag_if_key_missing. What do you think?

That'd work for us.

Okay. Would you implement it? (use_tag_as_key_if_missing param is better in terms of consistency)

Updated.

Thank you!


Centroid offset

Hi!
First thanks for great library!
I noticed a strange thing while using it: the centroids calculated by Turf differ from these added to US  Census tiger shapefiles. In the shapefiles every feature has properties and there are centroid coordinates there - INTPTLAT and INTPTLON.
Why do they differ and which ones are more correct?
Here is an example: https://gist.github.com/svenvarkel/710bbf84486d1046fd28ad4303f436e6

Found the answer from here https://github.com/Turfjs/turf/issues/334


Add support for the DW-H5600 watch

We have a request to add support the the DW-H5600 watch. I have open this feature request to discuss this.
If you have the watch, and would like to contribute code, please let me know.

@shawner47
OK, let us see what happens of you just try to cennect the watch to the app as is. Does it connect?
How many World Cities does this watch have?

To clarify, at this point we are just trying to get the watch to work with the basic functions which the app already supports. We are not adding new features, like sport-related activities, messeging, etc.

@shawner47
OK, let us see what happens of you just try to cennect the watch to the app as is. Does it connect?
How many World Cities does this watch have?

The watch does not connect.  When I open your app, it shows 'No Watch' in the bottom left of the screen and Forget on the bottom right.  I try (on the watch) the hold bottom left button for 3 seconds, then single press bottom right and nothing happens.
There is only one World City that can be set on this watch.

OK, seems like this watch connects a bit differently to the app. as can be seen here:
https://youtu.be/MCQBiIZsTpY?si=fLiGHXxsKrQZjxm9&t=171
Can you try to connect to this app as you would to the official app? Make sure the official app is not running.

@shawner47
I was just informed that the app works (partially) with the GBD-100 watch. The DW-H5600 has similar functions. If you get it to connect, you might see the it working, save for the fitness functions.

@shawner47
OK, let us see what happens of you just try to cennect the watch to the app as is. Does it connect?
How many World Cities does this watch have?

The watch does not connect. When I open your app, it shows 'No Watch' in the bottom left of the screen and Forget on the bottom right. I try (on the watch) the hold bottom left button for 3 seconds, then single press bottom right and nothing happens. There is only one World City that can be set on this watch.

I was following bog standard casio instructions ( https://www.youtube.com/watch?v=vDvxbFBCX0k ) but replaced the official move app with g-shock smart sync and it kinda worked. First, i tried if my phone will pair with the watch, without app, and it kinda did, but the watch said failed to connect, phone said connected. Had to "forget" it, and then it worked.
I would try to prepare the watch for pairing, then start the app. It kinda appears suddenly and without some big notification, and under you should have your model listed. For me, most of the settings work - alarms, home city, world clock etc. I did not try to add specific training timers yet.

Thank you for that information! I've been out of town for the holidays so
haven't had time to test but will hopefully do so this week. I will let you
know my results once I do get the chance.
Thank you again!
Best,
Shawn
On Wed, Nov 22, 2023, 15:13 Ivo Zivkov @.***> wrote:

@shawner47 https://github.com/shawner47
I was just informed that the app works (partially) with the GBD-100
https://www.amazon.ca/Casio-G-Shock-GBD100-1-G-Squad-Trainer/dp/B089C95M4J
watch. The DW-H5600 has similar functions. If you get it to connect, you
might see the it working, save for the fitness functions.
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1823450046,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXCW3ECWYRVJRLWOK2BEDYFZMILAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGQ2TAMBUGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

closing

No news/ updates of whether it works with this model?

My understanding is that you can connect to this watch, and the app will
support the basic time functions (i.e. not the fitness related functions).
I do not have this watch, so I'm asking opeple to try it and report back.
By connecting, I mean pear with Bluetooth. I understand the single button
connection is not applicable to this watch.
So, if you have this watch, please try to pair it, and let us know what
happens here in this discussion.
Thanks
On Wed., Jan. 24, 2024, 4:21 p.m. githubtefo, @.***>
wrote:

No news/ updates of whether it works with this model?
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1908936960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37VIZXGNDZ2YZQ3QG63YQF3NRAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYHEZTMOJWGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Holy moly!  I am so sorry that I forgot to follow up.  I WAS able to connect the watch after removing the actual CASIO app.  I had to reconnect it each time I opened this app but it DID work.  That said, I went back to the mfg's app because I don't see a way to get the heartrate and step counter information in this one.  At least, I couldn't when I tested.

Thanks for the feedback @shawner47.
@githubtefo: Does this help? Adding the fitness function is a whole new kettle of fish. I would like to add this and possibly integrate with Google Fit, but I would need to get the watch, and also, it is quite a bit of work. Having said that, some people use this watch in time-only mode and find functions like 'Actions' and the 'Google Calendar' integration useful.

Thanks for the feedback @shawner47.
@githubtefo: Does this help? Adding the fitness function is a whole new kettle of fish. I would like to add this and possibly integrate with Google Fit, but I would need to get the watch, and also, it is quite a bit of work. Having said that, some people use this watch in time-only mode and find functions like 'Actions' and the 'Google Calendar' integration useful.

@izivkov - apologies again for that update's lateness!  If you do decide you want to try to go into the fitness functions and integrate with Google Fit (this would be exactly what I was hoping to do), I'd be happy to help test if I can, even if that only means verifying functionality of alpha/beta/RC builds.
Thanks again!

Thanks for the feedback @shawner47.
@githubtefo: Does this help? Adding the fitness function is a whole new kettle of fish. I would like to add this and possibly integrate with Google Fit, but I would need to get the watch, and also, it is quite a bit of work. Having said that, some people use this watch in time-only mode and find functions like 'Actions' and the 'Google Calendar' integration useful.

@izivkov - apologies again for that update's lateness! If you do decide you want to try to go into the fitness functions and integrate with Google Fit (this would be exactly what I was hoping to do), I'd be happy to help test if I can, even if that only means verifying functionality of alpha/beta/RC builds.
Thanks again!

No problem, and thanks for the offer. I just think that at this time, I do not have the time to tackle this. I also think that to support this watch fully, I would have to implement e-mail notifications, etc. I'd rather focus on fewer watches with a better app.
I'm working on a couple of other projects related to G-Shock. How would you like to configure your watch from a web browser, without an app? I have this almost done, but there are some restrictions in the browser, so I'm not sure it will be practical to release to the general public.

@shawner47 I am curous, do all functions actually work with this watch. Do Google Events (remonders) work? How about Home Time? All settings work?

No worries on other projects taking up time.  I was just offering in case you needed test subjects.
When I tested before, Google Reminders did not work.  I can't speak to Home Time because I don't think I actually tested that.  I know that setting an alarm did work for me.  There is still a good bit of this watch I haven't explored though.  My main reasoning was that I love the design of the old Casios and my FitBit had just died so I wanted this due to the HR, step and sleep monitors.

👍
On Wed., Jan. 24, 2024, 6:39 p.m. Shawn, @.***> wrote:

No worries on other projects taking up time. I was just offering in case
you needed test subjects.
When I tested before, Google Reminders did not work. I can't speak to Home
Time because I don't think I actually tested that. I know that setting an
alarm did work for me. There is still a good bit of this watch I haven't
explored though. My main reasoning was that I love the design of the old
Casios and my FitBit had just died so I wanted this due to the HR, step and
sleep monitors.
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1909104260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37QFXOUFFHN7R2XRPADYQGLTLAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGEYDIMRWGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

It helps, indeed!
My main reason of using this App would be for Calendar reminders (Nextcloud/webdav, not Google but I assume is the same?), notification alerts and send basic functions like play/pause/volume to the device.
I am OK on activating the Official Casio App from time to time to retrieve my fitness records. I just dont want to having it on background all the time because of privacy.

just ordered the DWH5600MB-1 - will keep you posted how it goes!

If you are using non- Google calendar, download version 12.1 of the app, not 12.2. There is an issue with 12.2 for non Google calendar users, which we will fix in the next version.
Regards

OK, got the watch!
First impressions: I managed to pair it. It is getting disconnect it/ reconnect it every minute from your App (Official App is not even installed).
What works so far:

Sync the local time
Some settings: Time Format, Auto Light and Power Saving Mode.

What I couldn't make it work (yet):

Actions (like Toggle Flashlight)
Calendar events: I use Etar. I tried to create a new calendar event with alarm ON but it never showed up on the watch. I will see if the already set calendar events for tomorrow morning will show up.

If calendar events is a YES, I will stay with your App and rescind for the Official (full of Trackers).
Thank you!

Just take a look at my message above yours. If you are using a non-Google calendar, like Etar, please use version 12.1 of the app, not 12.2. How did you install the app? Did you use F-DROID? If so, you can find older version of the APK there.
I know about this problem, and will fix it in the next version. You can find out the reason here.

Yes! Using v12.1 of your App...
I'm not even seeing the "Event" Tab in the App (only the tabs Time, Alarms, Actions and Settings)

OK, looking into it a little, I was under the impression that this watch did not support reminders. https://www.g-central.com/specs/g-shock-dw-h5600/. This is why they are hidden in the app. Are you sure your watch supports them? Do they appear in the official app?

mmm you may be right - I see this on the product description: "Notification function (incoming calls, incoming e-mails, new social media posts, calendar notifications, reminders)" https://www.casio.com/us/watches/gshock/product.DW-H5600MB-1/
It is possible the calendar events/ reminders work through Notifications rather than through reminders.

Would you like me to send you an APK with reminders enabled to try? Are you
comfortable installing from APK?
On Wed, Feb 28, 2024 at 9:38 PM githubtefo @.***> wrote:

mmm you may be right - I see this on the product description:
"Notification function (incoming calls, incoming e-mails, new social media
posts, calendar notifications, reminders)"
https://www.casio.com/us/watches/gshock/product.DW-H5600MB-1/
It is possible the calendar events/ reminders work through Notifications
rather than through reminders.
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1970294003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37TYJZQ6SGC6KEM7KJ3YV7S27AVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQGI4TIMBQGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure - please upload it here and I will try it.
Although, from the watch I cannot see any menu for reminders, so most likely all calendar events work through notifications in this model.

Almost confirmed. I installed the official App and everything (including calendar events) is going to the Notifications widget :( I really wanted to keep away of the Official App and use yours, so I will keep an eye on your project in case you decide to implement it. Happy to support those efforts too!

No worries, thanks for the heads up!
I'm always looking for people to contribute to the project. A couple of
people are already handling some issues. Depending on what you feel
comfortable with, this project can use your contribution accordingly.
Regards,
Ivo
On Thu, Feb 29, 2024, 10:39 PM githubtefo @.***> wrote:

Almost confirmed. I installed the official App and everything (including
calendar events) is going to the Notifications widget :( I really wanted to
keep away of the Official App and use yours, so I will keep an eye on your
project in case you decide to implement it. Happy to support those efforts
too!
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1972451949,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37UZSOELNQEVXNGNHBDYV72ARAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGQ2TCOJUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Use standard error from data to initialise empowerment metrics

There's one main challenge to use the SE for each empowerment metric: how to pass a random seed during parameter creation. A random seed is defined inkenya.py/scalar_pars(), and we can potentially pass this seed to kenya.py/empowerment_distributions().
Once we solve this step, the next change that needs to happen is replacing the current linear interpolation parametrisations by an optimisation step that estimates the interpolation parameters.

Automated linear interpolation/extrapolation of empowerment metrics, using mean and SE values

@mzimmermann-IDM I want to confirm with you:
Do the columns ending in .se (e.g., paid_employment.se) represent the standard error of the mean for a specific age group, or do they represent the standard deviation of the metric for the population at a specific age?

SE of the mean for a specific age group. Thanks for checking!


Contexts (such as GDC) versus Variables

In our applications we log to the database, but our connection strings are encrypted so they need to be decrypted within the application and then the connection string needs to be set via the API.
What I've been doing is using the GDC to set the connection string at runtime:
<connectionString>${gdc:LoggingConnectionString}</connectionString>

GlobalDiagnosticsContext.Set("LoggingConnectionString", decryptedConnectionString);

I've recently discovered variables in NLog and it seems that they accomplish a lot of the same things.  My question is when is it more appropriate to use the contexts versus variables.  Thanks!
Michael

NLog variables is mainly for use in NLog-config-files, and modifying them at runtime before/after having loaded NLog-config-file can cause some unexpected behavior.
NLog GDC is for runtime handling only, and will not be affected by modification of NLog-config.

Ok.  So in this case where I need to modify a value during runtime, the GDC would be a better way of doing it with less side effects.
Variables would be better for things like a file path that I might need to specify multiple times in my NLog.config.

Thanks!


libncursesw5-de for ruby 1.9+

Without this lib utf8 chars are broken in curses (commandline apps),
it would be great if it would somehow get installed before installing ruby.
Its no hard dependency, just a nice thing to have.

The system ncurses is working fine for me. What issues are you seeing?

utf8 chars are not displayed correctly in 'curses' (no idea if its ok in curses), when this lib is not installed
ill try to reproduce it on a clean aws instance
a test for it: http://redmine.ruby-lang.org/issues/975

Ah, I was thinking readline.

I think this is outside the scope of ruby-build. It should be possible to install the library yourself and get Ruby to build against it.


High / elevated CPU usage when codespace disconnects

Does this issue occur when all extensions are disabled?: Yes/No
N/A

VS Code Version: 1.84.2
OS Version: Windows 10 10.0.19045

Steps to Reproduce:

Start a codespace in VS Code desktop
Navigate to github.com/codespaces and stop the codespace, or just let the codespace stop due to the idle time out

The CPU usage becomes highly elevated. A core is maxed out.
I tried the same codespace on insiders and the issue wasn't nearly as bad but a modest amount of elevated CPU usage did seem present.
Left: VS Code insiders, codespace is connected
Right: VS Code insiders, codespace is disconnected
Bottom: VS Code regular, codespace is disconnected

High CPU usage seemed to start after about 10 seconds.
My impression is that there's a background task, possibly from one or more extensions or built-in functionality, and since the codespace is disconnected it's failing to access the underlying file system and getting into a fail / retry loop.

I also seem to have this situation, when I look up the data, a long time did not use vscode, when entering again will be very slow, the switch file TAB is not smooth enough, will show the switch progress bar, serious will be directly stuck, tried a lot of ways, restart vscode has no effect, can only restart the system every time the card, this is too annoying

After updating to latest version issue seems to be mitigated similar to insiders build. Still elevated CPU but only a couple percent versus maxing out a core.


fix ci failure on js docs

I was able to test that it does not fail, but not sure if the docs are really generated:
https://github.com/sroussey/usearch/actions/runs/8565020964/job/23472451179

:tada: This PR is included in version 2.11.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Runtime] Static constructors and destructors should be an error here.

Except for a handful of places we know about, there should be no static constructors or destructors in the runtime; they're undesirable because they inflate start up or shut down times, and in the case of destructors we can't even guarantee that they will actually run (e.g. if the program declares that it supports fast termination, they just won't).
It should be OK to change the warnings to errors as a result.
rdar://80965245

@swift-ci Please smoke test

@swift-ci Please smoke test macOS platform

LGTM. @compnerd any pitfalls with this that we might not have thought of?

@swift-ci Please smoke test macOS platform

@swift-ci Please smoke test macOS platform

This might need to be gated by platform somehow. There are some platforms (Cygwin, Android, Haiku, Wasi) that do not support mutexes without destructors. I think I might have "fixed" Android in #38686, but the other platforms might still fail.

Unfortunate. Can we disable the warnings/errors at the specific point of use on those platforms?


Spied-on functions that return Promises change their mock return values when the Promise resolves

Describe the bug
If a spied-upon function returns a promise, the .mock.results[...].value item starts off as a promise, but when the promise resolves it becomes the resolved item. This behavior doesn't seem to be documented anywhere.
I found this while migrating an existing test suite from jest, and I know this might not be the most desirable test pattern (I will simply change it to not expect this), but I found this behavior pretty surprising.
It looks like it might have been introduced in #2835.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-mk9jek?file=test%2Fbasic.test.ts
Note that you can add any amount of indirection you want here, and it'll behave the same way. So the issue isn't that I'm calling bar and it's spied upon - I originally discovered this issue in a test that spied on bar, called a function that called bar, and examined the mock's result to make sure it was a promise (and then awaited it to examine the result, etc.).
System Info
System:
    OS: macOS 13.4
    CPU: (8) arm64 Apple M1 Pro
    Memory: 317.55 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.5.0 - ~/.nvm/versions/node/v18.5.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.5.0/bin/yarn
    npm: 8.12.1 - ~/.nvm/versions/node/v18.5.0/bin/npm
  Browsers:
    Chrome: 114.0.5735.133
    Safari: 16.5
  npmPackages:
    vitest: ^0.32.2 => 0.32.2

### Used Package Manager

yarn

### Validations

- [X] Follow our [Code of Conduct](https://github.com/vitest-dev/vitest/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/vitest-dev/vitest/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://vitest.dev/guide/).
- [X] Check that there isn't [already an issue](https://github.com/vitest-dev/vitest/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitest-dev/vitest/discussions) or join our [Discord Chat Server](https://chat.vitest.dev).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

This behavior is different from jest's, but it is expected. Not sure exactly what you want to document, but feel free to open a PR.

@sheremet-va Is there a way for a developer to inspect the original promise? I previously found it helpful to be able to inspect the original Promise.

Eh. The use case is because I needed to check whether or not a Promise had resolved. I'm guessing in vitest land the way to do that is to verify that the value is a Promise before resolution and verify that it's a resolved value after resolution?
If that's the case, maybe it isn't necessary to preserve the original. That said, an update to the Migration guide could also be helpful. (Can you tell I'm in the middle of migrating from Jest yet? :sweat_smile:)

I don't know. Maybe semantically it's better to not resolve a promise because this is what the actual function return value. So I would consider it a bug. To fix this, it's better to open a separate issue in tinyspy.

I feel like you could argue either way. Originally I was a little upset with the implementation. But in the long run, this implementation could be considered advantageous -- as long as it's clearly documented.
The disadvantage of leaving returned Promises alone is that whenever developers want to inspect the details of the Promise, they have to create their own extension of the Promise and overwrite the global Promise object. Then, when the test is finished, they have to restore the original implementation of the global Promise so that unexpected accidents don't happen. This is... a more convoluted development experience. So the current way Vitest works seems like a better DX.
The current way Vitest works simplified my codebase for the aforementioned reason.

We now document this difference in Vitest documentation so I think it's safe to close this issue.

Thanks for keeping the current implementation. 🙏🏾 I like what Vitest does so much better.


Standardize Upload interfaces

Summary
Standardize file upload implementations to all use either upload file or select file workflows.
Before

After

I've updated the base for this PR to the new release/9.11.0 branch, it is ready to merge