[DDW-686] Validate search for native tokens and conversion currency

This PR fixes issues in the Dropdown search.
Todos

[x] "No results" is not translated to Japanese.
[x] After pressing enter on the native tokens search, the token is removed.

Screenshots

Testing Checklist

Slack QA thread
[ ] Test

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes
[ ] PR has default-sized Daedalus window screenshots or animated GIFs of important UI changes:

[ ] In English
[ ] In Japanese

[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@daniloprates Here's a summary for build 18017:
New:

The message "No results" is not visible in English. Instead, it reads "ADA". Check screenshots 1 and 2.
Can the scroll move according to the item that is selected on the dropdown? If I move up and down with the arrows, the list doesn't move. Check videos 1 and 2.

Pending:

The small list is still visible when there are multiple tokens or the window was resized, can this be improved? Check this screenshot.

Fixed:

"No results" is translated to Japanese.
Token is no longer removed when pressing enter.

Thanks @gabriela-ponce!

The message "No results" is not visible in English. Instead, it reads "ADA".

Had this done, but forgot to push ✔

Can the scroll move according to the item that is selected on the dropdown? If I move up and down with the arrows, the list doesn't move.

This can't be changed, at the moment. It would require a refactoring inside react-polymorph

The small list is still visible when there are multiple tokens or the window was resized, can this be improved? Check this screenshot.

Not something we can deal with. The user would need to scroll it down

Hi @daniloprates.Tested on build 18018
I found an instances where the search for currencys sometimes is acting strange on Mac(other builds were not available). In the Video1-VND VND - ViatnameseDong is currently selected and the user attempts to search for BTC in the input box, after the b is entered it closes the dialog. When it is reopened we can see the b was entered but when T is added it gets closed again. Also when I click enter at the end when only 1 search result is in the box it doesnt select the only viable option as it down in Native Tokens search bar. The search issue I mentioned seems to only happen for VND because it has no characters in common with BTC (In the ticker or fullname) as the same happens with Xlm Video2-XLM. Issue seems to be intermittent(happening 30% of the time)

Having trouble reproducing the issue above and also @Mior could not reproduce it. Not sure what caused it but it seems to be a non issue so you can ignore @daniloprates . I will keep an eye out for it


Fix doc markdown for rendering with MkDocs

Remove space to properly close code block and fix mk rendering at http://mbauman.github.io/AxisArrays.jl/latest/

Thanks!


How to stop stats history opening on every load

How can you stop the stats' history from opening on every load or reload. The only option I see is stats history on/off?
Regards
TheBudda

Hi,
Just install latest dev version of the theme, and it will remember last state for any accordion on dashboard.
Release of 19.46 should be shipped tonight (in 12-14 hours).

@rostovtsev Thanks for the info. Release 19.46 worked like a charm ;- )

@TheBudda My pleasure.


Prepare to make lib open-source

Adds MIT license
Some rephrasing in comments

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Custom attributes are not working

Originally, we wanted to update custom attributes of my entity.
We tried the following:
entity.custom_attributes.push({
      key,
      value: value instanceof Date
        ? value.toISOString()
        : value,
    });

Only to realize that it doesn't look like this is supported.
We then stumbled upon an old forum post: https://forum.ftrack.com/topic/1293-update-custom-attribute-via-javascript-api/
It still contains the solution it seems. But I think we should officially support attributes, or at least document how these are updated.

For reference, here's a method that works.
  public async upsertCustomAttribute<TModel extends Pick<TypedContext, 'custom_attributes' | 'id'>>(
    entity: TModel,
    key: string,
    value: string | number | boolean | string[] | Date | undefined,
  ) {
    if (!entity?.id) {
      throw new Error('Can\'t upsert custom attribute of missing entity, or an entity without an ID');
    }

    if (!entity.custom_attributes) {
      throw new Error("Can't upsert custom attribute of entity when the existing custom attributes have not been fetched");
    }

    const customAttribute = entity.custom_attributes.find(x => x.key === key);
    if (!customAttribute) {
      throw new Error(`The custom attribute ${key} does not exist. Did you forget to create that custom attribute in Ftrack's settings?`);
    }

    const configurationId = customAttribute.configuration_id;
    if (!configurationId) {
      throw new Error(`The custom attribute ${key} does not have a configuration ID. Did you forget to create that custom attribute in Ftrack's settings?`);
    }

    const newValue = value instanceof Date
      ? value.toISOString()
      : value;

    const session = await this.createFtrackSession();
    await session.update<ContextCustomAttributeValue>(
      'ContextCustomAttributeValue',
      [configurationId, entity.id],
      {
        value: newValue,
        key,
        entity_id: entity.id,
        configuration_id: configurationId,
      },
    );
  }

Hi!
The documentation for custom attributes have moved here: https://developer.ftrack.com/api-clients/examples/custom-attribute
We are tracking updates to how to work with custom attributes with the javascript api in that (currently internal) repository. So I will be closing this issue. Thanks for your feedback!

What will happen to the documentation in this repo then? Thinking of the README.md file.

What will happen to the documentation in this repo then? Thinking of the README.md file.

The purpose of the README is to be a basic overview of the API client or highly technical and specific documentation, and refer to the developer hub to any deeper conceptual documentation.
For instance, working with custom attributes belongs in the developer hub, while how to integrate ts-schema-generator and the api client probably belongs here.

Ah, that makes total sense. Looking forward to being able to contribute to the developer hub too. From the initial looks, it looks nice.


Elysia Autorouter Branch

Created a new branch to use the beth stack with the elysia-autoroutes(https://github.com/wobsoriano/elysia-autoroutes).

I've resolved the conflicts and added the elysia-autoroutes repo to the README. There's no need to thank me, I should be the one thanking you for the great video. Keep it up 🎉!


Abstraction for editor

Created a class abstraction for editor that is much more editor-agnostic. The code is quite self explanatory, but a doc is necessary (see #37).

I really like the editor abstraction


Add fish shell completion

Add crystal command completions for fish shell

@straight-shoota topic:infrastructure? 🤔

This is a compiler integration tool. That's tagged infrastructure. At least we don't have anything more specific.


[I/O site] Update categories

Summary
We are updating the categories displayed on the I/O catalog. To do this, we just need to update the checked-in file that controls the available categories.
Extra info

instant-observability-categories.json
Note: the associatedKeywords field for each category corresponds to the categoryTerms field for that category in Nerdgraph
Note: the value field is just a 'slugified' version of the display name (lowercase, no spaces, etc)

Open questions

What are the categories that should be define for the I/O site specifically?
How should these differ from what is shown internally in the I/O Catalog?

AC

[ ] The new categories are available on newrelic.com/instant-observability

@jpvajda or @aswanson-nr please share more info on which all categories to be updated and what updates to be done.


[$500] mWeb/Chrome - Distance-In offline, distance request details page loading infinitely.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.31-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/34604
Action Performed:

Go to https://staging.new.expensify.com/
Go offline
Tap on Workspace chat which has distance request created
Tap on distance request to open distance request details page

Expected Result:
In offline, distance request details page must be displayed without loading
Actual Result:
In offline, distance request details page loading infinitely
Workaround:
Unknown
Workaround:
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/878bd4aa-e457-4bee-a6f2-43e1b429fe79
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ed39265b86a00161
Upwork Job ID:<PHONE_NUMBER>772130816
Last Price Increase: 2024-02-07

Bringing the proposal from here
What is the root cause of that problem?
As there is a purposeful reduction in data sent from BE in OpenApp, linked reports are not guaranteed to be present. This adversely impacts the offline experience. This is the root cause.
What changes do you think we should make in order to solve the problem?
To solve the problem, we can ensure that the displayed reports in LHN are fetched at the app launch along with all linked reports up to a single level depth.
More specifically, we can leverage optionListItems here and ensure that all these reports are fetched once at app launch. Additionally, we can look for childReportID in Report Actions of these reports which is a good indicator of linked reports, and fetch them.
We can implement a side effect here which looks something like this to solve the problem:
const fetchedReportIDsRef = useRef([]);
useEffect(() => {
    const arrayChildReportIDs = [];
    optionListItems.forEach((reportID) => {
        const reportActions = allReportActions[`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`];
        const childReportIDs = _.filter(_.pluck(reportActions, 'childReportID'),(childReportID) => childReportID);
        if(childReportIDs.length > 0) {
            arrayChildReportIDs.push(childReportIDs);
        }
    });
    const allRecentReportIDs = _.union(optionListItems, ...arrayChildReportIDs);
    if(currentReportID) {
        allRecentReportIDs.push(currentReportID);
    }

    const unfetchedReportIDs = _.difference(allRecentReportIDs, fetchedReportIDsRef.current);
    unfetchedReportIDs.forEach((reportID) => {
        if(!reportID) {
            return;
        }
        Report.reconnect(reportID);
        fetchedReportIDsRef.current.push(reportID);
    });
}, [currentReportID, optionListItems, chatReports, betas, policies, priorityMode, allReportActions]);

Additionally, we also need to include childReportID in reportActionsSelector here
What alternative solutions did you explore? (Optional)

As there is a purposeful reduction in data sent from BE in OpenApp, the report actions for a displayed report in LHN need not be present. This would bring about interesting scenarios in offline cases.

If the user is offline at this moment, the report screen will keep showing the loading status for the chat report. But, when online, the chat report actions would be fetched via openReport if the user clicks on the report in LHN.
Now, if the user goes offline after fetching the chat report, a similar loading status will be shown for the IOU report when clicked.
The same situation will repeat for the transaction report as well.

When offline, is showing a loading status in each of the above three cases intentional?

@sophiepintoraetz @parasharrajat
Can you please help clarify the above query as mentioned in my proposal?
Also, what would be the expected behaviour here?

@parasharrajat, did you get a chance to look at the above proposal?

@mananjadhav is taking over C+ review while Rajat is away

Just took over going through the issue history, and the linked issue discussion where the proposal was originally posted.

@lanitochka17 @rojiphil Can you confirm if this is reproducible in all platforms? I can see only Android mWeb marked? If it's specific platform, then I am wondering how can backend have impact on one platform only?

Issue is not reproducible on the latest build 1.4.41-4
https://github.com/Expensify/App/assets/78819774/aacb03b8-1913-457d-b4df-f6f417e2e7c7

I've applied the retest-weekly label. If we find this behavior is no longer present on the next retest, I think we can close it.

This issue has the retest label applied. Coming from this process, it looks like Applause will re-test by Friday and comment with their results on Monday.

That said, this should have been tested this previous Friday and the results should be posted today-ish. @Expensify/applause, did this issue get retested in the last batch? If not, can you please add it? Thank you!

@johncschuster Updating results right now. Give me a couple minutes. Working on it

Issue is reproducible during KI retests.

I took a look and I was able to reproduce the bug as described by the test steps. Are we sure that it's specific to distance requests? Does it happen for manual or scan requests with the same steps?
Please assign me once it's time to review a proposal.

@Expensify/applause

Are we sure that it's specific to distance requests? Does it happen for manual or scan requests with the same steps?

@lanitochka17 / @Expensify/applause

Are we sure that it's specific to distance requests? Does it happen for manual or scan requests with the same steps?

Can you please confirm this?

@lanitochka17 / @applausebot bump on this!

Are we sure that it's specific to distance requests? Does it happen for manual or scan requests with the same steps?

Can you please confirm?

Bumped in the QA channel

@johncschuster not able to reproduce this bug now.
https://github.com/Expensify/App/assets/43996225/214f2f0a-47c0-42ae-9d7c-1c55a7f83486
https://github.com/Expensify/App/assets/43996225/3f7e9d34-ddf5-4531-a2a7-f18fa6749d4c

Great! In that case, I'm going to go ahead and close it. Thanks, @kavimuru!


Larger re-design of OSO landing page

What is it?
Currently in a Figma file, we'll want to publish it thru Plasmic

@ciciaran Can we close this out, link to the work product, enter the costs, and open new issues for the new work for this sprint?


Proving failure on bench_prover.test.ts (AuthRegistry:set_authorized)

bb-prover AvmCircuit (prove) BB out - Executing BB with: avm_prove --avm-bytecode /tmp/bb-K0ACj2/tmp-p685Cn/avm_bytecode.bin --avm-calldata /tmp/bb-K0ACj2/tmp-p685Cn/avm_calldata.bin --avm-public-inputs /tmp/bb-K0ACj2/tmp-p685Cn/avm_public_inputs.bin --avm-hints /tmp/bb-K0ACj2/tmp-p685Cn/avm_hints.bin -o /tmp/bb-K0ACj2/tmp-p685Cn
bb-prover AvmCircuit (prove) BB out - Lookup PERM_MAIN_MEM_A failed.

Files are here: https://drive.google.com/file/d/1ec5RJkVGcfLnVoeLwUy13qbMXO7UBDJc/view?usp=sharing

According to this job: https://github.com/AztecProtocol/aztec-packages/actions/runs/9601965903/job/26486386419
The above failure was successfully solved.
However, 2 avm_verify invocations are failing (but no proving).


[Feature] Explore to ICD10 ontology to link challenges to diseases

What product(s) is this feature for?
No response
Description
https://bioportal.bioontology.org/ontologies/ICD10
Anything else?
No response
Code of Conduct

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

I think OMIM https://www.omim.org and HPO terms https://hpo.jax.org/app/ are more known and used in the clinic ontologies for disease classifications rather than ICD10. To discuss to consider implementing one of those instead of ICD10.

@gaiaandreoletti I'm open to using an alternative to ICD10. We should perform a comparative analysis before identifying which ontology to use. The first question to answer is likely: what are the benefits of annotating challenges with any of these onotolgies (ICD10 included). Then identify metrics and values to compare them. One metrics that comes to mind is the "popularity" of the ontology. Creating a spreadsheet where the three onotlogies are compared would be great. Is this something that you could do, @gaiaandreoletti ?

Added to Sprint 23.11

icd10 codes added as a separate tab for each challenge - need review by the group

Added to Backlog


Prevent mismatched controller/argoexec verisons

When you run the wrong version of argoexec with your controller, bugs happen. The controller creates pods, so can check the version is correct, and produce an error.

I don't think this is easy.


config option to disable validation

need a way to skip https://github.com/Shopify/sarama/blob/fb9a93150c8468e731102e6908cc298aeaecf17b/client.go#L170 so that other apps can pass in MSK IAM SASL code without being blocked

crunch

@tooptoop4 can you elaborate a little more on what you’re trying to do?

MSK IAM support

The intention was that would come in v2 https://github.com/IBM/sarama/pull/2482
Its not obvious how disabling config validation helps you


_AssertionError: 'package:flutter/src/services/hardware_keyboard.dart'

Steps to reproduce
Try to write something on the keyboard and then delete it. Try this in the simulator. You will encounter more. I'm not sure if it's encountered on the physical device
Expected results
I want it to delete successfully when I press the backspace key
Actual results
The deletion fails and throws an error. The error looks like this on the sentry:
_AssertionError: 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 434 pos 16: '_pressedKeys.containsKey(event.physicalKey)': A KeyUpEvent is being sent, but the status indicates that the physical key was not pressed. If this occurs in the actual application, please report this error to Flutter. If this occurs in unit tests, please make sure that the simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was an event: KeyUpEvent#a6801(physicalKey: PhysicalKeyboardKey#e6f4b(usbHidUsage: "0x0007002a", debugName: "Backspace"), logicalKey: LogicalKeyboardKey#147d9(keyId: "0x100000008", keyLabel: "Backspace", debugName: "Backspace"), character: null, timeStamp: 108:19:31.256561) File "errors_patch. dart", line 51, in _AssertionError._doThrowNew File "errors_patch.dart", line 40, in _AssertionError._throwNew File "hardware_keyboard.dart", line 434, in HardwareKeyboard. _assertEventIsRegular.<fn> File "hardware_keyboard.dart", line 445, in HardwareKeyboard._assertEventIsRegular File "hardware_keyboard.dart", line 537, in HardwareKeyboard.handleKeyEvent ... (9 additional frame(s) not displayed)

Code sample

Code sample
import 'package:flutter/material.dart';
import 'package:flutter_app/core/app_events_constants.dart';
import 'package:flutter_app/core/extensions/string_extension.dart';
import 'package:flutter_app/core/init/config/app_configs.dart';
import 'package:flutter_app/core/init/lang/locale_keys.g.dart';
import 'package:flutter_app/core/widgets/locale_text.dart';
import 'package:flutter_app/model/enums/load_status.dart';
import 'package:flutter_app/features/widgets/app_circular_progress_indicator.dart';
import 'package:flutter_app/router/route_config.dart';
import 'package:flutter_bounceable/flutter_bounceable.dart';
import 'package:flutter_multi_formatter/flutter_multi_formatter.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';
import 'package:sizer/sizer.dart';
import 'login_logic.dart';
import 'login_state.dart';

class Login extends StatefulWidget {
  const Login({Key? key}) : super(key: key);

  @override
  _LoginState createState() => _LoginState();
}

class _LoginState extends State<Login> {
  final LoginLogic logic = Get.put(LoginLogic());
  final LoginState state = Get.find<LoginLogic>().state;

  @override
  void initState() {
    Get.find<LoginLogic>().init();
    super.initState();
  }

  @override
  void dispose() {
    Get.delete<LoginLogic>();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      length: 1,
      child: Scaffold(
        appBar: AppBar(
          backgroundColor: Colors.transparent,
          elevation: 0,
          toolbarHeight: 0,
          bottom: TabBar(
            indicatorColor: Color(0xff190F8F),
            tabs: [
              Tab(
                child: LocaleText(
                    text: LocaleKeys.login_individualLogin,
                    style: TextStyle(
                        fontSize: 15,
                        color: Color(0xff190F8F),
                        fontWeight: FontWeight.w600,
                        fontFamily: AppConfigs.fontFamilyQuicksand)),
              ),
            ],
          ),
        ),
        body: TabBarView(
          children: [
            Container(
              padding: EdgeInsets.only(left: 24, right: 24),
              width: double.infinity,
              child: SingleChildScrollView(
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.center,
                  children: [
                    SizedBox(
                      height: 2.h,
                    ),
                    SvgPicture.asset(
                      "assets/svg/login.svg",
                      height: 25.h,
                    ),
                    SizedBox(
                      height: 2.h,
                    ),
                   ** TextField(
                      controller: state.usernameTextController,
                      inputFormatters: [
                        MaskedInputFormatter('### ### ####'),
                      ],
                      keyboardType: TextInputType.number,
                      style: TextStyle(
                          fontSize: 11.sp,
                          fontFamily: AppConfigs.fontFamilyQuicksand,
                          fontWeight: FontWeight.w500),
                      decoration: new InputDecoration(
                        hintText: LocaleKeys.login_yourPhoneNumber.locale,
                        hintStyle: TextStyle(
                          fontSize: 11.sp,
                        ),
                        enabledBorder: UnderlineInputBorder(
                          borderSide: BorderSide(color: Color(0xff7D1FAF)),
                        ),
                        focusedBorder: UnderlineInputBorder(
                          borderSide: BorderSide(color: Color(0xff7D1FAF)),
                        ),
                      ),
                    ),
                    SizedBox(
                      height: 30,
                    ),
                    Obx(() => TextField(
                          controller: state.passwordTextController,
                          obscureText: !state.showPw.value,
                          style: TextStyle(fontSize: 11.sp),
                          decoration: new InputDecoration(
                              hintText: LocaleKeys.login_yourPassword.locale,
                              hintStyle: TextStyle(
                                  fontSize: 11.sp,
                                  fontFamily: AppConfigs.fontFamilyQuicksand,
                                  fontWeight: FontWeight.w500),
                              enabledBorder: UnderlineInputBorder(
                                borderSide:
                                    BorderSide(color: Color(0xff7D1FAF)),
                              ),
                              focusedBorder: UnderlineInputBorder(
                                borderSide:
                                    BorderSide(color: Color(0xff7D1FAF)),
                              ),
                              suffixIcon: IconButton(
                                  color: Color(0xff7D1FAF),
                                  onPressed: () {
                                    state.showPw.value = !state.showPw.value;
                                  },
                                  icon: Icon(state.showPw.value
                                      ? Icons.visibility
                                      : Icons.visibility_off))),
                        )),**
                    SizedBox(
                      height: 2.h,
                    ),
                    Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      children: [
                        Row(
                          children: [
                            Obx(
                              () => Checkbox(
                                visualDensity:
                                    VisualDensity(horizontal: -2, vertical: -4),
                                materialTapTargetSize:
                                    MaterialTapTargetSize.shrinkWrap,
                                activeColor: Color(0xff7D1FAF),
                                checkColor: Colors.white,
                                value: state.isRemember.value,
                                onChanged: (value) {
                                  state.isRemember.value = value!;
                                },
                              ),
                            ),
                            LocaleText(
                              text: LocaleKeys.login_rememberMe,
                              style: TextStyle(
                                fontFamily: AppConfigs.fontFamilyQuicksand,
                              ),
                            ),
                          ],
                        ),
                        Bounceable(
                          onTap: () => Get.toNamed(RouteConfig.forgotpassword),
                          child: LocaleText(
                              text: LocaleKeys.login_forgotMyPassword,
                              style: TextStyle(
                                  color: Color(0xff7D1FAF),
                                  fontSize: 11.sp,
                                  fontFamily: AppConfigs.fontFamilyQuicksand,
                                  fontWeight: FontWeight.w500)),
                        )
                      ],
                    ),
                    SizedBox(
                      height: 3.h,
                    ),
                    _buildLoginButton(),
                    SizedBox(
                      height: 2.h,
                    ),
                    GestureDetector(
                      onTap: () => Get.toNamed(RouteConfig.register),
                      child: LocaleText(
                        text: LocaleKeys.login_DontYouHaveAnAccount,
                        style: TextStyle(
                            color: Color(0xff190F8F),
                            fontSize: 11.sp,
                            fontFamily: AppConfigs.fontFamilyQuicksand),
                      ),
                    ),
                    SizedBox(
                      height: 2.h,
                    ),
                    _buildSignUpButton(),
                    SizedBox(
                      height: 4.h,
                    ),
                  ],
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }

  Widget _buildLoginButton() {
    return Obx(() {
      return GestureDetector(
        onTap: () => logic.login(),
        child: Container(
          width: double.infinity,
          height: 7.h,
          alignment: Alignment.center,
          child: state.signInStatus.value == LoadStatus.loading
              ? AppCircularProgressIndicator(
                  color: Colors.white,
                )
              : LocaleText(
                  text: LocaleKeys.login_loginBig,
                  style: TextStyle(
                      fontSize: 18,
                      color: Colors.white,
                      fontFamily: AppConfigs.fontFamilyQuicksand,
                      fontWeight: FontWeight.w700),
                ),
          decoration: BoxDecoration(
            borderRadius: BorderRadius.circular(20),
            gradient: LinearGradient(
              begin: Alignment.centerLeft,
              end: Alignment.centerRight,
              colors: <Color>[Color(0xffFF6FD8), Color(0xff3813C2)],
            ),
          ),
        ),
      );
    });
  }

  Widget _buildSignUpButton() {
    return GestureDetector(
      onTap: () {
        logic.facebookEventsService.pushEvent(
            name: AppEventsConstants.EVENT_NAME_CLICK_REGISTER_BUTTON);
        Get.toNamed(RouteConfig.register);
      },
      child: Container(
        width: double.infinity,
        height: 7.h,
        alignment: Alignment.center,
        child: LocaleText(
          text: LocaleKeys.login_registerForFreeBig,
          style: TextStyle(
              fontSize: 18,
              color: Colors.white,
              fontFamily: AppConfigs.fontFamilyQuicksand,
              fontWeight: FontWeight.w700),
        ),
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(20),
          gradient: LinearGradient(
            begin: Alignment.centerLeft,
            end: Alignment.centerRight,
            colors: <Color>[Color(0xffFF6FD8), Color(0xffEB7F02)],
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.5.2 22G91 darwin-arm64, locale en-TR)
    • Flutter version 3.10.5 on channel stable at /Users/huseyinulasarslan/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (8 months ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huseyinulasarslan/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (3 available)
    • iPhone SE (3rd generation) (mobile) • 65FCC59B-531A-4F74-B536-F6EB31B99DC5 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                     • macos                                • darwin-arm64   • macOS
      13.5.2 22G91 darwin-arm64
    • Chrome (web)                        • chrome                               • web-javascript • Google
      Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@Arslan-code
The code sample you provided is not minimal and contains third party implementation. In order to properly address the issue, please provide complete minimal reproducible code sample without third party implementation that triggers the reported exception.
Also, you are on older version of stable. You may try to upgrade to latest stable and re-run your scenario to check if the exception still persists or not.


[doc/keras] incorrect comment in __init__ of tf.keras.layers.AveragePooling1D

Doc Link: https://www.tensorflow.org/api_docs/python/tf/keras/layers/AveragePooling1D#arguments

Describe the documentation issue
See the comment below
pool_size: Integer, size of the **max** pooling windows.

It should be average instead of max since this is average pooling.
Furthermore, the format of the description for input shape and output shape is broken.
It is not rendered in a list format.

Closed via 31be1b7 / #27779


added new test_veth_nic_rx for RHEL-14286

LGTM, thanks. It works well on AliCloud.

LGTM, thanks. It works well on AliCloud.

Thanks for your ack+ @yoguo , going to merge it as the case works on ali and aws.


Where should i put my custom facts

Where (which directory) should i put my custom facts. I am using r10k for deployment.

Hi @shishirsharma - this isn't really the right place to ask for support, since this is for bugs, feature requests, etc.
That said, custom facts can be stored in the lib directory of any module.
If the facts are not related to one specific module, I often put them in the lib directory of a module called custom.
If the facts are related to one specific module, e.g. you wrote a mysql module and wrote some facts to collect information about mysql, then put them in the lib directory of that module.
If they are related to a module, but that module is a Forge module, then use the custom module as I mentioned, since putting them directly into the Forge module would be essentially forking the module.
Hope that helps! If you have other questions, check out #puppet on Freenode or puppetcommunity.slack.com!


Fix regrid.pl -wemin and -wemout options

The -wemin and -wemout options for regrid.pl need to be fixed so that they can accept integer values.

This has been done. Closing!


Update WGPU, +Support reactive backend mode.

Please update egui_wgpu_backend to 0.13 (had to yank 0.12.1) and make a comment about the polling mode that you implemented. 95% of the crate users will not use the polling mode, since they will use egui inside their game engine which will redraw the scene anyhow.
Maybe a comment like:
// We return the control to the winit control loop and wait for the next events.
// If you are using egui in a game loop, you will most likely not want to wait and
// draw the next frame right away (by setting the ).

thanks @hasenbanck , updated. now reactive mode just optional.


Black Frames At Beginning Of Each Recording

Steps to Reproduce
Run the Example app (very nice btw) from the package on iOS
Describe how to reproduce the error
Simply press record and when it plays back the recording, you will see the first split second is recorded black.
Expected results
Should just capture video so that when you playback, there is no black frames in the beginning.
What it should be
Clean video with no black frames in the captured video
Actual results
Beginning of video it's black and quickly fades into the actual recording
What you see
Black frames for about 300 milliseconds
About your device

Brand
Model
OS

Apple
iPhone 12
13.6.1-14.4

Hello thanks for reporting the issue, are you running the example in debug mode ? There is (normally) no issue when running in --release mode or directly launched from Xcode.
Have a nice day,
Thanks

Same issue in official camera package :  https://github.com/flutter/flutter/issues/57831
I find some solutions in stackoverflow: record-video-with-avassetwriter-first-frames-are-black
Maybe you can try.

This should be fixed with the reworked version #150


Miflora

Description: Support for Mi Flora plant sensor
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): not yet done
Example entry for configuration.yaml (if applicable):
sensor
  platform: miflora
  mac: xx:xx:xx:xx:xx:xx
  name: Flower 1
  force_update: false
  monitored_conditions:
   - moisture
   - light
   - temperature
   - conductivity

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

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

If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[x] New dependencies are only imported inside functions that use them ([example][ex-import]).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

Would it be possible to support several sensors?

Yes, you can just define multiple sensors in the configuration.

Have you tested with multiple sensors?

I only have a single sensor here (waiting for more to be delivered), but I don't see any reason why it shouldn't work with multiple sensors.

You will need to add unit test or add the files to .coveragerc - tests are much preferred.

Unrelated - I wish I knew about these a few months ago when I started my indoor garden. Maybe next go round :-)

Units tests can't be implemented here as this would not only require a Linux system with a Bluetooth stack but also a working sensor. Both isn't available on the test system.

Then you need to add the files to .coveragerc
On Aug 30, 2016 10:38 PM, "Open Home Automation"<EMAIL_ADDRESS>wrote:

Units tests can't be implemented here as this would not only require a
Linux system with a Bluetooth stack but also a working sensor. Both isn't
available on the test system.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/3053#issuecomment-243656362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC2fZf3VR_Ei4UJ5x1DupmC65T2UVQyCks5qlQU9gaJpZM4JwJvn
.

On Tue, Aug 30, 2016 at 10:49 PM, Open Home Automation <
<EMAIL_ADDRESS>wrote:

The sensor file is already added to .coveragerc
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/3053#issuecomment-243657534,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC2fZYPuA-KMZnX-ZWXsseBKRy-U-Glkks5qlQfSgaJpZM4JwJvn
.

So the only real issue is the mixing of quotes.

Is this ready to merge now?

@Danielhiversen From my point of view it is ready to merge.

Looks good! :dolphin:

@open-homeautomation could you add the website docs for this, please?

Yes, I will work on this.

https://github.com/home-assistant/home-assistant.github.io/pull/960


v4: warning when installed with yarn

We've just upgraded to<EMAIL_ADDRESS>and yarn started giving: warning Workspaces can only be enabled in private projects.
Looking into the package.json of the new release, it is marked like a monorepo:
{
...
  "workspaces": [
    "demo"
  ],
...
}

eh leaning towards wontfix

I'd hate to fork the package just to get the warning fixed, but it is used in a project with over 2000 dependencies and is the only warning during yarn. :worried: Can I assist?

❤


Replace logging framework to async log4j2 to improve performance

https://www.loggly.com/blog/benchmarking-java-logging-frameworks/

Done.


[DnsResolver] Customize the list methods under vnet and prepare release

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

/azp run net - dnsresolver - mgmt

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.DnsResolver


Trashed documentation should be hidden if it is not supported or soft-deleted is disabled

trashed documentation should be shown only if

trashed QueryFeature is enabled
The model has soft-delete support

It is already supported.
https://github.com/axe-api/api-docs/blob/master/src/components/GetDocs/QueryString/index.tsx#L51


Allow changing the bootstrap download folder from /tmp

Fixes: https://mesosphere.atlassian.net/browse/DCOS-6484 ('/tmp' is sometimes too small to contain the bootstrap tarball by allowing people to use a custom folder.

:ship:  in next train


chore(codeowners): add Marcelo

Summary

add Marcelo as CODEOWNER

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New version: Treexy.OmnifyHotspot version <IP_ADDRESS>

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

Automatic Validation ended with:

No errors to post.

(Automated response - build 886.)


Mag calibration fails over WiFi connection

This is using a PixRacer over WiFi. Important messages which trigger the QGC state machine to move to the next step get lost, which then causes QGC to get confused. The one which I have noticed is the "side done" message, although I'd assume others could get lost as well. For QGC it's important that it receives the start/done/fail and orientation detected/side done messages. If some of these are missed the ui state machine doesn't work. It seems to be caused by progress messages being output at too high a rate. If I comment out the progress updates mag cal will suceed. Leave them it, and I have 100% failure rate.

#4164 should fix the issue. @DonLakeFlyer can you please cross test with your Pixracer? I don't have one available with wifi.

Question to you both. This bug has been reported 4 days ago but the issue is only one day old.
Shall we do a issue immediately or first post it on the forum?
http://discuss.px4.io/t/v1-3-0-beta-testing/283/9?u=sn0west
What about the other issues in this post?

FYI: it still dosn't work with the latest master over wifi.

Merged to master only now, so closing as cross-tests were successful.

It still dosen't work with wifi. I did a terminal LOG, where shall I upload this file?
160406_Compass_Calibration_Problem_LOG_1.txt
I try to describe what happend. Starting Calibrating the compass over wifi all boxes are red, the first one get yellow, I turn around with my copter, the connection is lost for some seconds, then it comes back I turn the copter on a other side the I get two yellow boxes and the I can finish the calibration.

It's still missing messages.

@DonLakeFlyer that's only for Pixracer on Wifi but not for anything else, correct?

I can repro with PixRacer on WiFi. Not sure if it's just a WiFi problem of the PixRacer has anything to do with it. USB seems to be ok.

We're digging into it on the QGC side now to see if we are losing UDP packets.


iOS simulator arm64 build

I can use the lib on m1 mac's iOS simulator due to linker error:
ld: in /.../libpdfium.a(fpdf_view.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

Hi,
You can or you can't?
You need compile for arm64 simulator?
Thanks.

I ran into the same issue. I believe he's saying he needs to be able to build for the arm simulator, which is needed for developing on an M1 mac. I have the same need. You can't just use the arm device build on the simulator, because they aren't the same.
I've actually added support for this to your scripts, if you wouldn't mind me submitting a pull request. (I'm planning on doing this today.)
So, because you can build for arm64 for device, and arm64 for simulator, you can't just lipo the simulator and device builds together anymore into one universal binary. Instead, what Apple recommends is that you lipo all of the simulator architectures (x86-64 and arm64) together into one library, the device architectures (arm and arm64) into a second library, and then you can combine these two into what's called an xcframework.
I've modified the scripts to produce the following 4 binaries (for my purposes, where I'm ultimately building an xcframework):
libpdfium_arm-device.a
libpdfium_arm64-device.a
libpdfium_arm64-simulator.a
libpdfium_x64-simulator.a
And then it lipos the two device builds together, and the two simulator builds together, to produce the following two universal libs:
libpdfium-device.a
libpdfium-simulator.a
These can be combined into an xcframework by doing the following command, which I could add to my pull request if it is helpful (this is just an example):
xcodebuild -create-xcframework -library ./lib/libpdfium-simulator.a -headers ./include -library ./lib/libpdfium-device.a -headers ./include -output "pdfium.xcframework"
Right now I'm just doing the xcframework step in my own build script, which calls your script and then works with the output.

Actually, it looks like I can't submit pull requests to this project because I can't push a branch.
Anyhow, I've got the changes required to do this on my local machine. If they are helpful to you, I'd be glad to send you the updated files - I just had to modify ios.py and config.py to get this working.

Hi, nice. This is a great thing. The better way is really create a xcframework, because it will solve these kind of problems. You can upload the python files here if you want. Thanks.

Sounds good. See the attached .zip. I modified 2 files - ios.py and config.py.
They both go in modules.
If you look at the diffs from what's in master, it should be pretty straightforward how it works. I tried to match your coding style the best I could, but feel free to tweak it however you want.
ArmSimulator-XCFramework.zip

Actually- I just realized I kind of messed up the xcframework build step.
Those libraries should really have the same name. The way they are now, the -device and -simulator ends up inside the xcframework. The framework still technically works but the naming just isn't quite following the usual convention.
When I ported things from my build script to yours I changed things slightly. I was sort of expecting Xcode to rename those lib files but it didn't. I'm going to give you an updated set of scripts here, tomorrow; it's the end of the day for me.

Ok now it matches what it was doing when the xcframework step was in my script. One very small change - it keeps the name "libpdfium.a" the same in both paths and uses the paths within the xcframework to distinguish the files.
ArmSimulator-XCFramework-2.zip

Hi,
Im removing armv7. Anyone still use it?
Thanks.

I don't use it. In fact, I tweaked my local config to remove it as well.

Hi,
All problems was fixed in new release.
You can check here:
https://github.com/paulocoutinhox/pdfium-lib/releases/tag/5407
The demo is here:
https://pdfviewer.github.io/
Feel free to donate to help project development.
Thanks.

It works! Thanks!

Hi @bthomale
It work for you in device?

Actually, let me test that.
It works on the arm64 simulator, at least.

Hmmmmm. It failed on my iPhone Xs. Here's the part of the stack trace where it goes into pdfium. This is in FPDF_InitLibrary();
#0	0x00000001117e8748 in partition_alloc::internal::logging::RawLog(int, char const*) ()
#1	0x00000001117e85cc in partition_alloc::internal::logging::LogMessage::~LogMessage() ()
#2	0x00000001117e8764 in partition_alloc::internal::logging::LogMessage::~LogMessage() ()
#3	0x00000001117e80a4 in partition_alloc::internal::logging::CheckError::~CheckError() ()
#4	0x00000001117e7d08 in partition_alloc::internal::(anonymous namespace)::HandlePoolAllocFailure() ()
#5	0x00000001117e7bf8 in partition_alloc::internal::PartitionAddressSpace::Init() ()
#6	0x00000001117eaf60 in partition_alloc::PartitionRoot::Init(partition_alloc::PartitionOptions) ()
#7	0x00000001117e7d48 in partition_alloc::internal::PartitionAllocator::init(partition_alloc::PartitionOptions) ()
#8	0x0000000111733bb0 in FX_InitializeMemoryAllocators() ()
#9	0x00000001117b35e8 in FPDF_InitLibraryWithConfig ()
#10	0x0000000111603e1c in vst::PDFDocRender::PDFDocRender(OReadStream*) at /Users/bthomale/git/shared/PDFPictureBooks/2.0/src/pdfium/PDFDocRender.cpp:49
Here's the last thing it logged to the debug console:
[FATAL:partition_address_space.cc(99)] Check failed: false.

Yes, i already fix it. Im fixing modularize wasm to release all together.

I saw the update. (I checked 7 seconds after it went live! 👍 ) It's working much better now. Thanks.


Inquiry about Library Versions used in PINN and Thermography Processing Project

I hope this message finds you well. My name is Joey, and I recently came across your fascinating project on GitHub titled "PINN and Thermography Processing" (link: https://github.com/dalenhsiao/PINN-and-thermography-processing). First, I want to congratulate you on your work; it's impressive and incredibly relevant to my current research interests.
As I am considering utilizing your code for my project, I would like to ensure compatibility with my current setup. Could you kindly provide the specific versions of TensorFlow, NumPy, and any other critical libraries that your project depends on? Knowing the exact versions would help me avoid potential compatibility issues and ensure a smooth implementation process.
Additionally, if there are any other setup instructions or dependencies that I should be aware of, I would greatly appreciate your guidance.
Thank you very much for your time and assistance.

Hi Joey,
thanks for reaching out and for your recognition. The project was built on an older version of TensorFlow, 1.15, as I recall. Regarding the NumPy version, since this project was developed some time ago, you may want to try older versions of NumPy that are compatible with TensorFlow 1.15. Feel free to reach out again if you have any follow-up questions.


Fix install instruction for multi-config generators

Minor change that makes the instructions generate release binaries on multi-config CMake generators (e.g. Visual Studio). Alternative: remove build type entirely and let the user figure out what they want.

can be very helpful


Roll engine 0d83a2ecd1bb..f64ee01e185d (13 commits)

https://github.com/flutter/engine/compare/0d83a2ecd1bb...f64ee01e185d
git log 0d83a2ecd1bb78f8e1f0ed9719ff3751cdfdd064..f64ee01e185d4e1f9a1c6569c64466333def6980 --no-merges --oneline
f64ee01e1 Roll src/third_party/skia d2ca31218bc4..45d5f702133e (11 commits) (flutter/engine#8315)
f521df383 Fixed service isolate not being initialized correctly due to bad name (flutter/engine#8251)
80b825ce8 Roll src/third_party/dart 093c2909fe..f3fd1943fc (13 commits) (flutter/engine#8310)
7e77d5c48 Revert "Allow specification of std::functions as native entrypoints from Dart code. (#8309)" (flutter/engine#8312)
400a86a62 Allow specification of std::functions as native entrypoints from Dart code. (flutter/engine#8309)
51f23fedf [vulkan] Add FUCHSIA external sem/mem extensions
78de8dcb4 Enable lambda like native callbacks in tests and add support for custom entrypoints. (flutter/engine#8299)
2812c7db4 Roll src/third_party/skia 62fd6c411622..d2ca31218bc4 (9 commits) (flutter/engine#8307)
95f9134e9 Roll src/third_party/skia d90004516a63..62fd6c411622 (4 commits) (flutter/engine#8306)
358273bd2 Roll src/third_party/skia 33211b2c7a02..d90004516a63 (1 commits) (flutter/engine#8305)
2804057bf Roll src/third_party/skia 80dd599e91d0..33211b2c7a02 (1 commits) (flutter/engine#8303)
a673bbf6f Roll src/third_party/skia c5ee499f2c59..80dd599e91d0 (5 commits) (flutter/engine#8301)
d88037dc0 Roll src/third_party/dart fa74184b7a..093c2909fe (71 commits)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/4752450782232576

Commit queue failed; closing this roll.


Log warnings issued by the warnings module

The docker module uses the warnings module for deprecation messages. Make sure these get logged.

LGTM, merging


Missing titles for properties and enums in Service Plans' JSON schema

Description
In some JSON schemas for Service Plans, there are properties without title property. Also, in enums there are no labels for values, which can be achieved in JSON schema with oneOf.
Reasons
The title property is widely used by JSON schema form rendering libraries as a field label. The suggested change, as well as introducing friendly, human-readable labels for enums, will greatly improve usability on UI.
It's very similar to issue #519.
Examples

Missing title in alias property for Azure Database for MySQL 5.7-- DBMS Only plans
Missing title for parentAlias property:

Missing enum value titles for "Backup redundancy" enum:

Expected result
This is how the form based on JSON schema renders when all titles have title specified (as an example: Azure SQL Database 12.0 plans):

@jldeen please take a look at this. Thank you!

Hi @pkosiec , thanks for raising that. The first and the second item will be fixed soon. For the third item 'Missing enum value titles for "Backup redundancy" enum', enum is a json array in OSBA's implementation, each element in this array must be a string, and can't be an object, so a title can't be added to the enum value.

Hi @norshtein,
Thank you for very fast reaction and your PR! I hope that all titles for all fields are covered now 🙂
When it comes to the labels for enum values: yes, it would result in slightly changing the implementation. But not much - user would still provide the same instanceCreateParameterSchema. The definition of the JSON schema for Service Plans would change in the following way:
So, instead of having this specification:
{
    "title": "Before",
    "type": "object",
    "required": [
      "firstName",
      "lastName"
    ],
    "properties": {
        "backupRedundancy": {
            "default": "local",
            "description": "Specifies the backup redundancy",
            "enum": ["local", "geo"],
            "title": "Backup redundancy",
            "type": "string"
          }
    }
}

We could have:
{
    "title": "After",
    "type": "object",
    "properties": {
      "backupRedundancy": {
        "default": "geo",
        "description": "Specifies the backup redundancy",
        "oneOf": [
          {
            "enum": ["local"],
            "title": "Local Label"
          },
          {
            "enum": ["geo"],
            "title": "Geo Label"
          }
        ],
        "title": "Backup redundancy",
        "type": "string"
      }
    }
  }

So I guess internal types and the implementation of converting provided schema would change and that's all.

Hi @pkosiec, is the behavior defined by any standard? It will make us in a dilemma if every organization proposes a different implementation... Or you may generate a label at frontend layer for every element in enum array.

Hello @norshtein,
This is 100% valid JSON schema. And this is currently the only way how to define labels for enum values - see https://github.com/json-schema-org/json-schema-spec/issues/57.
I've checked quickly front-end libraries and I tested front-end libraries for Angular & React, which support oneOf rendering as enum with nice labels:
https://github.com/hamzahamidi/angular6-json-schema-form
https://github.com/mozilla-services/react-jsonschema-form
Generating labels on front-end side is not a best option, as for example converting geo to Geo still doesn't say much to the UI user.

What do you mean by another case of enum? The #655 issue is about converting string property to enum one. I didn't want to put two ideas in one issue, so I gave there (in #655) an example how the enum would look like after conversion right now - to be 100% consistent with others enums you already have.
But, here, in this issue, the idea is to replace every enum with anyOf, as in the example given above. So yes, the locationenum would be replaced withanyOf` as well and there would be no inconsistency.

It makes sense to me. Reopening the issue.
But we have to work on some other very high priority items now. So it might not be addressed in short time :(. And of course if you have interest in it, your contribution would be super appreciated!


docker-options:add from remote set first argument only

I expected to set -v /example but -v only when docker-options:add via ssh.
% ssh dokku docker-options:add node-js-app build,deploy,run "-v /example"
Connection to <IP_ADDRESS> closed.
% ssh dokku docker-options node-js-app
Build options:
    -v
Deploy options:
    -v
Run options:
    -v
Connection to <IP_ADDRESS> closed.

Running docker-options:add on dokku host is expected behavior.
vagrant@dokku:~$ sudo dokku docker-options:add node-js-app build,deploy,run "-v /example"
vagrant@dokku:~$ sudo dokku docker-options node-js-app
Build options:
    -v /example
Deploy options:
    -v /example
Run options:
    -v /example

Should be fixed by #1145

Hi @michaelshobbs Your fix is not enough apparently, I still have issues, see
https://github.com/progrium/dokku/issues/1187


Crashes with basic usage

Hi, trying to use this module but I  have some issues. Could you help? Thank you.
I have a .tf file with this content:
module "argocd" {
  source  = "aigisuk/argocd/kubernetes"
  version = "0.2.6"
}

trying to terraform apply crashes with this:
module.argocd.helm_release.argocd: Creating...
╷
│ Error: template: argo-cd/templates/NOTES.txt:31:7: executing "argo-cd/templates/NOTES.txt" at <has "--insecure" .Values.server.extraArgs>: error calling has: Cannot find has on type string
│
│   with module.argocd.helm_release.argocd,
│   on .terraform/modules/argocd/chart.tf line 2, in resource "helm_release" "argocd":
│    2: resource "helm_release" "argocd" {

I am on:
Terraform v1.4.0
on linux_amd64
+ provider registry.terraform.io/hashicorp/google v4.57.0
+ provider registry.terraform.io/hashicorp/google-beta v4.57.0
+ provider registry.terraform.io/hashicorp/helm v2.9.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.18.1
+ provider registry.terraform.io/hashicorp/random v3.4.3

Your version of Terraform is out of date! The latest version
is 1.4.2. You can update by downloading from https://www.terraform.io/downloads.html

@octavz Thanks for this. 👍
server.extraArgs."--insecure" has been deprecated. I've updated the module to use the configs.params.server.insecure value instead. Please try release 0.2.7

Fixed in release 0.2.7


No MSI for Postgres Downloads

[Enter feedback here]
Your installation instructions say to find an MSI file to install the plugin from this page.  https://github.com/npgsql/Npgsql/releases
However, none of the installation downloads there contain an MSI file.  How do I install this?

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

ID: 82f05c74-8262-6610-bd9e-efe4f112bbe1
Version Independent ID: 09570cd3-3a8b-18c6-da4c-46beada3a387
Content: Power Query PostgreSQL connector - Power Query
Content Source: powerquery-docs/connectors/postgresql.md
Service: powerquery
GitHub Login: @bezhan-msft
Microsoft Alias: bezhan

Hi @fritz3000g
Go to the NpgSQL provider release page (the link in the article), search for v4.0.10, and download and run the .msi file.

Hi @fritz3000g
Thanks for the feedback! The PostgreSQL article has been updated with the relevant information about finding the NpgSQL provider v4.0.10.


Can you share examples where this was needded and/or applied?

I'm working on a runtime that could support __esModule out of the box or keep the node.js behavior. Trying to figure out which one is more likely to cause trouble.
Can you share examples of npm packages that need/use node-cjs-interop?
Maybe add a short case study to the readme too?

I'm not sure if you are still working on it, but here are some examples I know of: qhistory, react-textarea-autosize, redux-thunk, and styled-components.


Error 422: ReleaseAsset already exists

When uploading release assets the upload fails with some error that the error already exists. GitHub release is created by, the executable artifact is not uploaded.
Config
{
    "npm": {
        "publish": false
    },
    "github": {
        "release": true,
        "assets": "dist/*.exe"
    },
    "buildCommand": "npm run pkg & rm dist/*.exe & mv index.exe dist/kola-launcher-${version}.exe"
}

Output
Filip@Filip-PC MINGW64 ~/Desktop/KOLA_Updater/kola-launcher (master)
$ node ./node_modules/release-it/bin/release-it.js minor
* update artifact name (1d02dc8)
? Ready to release 1.2.0? Yes
><EMAIL_ADDRESS>pkg C:\Users\Filip\Desktop\KOLA_Updater\kola-launcher
> pkg index.js --targets  node8-win-x64
><EMAIL_ADDRESS>? Show staged files? Yes
M  package.json
? Commit (Release 1.2.0)? Yes
? Tag (1.2.0)? Yes
? Push? Yes
? Create a release on GitHub (Release 1.2.0)? Yes
DEPRECATED: protocol option is no longer supported
DEPRECATED: host option is no longer supported
DEPRECATED: pathPrefix option is no longer supported
ERROR 422 undefined ({"message":"Validation Failed","request_id":"E0CD:4C72:4896
F8:4C6EDD:5AD391D1","documentation_url":"https://developer.github.com/v3","error
s":[{"resource":"ReleaseAsset","code":"already_exists","field":"name"}]})

Example:
https://github.com/tkhduracell/node_kola-launcher/releases/tag/1.2.0

I'll give it another round then. I'll get back!
On Mon, Apr 16, 2018, 22:19 Lars Kappert<EMAIL_ADDRESS>wrote:

Hi @tkhduracell https://github.com/tkhduracell, do you see this
consistently across releases? Unfortunately, I can't reproduce it here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/webpro/release-it/issues/284#issuecomment-381735944,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA9fn2wNtr-6oErZ6pZd1hHKbR07BP3aks5tpPzrgaJpZM4TVk8y
.

I'm also experiencing this issue. Run it again with DEBUG=octokit:rest*. It looks as if the assets are being uploaded twice.

Looks like the issue occurs with a .exe file, but not with a .txt file. Maybe file size matters? I blame the octokit package for now. I'll dig deeper if I have some time in the next days.

@webpro
The issue I was experiencing was due to the hardcoded 10 second timeout value when calling the octokit method. I suspect that Github won't allow assets to be uploaded if the name matches even a failed upload, so subsequent retries will cause an error due to the asset already existing. I've created a pull request that adds the timeout to the config: https://github.com/webpro/release-it/pull/291


update droplets

Production OS has 60 pending updates and needs a restart. Check the others, too.
Estimate: 1 day

testing

[ ] upgrade
[ ] reboot

staging

[ ] upgrade
[ ] reboot

production

[ ] upgrade
[ ] reboot


Authorize GitHub calls

Unauthorized API calls has very small call per hour limit:

Unauthenticated requests will be limited to 60 per hour ... To enjoy the default rate limit of 5,000 requests per hour, you’ll need to authenticate via Basic Auth or OAuth

It is very annoying when you has GitHub dependencies

As workaround I would like to be able to create paket.exe.config and specify my GitHub username and password. This should allow me work without limits and delays.
@forki Your thoughts about this?

Related: https://github.com/fsprojects/Paket/issues/510

I'd prefer to use a GitHub API key instead of my username and password.

Just been looking at this, we would like to use a token to retrieve files from private repos. The possibilities seem to be:
Adding the token to the top of the dependencies file:
source https://github.com/forki/FsUnit token
Adding it in line:
github forki/FsUnit FsUnit.fs token
Or adding it to the paket.config
Any thoughts/guidance?

I guess the config would be most helpful.

For bonus points, once we have the concept of github tokens we could use the github releases api in the bootstrapper instead of HTML parsing, if the token was present.

I don't think that's needed. Would just introduce more stuff to the
bootstrapper
On Oct 2, 2015 14:39, "Chester Husk III"<EMAIL_ADDRESS>wrote:

For bonus points, once we have the concept of github tokens we could use
the github releases api in the bootstrapper instead of HTML parsing, if the
token was present.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/509#issuecomment-145006762.

released in 2.9


Check results silently dropped when the transport is down

No logging feedback (or any kind of feedback) is provided by the client socket interface (client/socket.rb) when a check is sent (e.g echo '{check data} | nc localhost 3030') and the transport is down (e.g reconnecting). The sensu client will reply with 'ok', so there's not even a chance we can retry later or even log on our side that something went wrong.
See also PR sensu/sensu#1352 as a use case where this issue prevents replying with a negative response to the HTTP request.

Created PR #33 which fixes this issue

Merged https://github.com/sensu/sensu-transport/pull/33


Fix windows test.

@karthikravis

Fixing this differently in another PR.

Fixing this differently in another PR.


CodeMirror: Indentation not working on String

I would like to apply indentation while writing my code in text area, for this I have this renderLine event like this.
                    `setTimeout(function(test) {
            var editor = CodeMirror.fromTextArea(document.getElementById('javaBody'), {
                lineNumbers: true,
                matchBrackets: true,
                styleActiveLine: true,
                extraKeys: {
                    ".": function(editor) {
                        setTimeout(function() {
                            editor.execCommand("autocomplete");
                        }, 100);
                        throw CodeMirror.Pass; // tell CodeMirror we didn't handle the key
                    }
                },
                gutters: ["CodeMirror-lint-markers"],
                lint: true,
                mode: "text/x-java"
            });
            editor.markClean();
            editor.on("keyup", function(cm, event) {
                var keyCode = event.keyCode || event.which;
                if (!ExcludedIntelliSenseTriggerKeys[(event.keyCode || event.which).toString()]) {
                    if (timeout) clearTimeout(timeout);
                    timeout = setTimeout(function() {
                        editor.showHint({
                            hint: CodeMirror.hint.auto,
                            completeSingle: false
                        });
                    }, 150);
                }
            });
            var charWidth = editor.defaultCharWidth(),
                basePadding = 4;
            editor.on("renderLine", function(cm, line, elt) {
                var off = CodeMirror.countColumn(line.text, null, cm.getOption("tabSize")) * charWidth;
                elt.style.textIndent = "-" + off + "px";
                elt.style.paddingLeft = (basePadding + off) + "px";
            });
            editor.refresh();
            globalEditor1 = $('.CodeMirror')[0].CodeMirror;
            if (localStorage && localStorage.getItem('javaEditorTheme')) {
                globalEditor1.setOption("theme", localStorage.getItem('javaEditorTheme'));
            }
            //globalEditor1.(localStorage.getItem('javaEditorTheme'));
        }), 2000`

I have even applied autoindentation while saving like below:
editor.indentSelection("smart");
But still it does not correct String parameters:
For example :
`  public static String getAnimalNameById(Integer x){
Http h = new Http();
HttpRequest req = new HttpRequest();
req.setEndpoint("https://th-apex-http-callout.herokuapp.com/animals/ad as dnaskd nlas fnasklnflaksn falsk fna;ksnflajsbfnaksn flasn fkasnf ansfkansfans f.ans .fnas. fnas fnas fnasnf asnf asnfa jsbfaks bfkasb fkasbf kasbfk absfba sf" + x);
req.setMethod("GET");

}`
In the above code it will indent the code but wont try to split setEndPoint the string in two lines with '+' sign.
Is there a way to implement this?

Is there a way to implement this?

Not inside CodeMirror, but you might be able to find a code formatting tool that you can run on a string, and then put the formatted string back into the editor.

@marijnh
But how to detect inside codemirror that the sentence is a String? So that I can pull that out and pass it through my code while running indentation from CodeMirror?

You could maybe use getTokenAt.


Getting Empty URL

Report URL:
Traceback (most recent call last):
File "/home/ib-developer/Desktop/Roopa/Data_Analytics_utils/MOSS/moss.py-1.0.8/moss_usage.py", line 20, in
m.saveWebPage(url, "MOSS/moss.py-1.0.8/submission/report.html")
File "/home/ib-developer/Desktop/Roopa/Data_Analytics_utils/MOSS/moss.py-1.0.8/mosspy/moss.py", line 144, in saveWebPage
raise Exception("Empty url supplied")
Exception: Empty url supplied
I used this code
import mosspy

userid = 987654321

m = mosspy.Moss(userid, "python")

m.addBaseFile("MOSS/moss.py-1.0.8/submission/a01.py")
m.addBaseFile("MOSS/moss.py-1.0.8/submission/test_student.py")

# Submission Files
m.addFile("MOSS/moss.py-1.0.8/submission/a01-sample.py")
m.addFilesByWildcard("MOSS/moss.py-1.0.8/submission/a01-*.py")

url = m.send()

print ("Report URL: " + url)

# Save report file
m.saveWebPage(url, "MOSS/moss.py-1.0.8/submission/report.html")

mosspy.download_report(url, "submission/report/", connections=8, log_level=10) # logging.DEBUG (20 to disable)

Yesterday i  kept mail at 11:28
It has been 8 hours completed
still i did not get any mail from moss
what can i do

I just give it a try and it seems to respond. Kindly verify that the email body is in the text without any formatting eg. bold, italic, and etc.

registeruser
mail<EMAIL_ADDRESS>

Yeah i got email, i run the moss_usage.py with my user id
But i did not get report html
Please Explain what is use of add base file and add file

You will receive the report URL in line 20 of moss_usage.py.  https://github.com/soachishti/moss.py/blob/b82024558ebfe7993ca59740d8df8c2606c04454/moss_usage.py#L20
For understanding concepts refer to the following links;

Comments in this script; http://moss.stanford.edu/general/scripts/mossnet
Moss paper; http://theory.stanford.edu/~aiken/publications/papers/sigmod03.pdf

still issue resolved
``
m = mosspy.Moss(userid, "python")
m.addBaseFile("/home/ib-developer/Desktop/Roopa/Data_Analytics_utils/MOSS/moss.py-1.0.8/submissions/base_code.py", "base_code")
#Submission Files
csv_file_folder_path = "/home/ib-developer/Desktop/Roopa/Data_Analytics_utils/MOSS/moss.py-1.0.8/submissions"
csv_files_list = [
csv_file for csv_file in os.listdir(csv_file_folder_path)
if csv_file.endswith('.py') and csv_file.startswith('user')
]
csv_files_list = sorted(csv_files_list)
for csv_file in csv_files_list:
file_path = csv_file_folder_path+"/"+csv_file
display_name = csv_file.replace('.csv',"")
m.addFile(file_path, display_name)
url = m.send()
print("Report URL: " + url)
Save report file
m.saveWebPage(url, "/home/ib-developer/Desktop/Roopa/Data_Analytics_utils/MOSS/moss.py-1.0.8/submissions/report.html")
mosspy.download_report(url, "submissions/report/", connections=8, log_level=10) # logging.DEBUG (20 to disable)``
iam getting result  like

File 1
File 2
Lines Matched

user4_submission.py (90%)
user5_submission.py (90%)
8

user3_submission.py (90%)
user5_submission.py (90%)
8

user3_submission.py (90%)
user4_submission.py (90%)
8

user2_submission.py (90%)
user5_submission.py (90%)
8

user2_submission.py (90%)
user4_submission.py (90%)
8

user2_submission.py (90%)
user3_submission.py (90%)
8

user1_submission.py (90%)
user5_submission.py (90%)
8

user1_submission.py (90%)
user4_submission.py (90%)
8

user1_submission.py (90%)
user3_submission.py (90%)
8

user1_submission.py (90%)
user2_submission.py (90%)
8

Here what i want is File 1 should be always my base file

What I can see here is you are setting base_code.py as the base file and all user*.py as submission file.
In the report, the result shows that user4_submission.py has a 90% match with user5_submission.py and so on. This all looks fine to me.
Are you looking for an approach to add user1_submission.py as a base file too?

@RupaSiddana Closing this issue. Feel free to open if you are still facing the problem.

Hello @soachishti,
I have been using Moss for some time but for one file I keep getting an empty url.
I cannot find the solution in this thread but I am also getting 'Exception: Empty url supplied' if I use Moss from the script.
And if I use it from the app, I get this pop-up:

@ayanw Thanks for reaching out. It seem like is working fine for you in most cases. Normally this happens due to network issue, bad request or missing user id.
If you are seeing this case consistently for a giving file. Can you share more details (with example file) in a separate issue.

I'm having a problem where "url = m.send(lambda file_path, display_name: print('', end='', flush=True))" returns an empty URL.  I discovered that when I remove a file from the collection of files sent to MOSS, all is well.  I've attached the file
cell-a8c22df1236cd837<EMAIL_ADDRESS>p.s.  this file actually ends with ".source" extension, but github refused to attach a file with that suffix!
If I comment out the following line in this file:
df4 = pd.DataFrame(pca.components_[0:2], columns = feature_names, index=['PC1','PC2'])
then everything works correctly.   I'm not sure why the inclusion of this file causes mosspy to fail.  All works well when submitting directly to moss:
./moss -l python -d /Users/bdr/antiplag/kct-zips/543s21ASSN1TST2000/*.source
any advice?


The SDK 'Microsoft.NET.Sdk' specified could not be found.  .nuget/packages/godot.net.sdk/3.2.3/Sdk/Sdk.props

I'm using Zorin OS with nvidia rtx 2060.
I have installed all MSbuild tools as well mono-devel tools
Godot version:
Godot Engine v3.2.3.stable.mono.official (c) 2007-2020 Juan Linietsky, Ariel Manzur & Godot Contributors.
OS/device including version:
╰─ uname -a                                                    ─╯
Linux zorinos 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

.zshrc file
export PATH=/snap/bin/dotnet:$PATH
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
export SSL_CERT_DIR=/dev/null

╭─    ~ ······························ ✔  at 08:39:59 PM  ─╮
╰─ dotnet --info                                               ─╯
.NET SDK (reflecting any global.json):
 Version:   5.0.103
 Commit:    72dec52dbd

Runtime Environment:
 OS Name:     zorin
 OS Version:  15
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /snap/dotnet-sdk/112/sdk/5.0.103/

Host (useful for support):
  Version: 5.0.3
  Commit:  c636bbdc8a

.NET SDKs installed:
  5.0.103 [/snap/dotnet-sdk/112/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.3 [/snap/dotnet-sdk/112/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.3 [/snap/dotnet-sdk/112/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

mono version
╰─ mono --version                                              ─╯
Mono JIT compiler version <IP_ADDRESS> (tarball Mon Feb 22 17:29:18 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	Interpreter:   yes
	LLVM:          yes(610)
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

Steps to reproduce:
1.
I just created a new project attached a default empty .cs csharp script and ran the build on top left. It builds fine.
But if I click on the open script Icon, which it opens MonoDev IDE I get following error:
Error while trying to load the project '/home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/MapGeneration-Csharp.csproj': Unknown solution item type: {8F3E2DF0-C35C-4265-82FC-BEA011F4A7ED}

Issue 2
If I change editor to vscode and build to dotnet cli, build doesnt work. I get following error:
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found.
https://pastebin.run/cDB3Wj8VCV

as well if I open the script in vscode I get following error:

Project "MapGeneration-Csharp.sln" (Restore target(s)):
	Message: Building solution configuration "Debug|Any CPU".
	Project "MapGeneration-Csharp.csproj" (_IsProjectRestoreSupported target(s)):
	Done building project "MapGeneration-Csharp.csproj".
	NuGetMessageTask: Determining projects to restore...
	Project "MapGeneration-Csharp.csproj" (_GenerateRestoreProjectPathWalk target(s)):
	Done building project "MapGeneration-Csharp.csproj".
	Project "MapGeneration-Csharp.csproj" (_IsProjectRestoreSupported target(s)):
	Done building project "MapGeneration-Csharp.csproj".
	Project "MapGeneration-Csharp.csproj" (_GenerateRestoreGraphProjectEntry target(s)):
	Done building project "MapGeneration-Csharp.csproj".
	Project "MapGeneration-Csharp.csproj" (_GenerateProjectRestoreGraph target(s)):
	Done building project "MapGeneration-Csharp.csproj".
	RestoreTask: Restoring packages for /home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/MapGeneration-Csharp.csproj...
	RestoreTask: Committing restore...
	RestoreTask: Generating MSBuild file /home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/.mono/temp/obj/MapGeneration-Csharp.csproj.nuget.g.props.
	RestoreTask: Writing assets file to disk. Path: /home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/.mono/temp/obj/project.assets.json
	RestoreTask: Restored /home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/MapGeneration-Csharp.csproj (in 81 ms).
	RestoreTask:
	RestoreTask: NuGet Config files used:
	RestoreTask:     /home/ajinkya/.nuget/NuGet/NuGet.Config
	RestoreTask:
	RestoreTask: Feeds used:
	RestoreTask:     https://api.nuget.org/v3/index.json
Done building project "MapGeneration-Csharp.sln".
Project "MapGeneration-Csharp.sln" (Build target(s)):
	Message: Building solution configuration "Debug|Any CPU".
	Project "MapGeneration-Csharp.csproj" (default targets):
		/snap/dotnet-sdk/112/sdk/5.0.103/Microsoft.Common.CurrentVersion.targets(1180,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/MapGeneration-Csharp.csproj]
	Done building project "MapGeneration-Csharp.csproj" -- FAILED.
Done building project "MapGeneration-Csharp.sln" -- FAILED.

just to clear few more doubts:

I can create an empty or new project from Mono IDE, it works, compiles and even gives intellisense.
If I click ok with Mono IDE for the error prompt. I can edit the files and but without any auto correct. Similarly the godot inbuilt editor just gives code coloring, nothing more.
if I open a Godot project with MonoDev or vscode I can edit files (but no auto correct or intellisense, similar to opening it a notepad) and compile inside godot using Msbuild.

So far.
uninstalled snap dotnet sdk
installed dotnet sdk binary manually
https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-5.0.103-linux-x64-binaries
mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-5.0.103-linux-x64.tar.gz -C $HOME/dotnet

export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet

Godot builds fine, but vscode still has same issue:
Failed to load project file '/home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/MapGeneration-Csharp.csproj'.
/home/ajinkya/PROJECTS/Godot/MapGeneration-Csharp/MapGeneration-Csharp.csproj(0,0)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found.  /home/ajinkya/.nuget/packages/godot.net.sdk/3.2.3/Sdk/Sdk.props

Workaround:

install dotnet sdk binary manually

mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-5.0.103-linux-x64.tar.gz -C $HOME/dotnet

export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet

sudo ln -s /home/ajinkya/dotnet/dotnet /usr/local/bin/dotnet <--  IMPORTANT to make .Net Core detect in IDE

Using jetbrains rider IDE works fine, but using trial version. Eventually need to restart IDE every 30minutes.

I had different problem with nuget not working. Turned out Godot or VSCode was creating some .sfl file in project directory. Could you check that?


integrate mirah-parser build into root rakefile

Build all the things togetherish.

Done by https://github.com/mirah/mirah/commit/2698579cf85075f9c8ce7ee8ec5363570b2a3ad2


Should agate and extensions be moved to its own GitHub org?

With extensions growing, it might be easier for new users and developers to have all of agate in its own place. I may not be aware of possible cons though. Thoughts?

Yes! In fact, this I've been noodling on ideas for what to name such an organization. The current plan would be for it to include agate, all the agate extensions built so far, and csvkit. There area couple other small things that may get folded in too, such as ffs.

:+1: sounds great!

Currently leaning towards: https://github.com/wireservice

mojo? https://www.youtube.com/watch?v=nPms9Lmi4LU

I've started moving repos over to the new org. @nbedi and @jpmckinney, this shouldn't interrupt your workflows since things will redirect, but let me know if anything wacky happens. I'm moving them one at a time so I can update links as I go. Once I've got things moved over I'm going to add you gentlemen as collaborators on the org, rather than the individual repos. That way you can fix bugs that span the projects. (This may take me a few days.)

Here is the list of projects yet to be migrated, as of now:

agate
csvkit
agate-dbf
agate-excel
agate-stats
agate-sql
proof
ffs

All projects moved over. Teams created. @nbedi @jpmckinney invited. README's updated. Read the docs updated. Done!


ci: ensure application runs and validate openapi spec

Ensure the application starts and validate the openapi spec.
Jira: https://issues.redhat.com/browse/AAP-20673

The CI should not pass because right now the openapi spec is broken, this is expected and one of reasons to create this PR. But if you agree we can merge with no CI pipeline passing.


✨ feat: add elasticsearch monitor (index and query)

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Adding Elasticsearch monitors to index data and query data
Type of change
Please delete any options that are not relevant.

User interface (UI)
New feature (non-breaking change which adds functionality)
This change requires a documentation update

Checklist

[ ] My code follows the style guidelines of this project
[ ] I ran ESLint and other linters for modified files
[ ] I have performed a self-review of my own code and tested it
[ ] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[ ] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.

Hello, I am trying to restructure the monitor types logic from monitor.js into separated files.
You can copy a boilerplate from this pr:
https://github.com/louislam/uptime-kuma/pull/3178/files

Hello, I am trying to restructure the monitor types logic from monitor.js into separated files.
You can copy a boilerplate from this pr:
https://github.com/louislam/uptime-kuma/pull/3178/files

Hi, I will do it, I also loved the new structure
It would be great if we could get fields on monitor change on frontend from backend instead of using v-if

At present, the solution for ElasticSearch log alerts is ElastAlert, but it requires maintenance of configuration files and is difficult to manage. Therefore, we hope that Uptime Kuma can support this feature.
@louislam May I ask when is the expected release time for this feature?

May I ask when is the expected release time for this feature

As any self-respecting open source project we don't offer esitmates. See #noestimates for a more in-depth discussion.
Currently, there has not been a mergable attempt.
This PR is not in a mergable state (see the diff, this mostly is unrelated changes).
=> This feature will get reviewed in one of the future release milestones once/if this gets done.

@mhkarimi1383 you can drop b8bcb6f13acef9d56fd99485617e9f295ed49d0d from this PR via the following commands (you have disabled maintainer write access)
git revert b8bcb6f13acef9d56fd99485617e9f295ed49d0d
npm i
git add .
git revert --continue

If you are stuck wondering what needs to be done to push this PR over the line, we have recently improved our contribution guide for new monitors:
https://github.com/louislam/uptime-kuma/blob/126d6cd912cbae2602d643916773e1fd064c4567/CONTRIBUTING.md#:~:text=new monitoring types

@CommanderStorm will do that
I have stopped because this project was in refactor state and I thought that monitor type section of project will change

@mhkarimi1383 you can drop b8bcb6f from this PR via the following commands (you have disabled maintainer write access)
git revert b8bcb6f13acef9d56fd99485617e9f295ed49d0d
npm i
git add .
git revert --continue

If you are stuck wondering what needs to be done to push this PR over the line, we have recently improved our contribution guide for new monitors: https://github.com/louislam/uptime-kuma/blob/126d6cd912cbae2602d643916773e1fd064c4567/CONTRIBUTING.md#:~:text=new monitoring types
Is there something that you need help with?

I have done these steps

Also edit is allowed by maintainers

I have stopped because this project was in refactor state and I thought that monitor type section of project will

True.
Since then we have documented this part (how to add new monitors) in our contribution guide https://github.com/louislam/uptime-kuma/blob/19e8c75c3b7fa8e1e9d6675372785dc37a8ef04e/CONTRIBUTING.md#:~:text=new monitoring types
Older monitors still need to be refactored for the most part, but that should not be a merge blocker.

@CommanderStorm
Will do it
Finally, I see devcontainers here :)

@CommanderStorm
Branch updated


Add a Money/UnsafeToMoney cop

Prevents a potentially dangerous use of the Fuzzy parser.
See comment for detail and https://github.com/Shopify/money/issues/250#issuecomment-1345452314 for context

PR to deprecated the legacy behaviour for new apps https://github.com/Shopify/money/pull/267


Custom Directive. Inserted hook. Element moved after inserted hook ended.

Version
2.5.3
Reproduction link
https://jsfiddle.net/jacobgoh101/y1L2v9d4/
Steps to reproduce

Click show button

What is expected?
input#timing should be focused
What is actually happening?
input#timing was focused, but something else cause it to blur immediately

Bug discovered from this Stack Overflow question together with acdcjunior.
from this example https://jsfiddle.net/acdcjunior/srfse9oe/1/ , after clicking on show button, the console log these
beforeUpdate

inserted

a
 <input type="number" id="timing">
b
 <button type="button">show</button>
c

d

updated

nextTick

a

b

c
 <input type="number" id="timing">
d

in inserted hook, input#timing is between
a
 and
b
. But in nextTick callback,  input#timing has been moved to between
c
 and
d
, for no particular reason. This caused the element to blur out.
See more details in this SO answer

Seems related to #4362
The element gets moved more than necessary causing it to blur out, but I wonder if inserted could be called at the end rather than exactly when inserted...
As a valid workaround, you can do Vue.nextTick(() => el.focus()) to focus the element

Vue.nextTick(() => el.focus()) does work. Confirmed.

This is because in your case the same input element was reused, and the inserted hook fired before it was moved.
Technically, the diffing could probably be improved since there no need to really move it, but this cannot be guaranteed in all cases when no keys are provided, so it's safer to always do focus in a nextTick.


Performance

improve performance
Test URLs:

Pre Migration Link: https://adobe.com/express/
Before: https://main--express-milo--adobecom.hlx.page/express/
After: https://performance--express-milo--adobecom.hlx.page/express/

Codecov Report
Attention: Patch coverage is 89.84127% with 32 lines in your changes missing coverage. Please review.

Project coverage is 68.09%. Comparing base (3f6cfc0) to head (c8e0f85).

Files with missing lines
Patch %
Lines

express/code/scripts/utils.js
88.48%
32 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #110      +/-   ##
==========================================
- Coverage   68.10%   68.09%   -0.02%
==========================================
  Files          60       60
  Lines        9984     9933      -51
==========================================
- Hits         6800     6764      -36
+ Misses       3184     3169      -15

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Store comments with collections

Problem: We have a lot of collections in our DB. It's hard to know what the state is sometimes - are they still in use? Who put them there - who can we even ask if they are in use?
Suggestion: Lets have an add-note option for an collection. The note contents would be stored in the postgres database. You would also be able to set a note when running a Scrapy spider, and that note would  be passed to the database.
Then we could establish a working convention that people loading data or starting scrapers should at least add a note with their name, so we know who to ask about a collection.
The note option could allow multiple notes. So if user A starts a scraper, but then user B starts analysing that data then user B can add a note saying "Please ask me before deleting this!"
I think this will help with #309

I'm fine with this, Could be useful and the more internal transparency the better.

Totally agree!

Yes, this would be very useful.

Maybe we can also have a mark like "can be deleted" or something like that, that can be editable, so the person who load a test dataset or similar can mark the collection as "deleteable" (?) so then we can have a scheduled process that consults all the deleteables collections and delete them

This was put live last week and should do what your thinking? https://kingfisher-process.readthedocs.io/en/latest/cli-delete-collection.html :smile:

Delete collection looks good, thanks.
I note the docs say "A collection can only be deleted if it doesn’t have any transform". So work-flow wise, to delete a collection that has transforms, is it correct that we should:

mark the transforms for deletion
once they have been deleted, mark the source collection for deletion

Or can we flag them all, and the transforms will be deleted on the first pass, then the source on the second?

I note the docs say "A collection can only be deleted if it doesn’t have any transform". So work-flow wise, to delete a collection that has transforms, .....

Can I move this conversation to https://github.com/open-contracting/kingfisher-process/issues/105 ?
For this ticket, we are just waiting for https://github.com/open-contracting/kingfisher-scrape/pull/116 to be merged and we are done.

Assigning this ticket to @kindly who will be checking that P.R. as part of his sprint work.

Merged, and closing

Reopening with a tiny doc update needed https://github.com/open-contracting/kingfisher-scrape/pull/124

Done!


basic flask issue sloved

Pull Request Type
What kind of change does this PR introduce?
Issue Number: #1050

[ ] Solved an issue/task
[x] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
The current issue involves a syntax error in the Flask app.py file where "__name" needs to be corrected to "name".
What is the new behavior?
The new behavior includes two changes:

Corrected the syntax error in the Flask app.py file by changing "__name" to "name".
Added a new function in the Flask app.py file that greets with "Hello Flask".

Other information

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!