[$500] Currency - In WS default currency section searching for euro/rupee showing "no results found"

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.3.84-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
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:
Action Performed:

Go to https://staging.new.expensify.com/

Tap on announce room

Tap plus icon----Split bill

Tap currency

Search euro/rupee and note search results displayed

Navigate back to LHN

Tap profile---Workspaces

Tap on a Workspace

Tap on Workspace name

Tap on default currency

Enter euro/ rupee in search field

Expected Result:
In WS default currency section searching for euro/rupee showing "no results found" but in announce room split bill currency drop down searching for euro/rupee showing results. The behavior must not be inconsistent within the site
Actual Result:
In WS default currency section searching for euro/rupee showing "no results found" but in announce room split bill currency drop down searching for euro/rupee showing results. The behaviour is inconsistent within the site
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos

Android: Native

Android: mWeb Chrome

https://github.com/Expensify/App/assets/78819774/3da92bde-b004-4e88-895f-7b56da0d049b

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01810f204b38ab0d0d
Upwork Job ID:<PHONE_NUMBER>304249856
Last Price Increase: 2023-10-19

Proposal
Please re-state the problem that we are trying to solve in this issue.
In WS currency selection currency name search is not working correctly
What is the root cause of that problem?
We are not considering currency name in the filtration, it is only checks for code and symbol currently.
https://github.com/Expensify/App/blob/fe282b45cb13e01519282ccc023e5bfbd7714158/src/pages/workspace/WorkspaceSettingsCurrencyPage.js#L44
What changes do you think we should make in order to solve the problem?
We need to add name field also for comparing the search text.
 || currency.name.toLowerCase().includes(trimmedText)

@cead22 bump ^^

@Pujan92 @parasharrajat is there a reason we're not using the same component here, or the same code to display the currencies? It seems like the main reason for this problem could be that we have code in 2 different places doing the same thing

Readded external label to get the job on Upwork as looks like the API call failed the first time

@Pujan92 @parasharrajat is there a reason we're not using the same component here, or the same code to display the currencies? It seems like the main reason for this problem could be that we have code in 2 different places doing the same thing

The functionality looks the same for both components, I am not sure but tagging @thiagobrez for their input as the workspace currency push page added recently in https://github.com/Expensify/App/pull/27861

@Pujan92 I believe it's because when I worked on this, the IOUCurrencySelection page was still using the old list, OptionsSelector, and in #27861 we're using the new implementation SelectionList. Other differences might come because previously, WS currency selector was using the old pattern with native HTML select, so it didn't need search

@cead22 are you fine to assign now with the additional context?

@thiagobrez @Pujan92 I imagine auto complete in a currency selector is always going to work by looking at the currency, code, and symbol. If that's a safe assumption, would it make sense to design a solution such that all currency selectors moving forward share this functionality?

Not yet @laurenreidexpensify :)

Waiting for proposals that are more future-proof

I am about to post the same proposal which @tsa321 has proposed, only change that differs from my idea is to pass selectedCurrencyCode instead of initiallyFocusedOptionKey from a parent.
<CurrencySelection
    textInputLabel={translate('workspace.editor.currencyInputLabel')}
    selectedCurrencyCode={policy.outputCurrency}
    onSelectCurrency={confirmCurrencySelection}
/>

CurrencySelection
import React, { useMemo, useState } from 'react';
import PropTypes from 'prop-types';
import compose from "@libs/compose";
import { withOnyx } from "react-native-onyx";
import withLocalize from "./withLocalize";
import ONYXKEYS from "@src/ONYXKEYS";
import SelectionList from './SelectionList';
import * as CurrencyUtils from '@libs/CurrencyUtils';
import Str from 'expensify-common/lib/str';

const propTypes = {
  /** Constant, list of available currencies */
  currencyList: PropTypes.objectOf(
      PropTypes.shape({
          /** Symbol of the currency */
          symbol: PropTypes.string.isRequired,
      }),
  ),
};

const defaultProps = {
  currencyList: {},
};

function CurrencySelection({currencyList, textInputLabel, selectedCurrencyCode, translate, onSelectCurrency}) {

  const [searchValue, setSearchValue] = useState('');

  const {sections, headerMessage, initiallyFocusedOptionKey} = useMemo(() => {
    const currencyOptions = _.map(currencyList, (currencyInfo, currencyCode) => {
        const isSelectedCurrency = currencyCode === selectedCurrencyCode;
        return {
            currencyName: currencyInfo.name,
            text: `${currencyCode} - ${CurrencyUtils.getLocalizedCurrencySymbol(currencyCode)}`,
            currencyCode,
            keyForList: currencyCode,
            isSelected: isSelectedCurrency,
        };
    });

    const searchRegex = new RegExp(Str.escapeForRegExp(searchValue.trim()), 'i');
    const filteredCurrencies = _.filter(currencyOptions, (currencyOption) => searchRegex.test(currencyOption.text) || searchRegex.test(currencyOption.currencyName));
    const isEmpty = searchValue.trim() && !filteredCurrencies.length;

    return {
        initiallyFocusedOptionKey: _.get(
            _.find(filteredCurrencies, (currency) => currency.currencyCode === selectedCurrencyCode),
            'keyForList',
        ),
        sections: isEmpty
            ? []
            : [
                  {
                      data: filteredCurrencies,
                      indexOffset: 0,
                  },
              ],
        headerMessage: isEmpty ? translate('common.noResultsFound') : '',
    };
  }, [currencyList, searchValue, selectedCurrencyCode, translate]);

  return (
    <SelectionList
        sections={sections}
        textInputLabel={textInputLabel}
        textInputValue={searchValue}
        onChangeText={setSearchValue}
        onSelectRow={onSelectCurrency}
        headerMessage={headerMessage}
        initiallyFocusedOptionKey={initiallyFocusedOptionKey}
        showScrollIndicator
    />
  )
}

CurrencySelection.propTypes = propTypes;
CurrencySelection.defaultProps = defaultProps;

export default compose(
  withLocalize,
  withOnyx({
    currencyList: {key: ONYXKEYS.CURRENCY_LIST},
  }),
)(CurrencySelection);

Update: The PR is waiting for a review.

PR is still in review

@parasharrajat because there are changes in IOU request flow, here is a suggestion from internal engineer : https://github.com/Expensify/App/pull/30889#issuecomment-1915004958 :

Yes, I agree that we should only move forward with IOURequestStepCurrency. I don't think it needs to be held on the old component being removed though.

So I am really not sure what is the best next step here...
@parasharrajat What do you think the best next step here? I am agree with whatever the best action here...

@parasharrajat Ok, I am working on it...

Payment Summary:
C+ @parasharrajat requires payment through NewDot Manual Requests $500
Contributor: @tsa321 $500 - offer sent in Upwork, please accept

@laurenreidexpensify I have accepted the job interview in the upwork. Link: https://www.upwork.com/jobs/~0143fc0e3c3d547cfc

@tsa321 pls accept next step in upwork and i will issue payment thanks

@parasharrajat am waiting to complete Contributor payment first as they are on upwork :)

@laurenreidexpensify I have accepted the offer.

Payment Summary:
C+ @parasharrajat requires payment through NewDot Manual Requests $500
Contributor: @tsa321 $500 - paid in Upwork

$500 approved for @parasharrajat


Data analysts should be able to use Text.location_of to find indexes within string using various matchers

Pull Request Description
Implements https://www.pivotaltracker.com/n/projects/2539304/stories/181266029
Important Notes

Checklist
Please include the following checklist in your PR:

[ ] The documentation has been updated if necessary.
[ ] All code conforms to the Scala, Java, and Rust style guides.
All code has been tested:

[ ] Unit tests have been written where possible.
[ ] If GUI codebase was changed: Enso GUI was tested when built using BOTH ./run dist and ./run watch.

LGTM - not sure whether we need the IntArrayBuilder over just using a Java List but no harm having it.

Member

Fair, but I wanted to avoid the cost of boxing which is incurred by the ArrayList.
I did a very rudimentary benchmark (should use JMH to measure this properly, but just to get a general feeling) and over multiple runs the IntArrayBuilder seems to be more than twice as fast as the ArrayList (sometimes even ~30x faster). So I think it is worth it - while the cost of boxing is low, for such a low level operation it is still visible. Honestly I'm surprised that the standard library does not provide such a helper data structure - seems that such a structure is included in 'extensions' like Guava.


mypy: Add annotations for bots.

Adds annotations for the following bots:

converter
define
encrypt

Accidentally added .vscode in gitignore, can remove if needed.

Hey! Thanks for working on this. It looks like you have added 4 extra commits on this PR. Can you do an interactive rebase and remove all commits except for the three where you've added the annotations?

@neiljp Thanks for the feedback! I changed the commits to include your suggestions.


fix: macro injected context inputs must be public

Please read contributing guidelines and remove this line.

#5430  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Maddiaa0 and the rest of your teammates on  Graphite


Reference to CELLxGENE Discover data schema in Cell Census schema should be updated

The Cell Census schema defines a "Cell Census table of CELLxGENE Discover datasets" – census_obj[“census_info”][“datasets”] – SOMADataFrame:

Column
Encoding
Description

collection_id
string
As Defined in CELLxGENE Discover data schema.

collection_name
string

collection_doi
string

dataset_id
string

dataset_title
string

dataset_h5ad_path
string
Source h5ad file in the Cell Census storage bucket.

dataset_total_cell_count
int
Total number of cells from the dataset included in the Cell Census.

The link under "As Defined in CELLxGENE Discover data schema." points to an outdated schema.
This link should be fixed once an up-to-date "CELLxGENE Discover data schema" is available

Work in progress
https://lucid.app/lucidchart/8d085832-34f4-4413-9c1d-44e77d06e326/edit?page=0_0&invitationId=inv_ed354532-7256-4e0a-9ad0-b622905e5198#

I don't have a strong opinion on the materialization of it so long as it is public and it defines the variables referenced in the table included in my original post

The data portal api docs change (model diagram) is not appearing in prod. Need to investigate/fix before we can close this issue.

@atarashansky If you closed this on purpose, please explain! :) I re-opened, since it's still broken.

It must have been in "ready for prod". I don't remember closing this.

Data Portal Discover API now displaying model diagram in production. Closing.


Getting 'SyntaxError: Cannot use import statement outside a module' in VS code debugger mode

I'm getting 'SyntaxError: Cannot use import statement outside a module' when I'm trying to debug my code in VS code.
Launch.json is mentioned below
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Debug mocha parallel for invoices",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${workspaceFolder}/test/headerFields.js",
            "args": [
                "--extension",
                "ts",
                "--watch",
                "src",
                "--require",
                "ts-node/register",
                "${workspaceFolder}/src/**/*.spec.ts"
            ],
            "runtimeExecutable":"/usr/local/bin/node",
        }
    ]
}

This is an error from node. You may be trying to use javascript modules and want a .mjs extension? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules


Seeing error about Maven class missing under 0.5.0

I tried 0.5.0, but sometimes the build would fail due to kotlinCompile error:
Options for KOTLIN DAEMON: IncrementalCompilationOptions(super=CompilationOptions(compilerMode=INCREMENTAL_COMPILER, targetPlatform=JVM, reportCategories=[0], reportSeverity=2, requestedCompilationResults=[0]kotlinScriptExtensions=[kt, kts, java]), areFileChangesKnown=false, modifiedFiles=null, deletedFiles=null, workingDir=/Users/<user>/aws-intellij-toolkit/jetbrains-core/build/kotlin/compileKotlin, multiModuleICSettings=MultiModuleICSettings(buildHistoryFile=/Users/<user>/aws-intellij-toolkit/jetbrains-core/build/kotlin/compileKotlin/build-history.bin, useModuleDetection=false), usePreciseJavaTracking=trueoutputFiles=[/Users/<user>/aws-intellij-toolkit/jetbrains-core/build/classes/kotlin/main, /Users/<user>/aws-intellij-toolkit/jetbrains-core/build/kotlin/compileKotlin])
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
    class org.jetbrains.idea.maven.model.MavenArtifact, unresolved supertypes: org.jetbrains.idea.maven.model.MavenCoordinate

> Task :jetbrains-core:compileKotlin FAILED

There were not any more logs in --info.
It did not seem to be deterministic, my coworker saw it until he cleaned first, but I saw it more frequently.
Revert PR: https://github.com/aws/aws-toolkit-jetbrains/pull/2133
Any ideas?

Hi,

Any ideas?

No, not really. Probably the problem in kotlin compiler. I don't really understand why it even tries to compile those classes. You didn't you add a dependency on intellij maven plugin, right?

Ya we do have a dependency on "org.jetbrains.idea.maven"

I can't seem to reproduce it now and I am on a new laptop

Not seeing this anymore, will re-open if I see it and can triage it more

will be fixed in 0.6.3


Add testcase for utils

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #839 (faa5dc6) into master (4f63ece) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #839      +/-   ##
==========================================
+ Coverage   14.18%   14.26%   +0.07%
==========================================
  Files         110      110
  Lines        5074     5074
==========================================
+ Hits          720      724       +4
+ Misses       4283     4280       -3
+ Partials       71       70       -1

Impacted Files
Coverage Δ

pkg/utils/kubeclient/pod.go
71.87% <0.00%> (+12.50%)
:arrow_up:

Continue to review full report at Codecov.

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


Update README

A README is often the first item a visitor will see when visiting your repository. We recommend that your README includes information on:

What the project does
Why the project is useful
How users can get started with the project

Explain to users that there is a LEARN.md
How to contribute to your project

Mention your code of conduct
Who maintains and contributes to the project

You already have some great setup content. 😄

Readme updated


Support root path in version overview docs

Previously the docs where showing wrong versioned docs paths when cadwyn was mounted as sub-app. This is now fixed.

Big thanks!

Released https://pypi.org/project/cadwyn/


Upload init code.

    1. Upload main code.
    2. Upload inference script.
    3. Upload model.
    4. Add license.
    5. Support memory efficient inference for 16G.
    6. Update README.md.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.hehuang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Is it possible to configure EF Core to delete principal when dependent entity is deleted in one-to-one relationship?

The problem I have is that DB's entities hierarchy is inverse to the logical one.
I have User and Organization aggregates each containing Address as a value object.
If I used separate tables for each type of addresses: UserAddress, OrganizationAddress - owned types feature would be a perfect fit.
However, I want to store all addresses in a single table. It means other entities must reference their address by id effectively making it a principal entity. But when I change address of user or organization the old address will be orphaned, if not explicitly deleted.
Is there any way to automate this behaviour?

@voroninp I recently answered a very similar question in #14658, so closing this as a duplicate of that.

The problem seems similar to #14658, but actually isn't.
@voroninp, I think you can use entity inheritance to map your different types of addresses to the same table, because EFCore implements table per hierarchy.
Your model would look something like this:
class User {
    [InverseProperty(nameof(UserAddress.User))]
    UserAddress Address { get; set; }
}
class Organizaion {
    [InverseProperty(nameof(OrgAddress.Organization))]
    OrgAddress Address { get; set; }
}
abstract class Address {
    string AddressType { get; set; }
    string Street { get; set; }
}
class UserAddress : Address {
    int UserId { get; set; }
    User User { get; set; ]
}
class OrgAddress : Address {
    int OrganizationId { get; set; }
    Organization Organization { get; set; ]
}

And inside the context you can define how EFCore should remember the different address types:
protected override void OnModelCreating(ModelBuilder modelBuilder) => modelBuilder
    .Entity<Address>(x => x
        .HasDiscriminator<string>("AddressType")
        .HasValue<UserAddress>("User")
        .HasValue<OrgAddress>("Org"));

EFCore will then map both address types to a single table with the additional columns AddressType, UserId (nullable), and OrganizationId (nullable). Depending on the type either the one or the other will be used as the FK to the principal entity.
Defining the discriminator column as done above is optional though. EFCore can it on its own as well.


Badges + Gofmt & Lint

Added badges to README.md
Ran gofmt simply on all files
Fixed lint warnings

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   51.99%   51.99%
=======================================
  Files           4        4
  Lines         727      727
=======================================
  Hits          378      378
  Misses        304      304
  Partials       45       45

Impacted Files
Coverage Δ

pkg/reaper/nodereaper/types.go
100% <ø> (ø)
:arrow_up:

pkg/reaper/nodereaper/helpers.go
55.45% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Integrate: Speech Synthesis and Audio Analysis

This pull request is based on #28. It adds a new speech synthesis and audio analysis task in tasks/speech/speech-synthesis.

This pull request is ready to be accepted. Thank you for the pull request @pritam-code-ai!
@pritam-code-ai, it slipped my mind that because I copied the directory myself, you are not listed as a contributor on this pull request. If you are not concerned about this, let me know and I can just merge this pull request.
Otherwise, we can fix this. Please do one of the following on your local repo:
Option 1: Keep your current repository
# Add the produvia remote and fetch its branches.
git remote add produvia https://github.com/produvia/ai-platform.git
git fetch produvia
# Create a branch off produvia/master branch and push that to your repo.
git checkout -b produvia --track produvia/master
git pull
git checkout -b new-master
git remote add pritam-code-ai https://github.com/pritam-code-ai/ai-platform.git
git push pritam-code-ai
## Copy your work directory to `tasks/speech/speech-synthesis`
# ...
# After copy, commit and push changes.
git add .
git commit -m "[COMMIT MESSAGE]" # insert COMMIT MESSAGE
git push

Option 2: Delete current repository
This is probably the easier option. Steps:

Clone the https://github.com/pritam-code-ai/ai-platform in your computer to keep a local copy of the data.
On GitHub, delete the https://github.com/pritam-code-ai/ai-platform repository.
On GitHub, fork the https://github.com/produvia/ai-platform repository. You should now have a new repository at https://github.com/pritam-code-ai/ai-platform that is up-to-date with https://github.com/produvia/ai-platform's master branch.
Now, copy your work from the backup taken in step 1 to the tasks/speech/speech-synthesis directory.
Push your changes to your repo

git add .
git commit -m "[COMMIT MESSAGE]" # insert COMMIT MESSAGE
git push

Next Steps
After you take either option 1 or option 2, we can merge my fixes into your branch (if that is okay with you), and we can then create a new pull request to merge your changes into ai-platform.

Hi,
Thank you for your reply. However, what about my other projects
contribution to produvia , I mean my pull request projects other than
speech synthesis ?
I am eagerly waiting for your reply.
Hope to hear from you soon.
Yours sincerely,
Pritam

Hi @pritam-code-ai. Can I merge this pull request then?
Your other pull requests, namely #3 and #4, cannot be merged as the repositories that were used to create the pull requests no longer exist. Please create new branches in your repository off of produvia/master, push your work to those branches, and then create pull requests for each of the new branches.

Ok. Thank you.
However, as I am busy working on a big data science project, so I will do
your option 1 or 2 as in one of your previous message to me, at end of
December, 2019.
Yours sincerely,
Pritam


Add swift-tools-version, update gitignore, update Package.swift

Hey! Hope you guys are doing well :D!
I was moving a project over to use SPM and noticed a few errors when I added Snail.

Looks like Package.swift must begin with swift-tools-version: . I set the version to 4.2 and 5.2 but I'm happy to change that to whatever you guys want :).

Looks like exclude isn't a parameter in the Package initializer (I'm not sure when that changed)?

Error with `exclude`

Added .swiftpm/ to the gitignore as per this

Hello Old Friend!  Let me kick the tires on this and get back to you shortly

Looks good, see comment above


Register for SAP HANA, express edition

Tutorials: https://developers.sap.com/tutorials/hxe-ua-register.html
Write here what you need help with ...
The registration does not work:
I always get a
"Sorry
Your request for information is being reviewed. Once approved, you’ll receive an e-mail with additional instructions.
Close this window and go back to SAP.com"
But I do not receive any "e-mail with additional instructions"
I was logged to SAP with my S-User ID
To exclude issues with browser, I tried Firefox as well as Edge.
However, I always end up with message above and no  "e-mail with additional instructions"
How long might it take? Hours, Days, Weeks,?
Thanks fro response,
Tarik

Hi Tarik: Sorry to see the registration problem above. The email should be received immediately. Could you please copy and paste your issue above to the Q&A page to take advantage of the community support model? Support resources will see a post there, but may not see your post above.
To log your questions on the Q&A page:

Go to https://answers.sap.com/questions/ask.html
Add a Title. Enter your GitHub question in the Fill in the details... form.
In Select Primary Tag, search for "express". Select SAP HANA, express edition.
Click Submit your Question.

@JCurrie27
is it possible that registration is not working because we are getting ready for HXE SPS5n?
thx, gm

There's no scheduled registration downtime that I've been made aware of. However, depending on the geography of the registering user, I've learned it can take 1-2 business days for the registration email response. If we're still within that window, many thanks for your patience. If we're past 2 business days, please post to the Q&A page as above. Hope this helps,

Hi John,

All responses of my different tries arrived at once 2 and a half hour past midnight Friday morning.

For now, the download does not work.
403 ERROR
The request could not be satisfied.
Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront
documentation.

This might happen, but all day long, what sums up now to 12h?
To avoid a personal issue, I asked a colleague of mine to try. Same error to him, so I do not think it is at least not a simple user error.

I contacted some EMEA support, however, if issue still persits on Saturday, I will follow your proposal.

Thanks!
Tarik

Gesendet: Freitag, 19. Februar 2021 um 15:00 Uhr
Von: "John Currie"<EMAIL_ADDRESS>An: "SAPDocuments/Issues"<EMAIL_ADDRESS>Cc: "Tarik-T"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Betreff: Re: [SAPDocuments/Issues] Register for SAP HANA, express edition (#171)

Hi Tarik: Sorry to see the registration problem above. The email should be received immediately. Could you please copy and paste your issue above to the Q&A page to take advantage of the community support model? Support resources will see a post there, but may not see your post above.
To log your questions on the Q&A page:
Go to https://answers.sap.com/questions/ask.html
Add a Title. Enter your GitHub question in the Fill in the details... form.
In Select Primary Tag, search for "express". Select SAP HANA, express edition.
Click Submit your Question.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi - I'm not a support engineer, but to my eye the error codes point to something very different than a slow registration process. I recommend posting the problem -- including the above error codes -- to the Q&A site right away, so other HANA express users and support personnel can assist.
A colleague tried registering from our location 2 hours ago and registration worked normally here, so the problem doesn't appear to be global in nature.

I will close this issue, as it will be taken care of in Q&A or support.
@JCurrie27 FYI - you should be able to close issues yourself in this repo.


Place executable in different path than root

Hello, I have a project with the following structure:
project/
├── files/ (project files)
└── Python/
    ├── main.py
    └── ...

In main.py, I need to import files from the "files" folder. I do that with Path(__file__).parent.parent / ...
The problem I have is that when Nuitka compiles main.py (I add the files folder using --include-data-dir), it outputs the following structure (in standalone mode):
output/
├── files/ (project files)
└── main.exe

The imports break. I know I could fix it by doing things such as placing main.py in the root folder, adding a if __compile__ check, and other tricks, but could I choose somehow that main.exe is generated inside a custom folder? I would like to keep the project structure after compilation.
Info of my environment:
Nuitka 2.4.8
Installed using pip
Python 3.12.6

Our goal is to behave identical to Python, not to be configurable per se as to all kinds of illusions to create. For a different directory structure, you cannot use the unchanged code, which illustrates a weakness of your approach I guess. If you wanted to copy them alongside, an option like --include-onefile-external-data would put your data files outside the dist folder, but so far nobody really asked for that, although with macOS apps it is more likely to be useful.
So far, for standalone outside files are not handled, since you can copy them, but that argument is true for onefile too, I just didn't see the need yet and might change that indeed. Actually now that I checked, the option might do what you want already right now, please try it and let me know.

I am too stupid to understand your question then, but I believe I answered it, and asked you to try it.


Directive {$include james.inc}

Let's change the directive from {$include james.inc} to {$include ..\inc\james.inc} because the james.inc file is in another directory.

In Lazarus we use include paths, passing some paths to compiler know where is the files. Delphi has the same.
Please, take a look in delphi branch. There is a Delphi project, which is the first cross compile (thanks @nunopicado for that), specifically in this line here, to see this parameter.
If no question, please close the issue.


Ensure assertions get linked when using BSVTools

This PR essentially exposes the bad_exit.c file required by the Assertions package to the BSVTools Makefile.
To be precise, any C files put into BlueLib/src/BDPI/ will be exposed to BSVTools.
Without this PR you have to manually provide the C_FILES variable when invoking a BSVTools-based make when using the new assertions.

I added a warning to also have some line indication of what might be going on.

Thanks!


Npm install does not install the latest version of langchain

Currently when trying to install the latest version of langchain i.e. 0.0.134 it cannot find the version so nothing is installed because the version in the package.json the version is0.0.4 so in my package.json I have to use langchain: 0.0.4 to make it work. Is this expected that the library only supports yarn but doesn't support npm?

@dosu-bot I tried installing using npm install<EMAIL_ADDRESS>and add it as a dependency in package.json as well but it is still not installing. I am using node version 18.16.0 and npm version is 9.5.1

actually it works if I use npm install<EMAIL_ADDRESS>--legacy-peer-deps


[Parse] Try to preserve the invariant that anything that contains KeyPathDotExpr must be wrapped in KeyPathExpr

Even in the presence of invalid code. Fixes typechecker crash in rdar://50666427

@swift-ci smoke test


improve contrast ratio in debugger-ui dark mode

The font colors in the debugger-ui dark mode are not accessible. This PR ensures Level AAA Conformance to Web Content Accessibility Guidelines 2.0 which makes it better to read for everyone.
Test Plan:
No tests needed, CSS changes only.
Release Notes:
[GENERAL][ENHANCEMENT][local-cli/server/util/debugger-ui/index.html] improve contrast ratio in debugger-ui dark mode

Warnings

:warning:

:clipboard: Release Notes - This PR may have incorrectly formatted Release Notes.

  Generated by :no_entry_sign: dangerJS

@facebook-github-bot shipit


Refined meshkernel grid causes dflowfm crash

Describe the bug
Refined meshkernel grid causes dflowfm crash, while a non-refined meshkernelgrid initialized without problems.
To Reproduce
Generate the grid like so:

import meshkernel
import xugrid as xu
import numpy as np

#general settings
lon_min,lon_max = -6,2
lat_min,lat_max = 48.5,51.2
lon_res,lat_res = 0.2,0.2
num_x = int(np.ceil((lon_max-lon_min)/lon_res))
num_y = int(np.ceil((lat_max-lat_min)/lat_res))

# Create an instance of MakeGridParameters and set the values
make_grid_parameters = meshkernel.MakeGridParameters(num_columns=num_x,
                                                     num_rows=num_y,
                                                     angle=0.0,
                                                     origin_x=lon_min,
                                                     origin_y=lat_min,
                                                     block_size_x=lon_res,
                                                     block_size_y=lat_res)

geometry_list = meshkernel.GeometryList(np.empty(0, dtype=np.double), np.empty(0, dtype=np.double))

#refinement
mesh_refinement_parameters = meshkernel.MeshRefinementParameters(refine_intersected=False,
                                                                 use_mass_center_when_refining=False,
                                                                 min_face_size=0.1,
                                                                 refinement_type=meshkernel.RefinementType(1), #Wavecourant/1,
                                                                 connect_hanging_nodes=True,
                                                                 account_for_samples_outside_face=False,
                                                                 max_refinement_iterations=1,
                                                                 )
refine_pol = np.array([[ 1.91741935, 49.76580645],
                       [ 0.20387097, 49.9       ],
                       [-0.25032258, 48.71290323],
                       [ 1.92774194, 48.59935484],
                       [ 1.91741935, 49.76580645]])
refine_pol_geom = meshkernel.GeometryList(x_coordinates=refine_pol[:,0].copy(), y_coordinates=refine_pol[:,1].copy()) #TODO: .copy()/to_numpy() makes the array contiguous in memory, which is necessary for meshkernel.mesh2d_delete()

mk2 = meshkernel.MeshKernel()
mk2.curvilinear_make_uniform(make_grid_parameters, geometry_list)
mk2.curvilinear_convert_to_mesh2d() #convert to ugrid/mesh2d
mk2.mesh2d_refine_based_on_polygon(polygon=refine_pol_geom, mesh_refinement_params=mesh_refinement_parameters)

#cleanups
print('mk2.mesh2d_get_obtuse_triangles_mass_centers()')
print(mk2.mesh2d_get_obtuse_triangles_mass_centers())
print('mk2.mesh2d_get_hanging_edges()')
print(mk2.mesh2d_get_hanging_edges())
#mk2.mesh2d_delete_small_flow_edges_and_small_triangles(small_flow_edges_length_threshold,min_fractional_area_triangles)
#mk2.mesh2d_merge_nodes(geometry_list,merging_distance)

xu_grid = xu.Ugrid2d.from_meshkernel(mk2.mesh2d_get())
xu_grid_ds = xu_grid.to_dataset()

#write xugrid grid to netcdf
xu_grid_ds.to_netcdf('test_net.nc')

Then:

open in interacter
right mouse click
will crash with exception:

ug_get_meshgeom, #12, ierr=0
** WARNING: Could not read mesh face x-coordinates. Check any previous warnings.
** WARNING: Could not read mesh face x-coordinates. Check any previous warnings.
** INFO   : Start of the computation time loop
 Initializing flow: flow_modelinit
** INFO   : Initializing flow model geometry...
forrtl: severe (157): Program Exception - access violation

If the mk2.mesh2d_refine_based_on_polygon() line is commented, the grid wil initialize in interacter without problems.
Expected behavior
A grid that works in dflowfm after refinement
Version info (please complete the following information):

OS: Windows
Version 2.0.2

Fun fact, it was the start_index/_FillValue of mesh2d_face_nodes. Apparently the kernel does not read these and assumes 1/0 respectively. xugrid uses 0/-1. It was therefore solved by doing this:
varn_fnc = xu_grid_ds.mesh2d.attrs['face_node_connectivity']
if xu_grid_ds[varn_fnc].attrs['start_index']==0: #TODO: FM kernel needs 1-based grid, report this (#ug_get_meshgeom, #12, ierr=0. ** WARNING: Could not read mesh face x-coordinates)
    xu_grid_ds[varn_fnc] += 1
    xu_grid_ds[varn_fnc].attrs["_FillValue"] += 1
    xu_grid_ds[varn_fnc].attrs["start_index"] += 1

Alternatively, you could use UGridPy for writing the mesh to file. Here is an example:
https://github.com/Deltares/UGridPy/blob/main/docs/examples/05_working_with_meshkernel.ipynb
xugrid is better for large datasets (model results) because it uses lazy loading. However, writing only the mesh with UGridPy should also be feasible.


Incorrect behavior on the OECD project on version a20

I see the following problems:

The wikifier window is not showing any data
Column B contains wikified properties, but there is no blue highlighting, and clicking on cells in column B produces incorrect behavior as it show data in the output panel as if it was a data cell
All data cells are colored orange because, for example, error in cell K106: {'qualifier': {'3': {'property': 'Property not found:P2006020004'}}}. However, the loaded properties file contains a definition of P2006020004

oecd-bug.zip

wikifier bug fixed in commit 73f23799

orange bug: couldn't reproduce in latest commit, but probably because it was fixed in ad199bdf


#36: Updated Timeline SQL files and user id case in Map.js

#36
This can be tested with the following URLs:
1/0/0.png?&timeline=2021-03-01_2021-09-16&userid=1 and 1/0/0.png?&timeline=2021-03-01_2021-09-16. The amount of clusters returned is different for each case.

@kparikh9 I will dive into the code and think over these codes carefully later, basically, it looks fine, also like you said how to deal with those if/else


pipectl: 0.3.0 -> 0.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Ferdi265/pipectl/releases.
meta.description for pipectl is: "a simple named pipe management utility"
meta.homepage for pipectl is: "https://github.com/Ferdi265/pipectl"
meta.changelog for pipectl is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.1 in filename of file in /nix/store/d1g833i863cy5r2nbi4mkf0gr1q7hfb2-pipectl-0.4.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
pipectl
wl-mirror

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d1g833i863cy5r2nbi4mkf0gr1q7hfb2-pipectl-0.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pipectl https://github.com/r-ryantm/nixpkgs/archive/bd9103bfb5298c3f71ffb8cdb96e92df13a0e615.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d1g833i863cy5r2nbi4mkf0gr1q7hfb2-pipectl-0.4.1
ls -la /nix/store/d1g833i863cy5r2nbi4mkf0gr1q7hfb2-pipectl-0.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

pipectl
wl-mirror

Maintainer pings
cc @Synthetica9 for testing.

Hi! Same as with wl-mirror (#184137), pipectl also got man pages in the latest version. There is no other change in the package other than the man pages, so please don't release this without them.
I'll create a similar patch to how I updated wl-mirror (adding scdoc and enabling documentation installs) tomorrow morning.

Closed in favour of #185772.


python38Packages.azure-mgmt-sql: 3.0.0 -> 3.0.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.azure-mgmt-sql is: "This is the Microsoft Azure SQL Management Client Library"
meta.homepage for python38Packages.azure-mgmt-sql is: "https://github.com/Azure/azure-sdk-for-python"
meta.changelog for python38Packages.azure-mgmt-sql is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.0.1 with grep in /nix/store/4nc96chff9f5aa8nf6ph6gswh2hkw2n5-python3.8-azure-mgmt-sql-3.0.1

found 3.0.1 in filename of file in /nix/store/4nc96chff9f5aa8nf6ph6gswh2hkw2n5-python3.8-azure-mgmt-sql-3.0.1

directory tree listing: https://gist.github.com/7de98c8eb7b17409f911965c4922a32d

du listing: https://gist.github.com/d8cccdb4c6b0d298b619bc88599c1ff3

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
azure-cli
python38Packages.azure-mgmt-sql
python39Packages.azure-mgmt-sql

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4nc96chff9f5aa8nf6ph6gswh2hkw2n5-python3.8-azure-mgmt-sql-3.0.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.azure-mgmt-sql https://github.com/r-ryantm/nixpkgs/archive/ad102ffc04f868469c610932dfc9202f4ad3baf4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4nc96chff9f5aa8nf6ph6gswh2hkw2n5-python3.8-azure-mgmt-sql-3.0.1
ls -la /nix/store/4nc96chff9f5aa8nf6ph6gswh2hkw2n5-python3.8-azure-mgmt-sql-3.0.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

azure-cli
python38Packages.azure-mgmt-sql
python39Packages.azure-mgmt-sql

Maintainer pings
cc @mwilsoncoding for testing.

Result of nixpkgs-review pr 133741 at ad102ffc run on aarch64-linux 1

3 packages built successfully:

azure-cli
python38Packages.azure-mgmt-sql
python39Packages.azure-mgmt-sql

1 suggestion:

warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/development/python-modules/azure-mgmt-sql/default.nix:35:0:
   |
35 |     description = "This is the Microsoft Azure SQL Management Client Library";
   | ^


looking for a ma[g|k]efile

how should I build this?

Hi! Thanks for your interest in the project. Currently its still very WIP, but the docs are already on the TODO list. The API for both mounts and migrations are (I hope) more or less final, and we don't depend on any CGo etc., so if you want to try it out now anyways you can ^^
More info is in the --help respectively, but see https://github.com/pojntfx/r3map/tree/main/cmd/r3map-mount-benchmark and https://github.com/pojntfx/r3map/tree/main/cmd/r3map-migration-benchmark respectively. Again this will all be in the docs soon, but this is probably the simplest way of validating it right now:
sudo modprobe nbd
go build -o /tmp/r3map-mount-benchmark ./cmd/r3map-mount-benchmark/ && sudo /tmp/r3map-mount-benchmark --verbose # For the mount API
go build -o /tmp/r3map-migration-benchmark ./cmd/r3map-migration-benchmark/ && sudo /tmp/r3map-migration-benchmark # For the migration API

Just a quick update on this: The thesis is now in peer-review, and I'm finishing up the docs here in the meantime!

right when I went on vacay. :-) how'd the thesis review go?

Thesis review is done now and it passed. I'll probably be officially tagging this etc. in time for my KubeCon talk on Nov 7, where I'll also be presenting it: https://sched.co/1R2ok ^^

Closing this one since we have proper docs and examples now :)


Lay groundwork for CollateralizedSimpleInterest Adapter

This PR introduces the following types:

CollateralizedLoanTerms: responsible for packing and unpacking params
CollateralizedAdapterErrors: represents the errors that can be thrown by the adapter
CollateralizedTermsContractParameters: the interface defining the params

This PR does not include the actual adapter or a test suite. Those will following in future PRs.
This branch merges into the main feature branch: collateralized-simple-interest-adapter

@saturnial Is this PR still relevant now that #44 is merged?


Query on CTSimSiam loss

Hi,
In your paper, you used $CT_{SimSiam}$ loss, but I could not find the implementation of it in your code, only $CT_{Barlow}$ loss is implemented. I could not reproduce the result for $CT_{SimSiam}$.

Hi,
Thank you bringing this to our notice. I will update the SimSiam code soon

Added the SimSiam Code. Sorry about the delay. Good luck.
I am closing the issue feel free to reopen if needed


install miniconda

there a couple of things that are not ideal yet:

check if this installation supports GPUs
it seems that miniconda is installed twice, once in line 26 with --run="wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh" \ and once in line 31 with    --miniconda3 use_env=base \
the cleanup of scripts only works when performed in the same run command - currently the container is made larger than it has to be


Fix: Remove "Sign up with GitHub" button on mobile

Description
Ability to hide "Sign up with GitHub" button on mobile. Created new conditional to include an isMobile check.
Closes #426
Browser checklist
This PR has been tested in the following browsers:

[x] Chrome
[x] Firefox
[ ] Safari

Testing checklist

[ ] End-to-end tests have been created if necessary

Can you please refactor the logic here. It does not make sense to check for isMobile in one spot and !isMobile in another spot. This can be simplified. Thanks!

Done @taniarascia


populate region in the clusters list

---
apiVersion: api.tsb.tetrate.io/v2
kind: Cluster
metadata:
  name: cotivitidemo-eks-1
  organization: tetrate
spec:
  locality:
    region: "eu-west-1"
  tokenTtl: "8760h"
  tier1Cluster: false

locality... field

added the locality field


update toxlsx and XLSXView for 2.4.0 compatibility

This addresses issue #393 by changing the way in which xlsx imports and exports occur.

I removed encoding from petl/io/xlsx toxlsx, as this is no longer a supported argument in the most recent version of openpyxl. It seems like it always just sets that to 'utf-8' in the most recent version. :/

Thank you!

Thanks a lot Henry, I'll review ASAP.
On Thursday, 20 October 2016, Henry Rizzi<EMAIL_ADDRESS>wrote:

I removed encoding from petl/io/xlsx toxlsx, as this is no longer a
supported argument in the most recent version of openpyxl. It seems like it
always just sets that to 'utf-8' in the most recent version. :/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alimanfoo/petl/pull/394#issuecomment-255207053, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAq8Qmmfu8RJhN9Nol7CfATY5xZrHLhEks5q18OTgaJpZM4KcZev
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721


Custom mapping

Hey again.
I have used tcomment for a long time and gotten used to <C-_><C-_> mapping. So I did set line_mapping to it
line_mapping = "<C-_><C-_>"

it works fine except for visual mode. tcomment did support that, I know there is operator_mapping but I would like to keep that set to default value.
Do you think I could somehow map <C-_><C-_> to toggle single line in normal mode and selection in visual mode too?
Thanks!

you can use ```map("n", "<C-_>", ":CommentToggle", {noremap=true,silent=true})``

Hey, yeah this works:
nmap <C-_><C-_> :CommentToggle<CR>
Doesn't handle your other issue though. Been busy am still planning on getting to it!

Hey, yeah this works:
nmap <C-_><C-_> :CommentToggle<CR>
Doesn't handle your other issue though. Been busy am still planning on getting to it!

For visual mode just use map instead of nmap (map is for n, v and o modes, nmap only for normal mode)


new funny added

Laughing at the expense of Mr. Trump.

@joshuafbarker Can you fix the merge conflict?

@1egoman Should be good now.

Thanks!


Return json response on error

Once we parse the res response with const json = await parser.parse(res) it cannot be parsed again. So we must return the JSON response to be able to understand the issue we are facing. Get the error or stat

Nice catch!


gradle init on Maven project results in NullPointerException

Expected Behavior
Project conversion is successful.
Current Behavior
Project conversion fails with:
* What went wrong:
Execution failed for task ':init'.
> Could not convert Maven POM /home/rbjorklin/git/dropwizard/dropwizard-example/pom.xml to a Gradle build.
  > Unable to create Maven project model using POM /home/rbjorklin/git/dropwizard/dropwizard-example/pom.xml.
    > java.lang.NullPointerException (no error message)

Context
I wanted to compare maven & gradle build times on a dropwizard project.
Steps to Reproduce (for bugs)
git clone https://github.com/dropwizard/dropwizard.git
cd dropwizard-example
gradle init

Your Environment
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/rbjorklin/.sdkman/candidates/gradle/4.5/lib/groovy-all-2.4.12.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

------------------------------------------------------------
Gradle 4.5
------------------------------------------------------------

Build time:   2018-01-24 17:04:52 UTC
Revision:     77d0ec90636f43669dc794ca17ef80dd65457bec

Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM:          9.0.4 (Oracle Corporation 9.0.4+11)
OS:           Linux 4.14.14-300.fc27.x86_64 amd64

I've got the same stack trace, with a more recent version:
$ gradle -v
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/local/Cellar/gradle/4.7/libexec/lib/groovy-all-2.4.12.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Gradle 4.7
Build time:   2018-04-18 09:09:12 UTC
Revision:     b9a962bf70638332300e7f810689cb2febbd4a6c
Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM:          10.0.1 ("Oracle Corporation" 10.0.1+10)
OS:           Mac OS X 10.13.4 x86_64

Same for me with gradle 4.8.1
"gradle init"  does work on some project but not on others
I dig a little and find that it has to do with the resolution of some of our artefacts which are in -SNAPSHOT
In my case, to make "gradle init" works, I had to :

change the parent hierarchy to change the version of the root which was a  -SNAPSHOT (but the direct parent is still a -SNAPSHOT and it works ...)
change the version of our BOM (used in dependencyManagement with a scope import ) which also was a -SNAPSHOT

I guess the behaviour of maven change when the snapshot in question come from a remote repository, which is my case.
Also I think another workaround would be to configure the maven resolver to be offline, but I could find a way to make gradle use maven in offline mode

I made some debug sessions, here what I saw :
in DefaultMetadataResolver.resolve :

session is of type org.apache.maven.artifact.repository.LegacyLocalRepositoryManager$1 (so it is some nested class )
session.getLocalRepository() is implemented in super class org.sonatype.aether.util.FilterRepositorySystemSession
It delegates the call to a nested session :
this nested session is of type org.sonatype.aether.util.DefaultRepositorySystemSession
session.getLocalRepositoryManager() is not null
but session.getLocalRepository() is null   => which cause the NPE
on DefaultRepositorySystemSession which the preceding call is delegated to, the implementation is :

    public LocalRepository getLocalRepository()
    {
        LocalRepositoryManager lrm = getLocalRepositoryManager(); // <<< THIS returns null
        return ( lrm != null ) ? lrm.getRepository() : null;
    }

So it seems the sessionS are not correctly built : I guess that DefaultRepositorySystemSession.localRepositoryManager should have been set to LegacyLocalRepositoryManager$1.localRepositoryManager
or something like this.
I haven't studied the maven code, but I guess you could specify a working RepositorySystemSession in the DefaultProjectBuildingRequest you pass to maven in MavenProjectsCreator

I succeed to reproduce the problem with this simple POM :
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>test</groupId>
  <artifactId>gradle-test-case</artifactId>
  <version>0.0.1-SNAPSHOT</version>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.0.BUILD-SNAPSHOT</version>
    </parent>

	<repositories>
		<repository>
			<id>spring-snapshots</id>
			<url>https://repo.spring.io/snapshot</url>
			<snapshots><enabled>true</enabled></snapshots>
		</repository>
		<repository>
			<id>spring-milestones</id>
			<url>https://repo.spring.io/milestone</url>
		</repository>
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>spring-snapshots</id>
			<url>https://repo.spring.io/snapshot</url>
		</pluginRepository>
		<pluginRepository>
			<id>spring-milestones</id>
			<url>https://repo.spring.io/milestone</url>
		</pluginRepository>
	</pluginRepositories>

</project>

yepp, cannot convert my pom either^^

A similar problem exists in my project too (multi-module complex POM :cry:  )

change the parent hierarchy to change the version of the root which was a -SNAPSHOT (but the direct parent is still a -SNAPSHOT and it works ...)

I tried this workaround but couldn't succeed. I get the same error in the stack trace.

Commenting out repositories in pom.xml and then running gradle init worked for me.
I guess since this migration to gradle still being an incubator project, gradle system isn't able to decode repositories  section yet.

I was similarly able to resolve by temporarily removing my .m2/settings.xml and then running gradle init.

here it worked like this, tx @jjohannes for the pointer:

remove local repository entry in settings.xml
do a maven build so all dependencies end up in the maven local cache in java user.home/m2/repository
move the settings.xml out of the way
./gradlew init

I think the critical issue is not the  element, but the  element, as shown in the post from @farrault above. I was able to work around this by using Maven to write out the effective pom, which obviates the need to specify the parent, since all of the dependency versions, plugin configurations, etc., from the parent get rendered in the effective pom. I still needed to edit the effective pom to remove the  element, but with that done the conversion worked smoothly everywhere.
The NPE claims it occurs on line 279 of DefaultMetadataResolver in the aether-impl library, but there's actually nothing on 279 to be null, so It's difficult to tell exactly what might be the issue.
File checkFile =
    new File(
        session.getLocalRepository().getBasedir(),
        session.getLocalRepositoryManager().getPathForRemoteMetadata( metadata, repository,
                                                                      request.getRequestContext() ) );

I'd guess that removing or otherwise messing with ~/.m2/settings.xml works in some cases because of similar issues with resolving metadata from external references.
Since aether-impl 1.13.1 is almost 10 years old and Sonatype has archived the repository, I don't think a fix for this is coming any time soon, so hopefully this workaround will help others.

Gradle 7.0 will use the latest Maven release here and with that also newer versions of other dependencies required here. This should resolve the issue.
Maybe someone can confirm this using the latest 7.0 nightly.

@jjohannes the null pointer is gone, true, thank you! it thinks it needs to got to the internet for maven dependencies now:
* What went wrong:
Execution failed for task ':init'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
   > Could not resolve org.apache.maven:maven-core:3.6.3.
     Required by:
         project :
      > Could not resolve org.apache.maven:maven-core:3.6.3.
         > Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/3.6.3/maven-core-3.6.3.pom'.
            > Could not HEAD 'https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/3.6.3/maven-core-3.6.3.pom'.
               > repo.maven.apache.org
   > Could not resolve org.apache.maven:maven-plugin-api:3.6.3.
     Required by:
         project :
      > Could not resolve org.apache.maven:maven-plugin-api:3.6.3.
         > Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/3.6.3/maven-plugin-api-3.6.3.pom'.
            > Could not HEAD 'https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/3.6.3/maven-plugin-api-3.6.3.pom'.
               > repo.maven.apache.org
   > Could not resolve org.apache.maven:maven-compat:3.6.3.
     Required by:
         project :
      > Could not resolve org.apache.maven:maven-compat:3.6.3.

Yes @soloturn. That's a deliberate decision for Gradle 7 so that we do not need to ship all these dependencies with Gradle anymore. Because they are only needed for the "gradle init from Maven project" use case.

@jjohannes how to convince it to download it from the repository mirror in the settings file? or is there an etnry in the gradle configuration to set the repo used?

I am afraid it is currently not possible to use a mirror in this scenario, because the (currently sill internal)  DetachedResolver API is used. As fas as I know, there is no way to influence this right now. //cc @ljacomet

Possible workaround here:
https://github.com/gradle/gradle/issues/25449

What about what a user tried in #19884?


Fullscreening a window doesn't bring it to the front

I have yabai -m config focus_follows_mouse autofocus, so when I move my mouse to a window, it gains focus, but doesn't move to the front. If I move my mouse to a particular window and then yabai -m window --toggle zoom-fullscreen it, it zooms to fullscreen, and still doesn't come to the front, which places it behind other windows.

(I know this GIF isn't super useful, sorry. This one's a bit hard to record…)
That makes sense as expected behavior, but I'd like to pull the window to the front when I --toggle zoom-fullscreen, and I can't find a command that will do that. I there a way to simply bring a window to the front (but not move it to the above layer)?

You can focus the already focused window to raise it explicitly.
yabai -m window --focus "$(yabai -m query --windows --window | jq -er .id)"

Ah, brilliant! Thank you!

Strangely I have this after updating to Sonoma 15.2


Table filters

I would like to make a PR for table filters, but first I would like to know which kind of filters people would like to use in at-table.

Is a search bar for filtering a good idea? I wouldn`t like to scape the table scope for first, but if useful thats a thing to consider.
Basic filters -> give options.
Complex filters -> give options.

Thoughts on front-end and back-end sorting? I guess front-end only for now or give options to the developer/user?
Some egs.:  the most generic example: age column, filter and show only rows with age over 38, or between age X and Y. Tags filter like ElementUI table is a thing to consider too, its so useful. Date filter.
Obs.: I won`t overload the table element as well so, go light. I pretend to start after discussing and getting thoughts on this, specially by @koppthe

Glad to see this discussion : )
In my opinion, i wouldn't like to make component become complicated. KISS is the design principle that AT-UI followed. The KISS principle states that a solution is better when it uses less polymorphism.
Maybe at-table focus on data display is better. It's good to add table filters, but the premise is simplicity.

Some egs.: the most generic example: age column, filter and show only rows with age over 38, or between age X and Y. Tags filter like ElementUI table is a thing to consider too, its so useful. Date filter.

I agreed with you. A simply filter in table column is very useful. Other filters maybe more suitable in search bar.

Thanks for your feedb, i'm taking the time to learning at-ui design and principles for now. I think would be better to leave this open until de PR is finished. Until that, I will review myself what would be most simple and usable (I mean by usability) ways to do filtering, and then do it.

wow~ thanks for your work. AT-UI is not good enough now, but i believe that open-source can make it better. : )


Use Apache's release to produce the source release

And use final-name to override the artifact and directory names

R: @davorbonaci

And what do we do for future binary distributions ?
Testing the output and content.

I'm checking if the artifactId is correct in the .m2/repository (and used for the deploy). It's good for target folder for sure, but not sure for the maven deploy. Checking.

If we agree to do the rename manually of the source distribution and all related signature files, that's OK.
IMHO, it's better to have apache-beam...zip on dist.apache.org (as you can see for other projects on dist.apache.org/release like spark, karaf, etc).

As reminder, the purpose of the distributions module was:

use apache-beam as artifactId allowing us to directly have the correct filename in the maven coordinates used for the deploy (apache-beam...zip)
prepare the future to create binary distributions (using a specific assembly descriptor) like apache-beam-java-spark-bin...zip

Just checked with the rename of the zip file: the signature is still valid:
gpg --verify beam-parent-0.2.0-incubating-SNAPSHOT-source-release.zip.asc foobar.zip
gpg: Signature made Wed 08 Jun 2016 09:15:54 PM CEST using RSA key ID C8282E76
gpg: Good signature from "Jean-Baptiste Onofré<EMAIL_ADDRESS>gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 1AA8 CF92 D409 A733 93D0  B736 BFF2 EE42 C828 2E76

So, I will update the release guide to document the renaming step before uploading to dist.apache.org.
LGTM

LGTM. Merging.


disappearance of Dark mode/light mode option

Hello @codervivek5
When we open login page or contact us page dark mode option disappeared I want to work on this issue please level it and assign it to me.

in login page when we click on verify or sign in with Google then there is collision between lines.

Heyy...Can U please assign me this issue...i would love to work on this issue.....as i have done this earlier also ....Thanks

@codervivek5 Hello
please assign this issue to me under GSSOC24


Rows not disappearing after collapse

Hi !
I'm having a little problem with you plugin :/
In fact, the rows informations aren't disapearing after the collapse of a row. I had quiet the same issue a couple weeks ago but it was due to spaces in the ids. I changed this, and here i'm gettin this again without spaces in them. Do you know why ?
Here's a jsfiddle of the thing : http://jsfiddle.net/jwx7nkhg/2/
Thanks in advance !

 Solved ... I added .Trim() like everywhere in my code, and it's fine right now. Sorry for bothering :P


docs(isms): Break long lines; move easy eg up

Continuation of #146 / #147
Based on this:

I think it's okay to break up very long ones into multiple lines.
- https://github.com/uiua-lang/uiua/issues/146#issuecomment-1764588502

This pr just:

at 2 places, adds line break from super long singl line expressions in previous line
at 2 placees movd th_ _asir & small_r eexample b_fore

Fixes #153

Fix #146


[bug]: Not adding the .desktop .mobile and .tablet files

Describe the bug
When creating a new view with preferWeb: true it only creates the following views:
stacked create view welcome2
templateType:empty preferWeb:true
Created File: 'test/viewmodels/welcome2_viewmodel_test.dart'
Created File: 'lib/ui/views/welcome2/welcome2_viewmodel.dart'
Created File: 'lib/ui/views/welcome2/welcome2_view.dart'
To reproduce

Create a new view

Expected behavior
From your web tutorial video, it should create another 3 files.
Screenshots
No response
Additional Context
The project was created using this command: stacked create app **** -t web --platforms web ios android windows --org *****

Can you remove the number from the view name and see if it works

templateType:empty preferWeb:true
Created File: 'test/viewmodels/bemvindo_viewmodel_test.dart'
Created File: 'lib/ui/views/bemvindo/bemvindo_viewmodel.dart'
Created File: 'lib/ui/views/bemvindo/bemvindo_view.dart'

Same problem, before trying "welcome2" created "welcome".
Changed from the "Powershell" (was unstable when using "stacked generate") and I'm now on CMD, same behaviour.
Windows 11, with the VSCode terminal.

try passing the template argument:
stacked create view welcome2 -t web

@raphasampaio Thanks, it worked that way, both in CMD and Powershell.
Created File: 'test/viewmodels/welcome2_viewmodel_test.dart'
Created File: 'lib/ui/views/welcome2/welcome2_viewmodel.dart'
Created File: 'lib/ui/views/welcome2/welcome2_view.tablet.dart'
Created File: 'lib/ui/views/welcome2/welcome2_view.mobile.dart'
Created File: 'lib/ui/views/welcome2/welcome2_view.desktop.dart'
Created File: 'lib/ui/views/welcome2/welcome2_view.dart'


Add no-unused-private-members rule

Fix: #884

Thanks! I think that this is a really nice new rule 👍

...and btw. when you rebase, just remove the 6.0.1 version number from the CHANGELOG.md as the next version should be 6.1.0

Released in https://github.com/stylelint-scss/stylelint-scss/releases/tag/v6.1.0


Update dab start --help loglevel link

Why make this change?

closes #1819
CLI has unusable (truncated) link as seen here:

This pr fixes that.

What is this change?

Updating to the link: https://go.microsoft.com/fwlink/?linkid=2263106 -> https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.loglevel

Looks like:

How was this tested?
Tested in cli with cmd dab start --help, screenshot with change shown above.

/azp run


Remove is-core-module dependency

Please provide enough information so that others can review your pull request:
Node.js from v6.13.0, v8.10.0, v9.3.0 includes module.builtinModules which we can use to natively check if some module belongs to Node.js core or not.
This drops not one, but three dependencies, removing 70 KB of bloat: https://npmgraph.js.org/?q=is-core-module
Closing issues
Closes #334

Hi @wojtekmaj ,
First of all, thanks for your contribution! 😃
Could you please add some test? I suppose that adding a pair of tests checking that importing both types of core modules is valid would be enough (with or without prefix, I suppose, according to the implementation). You could add them to the test function in the test/rules/one-level/element-types.spec.js, for example.
Anyway, just let me know if you need help to run tests locally or whatever.

Sorry for the delay. Added these :)


add deprecation warning to 'generate-xcodeproj'

motivation: Starting Xcode 11, packages are directly supported by Xcode and the generate-xcodeproj command is no longer needed
changes:

add deprecation warning that generate-xcodeproj will be deprecated soon
add test

rdar://problem/65633238

@swift-ci please smoke test

Hi @tomerd,
I don't want to come here to create any kind of disturb around of this decision, but if you don't mind, would you explain a bit better why this decision was taken? What was the rationale?
Even if the Xcode support packages directly,  one of the great benefits of the Swift Package Manager is exactly the generation of the Xcode project. I'm sure that a lot of people in the community uses this resource. Talking about myself, my way to work is almost always the same:
-> swift package init
-> configure some dependencies on Package.swift
-> swift package generate-xcodeproj
Accept my apologies if I'm missing some previous decision, I'm not being so active in the Swift community in the last few months and maybe I'm up to date.
Personally speaking, I don't think the deprecation of the generate-xcodeproj a nice decision for us all, maybe I'm possibly being selfish here, but after the deprecation, our way to generate Xcode projects based on the SPM projects, will be a bit more bureaucratic.

Talking about myself, my way to work is almost always the same:
-> swift package init
-> configure some dependencies on Package.swift
-> swift package generate-xcodeproj

Is there any benefit to following these steps instead of just opening Package.swift in Xcode? Seems like the latter is easier and doesn't require any additional actions.

Talking about myself, my way to work is almost always the same:
-> swift package init
-> configure some dependencies on Package.swift
-> swift package generate-xcodeproj

I'm genuinely curious, is there any benefit to following these steps instead of just opening Package.swift in Xcode? Seems like the latter is easier and doesn't require any additional actions.

To be really honest, I'm in shock @MaxDesiatov because this is something I never tried. I used to copy the folder directly to some existing project, but never tried to open the folder itself without a xcodeproj.
Indeed, after your pointing I guess I was overworking here!  😱
Thanks a lot @MaxDesiatov!

@swift-ci please smoke test

Talking about myself, my way to work is almost always the same:
-> swift package init
-> configure some dependencies on Package.swift
-> swift package generate-xcodeproj

I'm genuinely curious, is there any benefit to following these steps instead of just opening Package.swift in Xcode? Seems like the latter is easier and doesn't require any additional actions.

I haven't used Carthage in a while but it looks to me that Package.swift support is still not done yet: https://github.com/Carthage/Carthage/issues/2867

There are two options then:

Carthage generates an Xcode project for a given Package.swift on its own. This implementation would also be predictable, as Carthage can then fully control the generation process as it sees convenient. Carthage can then expect that this behavior won't break in future versions of SwiftPM and wouldn't need to rely on this behavior it can't control.
Users that currently rely on Carthage migrate to SwiftPM, which is a cross-platform package manager that in addition to Apple platforms and Linux now also supports Windows and WebAssembly. This also reduces the maintenance burden from such users, as to support those platforms they only need a single package manager. And if SwiftPM lacks any functionality present in Carthage that they need, it should be reported so that SwiftPM is improved to accommodate more users.

The main advantage of Carthage is that it prebuilds rarely changing dependencies for you (and creates a lock file, so that the same version is used across development environments), speeding up the build process. (Especially if clean build means that the prebuilt dependencies are kept if their version and Xcode version didn't change)
I don't really use SPM currently either (We have our own internal system for dependency management), but I think this is not supported yet and have been already requested before.

The main advantage of Carthage is that it prebuilds rarely changing dependencies for you

This was available in SwiftPM since its first version, as far as I'm aware. Running swift build prebuilds dependencies for you, and repeated runs of swift build or swift test don't rebuild dependencies that were already prebuilt.

and creates a lock file, so that the same version is used across development environments

Is there anything missing in Package.resolved generated by SwiftPM solving the same problem?

At all the places I worked at, release builds required to be clean builds and built dependencies could be kept but had to be rebuilt from 0 when their version (or the used Xcode version) changed. If you want that with SPM, you have to write additional code for your release flow instead of just using swift builld

Since Swift 5.3 you can use binary dependencies and XCFramework format to achieve the same result. What additional code is needed then?

Let's say you want to add Realm as a dependency which is not distributed in a binary format (through Package.swift) but you want to keep its build product while its (and Xcode's) version is unchanged and clean build it when updating versions. Meanwhile you want to both clean build and incremental build your local code (on different machines).
Totally different topic: XCFramework requires “Build Libraries for Distribution”, does that result in the exact same performance if it was built with the same compiler version? As far as I understand, it sacrifices some amount of performance but allows you to update the framework and app separately (for example when distributing a kernel extension and a framework that other apps can dlopen during run). Or is the only reason to not make that the default is to avoid it's side effect of requiring @unknown default case for non-frozen enums?

Talking about myself, my way to work is almost always the same:
-> swift package init
-> configure some dependencies on Package.swift
-> swift package generate-xcodeproj

I'm genuinely curious, is there any benefit to following these steps instead of just opening Package.swift in Xcode? Seems like the latter is easier and doesn't require any additional actions.

Talking about myself, my way to work is almost always the same:

-> swift package init

-> configure some dependencies on Package.swift

-> swift package generate-xcodeproj

I'm genuinely curious, is there any benefit to following these steps instead of just opening Package.swift in Xcode? Seems like the latter is easier and doesn't require any additional actions.

I believe there is.
Generating xcodeproj gives you control over downloading dependencies(well, at least if feels like it)
When you open a Package.swift file, it immediately starts to download all packages(anyone testing this on low speed internet connection btw?)
When I open a XcodeProj file it does nothing(which is good). If I really want to download packages, I have a command to run and I control the process.
To give examples:
I often find myself, downloading something from github and I just want to open the project, to look over the files.
It's a library, I don't have anything to run there(well, maybe tests, but usually there is a badge on github page saying they're all green), so I don't really care if dependencies are loaded.
So, I just want to navigate through the directory .
I open the Package.swift file and it downloads all the dependencies(which is not possible to disable).
And when I tried to close it, I see an alert, if I want to stop some action. Action which I never started.
Comparing to opening a generated (and committed in git) xcodproj.
Dependencies are all missing in the respective folder. But nothing starts to download. I can navigate through all files in the package. I can close it. If I want to download the dependencies, I just recreate xcodeproj.

I don't know if this is a good change. I have an entire army of swift PM projects that specifically require an xcode-project because xcode for some reason refuses to understand that /usr/local exists.

I have an entire army of swift PM projects that specifically require an xcode-project because xcode for some reason refuses to understand that /usr/local exists.

could you elaborate please so we can address these

It is usually a problem when I try to use things like Ed25519 implementation using libsodium or IO through libevent, which are most easily installed using homebrew. The go-to way for me to make this a buildable project is either through CLI or by adding /usr/local/lib to the linker flags and /usr/local/include to the header search paths in a generated xcode project for development. I must admit I haven't tested this with Xcode 12.2 but it was still a problem when I was using 12.0 on catalina. I can provide project samples as they aren't bound to any specific license -- but i'm probably taking over the PR at this point so I'd be willing to provide these somewhere more suitable.

Started https://forums.swift.org/t/rfc-deprecating-generate-xcodeproj/42159 to track this follow-on discussion

At all the places I worked at, release builds required to be clean builds and built dependencies could be kept but had to be rebuilt from 0 when their version (or the used Xcode version) changed. If you want that with SPM, you have to write additional code for your release flow instead of just using swift builld

We also do this, all CI builds are clean ones, (I tried to add a cache to Carthage), and now that we are moving to SPM, I was thinking of speeding up our CI pipeline by a tool that builds xcframework (or check if already in cache) for each dependency found in Package.resolved and then replace them with a "local one"
Of course such a tool will be built in swift:
swift run cache-packages-toolname Path/to/Package.resolved ~/Library/Cache/SPMBuildCache
before running any xcodebuild commands

You can use xcodebuild for packages that don't have an Xcode project, as described here https://stackoverflow.com/a/62246008/442427


Add transcriptions data to ResourceObject.

Slack, please show me this.

These changes look ok to me. We'll need to make sure the string value for 'USE' doesn't break anything.

yeah but I see it as the job of the consumer (like Aubrey) since all the USE values coming out of aubreylib are strings anyways, it's just that most are string representations of integers.

I didn't mean change the code here for that, just that we need to verify in aubrey/edit/elsewhere that things won't break when we start using this code.

gotcha. yeah, working through that now. Found a couple issues but so far they seem to have simple solutions.


Add route sorting

[ ] (Frontend) Add a column in ChainMembers with custom sorting

[x] Name column Route
[ ] Use drag-and-drop to change the sorting (only allow when sorting is set to route sorting) #286

[x] (Backend) Implement sorting in database

[x] Add a column in the Chain table which is an encoded json array of user IDs
[x] Ensure that the value is updated when a user is removed or added

:information_source: The optimize route ordering is moved to a separate issue #343

code is functional just need to tweak it a bit.

@jnorlando I can finish this issue off, if you like, then you can focus on tsp.
Be mindful that there are some changes in the new sorting database structure

No thank you, it will give me something to do in between go-tsp/as a warmup! Just as an fyi, I've shifted my schedule to more focused work on tickets Fri-Mon, so expect to see most of my PRs come in on Mondays. This may change however do to increased availability after my employers for their trip this weekend.


Update sbt-mima-plugin to 0.4.0

Updates com.typesafe:sbt-mima-plugin from 0.3.0 to 0.4.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "com.typesafe", artifactId = "sbt-mima-plugin" }]

labels: semver-minor

Codecov Report

Merging #1197 into master will increase coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1197     +/-   ##
=========================================
+ Coverage   86.26%   86.37%   +0.1%
=========================================
  Files          90       90
  Lines        2803     2803
  Branches      114      114
=========================================
+ Hits         2418     2421      +3
+ Misses        385      382      -3

Impacted Files
Coverage Δ

...re/shared/src/main/scala/io/circe/JsonNumber.scala
87.8% <0%> (-1.22%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
85.75% <0%> (-0.75%)
:arrow_down:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
87.71% <0%> (+0.58%)
:arrow_up:

...les/core/shared/src/main/scala/io/circe/Json.scala
79.14% <0%> (+1.84%)
:arrow_up:

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
97.29% <0%> (+2.7%)
:arrow_up:

...e/generic/extras/decoding/EnumerationDecoder.scala
100% <0%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

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


nodejs: upgrade esbuild 0.14 override

I wonder if there's no way to automatically generate this in the impure phase? The module now has a check for the binary version and doesn't like it when there's a mismatch.

actually, 0.14 now uses optionalDependencies and so an override is no longer needed

Yes, 0.14 works fine without the override, I have a commit in my other branch that only removes that.

FYI now this PR just removes the override for 0.14

FYI now this PR just removes the override for 0.14

esbuild is a GO program, I really wonder how it can work without a binary. Maybe it just works in your case, because you depend on esbuild but don't make use of it during build?

It's very clever: It has optional dependencies on static binaries directly packaged as NPM packages, and then the os filter only installs the correct platform.
For example<EMAIL_ADDRESS>

Wow unpkg.com is an incredible tool .Thanks for that. OK, it seems like esbuild has this mechanism since 0.13.0.
Though currently most of our translator seem to ignore optionalDependencies. At least on the top-level. That should probably be fixed.


date_picker not saving date

Description
There is a bug in the date_picker field of the model which is preventing the user from saving date.
Steps to reproduce
Open the application and navigate to the date_picker field.
Click on the date_picker field to open the date picker.
Select a date from the date picker.
Click on the "Save" button to save the data.
Expected result
The selected date should be saved successfully and the user should receive a confirmation message.
Actual result
After selecting a date and clicking on the "Save" button, nothing happens. The selected date is not saved and confirmation message is displayed.
Versions
Twill version: 3.0.1
Laravel version: 10.7.1
PHP version: 8.1
Database engine:  MySQL 5.7

Hi @iliabaan, did you add your date field to your model fillables, and did you set a datetime cast for it?

Hello! Yep, I did it.
`protected $fillable = [
'published',
'title',
'description',
'content',
'publish_date',
'sources',
'sector_id'
];
protected $casts = [
'sources' => 'array',
'publish_date' => 'datetime',
];`

@ifox I have the same issue. Worked before upgrade to Twill 3. Looking in the browser console, I see the value sent to the server is null , so seems to be a frontend issue. Another thing that stands out: the first time I select a date, the datepicker input field stays empty.

Hi @dweerd are you sure that you are using the latest compiled assets? php artisan twill-update

Yes! To be sure, I did it again, but made no difference.

Is there a cast on that column in your model?

No, but I have added it now but makes no difference. As said, it seems to be wrong in the frontend:

whatever I select, it sends null from the frontend to the server.

Please share the code you are using to declare that form field.

public function getForm(TwillModelContract $model): Form
{
	$form = parent::getForm($model);

	$form->add(
		Datepicker::make()
			->name('date')
			->label('Datum')
			->altFormat('j F Y')
			->withoutTime()
	);
}

I am also experiencing the same issue. My code for adding the datepicker is similar to that of dweerd and the date field is set as a 'fillable'.
$form->add(
            DatePicker::make()->withoutTime(true)->name('date')->label('Date')
        );

 protected $fillable = [
        'published',
        'title',
        'description',
        'details',
        'location',
        'date'
    ];

this behavior is achieved due to incorrect work with the ->withoutTime() call
the problem is in the frontend component, if you select it a second time, the result is saved in the input

Don't suppose you have a fix for this? Client's not gonna want to click multiple times to set a date.

this behavior is achieved due to incorrect work with the ->withoutTime() call
the problem is in the frontend component, if you select it a second time, the result is saved in the input

While clicking the date a 2nd time does fill the input most of the time for me, I have noticed that about 99% of the time it doesn't save the input's value to the database; thus rendering the input useless. Currently, I have to manually insert dates into the database. This is not a huge inconvenience, as the site I'm using this on is currently in development, but this would be a serious bug for a live site.

Yep, for my live site I currently switched to a plain text-input as a work-around.

Hi everyone, I'm not able to reproduce this anymore on Twill 3.1.0, but someone else unfortunately reported it again in #2429. Are you all on Chrome on Windows like @iedex? Is it fixed for you in 3.1.0? I'll try to reproduce on Windows.

Ah, sorry, It looks like I'm using the old assets, and I don't know why...

Any hints? Thanks.

Removed twill assets folder, did artisan twill:update, artisan cache:clear and how it loads latest assets.
The issue with date picker is fixed. Sorry for this false alarm.
Thank you!

@ifox I've tested on Chrome and Firefox for both Windows and Linux previously. On a Windows machine right now, but twill 3.1.0 seems to have fxed it.


Update README.md

Fixed the year on last releases

Why don't you want to fix the dates?
On 7 Feb 2016 10:18 a.m., "Mark Marijnissen"<EMAIL_ADDRESS>wrote:

Closed #4 https://github.com/markmarijnissen/cordova-file-cache/pull/4.
—
Reply to this email directly or view it on GitHub
https://github.com/markmarijnissen/cordova-file-cache/pull/4#event-542079142
.


Issues with CC:Tweaked

Appears as though it causes issues with using CC:Tweaked, continually gives me "Mod tisstring only supports computercraft. Currently, computercraft is 1.101.2 " Any explination as to why its doing th is and how to remidy it would be welcome.

probally just gotta change the version it checks for, gonna see if I can quickly do that once I get home (then upload the small fixes)


Support sapi_windows_set_ctrl_handler in onSignal?

See https://github.com/amphp/amp/issues/262.

This can be implemented separately, see comments in above linked issue.


web api invoke return null

using php curl invoke:
$url = "https://<IP_ADDRESS>:8443/ContactListService/contacts";
$parameters =<EMAIL_ADDRESS>	$ch = curl_init( );
	curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false );
	curl_setopt( $ch, CURLOPT_URL, $url );
	curl_setopt( $ch, CURLOPT_POST, 1 );
	curl_setopt( $ch, CURLOPT_POSTFIELDS, $parameters);
	curl_setopt( $ch, CURLOPT_TIMEOUT, TIMEOUT );
	$contents = curl_exec( $ch );
	curl_close( $ch );
	echo $contents;

but return null ,how to solve?

the server is closed, so you can't call the api now

ths,we are using php,how can we take use of your java code?
At 2011-10-26 16:59:23,"Richard Huang"<EMAIL_ADDRESS>wrote:

the server is closed, so you can't call the api now
--
Reply to this email directly or view it on GitHub:
https://github.com/flyerhzm/contactlist/issues/14#issuecomment-2528139

you can deploy the java code as a war

To view the message, please use an HTML compatible email viewer!


Mongo DB error: distinct too big, 16mb cap

error:
distinct too big, 16mb cap
mongodb data size:
hatterbot-database	0.953125GB

Same error here. Not with one of the examples though but with an import of https://www.cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html in particular the movie_lines.txt
The import is fine and it will work upto some point while importing but by the time the import is done I will get a pymongo.errors.OperationFailure: distinct too big, 16mb cap error. I will try again limiting the length of the phrases to 160 characters and report back.

@gunthercox i can confirm that if the size of the of text or phrase is limited (tried 160 characters) i see no  "Mongo DB error: distinct too big, 16mb cap" error.

I'm going to close this ticket off as it is a duplicate of #261


GIF performance problem

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
iOS

Platform Version
10.3

SDWebImage Version
4.0.0

Integration Method
Cocoapods

Xcode Version
Xcode 8.3.2

Repro rate
100%

Demo project link
https://github.com/Silence-GitHub/GIFDemo

Issue Description and Steps
When using FLAnimatedImageView in table view cell, displaying too many GIF images may lead to performance problem. I think creating FLAnimatedImage in main thread leads to the problem. Creating FLAnimatedImage in global queue (not in main queue) solves the problem, and makes scrolling smoothly.
My test test demo (written in Swift) is here: https://github.com/Silence-GitHub/GIFDemo
I forked and submitted a pull request: https://github.com/Silence-GitHub/SDWebImage

I create an PR for your commit (Since you commit these changes in your own fork but not SD's repo 😅 )
#2047

#2047 was finally merged, this ticket can be closed.
@Silence-GitHub 4.2.0 will be released soon and it contains this fix. Thanks for the original idea.


WinAppDriver 1.1 not compatible with Appium 1.8.1

https://github.com/Microsoft/WinAppDriver/tree/v1.1-Preview
Please provide instructions on how to modify Appium to point to the Preview WinAppDriver.
Or do I need to raise an issue on appium-dotnet-driver project?
https://github.com/appium/appium-dotnet-driver/wiki/How-to-start-an-AppiumDriver-locally
Error in Appium Logs:
Encountered internal error running command: Error: Could not verify WinAppDriver install; re-run install
at WinAppDriver.start$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-windows-driver\lib\winappdriver.js:35:13)
at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at
Tried
cd C:\Program Files (x86)\Appium\resources\app\node_modules\appium
npm update appium-windows-driver
but no luck

thx @yodurr
For future reference the version currently supported is here:
https://github.com/appium/appium-windows-driver/blob/2e203c2f0aa016f3b16ec6c1d3a613b1c785eec9/lib/installer.js#L7
as of today it is
v=1.1 and
MD5 =2d1b2adfb7b8d86fd890e260c1400ab7
also - monitor upgrade to later version here: https://github.com/appium/appium/issues/11807


POC Fix for iPad sharing dialouge

This shows here the issue is. It is not correct, as it results in something like this pointing to the middle of the screen.

imo good enough for now


Feature Request: Focus Lost Event

At the moment you can't implement drop downs properly as you would want their "overlay window" to close automatically when they lose focus. I have a PR lined up for this.

Would the lifecycle events HotChanged and FocusChanged work?


Revert "workaround when netplan is a hard requirement for the IAAS"

Reverts cloudfoundry/bosh-agent#238
reverting as this breaks all iaases accept softlayer
https://github.com/cloudfoundry/bosh-agent/pull/238#issuecomment-817841850
https://cloudfoundry.slack.com/archives/C01C7V4U79U/p1623916286000200?thread_ts=1607317868.022400&cid=C01C7V4U79U

@ramonskie Thanks!


Issue when go get repository

Hello,
when I run
go get -u srcd.works/go-billy.v1/...

I get an error like that :
# cd /home/miramaze/go/src/srcd.works/go-billy.v1; git pull --ff-only
fatal: protocol error: bad line length character: PACK
package srcd.works/go-billy.v1: exit status 1

It happened to us. Can you remove the repository an make a go get again? sorry

Yep it worked, thanks for the trick.


Project structure and first unit test

@Fadila82 make go-build should be fixed now. Thanks for catching this!
I also added test target to the Makefile.


Is it possible to download my bookmarks/collections from my pixiv account with Grabber?

hello. just wanted to know if Grabber has this feature. i'd also like to know how to do it. thank you.

Yes, you can use bookmarks:USER_ID, as documented here:
https://bionus.github.io/imgbrd-grabber/docs/sources/pixiv.html


A service user cannot post a manual dag

Neither can a normal user.
See cornflow/endpoints/dag.py:DAGEndpointManual
It has ROLES_WITH_ACCESS = [ADMIN_ROLE, SERVICE_ROLE] But it does accept the request from a SERVICE_ROLE user. It does not accept a planner user, I guess. It should allow, at least, the SERVICE_ROLE and probably, the PLANNER_ROLE.

Ok so for the service user doesn't work because the service user does not have permission to post in any endpoint:
BASE_PERMISSION_ASSIGNATION = [
    (VIEWER_ROLE, GET_ACTION),
    (PLANNER_ROLE, GET_ACTION),
    (PLANNER_ROLE, PATCH_ACTION),
    (PLANNER_ROLE, POST_ACTION),
    (PLANNER_ROLE, PUT_ACTION),
    (PLANNER_ROLE, DELETE_ACTION),
    (ADMIN_ROLE, GET_ACTION),
    (ADMIN_ROLE, PATCH_ACTION),
    (ADMIN_ROLE, POST_ACTION),
    (ADMIN_ROLE, PUT_ACTION),
    (ADMIN_ROLE, DELETE_ACTION),
    (SERVICE_ROLE, GET_ACTION),
    (SERVICE_ROLE, PATCH_ACTION),
    (SERVICE_ROLE, PUT_ACTION),
    (SERVICE_ROLE, DELETE_ACTION),
]

I could add an exception in EXTRA_PERMISSION_ASSIGNATION = [(VIEWER_ROLE, PUT_ACTION, "user-detail")] and that should fix it. This same exception could be added to the PLANNER_ROLE.


Cannot 'ng update' with private Npm packages

Bug Report or Feature Request (mark with an x)
- [ x ] bug report -> please search issues before submitting
- [ ] feature request

Area
- [ x ] devkit
- [ ] schematics

Versions
node --version: v9.5.0
npm --version: 5.6.0
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:        18.04
Codename:       bionic
Repro steps
Ensure your project uses a Private npm package (which would obviously require a login via 'npm login')
Run the 'ng update' command
The log given by the failure
Not found : <package_name>
Desired functionality
Given npm is authenticated using the npm login command, the ng update command should function
Mention any other details that might be useful

Can you provide the configuration keys (no values needed) contained within the .npmrc file (at a minimum the ones related to the private npm package)?

//registry.npmjs.org/:_authToken=${NPM_TOKEN}
As seen here I believe https://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules

Duplicate of #10624 as far as I can see.

Yes, looks like the next duplicate of a low frequent issue 😆