NetTopologySuite.IO.Esri.ShapefileException:“Invalid polygon geometry.”

List kcdjfer = new List();
var fk = Shapefile.OpenRead(shpPath);
foreach(var fere in fk)
{
kcdjfer.Add(fere);
}
here    (var fere in fk)    NetTopologySuite.IO.Esri.ShapefileException:“Invalid polygon geometry.”

This error typically occurs when the geometry in the shapefile does not meet the OGC standards, which might include issues like self-intersecting polygons or incorrectly ordered vertices. To handle this issue, you can use the GeometryBuilderMode.FixInvalidShapes option which attempts to automatically correct some of the common geometry errors when reading shapefiles.
var options = new ShapefileReaderOptions
{
    GeometryBuilderMode = GeometryBuilderMode.FixInvalidShapes
};

var kcdjfer = new List<Feature>();
using var fk = Shapefile.OpenRead(shpPath, options);
foreach (var fere in fk)
{
    kcdjfer.Add(fere);
}

If this does not resolve the issue, please share the problematic shapefile, or a part of it containing the error, for a more detailed diagnosis.

这是来自QQ邮箱的自动回复邮件。

    您好，你发送的邮件我已经收到。。

Thank you very much for your reply. Now I will try using your method to see if this problem can be solved

I hope the solution I provided helped resolve the issue. As there hasn't been any follow-up, I'm closing this issue for now. If the problem persists or if you have any further questions, feel free to reopen the issue or create a new one.


Warnings when updating to rubocop 0.32.0

When running gem update, I get these warnings:
Updating rubocop
Fetching: rubocop-0.32.0.gem (100%)
Successfully installed rubocop-0.32.0
Parsing documentation for rubocop-0.32.0
Installing ri documentation for rubocop-0.32.0
Installing darkfish documentation for rubocop-0.32.0
(eval):2: warning: invalid character syntax; use ?\s
(eval):6: warning: else without rescue is useless
Done installing documentation for rubocop after 4 seconds
Parsing documentation for rubocop-0.32.0
Done installing documentation for rubocop after 2 seconds

Seems like something related to the InvalidCharacterLiteral cop, but this hasn't been changed in a while. @jonas054 Any ideas?

Looks like we get these warnings from rdoc due to bad code (on purpose) under @example in documentation comments in the files

https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/lint/invalid_character_literal.rb
https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/lint/useless_else_without_rescue.rb

Guess we can ignore this.


Error loading account history: Error: Invalid response id: undefined

Bot problems today..
Mon Apr 23 2018 10:20:53 GMT-0700 (PDT) - Error Count: 6, Current node: https://api.steemit.com
Mon Apr 23 2018 10:20:53 GMT-0700 (PDT) - Error loading account history: Error: Invalid response id: undefined
Mon Apr 23 2018 10:21:02 GMT-0700 (PDT) - Error Count: 1, Current node: https://api.steemit.com
Mon Apr 23 2018 10:21:02 GMT-0700 (PDT) - Error loading account history: Error: Invalid response id: undefined
Mon Apr 23 2018 10:21:12 GMT-0700 (PDT) - Error Count: 2, Current node: https://api.steemit.com
Mon Apr 23 2018 10:21:12 GMT-0700 (PDT) - Error loading account history: Error: Invalid response id: undefined

Yes, the SteemIt API node is having issues with account history today. I suggest using rpc.buildteam.io instead.

my config file has
"rpc_nodes": [
"https://api.steemit.com",
"https://rpc.buildteam.io",
"https://steemd.minnowsupportproject.org",
"https://steemd.privex.io",
"https://gtg.steem.house:8090"
],
Is the bot not supposed to switch to another  node automatically, if it has connection problems?

Yea, the problem is that api.steemit.com isn't currently failing often enough to trigger it, and it also seems to be a few hours behind on account history which isn't even an error that the code can catch. Unfortunately this still requires manual intervention right now.


Feat/browser variables docker

Browser variables are set at build time through NEXT_PUBLIC variables -https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables#bundling-environment-variables-for-the-browser
As the build arguments are currently not exposed in the Dockerfile the only way to set these variables during build is through the .env.local file.
Adding the NEXT_PUBLIC as build arguments in the Dockerfiles makes it possible to use environment variables instead and makes for a flexible solution when building a pipeline.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: niwim:x: He1DAr:x: begueneYou have signed the CLA already but the status is still pending? Let us recheck it.

Sorry, screwed up the rebase, will make new PR


What is the magic?

(Justin here, working on OpenBazaar.  How can IPTB spin up 1000s of nodes on a single machine? What's the trick for scaling to such high numbers?
Of course all the networking happens locally. But then it seems each IPFS node runs in a separate process. Are the IPFS nodes "dumbed down" in any significant way?

No magic, just dev machines with quite a lot of RAM.

Thanks. What's the order of magnitude RAM footprint per IPFS node? 1MB, 10MB? Is CPU much of a consideration, or is RAM the main bottleneck?

It is about 100MiB per node right now, but we are working on reducing it further, it was less in the past. Idle CPU is very low.

@JustinDrake Yeah, most iptb clusters i run see around 40MB of ram usage per node. I have a fairly beefy dev machine i use to spin up clusters, although i think the largest i've messed around with is 512.  Cpu becomes an issue when youre doing large multi-peer transfers, as well as disk


Adding first set of API tests

I would also recommend updating the repo's README.md with some instructions on how to set up and run the Cypress tests - see a2b internal for an example


⚠ API Next - load whole book has degraded performance

In d74d3fb, API Next - load whole book (https://h-edu.cz/content.api/book/book-a/chaptersContent) experienced degraded performance:

HTTP code: 200
Response time: 26813 ms

Resolved: API Next - load whole book performance has improved in 52024f2 after 14 minutes.


Refs #18468 -- Used obj_description() with a catalog name on PostgreSQL.

obj_description(object oid) without a catalog name is deprecated since there is no guarantee that OIDs are unique across different system catalogs.
Thanks Tim Graham for the report.

@ngnpope Thanks :+1:


Jesse: Blacklist Yt7crackersz?(?:_admin)?

Jesse requests the blacklist of the keyword Yt7crackersz?(?:_admin)?. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Yt7crackersz?(?:_admin)? has been seen in 7 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Added Editor hero vars

https://github.com/NPBruce/valkyrie/issues/750

I am going to merge this, but particuarly for D2E there are a lot of heroes, so I wont them to have their own category (would help in MoM too).  Classes also need to be added for D2E.  Thus I will leave the issue open.


Updated Quiz app UI

Quiz UI was updated. Some changes in CSS was made.
Results :

Hi, I’m not looking for this type of contribution, thanks


FEF does not enforce data entry validation such as required fields and domains

This is a limitation of the core editing popup. To enforce validation, we should look at using an editing form similar to those used by Polling and Reporter. This form could be presented in the edting panel, replacing the templates.

duplicate - will be resolved by #38


bugfix: do not close modal on content click - resloves #463

The bugfix @nhanaswigs suggested in issue #463 worked for me, so I implemented it.

Thank you for pr, but this change can break the popup on a few exisitng websites. If you have problems with closing - make sure that you have only one root element in content that you pass to popup.

If that's the case, you should consider adding a note to the Readme. This is really unexpected behaviour of the modal.


chore(main): release 2.7.4

:robot: I have created a release beep boop
2.7.4 (2024-11-28)
Bug Fixes

Add in native cert chains (6955b1d)
deps: update rust crate tracing to v0.1.41 (#375) (bf08001)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/philipcristiano/et/releases/tag/v2.7.4 :sunflower:


Uncaught Error: Module did not self-register.

[Enter steps to reproduce:]

...
...

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.3
Thrown From: Atom Core
Stack Trace
Uncaught Error: Module did not self-register.
At ELECTRON_ASAR.js:160

Error: Module did not self-register.
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:695134)
    at get_KeyboardLayoutManager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778162)
    at get_manager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778264)
    at Object.getCurrentKeyboardLayout (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778390)
    at e.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1081110)
    at KeymapManager.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1253631)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1251616)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284744)

Commands
  2x -0:31.8.0 tree-view:add-folder (div.header.list-item)

Non-Core Packages
platformio-ide-terminal 2.9.4
vim-mode 0.66.0

I've caught it too at Atom 1.42.0

Just saw this in Atom 1.46.0. Atom had suddenly force quit, and then when I restarted, the Github plugin wasn't working and trying to edit a file caused this error. Restarting Atom again seems to have resolved it.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/20222. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Support Dart debugging with Chrome-Debug

See https://github.com/Microsoft/vscode-chrome-debug/issues/643

Verified externally


fbid

Example:
https://www.facebook.com/photo.php?fbid=10157294752732868&set=gm.2373437782884259&type=3&eid=ARDBOCgmaYb5kHA89D_C2b_uU8cl32mxaRUaRpl-V45mI5S4WCNLoph6QDvtuoEJqbXPwNSjgbjlvD0N&ifg=1

Thanks for your request!
I edited the keyword 'fb_' to 'fb'. So that your request is considered.
I tested your example link and the parameter was removed.
The updated version will be available soon.
Greetings


windows arm (colors inverted)

Describe the bug
colors are inverted when playing video on windows arm
and it plays correctly on macos version
fvp version: 0.26.1
Expected behavior
colors to be correct
Log
Add
https://justpaste.it/c3aw3

Can you build this example for me? I can test in parallels desktop.

i dont have a windows machine, i am building the app using github actions and testing it using vmware fusion (which runs a windows machine with arm arch)

How to build in github actions?
I don't have build environment, but https://github.com/wang-bin/fvp/issues/103 this user tested on arm and no such issue.

You can also test ./glfwplay.exe -logfile test.log -c:v MFT -d3d11 test.mp4

How to build in github actions?
I don't have build environment, but https://github.com/wang-bin/fvp/issues/103 this user tested on arm and no such issue.

You already build in. GitHub actions using this
https://github.com/wang-bin/mdk-examples/blob/master/.github/workflows/main.yml
It may be a VMware issue so I will check again using a player or the command you provided
What is glfwplay.exe?

Are you running x64 binaries on arm64? I can reproduce a similar issue. but arm64 binaries works fine for me.
glfwplay.exe is a test program in mdk-sdk

I don't know how to build an arm version using GitHub actions 😅
So yes it looks like I am building and running x86 version

should be fixed in the latest mdk

Will test it and let you know, thank you


Editor shows reference error in F# code while code is correct and runs

When adding references for a script file, I encounter an error that pops up in the editor, but it is possible to run the code in FSI?
See attachment.
This issue has been moved from https://developercommunity.visualstudio.com/content/problem/241500/editor-shows-reference-error-in-f-code-while-code.html
VSTS ticketId: 607352
These are the original issue comments:
(no comments)
These are the original issue solutions:
(no solutions)

This is an issue (based on info in the VSTS report) where references to .NET Standard components in an F# script file will produce an error in a script file, but execute in F# interactive.

Related to #3309 but not the same issue

Closing this out in favor of #2407, which is the main issue tracking .NET Core (and Standard) support for FSI and scripting.


OPEN FEATURES

Some ideas for Future Features

Configuration file: Add support for a configuration file where users can specify their API key, default model, and other settings, making it easier to manage and customize the script.

Multiple models: Allow users to choose from different GPT models or use multiple models sequentially, which could potentially improve the quality of suggestions.

Rate limiting and retries: Implement rate limiting and automatic retries for API requests, which can help avoid exceeding API limits and handle occasional API errors more gracefully.

Code formatting: Integrate with code formatters like Black or autopep8 to automatically format the fixed code according to Python style guidelines.

Version control integration: Add support for automatically creating a new branch or commit in the version control system (e.g., Git) when changes are applied, making it easier to track and manage changes made by the script.

Test execution: If the project includes unit tests, run them after applying changes to verify that the fixes haven't broken any existing functionality.

Incremental improvements: Instead of applying all suggested changes at once, apply one change at a time and rerun the script to see if the issue has been resolved. This approach can help identify which suggestions are most effective and minimize unnecessary changes.

Custom prompt: Allow users to provide a custom prompt for the GPT model, giving more control over the type of suggestions generated.

Interactive mode: Implement an interactive mode where users can review and approve or reject each suggestion before applying it. This can help ensure that only the desired changes are made to the script.
#23

Performance metrics: Collect and display performance metrics, such as the number of iterations, time taken for each iteration, and total time taken to fix the script, helping users understand the efficiency of the script.

Logging: Add proper logging to keep track of the actions taken by the script, which can be useful for debugging and monitoring purposes.
#25

User-friendly error messages: Improve error messages to be more descriptive and user-friendly, making it easier for users to understand and resolve issues.

8119112

Hi @spenceryonce, I started a similar project (Software Healer Agent), which I think already solved some of the issues you listed here. I would be happy to hear your thoughts on that: https://github.com/matebenyovszky/healing-agent
Would custom prompt be a useful feature for you? Would you use it globally or on a smaller scope?


[SPARK-42676] Write temp checkpoints for streaming queries to local filesystem even if default FS is set differently

What changes were proposed in this pull request?
Write temp checkpoints for streaming queries to local filesystem even if default FS is set differently
Why are the changes needed?
We have seen cases where the default FS could be a remote file system and since the path for streaming checkpoints is not specified explcitily, this could cause pileup under 2 cases:

query exits with exception and the flag to force checkpoint removal is not set
driver/cluster terminates without query being terminated gracefully

Does this PR introduce any user-facing change?
No
How was this patch tested?
Verified that the checkpoint is resolved and written to the local FS
23/03/04 01:42:49 INFO ResolveWriteToStream: Checkpoint root file:/local_disk0/tmp/temporary-c97ab8bd-6b03-4c28-93ea-751d30a2d3f9 resolved to file:/local_disk0/tmp/temporary-c97ab8bd-6b03-4c28-93ea-751d30a2d3f9.
...
23/03/04 01:46:37 INFO MicroBatchExecution: [queryId = 66c4c] Deleting checkpoint file:/local_disk0/tmp/temporary-c97ab8bd-6b03-4c28-93ea-751d30a2d3f9.

@HeartSaVioR - please take a look. Thx

Thanks! Merging to master.


Avoid creating a VumiApi when we only need Redis manager

There are two places we do this, and it's a bunch of unnecessary work.
This is even more of a problem when we start needing to clean up Riak managers properly.

One small question about approach to getting access to the session and token managers, but otherwise seems okay.

:+1:


THREESCALE-11528: Redis connection re-establishment in async mode

This is a proposal on how to implement reconnection to Redis when the link is broken. The idea is taken from redis-client gem (code). Before every request to Redis, ensure_connected is called, this way:

When a request fails because a broken link, that doesn't affect the next requests.
Next requests will also fail while the link is broken.
As soon as the link is restored, the next request will get a valid connection and will work.

This PR also implements an implementation for the reconnect_attempts option:
https://github.com/3scale/apisonator/blob/e79bef023dc250e7a916a4afe93d6fa0c34599e6/lib/3scale/backend/storage_helpers.rb#L53
Which was being ignored in async mode. It just retries to connect to Redis once (by default) before raising the exception.
In the case the exception is raised:

The listener just returns a 403 and keep going. Requests will work again as soon as the link is restored
The worker doesn't crash anymore, it waits for 5 seconds and try again, forever, until the link is restored.

Jira:
https://issues.redhat.com/browse/THREESCALE-11528
Notes:
This PR only fixes the async mode. Sync mode uses redis and redis-client gems which already handle connection loss.

@akostadinov I implemented the changes you suggested in our call yesterday


[Feature][SaveMode] STIP 1: Improve SaveMode design

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Current state:

[ ] Discuss
[ ] Accepted
[ ] Rejected

Motivation
It is a common requirement to handle data (files or other content) that is already present in the target data source when a data synchronization job starts running. So we need to design a universal interface that is implemented by Sink connectors to handle data that already exists in the target data source.
We will name this function the SaveMode function.
Preconditions
The Sink Connector must implement  Catalog Interface
Public Interfaces
org.apache.seatunnel.api.sink.DataSaveMode
DataSaveMode is an enumeration type that internally defines the complete set of SaveMode methods that SeaTunnel can support, and each Sink connector can only implement one or more of them.
package org.apache.seatunnel.api.sink;

/**
 * The SaveMode for the Sink connectors that use table or other table structures to organize data
 */
public enum DataSaveMode {
    // Will drop table in MySQL, Will drop path for File Connector.
    DROP_SCHEMA,

    // Only drop the data in MySQL, Only drop the files in the path for File Connector.
    KEEP_SCHEMA_DROP_DATA,

    // Keep the table and data and continue to write data to the existing table for MySQL. Keep the
    // path and files in the path, create new files in the path.
    KEEP_SCHEMA_AND_DATA,

    // The connector provides custom processing methods, such as running user provided SQL or shell scripts, etc
    CUSTOM_PROCESSING,

    // Throw error when table is exists for MySQL. Throw error when path is exists.
    ERROR_WHEN_EXISTS
}

org.apache.seatunnel.api.sink.SupportDataSaveMode
The SupportDataSaveMode interface defines an interface that Sink needs to implement if the SaveMode function is implemented.
package org.apache.seatunnel.api.sink;

/**
 * The Sink Connectors which support data SaveMode should implement this interface
 */
public interface SupportDataSaveMode {
    /**
     * Return the value of DataSaveMode configured by user in the job config file.
     *
     * @return
     */
    DataSaveMode getUserConfigSaveMode();

    /**
     * The implementation of specific logic according to different {@link DataSaveMode}
     */
    void handleSaveMode(DataSaveMode userConfigSaveMode);
}

SaveMode should be processed before the job starts, so in the SeaTunnel Zeta engine, the handleSaveMode method of the connector can be called to process after Sink is built
This code is in the MultipleTableJobConfigParser class
private SinkAction<?, ?, ?, ?> createSinkAction(
            CatalogTable catalogTable,
            Map<TablePath, CatalogTable> sinkTableMap,
            Set<Action> inputActions,
            ReadonlyConfig readonlyConfig,
            ClassLoader classLoader,
            Set<URL> factoryUrls,
            String factoryId,
            int parallelism,
            int configIndex) {
        Optional<CatalogTable> insteadTable;
        if (sinkTableMap.size() == 1) {
            insteadTable = sinkTableMap.values().stream().findFirst();
        } else {
            // TODO: another table full name map
            insteadTable =
                    Optional.ofNullable(sinkTableMap.get(catalogTable.getTableId().toTablePath()));
        }
        if (insteadTable.isPresent()) {
            catalogTable = insteadTable.get();
        }
        SeaTunnelSink<?, ?, ?, ?> sink =
                FactoryUtil.createAndPrepareSink(
                        catalogTable, readonlyConfig, classLoader, factoryId);
        sink.setJobContext(jobConfig.getJobContext());
        SinkConfig actionConfig =
                new SinkConfig(catalogTable.getTableId().toTablePath().toString());
        long id = idGenerator.getNextId();
        String actionName =
                JobConfigParser.createSinkActionName(
                        configIndex, factoryId, actionConfig.getMultipleRowTableId());
        SinkAction<?, ?, ?, ?> sinkAction =
                new SinkAction<>(
                        id,
                        actionName,
                        new ArrayList<>(inputActions),
                        sink,
                        factoryUrls,
                        actionConfig);
        handleSaveMode(sink);
        sinkAction.setParallelism(parallelism);
        return sinkAction;
    }

    public static void handleSaveMode(SeaTunnelSink<?, ?, ?, ?> sink) {
        if (SupportDataSaveMode.class.isAssignableFrom(sink.getClass())) {
            SupportDataSaveMode saveModeSink = (SupportDataSaveMode) sink;
            DataSaveMode dataSaveMode = saveModeSink.getUserConfigSaveMode();
            saveModeSink.handleSaveMode(dataSaveMode);
        }
    }

The processing remains unchanged in Spark and Flink engines. The new interface has removed the checkOption method from SupportDataSaveMode, so the corresponding method calls also need to be deleted.
Proposed Changes
Delete the original logical code
public class SinkCommonOptions {

    public static final String DATA_SAVE_MODE = "save_mode";
}

Original code modification
org.apache.seatunnel.api.table.factory.FactoryUtil
Because we defined the getDataSaveModeOption method in SupportDataSaveModeTableSinkFactory, theoretically all connectors that implement DataSaveMode will define their own parameters for the savemode in the factory. So there's no longer a need for it in FactoryUtil
Special handling of the savemode parameter.
/**
 * This method is called by SeaTunnel Web to get the full option rule of a sink.
 *
 * @return Option rule
 */
public static OptionRule sinkFullOptionRule(@NonNull TableSinkFactory factory) {
    OptionRule sinkOptionRule = factory.optionRule();
    if (sinkOptionRule == null) {
        throw new FactoryException("sinkOptionRule can not be null");
    }

    try {
        TableSink sink = factory.createSink(null);
        if (SupportDataSaveMode.class.isAssignableFrom(sink.getClass())) {
            SupportDataSaveMode supportDataSaveModeSink = (SupportDataSaveMode) sink;
            Option<DataSaveMode> saveMode =
                    Options.key(SinkCommonOptions.DATA_SAVE_MODE)
                            .singleChoice(
                                    DataSaveMode.class,
                                    supportDataSaveModeSink.supportedDataSaveModeValues())
                            .noDefaultValue()
                            .withDescription("data save mode");
            OptionRule sinkCommonOptionRule = OptionRule.builder().required(saveMode).build();
            sinkOptionRule
                    .getOptionalOptions()
                    .addAll(sinkCommonOptionRule.getOptionalOptions());
        }
    } catch (Exception e) {
        LOG.warn(
                "Add save mode option need sink connector support create sink by TableSinkFactory");
    }

    return sinkOptionRule;
}

Change to:
public static OptionRule sinkFullOptionRule(@NonNull TableSinkFactory factory) {
    OptionRule sinkOptionRule = factory.optionRule();
    if (sinkOptionRule == null) {
        throw new FactoryException("sinkOptionRule can not be null");
    }
    return sinkOptionRule;
}

Compatibility
The code logic is incompatible with changes, and existing connectors that support SaveMode need to be modified. Users did not have this feature before using it, so there are no compatibility issues.
The following Sink Connectors needs to be modified:

seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/sink/JdbcSink.java

seatunnel-connectors-v2/connector-starrocks/src/main/java/org/apache/seatunnel/connectors/seatunnel/starrocks/sink/StarRocksSink.java

Test Plan
Test coverage scenarios

The automatic table creation function of the above connectors can operate normally.

Rejected Alternatives
None
Risk
None
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

How's it going? Any progress?


[INLONG-1898] The error of the incharges for the second edit

… of the new consumption
Title Name: [INLONG-XYZ][component] Title of the pull request
where XYZ should be replaced by the actual issue number.
Fixes #1898
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Codecov Report

Merging #1900 (b40299b) into master (43363b9) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1900   +/-   ##
=========================================
  Coverage     11.60%   11.61%
- Complexity     1055     1056    +1
=========================================
  Files           401      401
  Lines         34881    34881
  Branches       5525     5525
=========================================
+ Hits           4048     4051    +3
+ Misses        30066    30064    -2
+ Partials        767      766    -1

Impacted Files
Coverage Δ

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
45.70% <0.00%> (+0.39%)
:arrow_up:

...bemq/server/common/heartbeat/HeartbeatManager.java
38.38% <0.00%> (+2.02%)
: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 43363b9...b40299b. Read the comment docs.


Add missing order_by statement in 04-More-Value-Expressions when filtering for top 3 most frequent continents

I added an order_by statement when calculating the top 3 most frequent continents. Without it:

With this PR:

Thanks!


app is not  (not generating images) working from 12 July early

it is saying Failed .No Result Found again and again

it is saying Failed .No Result Found again and again

i have the same error.

Now Fixed!


WIP: Manage Android signing keys correctly for app release versions

.jks file is stored in deploy root directory
json object of keytool credentials are stored within config/backend/androidKeyStore of deployment directory

Why does androidKeyStore belong in config/backend?  Does the backend actually use it?

@ryantrinkle hmm the backend does not make use it and it can be outside the config folder given that it only gets used when building the apk but not after


Removed Printing of Path in base objects.

Base objects created with a path/link will not show that at the bottom when the object is viewed anymore.

Will modify the test_reprWithPath test. Deleted it actually, and fixed the nimble.core.create.data test. Seems I forgot to push the changes.


https://github.com/jupyter/jupyter_events needs maintenance.

It has been breaking downstream projects (including jupyter_server CI) for some time due to deprecation and various other issues.
I'll try to spend a few hours on it as I can; but it will need a long term maintenance plan.

I fixed the critical things and published a new release because it was critical and I was able to afford the few hours; but having regular monitoring of issues/PRs on this package and other woudl be a good thing.

Thanks @Carreau! What subproject council do you think is responsible for this repo?

I don't know. The only visible maintainer is @Zsailer ; as AFAICT from the PR it affect jupyter-server and jupyter-lab.
I did a 0.11 release to fix some failing CI in jupyter-server, but I might yank it as it seem to have deep reaching consequences.
In general I think there should be tools to check the mapping activity of GH-repos, to pypi packages, and a file that describe who should be responsible to check and maybe auto-open issues here if a repo seem unmaintained.

I would propose this project be part of Jupyter Server.

I would propose this project be part of Jupyter Server.

I agree. I will trigger the transfer by opening a vote with the team.

I fixed the critical things and published a new release because it was critical and I was able to afford the few hours; but having regular monitoring of issues/PRs on this package and other woudl be a good thing.

Thank you, Matthias. I appreciate your time here. I'm in the same boat—doing my best to contribute/maintain this project when I get space/time. We do track this in the Jupyter Server meeting, but it's fallen through the cracks.


Is there any documentation on how to use this plugin with Gatsby client-side apps?

I understand and have had success with using this plugin with SSR rendered content, but how does it integrate with a Gatsby generated client-side app?
Questions include:

Do I use gatsby-plugin-react-i18next or  react-i18next in my client-side app?
Do I need to create a provider to wrap my app in the gatsby-browser.js file?
Can we use the same locale files for SSR as the client-side app?
Can we avoid loading the translation files via https?

Can someone point me in the right direction?  Documentation or an example?
Thank you in advance your time,
Jeff

Please read the documentation carefully.


[REQUEST] Basic boss fight

Using the data of the basic boss fight that was implemented, create a basic boss fight.
To copy from the last task: All basic information for the boss fight should be implemented, as well as assigning the largest ship type to it; the Dromius class Super-Dreadnought's model will be used for this boss fight. Information that should be included involves base health, shields, speed, mass, as well as any other information that can be found on the wiki.

Finished in #204


Added the auto search on entering by user

📋 Description
Added the auto search on entering by user. It will now search automatically search with a debounce you don't need to again and again click on the search button.
🔨 Changes Made
Fixes #159

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation (if applicable).
[X] My changes generate no new warnings.
[X] I have tested it locally and it works fine.
[X] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛
[X] New feature (non-breaking change which adds functionality) ✨
[ ] UI enhancement (non-breaking change which enhances UI) 🎨
[ ] Documentation update 📚

@Vignesh025 Please check this PR and merge it and assign this to me and put relevant labels such as gssoc 2024 ext, hacktoberfest and level.

Hey @tarunkumar2005 , While typing each letter, the whole page reloads, and dynamic search is not working as expected. Please look into this.

@Vignesh025 It is reloaded because the function you are triggering on form submit reloads the page. That's why it is happening. We need to define a proper custom function with js for the handling, then it can be fixed.

you have directly used action="/route" like that in form tag only thats the reason it is reloading with every search if you click on search it will reload then also.

@Vignesh025
this one so what you wants me to do ??

You can either merge this or increase the level of the PR i will update this and try to avoid this reload over and over and dynamically submit the form without reloads.

@tarunkumar2005 , you can proceed!

@Vignesh025 Will do that and update the PR soon

@Vignesh025 Bro done the change please make it level 3 now took so much time to do this and for the testing i have used demo data i have removed that also while pushing the code as i don't have database you can test it with the database data of the campsites okay and here is video demo page is not reloading now :-
https://drive.google.com/file/d/1kYrbzww78bnPtRr1ZNmBhUSO7w8EARym/view?usp=sharing
I have tried to use best practices and improved the code also.

Hey, your code is breaking the campground page. The campgrounds are not visible anymore. Please look into it and make the necessary corrections.

@Vignesh025 I don't have your real data can you share the database data or connection link then i will be able to properly test it what is the issue just breaking can't elobrate what is the issue also can you share screenshots where you are finding issue.

Hey, database links aren't meant to be shared. Please create your own MongoDB account and use it for development. Just check with 5 campgrounds—that's more than enough for testing. I'm attaching screenshots of the errors below.

Do you have discord?

@Vignesh025 Dm me on linkedin on my profile there is link otherwise on discord this is my username :- tarunkumar8278

@Vignesh025 I have done the changes if you could have provided the database it will have a better testing, i tried to do it properly i think there will be no issue now if you find any please mention me i will try to fix that but it is problemetic without the db, like if you could provide a copy of database just that collection in which the api data is there then it would have been easy but no worries i have tried to do it with the sample data you gave please check it now.

@Vignesh025 I know how to connect mongodb that is not the problem i wanted your database as your application is running on that and why it is showing error in your case in my case it was running fine ??

@Vignesh025 Sorry can you check again my mistake just a word i missed in the syntax i will update sorry then you can again check and tell me if it is okay or not.

now check once... if it is working or not.

Hey @tarunkumar2005, still facing the same issue...campgrounds are not visible in campgrounds page.
image
image

@Sowmiyajayakumar @Vignesh025 I have done all the things if you can just put up little efforts to properly integrate it with the backend data you are getting of the campgrounds then it will be working as you are not ready to give the database and i completly agree that you might have security conserns for this but i can't do much in this without database as i have done the frontend but i don't know how the data is coming from the backend oor how i should hanlde it then i can't do much in it so if you can merge it in a test branch or something like that and put a level 2 insted of level 3 then it is fine by me or else you can provide me database then i can integrate it or you can try to integrate this small thing by yourself so that you don't have to share the database.

Hey @tarunkumar2005 , We already provided you with enough data. You asked for the JSON, and I sent it to you. I even shared the seeds file, which, if run with your user ID, will create your own database. Also, it's important to note that you should not refer to this as a 'small thing' and then ask us to handle it. We are managing the whole project, and nobody else has raised concerns about the database, so please don't shift the blame.

@Vignesh025 Okay i am not blaming i was just saying i don't know how the data if formatted in the database just that. i will try a little bit more on this, if i can fix this okay i will try my best with the limited data i have okay so wait until tomorrow i will update you on this. sorry if you felt bad from my statement.

Hey @tarunkumar2005, It's not limited data—it's the actual data that the project runs on. I uploaded the data to the database in the same way that I'm asking you to do. Just follow the same process, and it will work as expected. Also no need to apologize.

@Vignesh025 Check now i have updated and now it is perfectly fine please check now if it is working for you also.

Hey @tarunkumar2005 , search functionality is working perfectly now. But please remove the below highlighted buttons

Also please make the PR to test branch.

@Vignesh025 @Sowmiyajayakumar Done the changes check now.

Hey @tarunkumar2005, dynamic search is not working now...please check if all your dynamic search changes are there

@Vignesh025 @Sowmiyajayakumar Done wiht the changes the issue was in backend it was rendering instead of returning so i have fixed that now check it is working completly fine.

Congratulations on completing the PR! I know it took quite a few days, so great job seeing it through to the end!

Thankyou for Contributing!


[v6] Typescript and redux-form/immutable

Hello,
i'm using packages:
"@types/redux-form": "^6.6.2",
"redux-form": "^6.6.2",

If i'm using in tsx file
import * as ReduxForms from 'redux-form'

all is good, but can't use it as
import * as ReduxForms from 'redux-form/immutable'

i get error: Could not find a declaration file
Please, any ideas how to solve that? Is that problem of redux-form or https://github.com/DefinitelyTyped/DefinitelyTyped
?
Thx for reply

It's definitely a problem of DefinitelyTyped 😉
It would be amazing to have those typings maintained on our side (see #1211), because TypeScript is the most well-adopted typing variation of JS, but unfortunately we don't have the workforce for this at the moment.

Thx for reply @gustavohenke

Hi @romanantl-flexiana, @gustavohenke.
Even after the 6.6.3 version being merged [https://github.com/DefinitelyTyped/DefinitelyTyped/pull/15136]. I'm still having the same issue.
Do you guys think that the 'redux-form/immutable' should be added to the typings in order to solve this issue?
Thanks.

Probably, it's part of Redux Form.

Thanks, @gustavohenke. I'm working on it.

Here it is. Looks like it needs an OK from the authors ( @CarsonF @aikoven @LKay) before it gets merged.


Fixed h3 closing in index.ejs to pass validation

I followed your instructions and modified the index.ejs file this time, and checked W3C validation on my own copy's page. It seems all good now !

Done ! :beers:


MLHR-1886 #resolve #comment recovering file only when the stream was …

…open

@ilooner @PramodSSImmaneni please review

@ilooner I have changed the commit message. This pull request fixes 2 issues outlined in MLHR-1886. I don't think it is important to address them separately. Please review and merge.

@ilooner modified MLHR-1886. Please see


Blog Post: 'Join the Infra Lifecycle WG'

The Co-Chairs of the new Infrastructure Lifecycle Working Group, want to announce the new WG to the CNCF and the world with this blog post.

Sorry for letting this one sit around for so long. Looks great, thank you so much for writing this!


Hot water dispenser entity creation failure: device_state_attributes issue

The water_heater entity for the hot water dispenser on a GE refrigerator isn't created properly. It appears to be something incorrect in the device_state_attributes, resulting in:

Inability to add entities to domain water_heater
Resultant error in setting up ge_kitchen mapping for water_heater

Hopefully the error messages below are helpful.
2021-02-07 16:40:47 ERROR (MainThread) [homeassistant.components.water_heater] Error adding entities for domain water_heater with platform ge_kitchen
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 315, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 506, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state
attr.update(self.device_state_attributes or {})
File "/config/custom_components/ge_kitchen/entities/common/ge_water_heater.py", line 54, in device_state_attributes
return {**other_attrs}
TypeError: 'NoneType' object is not a mapping
2021-02-07 16:40:47 ERROR (MainThread) [homeassistant.components.water_heater] Error while setting up ge_kitchen platform for water_heater
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 206, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 315, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 506, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state
attr.update(self.device_state_attributes or {})
File "/config/custom_components/ge_kitchen/entities/common/ge_water_heater.py", line 54, in device_state_attributes
return {**other_attrs}
TypeError: 'NoneType' object is not a mapping
2021-02-07 16:41:17 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/ge_kitchen/update_coordinator.py", line 251, in on_device_update
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state
attr.update(self.device_state_attributes or {})
File "/config/custom_components/ge_kitchen/entities/common/ge_water_heater.py", line 54, in device_state_attributes
return {**other_attrs}
TypeError: 'NoneType' object is not a mapping
2021-02-07 16:41:47 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/ge_kitchen/update_coordinator.py", line 251, in on_device_update
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state
attr.update(self.device_state_attributes or {})
File "/config/custom_components/ge_kitchen/entities/common/ge_water_heater.py", line 54, in device_state_attributes
return {**other_attrs}
TypeError: 'NoneType' object is not a mapping

I'll continue to play with this (it looks like an object mismatch), but I need to learn the SDK first. :)

Correct me if I'm wrong, but it looks like there's no "return" in entities/fridge/ge_dispenser.py for the other_state_attrs property?
I think perhaps a "return data" after that section?

Yep, that was it. It's in my PR now.


No module name dCARLA (even though its there!)

The matplotlib.backends.tkagg module is deprecated.
"3.0", "The matplotlib.backends.tkagg module is deprecated.")
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "module_7.py", line 32, in
from carla            import sensor
ModuleNotFoundError: No module named 'carla'
Im using Py -3.7

Hello!
I'm not an expert at python but when I need to run carla's script in strange place I use export PYTHONPATH.
So it looks something like this:
export PYTHONPATH=$PYTHONPATH:path_to_egg_file/carla-0.9.10-py3.5-linux-x86_64.egg
python your_script.py

Maybe it helps.


Django's GeoIP deprecation in favour of GeoIP2

I was just on the pre-flight check of requirements for django-user-sessions, and GeoIP has been just deprecated in Django 1.9, in favour of GeoIP2.
There is a closed issue #37 which mentions GeoIP2, but this was when Django didn't support it (pre-1.9). I don't know if this really changes anything. Because GeoIP2 is new for Django 1.9, and the same Django 1.9 starts to deprecate the previous version, which is a bit sudden. Do you have any thoughts about that?
[I have no strong feelings one way or the other, simply wanted to check before designing my production environment]

Looks interesting to check out. However as Django 1.8 has extended support until at least april 2018, there would need to be support for the deprecated GeoIP as well.

Django 2.0 will drop GeoIP, so there will be some time remaining for transitioning. However as GeoIP doesn't support IPv6 it might be worthwhile to support both API's in the interim. Regarding Django 1.8, support for that version could be dropped sooner. So I guess I'm open to replace GeoIP with GeoIP2.

Resolved in 043dce969fd0c4496287fd1cffcdcc73dc58fce6.


[ng] more a11y for dropdown menu + fix bug on arrow up/down key on trigger

This PR is identical to https://github.com/vmware/clarity/pull/3440, which was stuck with netlify branch protection that was out of sync.
Signed-off-by: Jeeyun Lim<EMAIL_ADDRESS>

xd


[Feature]: Which product does appsmith-ee use for its workflow engine?

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Hello
Which product does appsmith-ee use for its workflow engine?
Thanks!
Why should this be worked on?
Which product does appsmith-ee use for its workflow engine?

Hi @zhouzhou19950825 is there a specific reason why you are asking for this?


HCM request_header_to_add.append not working

Description:
I use the  header append.
but it not append to existing values. Will add a new header
Repro steps:
envoy config add header in VirtualHost ,then request envoy with a same name header .
 curl -H 'theader:12312' host:18000
Test with  envoy docker  image   envoyproxy/envoy-dev:f13ea5b3ee906c4510d68f286a0f65b8b961d7b5
Config:
admin:
  access_log_path: /dev/null
  address:
    socket_address: { address: <IP_ADDRESS>, port_value: 9901 }
static_resources:
  listeners:
    - address:
        socket_address:
          address: <IP_ADDRESS>
          port_value: 18000
      filter_chains:
        - filters:
            - name: envoy.filters.network.http_connection_manager
              typed_config:
                "@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
                codec_type: auto
                stat_prefix: ingress_http
#                http2_protocol_options: {}
                route_config:
                  name: local_route
                  virtual_hosts:
                    - name: service
                      domains:
                        - "*"
                      request_headers_to_add:
                        - header:
                            key: theader
                            value: append
                          append: true

Logs:
[2020-05-31 15:18:41.991][40][debug][http] [source/common/http/conn_manager_impl.cc:807] [C3][S15333841434755356732] request headers complete (end_stream=true):
':authority', '<IP_ADDRESS>:18000'
':path', '/'
':method', 'GET'
'user-agent', 'curl/7.29.0'
'accept', '*/*'
'theader', '12312'

[2020-05-31 15:18:41.991][40][debug][http] [source/common/http/conn_manager_impl.cc:1373] [C3][S15333841434755356732] request end stream
[2020-05-31 15:18:41.991][40][debug][router] [source/common/router/router.cc:441] [C3][S15333841434755356732] cluster 'oap6' match for URL '/'
[2020-05-31 15:18:41.991][40][debug][router] [source/common/router/router.cc:597] [C3][S15333841434755356732] router decoding headers:
':authority', '<IP_ADDRESS>:18000'
':path', '/'
':method', 'GET'
':scheme', 'http'
'user-agent', 'curl/7.29.0'
'accept', '*/*'
'theader', '12312'
'x-forwarded-proto', 'http'
'x-request-id', 'cd03bf74-be50-4bce-ae66-027ef1d544a2'
'x-envoy-expected-rq-timeout-ms', '15000'
'theader', 'append'

from these logs it looks like it is working, theader appears twice

I think the confusion may be over the word "append"
In the API it's append vs replace.  If you have
foo: bar
and you replace with eep, you end up with
foo: eep
if you append eep, you may either get
foo: bar, eep
or
foo: bar
foo: eep
I think either is valid, but it could be that we're not as clear in docs as we could be.

I think the confusion may be over the word "append"
In the API it's append vs replace. If you have
foo: bar
and you replace with eep, you end up with
foo: eep
if you append eep, you may either get
foo: bar, eep
or
foo: bar
foo: eep
I think either is valid, but it could be that we're not as clear in docs as we could be.

Yes , you are right , but i see the RFC 7230-section-3.2.2 say

A sender MUST NOT generate multiple header fields with the same field
name in a message unless either the entire field value for that
header field is defined as a comma-separated list [i.e., #(values)]
or the header field is a well-known exception (as noted below).

and The code look like did this( may be i'm wrong , i am not good at C)
https://github.com/envoyproxy/envoy/blob/f71ab4cfb1a7293f2ffb3a7271550d719ee01393/source/common/http/header_map_impl.cc#L220-L232

so the way that I read the quoted test is if you have a single value header (e.g. Host) you may not send multiple lines.  If you have a header which can have multiple comma-separated values (e.g. Transfer-encoding) you may.  If you're using the append function you're implicitly saying it's a multi-valued headers so again I think this is OK by the linked spec? Do you think I'm misreading?
There are multiple ways to append in Envoy - the code you link does indeed do the Foo: bar, eep variant, but I assume that's not what is used in the router.  My guess is it's for perf reasons - if it's legal to do either, an actual append is O(n) to do the header lookup where the "add a second field" version is constant time.

Regardless of if this is legal (which I think it is) it sounds like the behavior isn't the behavior you want :-)
Given that either variant is legal, you could rename this to "consider using inline append" and mark it as a feature request.  We'd have to runtime guard, and if the inline variant didn't work for some folks make it a configuration option (append vs inline-append?)

so the way that I read the quoted test is if you have a single value header (e.g. Host) you may not send multiple lines. If you have a header which can have multiple comma-separated values (e.g. Transfer-encoding) you may. If you're using the append function you're implicitly saying it's a multi-valued headers so again I think this is OK by the linked spec? Do you think I'm misreading?

I think you are misreading.

multiple header fields  with the same field name .
Not
multiple line header

Regardless of if this is legal (which I think it is) it sounds like the behavior isn't the behavior you want :-)

I think this is the behavior i want . append with comma.


[AsciiDoc] Links to mail are not properly handled when converted

Links like<EMAIL_ADDRESS>Are not handled in asciidoc which generates :
java.nio.file.InvalidPathException: Illegal char <:> at index 6:
When resolving refrences :
at com.github.zeldigas.text2confl.convert.confluence.ReferenceProviderImpl.resolveReference(com/github/zeldigas/text2confl/convert/confluence/ReferenceProvider.kt:56)
at com.github.zeldigas.text2confl.convert.asciidoc.AsciidocReferenceProvider.resolveLink(com/github/zeldigas/text2confl/convert/asciidoc/AsciidocReferenceProvider.kt:20)

@dgautier  could you please add asciidoc snippet to reproduce?

@dgautier any chance to provide reproducible example?

It was fixed as a part of #116 and additionally covered by tests here: https://github.com/zeldigas/text2confl/pull/118/files#diff-0f404a0d40290a5b6cae8a8e46ecf7a893e1a446ed6d8a15bf6a4b82af18bbf8


List caching are not refreshed

Sometimes after entering a Filament or Spool the list does not show the added spool/filament.
Even hard refreshes of the interface dont change that. After a little debuging the API Endpoints return a 304.
But if viewing the Filament/Spool Detail Page its shown as normal.
After a few days (TTL of the cache i guess) the filament/spools appear as normal)
Version: 0.13.1
Database: mariaDB: 10.9.x
If this is hard to debug, an easy solution for me as user would be a refresh button in the list which enforce a reload from the database - as we have on the detail page.
see comments in #49 too.

If you add a new filament or spool when this happens, do you now see the missing filament/spool again?

not in the list, no. Spool ID is currently 52. Mainsail sees the spools after refresh. It seems to be some browser thing. (webfrontend and mainsail use afair the same api calls?)

Most definitely a web thing then. I will investigate further


Add test for the default completer

Confirms #122 is fixed.

Current coverage is 79.35% (diff: 100%)

Merging #185 into master will not change coverage

@@             master       #185   diff @@
==========================================
  Files             5          5
  Lines           809        809
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            642        642
  Misses          167        167
  Partials          0          0

Powered by Codecov. Last update 7840e5b...39d6e8f


MockFileSystemWatcher

Is your feature request related to a problem? Please describe.
I'd like to be able to test code dependent on IFileSystemWatcher. Currently get a NotImplementedException when using MockFileSystem.FileSystemWatcher.
Describe the solution you'd like
An implementation of MockFileSystem.FileSystemWatcher that will fire appropriate events when files/directories are modified via MockFileSystem.File and MockFileSystem.Directory.

Thanks for writing the issue!
We already discussed this and came to the conclusion that we don't want it in the core library. My suggestion here would be to use the existing extensibility points and provide your own implementation.

Ah, okay, thank you.  I have tried deriving from MockFileSystem and overriding the FileSystemWatcher property but I can't see any way to intercept calls to IMockFileDataAccessor to support the functionality of my file watcher mock (e.g. when a file is removed, the watcher will notify). I think I would need to reimplement MockFileSystem to add this behaviour unless you know of something else?

Sorry @CallumECameron, I forgot to get back to this after my vacation.
At the moment I see two options:

Mock the behavior of the file system watcher to fire the expected events independently of the file system actions.
(Similar to what you said): Have a custom IFileSystem that intercepts calls and triggers the expected events. There is a good example at https://github.com/TestableIO/System.IO.Abstractions/issues/597#issuecomment-646337560.

Does that help?

No problem, @fgreinacher, thanks for getting back to me. This helped, thank you.

@fgreinacher I am curious if there is a middle ground between trying to ship a fully functioning MockFileSystemWatcher and forcing the consumer to provide one just to allow their tests to run at all.
For context: I have a class that accepts IFileSystem as an injected dependency. That code uses IFileSystemWatcher as well as various other IFileSystem APIs. I have two testing desires:

Test APIs that are not reliant on the file system watching aspect at all
Test behaviors that are triggered by the IFileSystemWatcher events

But because we set up a file watcher at construction, the built-in MockFileSystem throws even for the APIs that doesn't use it.
In order to test my non-watching behaviors, I have to provide some sort of IFileSystemFactory implementation. In order to test the IFileSystemWatcher event handlers, I'd obviously need to build that capability into my custom factory/watcher.
The first piece is rather trivial, and I haven't gotten to the second piece yet.
While I absolutely agree that we don't want the default behavior to be misleading/incomplete, it seems like we could provide a more useful opt-in option out of the box too.
Would you be open to either of the below ideas?

Ship a NoOpFileSystemWatcher that allows the dependent code to set up the file watcher and access any events/properties without any errors, but makes no attempts to actually trigger any events
Ship a ManuallyTriggeredFileSystemWatcher that allows setup as above, but that also allows the test code to manually trigger specific events

This avoids the need to deal with replicating exact file-watching behaviors while still providing an option for testing the event handlers

I admittedly haven't attempted to actually develop either of these yet, but my gut instinct is that we'd be able to keep complexity fairly low. I'd be willing to take a stab at it if you are not opposed.

@zivarah : I created an alternative MockFileSystem in Testably.Abstractions, that uses the same interface as System.IO.Abstractions and which implements a fully-functional FileSystemWatcher.

You can directly use this mocked filesystem in your tests without having to change your production code.
A very basic example test (deletion of a file) that illustrates the functionality would be:
	[Fact]
	public void EnableRaisingEvents_WhenDirectoryGetsDeleted_ShouldTriggerCorrectFileSystemEventArgs()
	{
		MockFileSystem fileSystem = new();
		fileSystem.InitializeIn("base-directory")
			.WithSubdirectory("foo");
		FileSystemEventArgs? result = null;
		ManualResetEventSlim ms = new();
		using IFileSystemWatcher fileSystemWatcher =
			fileSystem.FileSystemWatcher.New(".");
		fileSystemWatcher.Deleted += (_, eventArgs) =>
		{
			result = eventArgs;
			ms.Set();
		};
		fileSystemWatcher.NotifyFilter = NotifyFilters.DirectoryName;
		fileSystemWatcher.EnableRaisingEvents = true;

		fileSystem.Directory.Delete("foo");

		ms.Wait(1000).Should().BeTrue();

		result.Should().NotBeNull();
		result!.ChangeType.Should().Be(WatcherChangeTypes.Deleted);
		result.FullPath.Should().Be(fileSystem.Path.GetFullPath("foo"));
	}

Would you be open to either of the below ideas?

@zivarah Yes, absolutely! Both options seem fine to me, as long as we keep them opt-in. Feel free to submit a PR for discussing how we can integrate this nicely!


mkdir -p not working on windows

The elevation package can create problems on Windows machine because the command 'mkdir -p' does not work. It should be replaced by 'mkdir'. Recursivity (flag p) is natively included in 'mkdir' on Windows.
One quick and dirty solution would be to modify 'datasource.mk' and check if the OS is Windows, in which case the code should use 'mkdir' , else 'mkdir -p'.
Could the developers please comment whether there is any argument speaking against such a change?

Is there still anyone active on this repository?

I'm sorry the tools has been design to work on Linux/MacOS/Unix and I never tested it on Windows. It may work using the Windows Subsystem for Linux (WSL), but it is not supported.

Thanks for the reply! That is what we figured out. We tested the package quite a bit also on Windows and found that:

make can be installed with conda
unzip can be globally installed with UnxUtils
mv dito
find dito, but the PATH must be set before the winows command find

However,

mkdir from UnxUtils won't work because option -p is ignored.

This could be easily solved by using mkir from windows directly, but this must be done without the -p flag (the windows mkdir applied the flag implicitly). Hence, a simple solution to make the package usable would be to add an if statement to use mkdir instead of mkdir -p when the system is windows.

You might consider filing a bug with windows that it is not implementing the -p option which is required by POSIX:  https://pubs.opengroup.org/onlinepubs/9699919799/
While that seems hard, it would probably make a lot of things work better on Windows if it were fixed.

Thanks for the idea. However, I do not think this would quickly fix the problem (if it is done at all).


test/dev-cmd/bottle: Mark the bottling test as needs_network

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

I was on a plane and this failed with:

expected block to not output to stderr, but output
"curl: (6) Could not resolve host: spdx.github.io\nWarning: Failed to fetch SBOM schema, cannot perform SBOM validation!
Warning: Could not fetch JSON schema to validate SBOM!\nWarning: SBOM is not valid, not writing to disk!"

Realistically, how often does that file we're downloading change? Seems like something we can vendor like we do for the SPDX license list.

Realistically, how often does that file we're downloading change? Seems like something we can vendor like we do for the SPDX license list.

Yes, we should do this.

For OCI schemas, we at least have them as versioned URLs.

I'm open to changing this however you think is best.


A bit of update on UI:

removed scrollbar on embed view.
pretty URL for the HTML views.
ability to set titles.
fix the zero rendering issue.

LGTM


OCC-31: Add product discounts

OCC-31
Fixes #136

I hit a bit of a roadblock. I created the PromotionProvider and PromotionService it's working however, I can't apply it to the lines. Technically it works for the total, but not for the individual lines, so the total and the payment amount at the end will be good it just displays the wrong amount in the shopping cart by lines
Here is an example with a 10% discount:

It is because of how LocalTaxProvider works. Let me explain: So I need to apply the promotion inside ShoppingCartHelpers.cs. _promotionService.AddPromotionsAsync(items) works with ShoppingCartItems. So I added it here. It's all good until this line. Here the tax is applied. And the problem is that the tax is applied in a way that ignores the original price, and it just overrides the UnitPrice with the GrossPrice. https://github.com/OrchardCMS/OrchardCore.Commerce/blob/6645257c7dd248e30ee915c6527524bb4d657131/src/Modules/OrchardCore.Commerce/Services/LocalTaxProvider.cs#L35
So I don't know what would be the best solution, since I can't call _promotionService.AddPromotionsAsync(items) after the tax is applied, since this function requires ShoppingCartItems not ShoppingCartLineViewModels. I could rewrite the PromotionService to use ShoppingCartLineViewModels, though I'm not sure about this approach.
I would appreciate some advice on this! I tag you @DAud-IcI since you created the issue description, and implemented the tax system.

I found a bug:

Edit product with currently no discount (e.g. https://localhost:5001/Admin/Contents/ContentItems/testproduct000/Edit?returnUrl=%2FAdmin%2FContents%2FContentItems%3Fadmin%3D-565403957)
Click publish without changing anything.
You'll get this exception:

System.InvalidOperationException: Can't compare amounts of different currencies (USD and ---).
   at OrchardCore.Commerce.MoneyDataType.Amount.ThrowIfCurrencyDoesntMatch(Amount other, String operation) in E:\aux_c\repositories\orchard-core\OrchardCore.Commerce\src\Libraries\OrchardCore.Commerce.MoneyDataType\Amount.cs:line 84
   at OrchardCore.Commerce.MoneyDataType.Amount.op_LessThan(Amount first, Amount second) in E:\aux_c\repositories\orchard-core\OrchardCore.Commerce\src\Libraries\OrchardCore.Commerce.MoneyDataType\Amount.cs:line 150
   at OrchardCore.Commerce.Handlers.DiscountPartHandler.UpdatedAsync(UpdateContentContext context, DiscountPart instance) in E:\aux_c\repositories\orchard-core\OrchardCore.Commerce\src\Modules\OrchardCore.Commerce\Handlers\DiscountPartHandler.cs:line 49
   at OrchardCore.ContentManagement.Handlers.ContentPartHandler`1.OrchardCore.ContentManagement.Handlers.IContentPartHandler.UpdatedAsync(UpdateContentContext context, ContentPart part)
   at OrchardCore.ContentManagement.Handlers.ContentPartHandlerCoordinator.<>c.<UpdatedAsync>b__27_0(IContentPartHandler handler, UpdateContentContext context, ContentPart part)
   at OrchardCore.Modules.InvokeExtensions.InvokeAsync[TEvents,T1,T2](IEnumerable`1 events, Func`4 dispatch, T1 arg1, T2 arg2, ILogger logger)

The editor still displays success saying "Your Product has been published."

I was sooo ready to approve this, but unfortunately I've found another problem:

Buy a product without discount.
Go to the product's editor.
Add a discount percentage or amount.
Publish.
View page for the already existing order: the subtotal and total has changed.

Expectation: promotions should not affect existing offers retroactively.
You probably have to store the current ContentItem version in the OrderPart.LineItems.

I was sooo ready to approve this, but unfortunately I've found another problem:

Buy a product without discount.
Go to the product's editor.
Add a discount percentage or amount.
Publish.
View page for the already existing order: the subtotal and total has changed.

Expectation: promotions should not affect existing offers retroactively.
You probably have to store the current ContentItem version in the OrderPart.LineItems and use that instead of looking up the product by SKU in IOrderLineItemService.CreateOrderLineItemViewModelsAndTotalAsync().

FYI: This was effecting taxation too in the same way, but this should solve that too.

FYI: This was effecting taxation too in the same way, but this should solve that too.

Excellent, thanks for catching that!


Update JaasAuthenticationBroker.java

Allow user use encrypt password to check entry detail info via web console

It would be great to provide some explanation about this change:

why using decrypt on properties to get the password. My understanding is that you are using encrypted password (instead of plain)
If you are using encrypted password, the JAAS plugin should be configured by a property to define if the password is encrypted or not, else I think it will break all users using plain password.


why my pixel 4 cannot use scene-viewer to load models？

Description
Please provide a detailed description of the bug, how to reproduce it, and the
expected behavior.  Always include a code snippet, screenshot, any errors
reported in the console, and the model to help us understand and fix the
problem.
Live Demo

https://glitch.com/edit/#!/model-viewer

Version

model-viewer: vX.X.X

Browser Affected

[x] Chrome
[ ] Edge
[ ] Firefox
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

why my pixel 4 cannot use scene-viewer to load models？

As the issue template requests, can you please provide a detailed description of the bug, how to reproduce it, and the
expected behavior? Best of all is to post a link to the site you are having trouble with so I can reproduce the problem.


script fails to run with 'syntax error'

Windows 10 64-bit
IDA Pro v7.3.190614
Python 2.7.18 & 3.10.5 installed. IDA 7.3 is only capable of Python2.7.
When running the script, the script halts with the error
C:\Users\<redacted>\AppData\Roaming\Hex-Rays\IDA Pro\Scripts\highlight_arm_system_insn.py: invalid syntax (C:/Users/<redacted>/AppData/Roaming/Hex-Rays/IDA Pro/Scripts/highlight_arm_system_insn.py, line 61) Traceback (most recent call last):   File "C:\Program Files\IDA 7.3\python\ida_idaapi.py", line 572, in IDAPython_ExecScript     execfile(script, g)   File "C:/Users/<redacted>/AppData/Roaming/Hex-Rays/IDA Pro/Scripts/highlight_arm_system_insn.py", line 61     *SYSTEM_CALL_INSN,     ^ SyntaxError: invalid syntax
It appears this script is not designed for or compatible with Python2.7. I can accept that, but mainly wanted to make others aware of the limitation. I assume to run this script you will need IDA>=7.4, which to my knowledge is the first version that was capable of utilizing Python3.
For sake of completeness, I tried running the script in my Python3 console to see what would happen. I was presented with a different error:
stem_insn.py", line 11, in <module>     from idc import * ModuleNotFoundError: No module named 'idc'
This would be expected, as the raw Python3 environment would not have the idapython libs provided by IDA>=7.4

Closing this issue. A backport is not being requested.


Comment away type warning

Disable type warning
autocommit

Codecov Report

Merging #106 (5ee9730) into main (5f6040c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #106   +/-   ##
=======================================
  Coverage   91.01%   91.01%
=======================================
  Files          14       14
  Lines         968      968
  Branches      132      132
=======================================
  Hits          881      881
  Misses         67       67
  Partials       20       20

Impacted Files
Coverage Δ

tests/test_forms.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Feat(eos_cli_config_gen): Add support for changing the notification timestamp mode for gnmi (Issues/1532)

Change Summary
added support for notification timestamp send-time under management api gnmi that was introduced in EOS 4.27.0F (ref: https://aristanetworks.github.io/openmgmt/configuration/openconfig/#telemetry-timestamps)
Related Issue(s)
Fixes #1532
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
didn't modify the existing data model, just added another key for set_send_time
How to test
add set_send_time: true under management_api_gnmi in the fabric group_vars
management_api_gnmi:
  set_send_time: true
  enable_vrfs:
    MGMT:
    #  access_group: test1
  octa: true

Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

I have changed to draft. Please fix all test failures first. Then click "ready for review"

Need to run molecule for eos_cli_config_gen. Because the octa is tested with a regular defined test the artifacts are generated now for the old examples.


Show exception description on failure to render graphviz

Fixes:
Show the actual exception description when graphviz fails to render.
If the dot executable is missing, the exception now becomes:

There was an error generating the requested graph: failed to execute ['dot', '-Tpng'], make sure the Graphviz executables are on your systems' PATH

which is similar to the current message.  But this is not the only problem which can occur; those other problems should now be easier to diagnose.

This needs a corresponding issue opened to "fix"


Fix gateway timeout errors in searching for posts

When calling /api/posts?search=some_query_here, there are many times where users get a timeout error. Figure out why this is the issue and if there is a way to fix it.

So I went ahead and combined the two indexes for Text and Title. It seemed to have sped up the queries, although there are still cases where gateway timeouts occur. I think I may need to swap to elastic search to get this working properly. For now, I'll put this issue into limbo

I have taken out the search posts endpoint due to the large computational costs for searching for posts. This feature will no longer be available unless we switch to a better plaintext searching framework. Until then, this issue will be stale.

The best course of action here is to use OpenSearch and creating a digital ocean managed db. Here's what I'll do:
I'll use the .sql file I have on my local machine to construct the db locally. Then, I'll port the data over to opensearch database. Costs should be $30 / mo to keep opensearch running. Might be too expensive to maintain but if the site becomes sustainable with ads then I'll do this.

Current blocker: run ads on site


[FEAT] Support cursor based pagination in table component

Is your feature request related to a problem? Please describe.
The underlying data that I have with my dataProvider periodically changes and the current offset-based pagination doesn't provide any guarantee of consistency. Instead of offset-based pagination, I want to pick a column (usually PK but not always integer / long) and filter based on that column with a cursor in the table component. Here are some use-cases where offset pagination is considered harmful. [1])(https://uxdesign.cc/why-facebook-says-cursor-pagination-is-the-greatest-d6b98d86b6c0), 2use cases
Describe alternatives you've considered
If my table has a primary column that is integer/long, I can use offset in a way similar to cursor pagination but this approach doesn't work if the primary key is timestamp, string or a composite key. Also, even if the primary key is integer/long, the UX is not good as the values might be sparse instead of being incremental and continuous.
Additional context
No response
Describe the thing to improve
An interface in dataProvider that lets me provide a cursor value. Material UI already supports it out of the box: https://mui.com/x/react-data-grid/pagination/#cursor-implementation

Oh, I guess I'm lucky today. Thanks folks!

Hey @buremba
I prepared a sample application about MUI Cursor Pagination.
Use metaData method of the useDataGrid hook and the Github API. Send the last row's creation date to the data provider with metaData.next, overriding the page changes with onPageChange.
onPageChange={(page, details) => {
    // Github API returns the latest commit date as the next cursor
    const lastRow = data?.data[data.data.length - 1];
    const next = lastRow?.commit.committer.date;
    if (next) {
        setNext(next);
    }
    dataGridProps.onPageChange?.(page, details);
}}

Also, Send a request by reading this next value in the data provider.
I hope this sample application will help you 🚀


Is there any support for dlib.get_frontal_face_detector()?

Hi,
I want to use get_frontal_face_detector() method of dlib in android application. Is there any support for that?

@darshit7
It had supported already.
Native code:
https://github.com/tzutalin/dlib-android/blob/22238239ba6385b6c3cc8e288902345267679f99/jni/jni_detections/detector.h
The file will be compiled into shared libraries:
https://github.com/tzutalin/dlib-android-app/tree/master/dlib/src/main/jniLibs
You can use the java file to call its native function:
https://github.com/tzutalin/dlib-android-app/blob/master/dlib/src/main/java/com/tzutalin/dlib/FaceDet.java


Putting wrong items in drystreak shows lb kc

🐛 Bug Report
this has been a bug for ages but now I'm just noticing what it is doing
in the picture I put a broken dwarven warhammer (from kg) in a drystreak for kk. instead of saying that item doesn't exist for that boss. it shows the exact same info doing /lb kc for kk does.

how is this an issue? Of course, you would be dry exactly the same as the lb kc on an item that can't drop from that monster.

how is this an issue? Of course, you would be dry exactly the same as the lb kc on an item that can't drop from that monster.

well yeah so it should say that ofc  not just copy the leaderboard info. lol 😅 if you don't see how that's a issue then idk


typeError: route is not a function

Expected Behavior
Should be able to add @routes to my blade and then the route function in JS should get routes
Current Behavior
The JS gives me this error:
typeError: route is not a function
Note: I did get this working by adding () after @routes. However, after loading just one page with that change, I could then remove the () and everything continued to work. I did clear my cache (browser and artisan) between each test.
Currently installed Laravel version:
5.5.28
Currently installed Ziggy version
0.7.1

Did you clear your view cache as well as the laravel cache?

Try php artisan view:clear and php artisan config:clear if you use an advanced config

or, try to clear caches in your browser. sometimes I got this error too.
try to check the code the browser render, Ctrl + U. @routes just add a tag <script>...</script>.


remove console.log()

Can you remove the console.log() inside HOCAudio.componentDidMount()? See line 273 of HOCAudio.jsx. Thanks.

Thanks buddy. That line of code has been removed.

Thanks!


Glitch New Project Error - Mongodb not starting

Describe your problem and - if possible - how to reproduce it
Go to the Exercise-Tracker
Open in Glitch
Mongodb doesn't start
I tried opening the console in their website and running the mongod command.
Add a Link to the page with the problem
https://learn.freecodecamp.org/apis-and-microservices/apis-and-microservices-projects/exercise-tracker
Tell us about your browser and operating system

Browser Name: Chrome
Browser Version: Version 68.0.3440.106 (Official Build) (64-bit)
Operating System: macOS High Sierra 10.13.6

If possible, add a screenshot here
vents.js:160

      throw er; // Unhandled 'error' event

      ^

      MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect
 ECONNREFUSED <IP_ADDRESS>:27017]

    at Pool.<anonymous> (/rbd/pnpm-volume/9a24fcff-5441-41bc-a3c85c9ff43c50e7/node_modules/.registry.npmjs.org/mongodb-core/2.1.18/node_modules/mongodb-core/lib/topologies/server.js:336:35)

    at emitOne (events.js:96:13)

    at Pool.emit (events.js:188:7)

    at Connection.<anonymous> (/rbd/pnpm-volume/9a24fcff-5441-41bc-a3c8-5c9ff43c50e7/node_modules/.registry.npmjs.org/mongodb-core/2.1.18/node_modules/mongodb-core/lib/connection/pool.js:280:12)

    at Connection.g (events.js:291:16)

    at emitTwo (events.js:106:13)

    at Connection.emit (events.js:191:7)

    at Socket.<anonymous> (/rbd/pnpm-volume/9a24fcff-5441-41bc-a3c8-5c9ff43c50e7/node_modules/.registry.npmjs.org/mongodb-core/2.1.18/node_modules/mongodb-core/lib/connection/connection.js:189:49)

    at Socket.g (events.js:291:16)

    at emitOne (events.js:96:13)

    at Socket.emit (events.js:188:7)

    at emitErrorNT (net.js:1278:8)

    at _combinedTickCallback (internal/process/next_tick.js:74:11)

    at process._tickCallback (internal/process/next_tick.js:98:9)

Have to use a Mlab Url


Doesn't publish / return cursor

Following the docs, if you try to return a cursor, nothing gets returned. Example:
  Posts.serverTransform(
     comments: (post) ->
      Comments.find(
        referenceId: post._id
      )
  )

returns nothing. If you add .fetch() it does return the comments.

Can you provide a meteorpad for this case?

I understand how this works now. Closing this


Trigger validation not only on changed value but also on losing focus

OpenUI5 version: 1.60
Steps to reproduce the problem:
Validation of a control is only triggered after a change is made to the control.
What is the expected result?
The Fiori Design Guidelines clearly state, that validation should be triggered after losing the focus of a control: https://experience.sap.com/fiori-design-web/form-field-validation/
What happens instead?
Validation only occurs when the value of the binding changes. So if a user tabs through all the inputs without changing a value, no validation is triggered.
From the Fiori Design Guidelines:

Focus Out (First Validation)

Clicking or touching another part of the screen (focus out) validates the field.
The mandatory fields are marked.
A messaging button appears in toolbar (semantic button, icon: alert, counter)

Hi @vxmn ,
Please provide us an isolated example of the issue. You can use for example JS Bin (https://jsbin.com/?html,css,output).
Best Regards,
Lidiya

Hi @LidiaBobeva,
just have a look at these official samples: https://openui5.hana.ondemand.com/#/sample/sap.ui.core.sample.ViewTemplate.types/code/Types.view.xml

Delete the value of the field "sap.ui.model.odata.type.Boolean Input Field, true"
Tab to move the focus to the input field below "sap.ui.model.odata.type.Boolean Input Field, NOT nullable"
Tab to move the focus to the next field, which is the checkbox.

Result:
The second input field is empty but no validation for this field was triggered on moving out of the field. There is no red border around the control.
This behaviour is not in line with the fiori guidelines. Also, there is no (convenient) way to trigger the validation of a control, e.g. there is no myControl.validate() which validates the field and triggers the creation of a message for the MessageManager that might be registered for this view/control.

Hello @vxmn ,
thank you for contacting us.
UI5 does only validate UI input on its way to a model, not the other way around when data is coming from the model itself to get displayed on the UI. This means whenever an end user types in some value into an input field, the framework validates this property (including type and constraint checking) before it gets stored inside a model.
In case another input field is bound to the same path, potentially defined constraints (like NOT nullable) are not considered. UI5 relies on correct model data. Otherwise the framework would need to validate every data set before displaying it, which would also slow down data representation.
In a productive application you should not use two or more input fields with different constraints bound to the same path. The constraints are semantically attached to the data, not to the UI controls. They should be equally defined for all UI controls bound to the same data set.
Best,
Domi

Hello @vxmn !
I agree with you that in the end, there must be some validation in case a user does not fill mandatory fields. But I do not agree that this should happen once you tab outside such a field. What if you never tab into such a field? Isn't it required to check mandatory fields when the "Save" button is pressed?
Best regards,
Thomas

Hello @vxmn ,
oh okay, now understand your concerns completely. I totally agree with you that it should be possible to at least manually trigger the validation. I will follow up on this internally and come back to you once I have any news on that. For transparancy I also add the Fiori Design Guidelines for the topic Form Field Validation.
Thank you,
Dominik

Hi,
any updates on this issue?

Hi,
not sure what it read in 2018, but now the Fiori guideline specifies [...]Validation is done when the value in the input field has changed and the focus leaves the field.[...].
As @domianer described the behavior of UI5 is indeed intended. A validation is only done if something changed.
The assumption is that if nothing changed via UI interaction a validation is not necessary.
In general I would solve this by using a field-group, this way even untouched fields get are triggered if the user leaves the field-group with their focus.
You can also programmatically trigger a field-group validation via the triggerValidateFieldGroup API.
By attaching to the corresponding validateFieldGroup event, you can also react to specific issues, e.g. checking for the "mandatory" or "nullable" state of an input field. This input could then be set with the "Error" value-state, see setValueState.
I believe most common scenarios should be solvable by this mechanism.
BR,
T


Wrong TOC title

The TOC title for this page says .NET Standard but should say .NET Core.

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

ID: c4c6d63e-95f5-de2c-972b-4da5fe71a6a6
Version Independent ID: 338bbd1b-d86d-ff48-0b8a-1d48cb9547f2
Content: Send events using .NET Core - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-dotnet-standard-getstarted-send.md
Service: event-hubs
GitHub Login: @ShubhaVijayasarathy
Microsoft Alias: shvija

@sujal1989 Thanks for bringing this to out notice. We are reviewing the issue and will update as appropriate.

@gewarren I am assigning the issue to the content owner to review and update as appropriate.
@ShubhaVijayasarathy Can you please take a look at this one ?


Docs: BoolTFlag not documented

The difference between cli.BoolTFlag and cli.BoolFlag is not documented and therefore difficult to understand what is it without looking at the source code of the package or trying it out.
The name BoolTFlag has meant nothing to me. My first guess is "a bool flag that's true by default"?

@ahmetalpbalkan yeah, the flags were sorely under documented, I've added docs for all of them at https://github.com/codegangsta/cli/pull/233 -- let me know if that addresses this!

Closing, but please re-open if you have any concerns with the additional docs.

all good thanks @jszwedko


Added Romanian localization

Added new 'ro' folder inside locales directory
Translated all sprites and text elements to Romanian
generated sprite sheets inside 'dist/ro' directory

So cool! Thanks for contributing back your translations, it really makes my day to know that this pipeline helps other translations to see the light! 👏
(I don't know if your RO mod is available somewhere, but feel free to add a link to it to the README in another PR!)

Thank you so much for making this tool, it made the process of creating the sprites a lot easier than I had anticipated at first. 😊
I've just completed my RO mod and I'll submit a PR soon to add the link to the README.


Parsing error when parsing syntactically correct query

Describe the bug
JSQLParserException when parsing a syntactically correct postgreSQL query. The issue is parentheses around the ORDER BY clause.
To Reproduce
Steps to reproduce the behavior:

example SQL:

SELECT col1, col2 FROM table ORDER BY (col1, col2)

Parsing this SQL using JSqlParserUtil
JSQLParserException

Expected behavior
A correct parse should be the correct outcome.
System

PostgreSQL 12
Java Version 15
JSqlParser version 1.2 and 4.0

At least in JSqlParser 4.1-SNAPSHOT this is parsable.

Not reproducible with the latest version of JSQLParser.


2: Invalid Indexed Type error

When evaluating an item I get an error "2: Invalid Indexed Type"
This happens an all item evaluations, unique, rare, normal, currency, etc.

🌍  Your Environment

OS: Win10 x64
Version:  0.8.3
PoE: Steam 3.15.0d English

I was on 0.7.11 and had the same bug, updated and still happens. Might be because of the new PoE patch

It works if you change the "searching time period" from 'Any Time' to any other.

It works if you change the "searching time period" from 'Any Time' to any other.

As a temp solution to this problem, this works.

Is there any way to change the default search time period? I cba to change it manually from the menu each and every time 😢

Is there any way to change the default search time period? I cba to change it manually from the menu each and every time 😢
EDIT: Found it

The new version fixes this issue as well.

This bug was fixed in v0.8.4


Bad links on page https://docs.microsoft.com/en-us/microsoft-365/admin/email/configure-a-shared-mailbox?view=o365-worldwide

[Shared mailboxes link opens page with error > Something went wrong and we couldn't get the page to display.
Error code: c9eb3027-29b8-41fc-9566-61fd419821ca]

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

ID: 198eb002-1d99-5a13-05d4-34d1cbb8d9d9
Version Independent ID: 6218b3c9-f0a2-ed0e-ef0a-c99c3c280030
Content: Configure shared mailbox settings - Microsoft 365 admin
Content Source: microsoft-365/admin/email/configure-a-shared-mailbox.md
Service: o365-administration
GitHub Login: @SKjerland
Microsoft Alias: sharik

@Bob-Fx Thank you for your feedback. I have checked the document and all links that point to shared mailboxes are live and not broken. You will need to be an admin to sign in to the shared mailboxes page.  Try on an Edge(in private browsing) and let me know if you still have an issue.
Thanks
Sri

I just tried the links and they are now working correctly (using Chrome).
Not sure what was broken the other day.
Thanks for the followup!
Regards,
Bob Fenske
Network Systems Manager
From: Sriraman M S<EMAIL_ADDRESS>Sent: Friday, February 12, 2021 3:29 PM
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Bob Fenske<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] Bad links on page https://docs.microsoft.com/en-us/microsoft-365/admin/email/configure-a-shared-mailbox?view=o365-worldwide (#4101)
@Bob-Fxhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBob-Fx&data=04|01|bob.fenske%40dataaccess.com|1c971367417b4613ab2c08d8cf94c5cf|30626ff8910645459fd873794e98f118|0|0|637487585181017483|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=r7kGTYd6ocOFaZJfy9nHTZ95HWmaqo9OmUE8MrqRvwQ%3D&reserved=0 Thank you for your feedback. I have checked the document and all links that point to shared mailboxes are live and not broken. You will need to be an admin to sign in to the shared mailboxes page. Try on an Edge(in private browsing) and let me know if you still have an issue.
Thanks
Sri

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F4101%23issuecomment-778436876&data=04|01|bob.fenske%40dataaccess.com|1c971367417b4613ab2c08d8cf94c5cf|30626ff8910645459fd873794e98f118|0|0|637487585181027482|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=zAtfFaYMJWRaYda0tOci12iQfD4K%2FIce8Ho2sxNAJSI%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPU7WNHHLR7IPGB3BOTKHN3S6WFPHANCNFSM4XLDWSJA&data=04|01|bob.fenske%40dataaccess.com|1c971367417b4613ab2c08d8cf94c5cf|30626ff8910645459fd873794e98f118|0|0|637487585181037476|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ZOcxBHVgSB9ZKn19XOZ5ZAModXjM99yKpdGsMeCMVus%3D&reserved=0.

@msbemba Thank you very much for the contribution and sharing this explanation. @Bob-Fx Glad that problem resolved. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.