http proxy complains unexpected EOF

What version of V2Ray are you using?
4.34.0, server only

What's your scenario of using V2Ray?
pure http proxy

What problems have you encountered?
run "curl -xhttp://<IP_ADDRESS>:39000 baidu.com" returns 503, while "curl -xhttp://<IP_ADDRESS>:39000 www.baidu.com" works.
39000 is the http inboud port for v2ray

What's your expectation?
curl should return normally, since "curl baidu.com" will return with http code 200
Please attach your configuration here

Server configuration:
// Please attach your server configuration here.
{
  "log": {
    "loglevel": "debug",
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log"
  },
  "inbounds": [
    {
      "port": 39000,
      "protocol": "http",
      "tag": "servinghttp",
      "settings": {
        "timeout": 600,
        "allowTransparent": false,
        "userLevel": 0
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "tag": "direct",
      "settings": {}
    }
  ],
  "routing": {}
}

Client configuration:
// Please attach your client configuration here.
NONE

Please attach error logs here

Server error log:
// Please attach your server error log here.
2021/02/02 06:45:29 [Info] [129073558] v2ray.com/core/proxy/http: request to Method [GET] Host [baidu.com] with URL [http://baidu.com/]
2021/02/02 06:45:29 [Info] [129073558] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:baidu.com:80]
2021/02/02 06:45:29 [Info] [129073558] v2ray.com/core/proxy/freedom: opening connection to tcp:baidu.com:80
2021/02/02 06:45:29 [Info] [129073558] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:baidu.com:80
2021/02/02 06:45:29 [Warning] [129073558] v2ray.com/core/proxy/http: failed to read response from baidu.com > unexpected EOF
2021/02/02 06:45:29 [Info] [129073558] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/http: failed to read http request > EOF

Client error log:
// Please attach your client error log here.
NONE

Please attach access log here

// Please attach your server access log here.
2021/02/02 06:45:29 <IP_ADDRESS>:61198 accepted http://baidu.com/ [direct]

Other configurations (such as Nginx) and logs here
Nothing
If V2Ray cannot start up, please attach output from --test command
If V2Ray service is abnormal, please attach journal log here

I don't think it has anything to do with v2ray.


Bug: Hostname is stripped when creating /_template from New Page modal

Environment
Host

item
version

GROWI
3.4.0

Client

item
version

OS
Chrome

browser
74.0.3729.169

How to reproduce? (再現手順)

Access to Demo page (https://demo.growi.org/)
Create template page for / from New Page modal

What happens? (症状)

Moved to https://_template/#edit-form

What is the expected result? (期待される動作)

Move to https://demo.growi.org/_template/#edit-form

Note

On other pages, Edit template button works.

When I checked this modal HTML with Devtools, the HTML was as follows;

  編集

Then, I read the client code and found the cause.
https://github.com/weseek/growi/blob/229ed8c2c5a3a5d510af010ce831cd0a10e1bc18/src/server/views/modal/create_page.html#L75

It should be switched by endsWith("/") in the same way as below;
https://github.com/weseek/growi/blob/2f09d0308f3355484e37dcd0e66f45b33db9b44c/src/server/views/modal/create_template.html#L21
Or, it may be better to refer to $('#template-button-children').attr('href') and $('#template-button-decendants').attr('href').

@rsp9u Thanks for letting us know and figuring out the problem.
Considering what you mentioned, I think the problem was because of the extra / at the end of
{{ page.path || path }}, where getting rid of it seemed to solve it for me.

@shinoka7 Thanks for your response!
So, I'm afraid that your solution wouldn't work well in the other than root page.
For example, this variable in https://demo.growi.org/seqdiag-test is like below;
// modify href
const value = $(this).val();
const pageName = (value === 'children') ? '_template' : '__template';
const link = '/seqdiag-test/' + pageName + '#edit-form';
$('#link-to-template').attr('href', link);

If you get rid of / from /seqdiag-test/, the link uri would be /seqdiag-test_template#edit-form.
As mentioned above, it would be better to switch while the template rendering.

@rsp9u Ah, you're right! I was only considering the two cases...
As of now, we will probably go with filtering the path, depending on whether or not it has a trailing slash.

@shinoka7 I've looked at the conversations in PR, certainly that's better than my idea.
Thanks for the explanation!

fixed by #1008

fixed by #1021


Append generated Component to the closest NgModule

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Windows 10

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.11-webpack.8
node: 6.2.2
os: win32 x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

Change directory to a NgModule
ng g c anyComponentName
--> This Component will be added to the app.module.ts instead of the closest NgModule!

The log given by the failure. Normally this include a stack trace and some
more information.

-/-

Mention any other details that might be useful.

Would be nice to get that generated Component into the right NgModule.

Thanks! We'll be in touch soon.

#1966

#1966

#1966


i am not able to update the current version of spyder with newer version

Description
What steps will reproduce the problem?

Solving environment: failed UnsatisfiableError: The following specifications were found to be incompatible with each other: - anaconda==2019.03=py37_0 -> importlib_metadata==0.8=py37_0 -> zipp[version='>=0.3.2'] - anaconda==2019.03=py37_0 -> mkl-service==1.1.2=py37hb782905_5 - anaconda==2019.03=py37_0 -> spyder==3.3.3=py37_0 -> spyder-kernels[version='>=0.4.2,<1'] - pkgs/main/win-64::importlib_metadata==0.8=py37_0 -> zipp[version='>=0.3.2'] - pkgs/main/win-64::mkl-service==1.1.2=py37hb782905_5 - pkgs/main/win-64::path.py==11.5.0=py37_0 -> importlib_metadata[version='>=0.5'] - pkgs/main/win-64::zipp==0.3.3=py37_1 - spyder-kernels - spyder=3.3.4 -> spyder-kernels[version='>=0.4.3,<1']
Versions

Spyder version: 3.3.3
Python version: 3.7.3
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies
pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
rope >=0.9.4      :  0.12.0 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
numpy >=1.7       :  1.16.2 (OK)
sympy >=0.7.3     :  1.3 (OK)
cython >=0.21     :  0.29.6 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
IPython >=4.0     :  7.4.0 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
pylint >=0.25     :  2.3.1 (OK)

What conda command are you running to do the update?

I'm getting exact same issue with conda 4.7.5
(base) PS C:\Users\david> conda update qt pyqt
Collecting package metadata (current_repodata.json): done
Solving environment: done

# All requested packages already installed.

(base) PS C:\Users\david> conda install -c spyder-ide spyder=4.0.0b2
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  - anaconda==2019.03=py37_0 -> importlib_metadata==0.8=py37_0 -> zipp[version='>=0.3.2']
  - anaconda==2019.03=py37_0 -> spyder==3.3.3=py37_0 -> spyder-kernels[version='>=0.4.2,<1']
  - importlib_metadata
  - pkgs/main/win-64::path.py==11.5.0=py37_0 -> importlib_metadata[version='>=0.5']
  - spyder-kernels
  - spyder=4.0.0b2 -> spyder-kernels[version='>=1.2,<1.4']
  - zipp

However, I get the same issue trying to install spyder 3.3.4, so I suppose that suggests an issue with the version of Anaconda?
(base) PS C:\Users\david> conda install spyder=3.3.4
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  - anaconda==2019.03=py37_0 -> importlib_metadata==0.8=py37_0 -> zipp[version='>=0.3.2']
  - anaconda==2019.03=py37_0 -> spyder==3.3.3=py37_0 -> spyder-kernels[version='>=0.4.2,<1']
  - pkgs/main/win-64::importlib_metadata==0.8=py37_0 -> zipp[version='>=0.3.2']
  - pkgs/main/win-64::path.py==11.5.0=py37_0 -> importlib_metadata[version='>=0.5']
  - pkgs/main/win-64::zipp==0.3.3=py37_1
  - spyder-kernels
  - spyder=3.3.4 -> spyder-kernels[version='>=0.4.3,<1']

@turnipski, what's your current Spyder version?

I've not got any version of Spyder installed, I've only just installed Anaconda today.
I tried installing Anaconda3-2018.12-Windows-x86_64 (previous was Anaconda3-2019.03-Windows-x86_64) and I get a slightly different issue:
(base) C:\Users\david>conda install -c spyder-ide spyder=4.0.0b2
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only using the old .tar.bz2 file format because you have conda-build installed, and it is <3.18.3.  Update or remove conda-build to get smaller downloads and faster extractions.
Collecting package metadata (repodata.json): done
Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  - anaconda==2018.12=py37_0 -> importlib_metadata==0.6=py37_0
  - anaconda==2018.12=py37_0 -> qtawesome==0.5.3=py37_0
  - anaconda==2018.12=py37_0 -> spyder==3.3.2=py37_0 -> spyder-kernels[version='>=0.1,<1']
  - importlib_metadata
  - pkgs/main/win-64::path.py==11.5.0=py37_0 -> importlib_metadata[version='>=0.5']
  - qtawesome
  - spyder-kernels
  - spyder=4.0.0b2 -> qtawesome[version='>=0.5.7']
  - spyder=4.0.0b2 -> spyder-kernels[version='>=1.2,<1.4']

Oh, I didn't realise that Anaconda came with Spyder 3.3.2 pre-installed, perhaps that is the issue? Trying to run install command when should be running update?

Please uninstall spyder and spyder-kernels and try again.

Closing as a duplicate of #9705.


More Configurable options

When I create/edit an server I can't configure things like the server port.
Maybe you can add forms such as:

Server port
Server password

Server port: Why do you want this?
Server password: Is already available.

Server port is very helpfull when you want to run more TeamSpeak servers.

However, the ports are already incremented when created? So there is no need for this?

I'm thinking its very usefull, for example if you want to redirect users from an old TeamSpeak server to a new one.


TestIngressMetric fails in both master and the 0.8 release branch

Example:
https://k8s-gubernator.appspot.com/build/istio-prow/e2e-suite-rbac-auth/1558/
https://k8s-gubernator.appspot.com/build/istio-prow/e2e-suite-rbac-auth/1557/
From Doug:
"the ingress metrics one looks like because the service was renamed to "istio-ingressgateway"
from "istio-ingress". whomever did that broke the test
Peter can help debug that"

This test is still failing in the latest post-submit test in the release-0.8 branch.
https://storage.googleapis.com/istio-prow/e2e-suite-rbac-auth/1564/build-log.txt

I guess it is because both istio-ingress and istio-ingressgateway are running in the test cluster, and this caused pilot v1 to be confused when it builds ingress listener. See code here: https://github.com/istio/istio/blob/HEAD/pilot/pkg/proxy/envoy/v1/config.go#L164 and the prefix of istio-ingress and istio-ingressgateway are "istio-ingress".
@vadimeisenbergibm Is ingressgateway expected to show up in a mixer-e2e-test?

@bianpengyuan Yes, istio-ingressgateway is expected to show up in all the tests now. However, the tests of v1alpha1 should have the ingress traffic going through istio-ingress, so istio-ingressgateway should not get any traffic and should not influence the tests.

@vadimeisenbergibm According to code here: https://github.com/istio/istio/blob/HEAD/pilot/pkg/proxy/envoy/v1/config.go#L164. Listener config will only be generated for one ingress services based on prefix match, which would affect ingress mixer client metric report, isn't it?

@bianpengyuan ah, you are right, there is a break there! This code should be changed to handle both istio-ingress and istio-ingressgateway.

^^^ @hklai probably this is the problem, discovered by @bianpengyuan

@bianpengyuan actually, I think it should handle only istio-ingress. And also, the name of istio-ingress should be read from the mesh config. cc @rshriram

I think this is the plan of @rshriram. See https://github.com/istio/istio/blob/release-0.8/install/kubernetes/helm/istio/values.yaml, both ingress and ingress gateway are enabled.

IngressMetricsTest stops being flaky. Fixed.


Building a configure preset for MSVC without specifying targets fails

Brief Issue Summary
The first time a folder with a CMakePresets.json file is opened, the CMake tools build target is undefined and defaults to [[Target for preset]]. Consider this configure preset using a Visual Studio generator.
Consider this configure preset:
        {
            "name": "windows-debug",
            "displayName": "Desktop debug",
            "description": "",
            "generator": "Visual Studio 15 2017 Win64",
            "binaryDir": "${sourceDir}/build/${presetName}",
            "cacheVariables": {
                "CMAKE_BUILD_TYPE": "Debug"
            },
            "condition": {
                "type": "equals",
                "lhs": "${hostSystemName}",
                "rhs": "Windows"
            }
        },

When seleting this preset via configure preset CMake tools status bar entry without having specified a build target and hitting Build, CMake tools will issue a command like this:
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --build c:/workspaces/r96/build/windows-debug --target all

This does not work with the Visual Studio generator, as no target with name all is generated. Instead, ALL_BUILD is what's needed for the Visual Studio generator.
In terms of UX, the user is never prompted to select a build target. It would make sense to set this to ALL_BUILD in case a Visual Studio generator is used, so builds do not fail out of the box.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

Can you share the active build preset as well?  Since VS is a multi-config generator, I don't have the full picture.  We should be pulling the targets from the build preset, and it nothing is defined, we don't select a target at all.
Also, what version of the extension are you using?  1.12.27, or one of the 1.13 pre-releases?  I don't reproduce this problem in the pre-releases.


cardano-cli: add governance create-info command

Changelog
- description: |
    Implementation of the create-info command
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - improvement    # QoL changes e.g. refactoring
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
Fixes https://github.com/input-output-hk/cardano-cli/issues/289
Checklist

[X] Commit sequence broadly makes sense and commits have useful messages
[ ] The change log section in the PR description has been filled in
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
round trip tests
integration tests
See Running tests for more details

[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[ ] The changelog section in the PR is updated to describe the change
[X] Self-reviewed the diff

As of , the output of cardano-cli conway governance action create-info --help is as follows:
Usage: cardano-cli conway governance action create-info (--mainnet | --testnet)
                                                          --governance-action-deposit NATURAL
                                                          ( --stake-pool-verification-key STRING
                                                          | --cold-verification-key-file FILE
                                                          | --stake-pool-id STAKE_POOL_ID
                                                          | --stake-verification-key STRING
                                                          | --stake-verification-key-file FILE
                                                          | --stake-key-hash HASH
                                                          )
                                                          --proposal-url TEXT
                                                          ( --proposal-text TEXT
                                                          | --proposal-file FILE
                                                          | --proposal-hash HASH
                                                          )
                                                          --out-file FILE

  Create an info action.

Available options:
  --mainnet                Use the mainnet magic id.
  --testnet                Use the testnet magic id.
  --governance-action-deposit NATURAL
                           Deposit required to submit a governance action.
  --stake-pool-verification-key STRING
                           Stake pool verification key (Bech32 or hex-encoded).
  --cold-verification-key-file FILE
                           Filepath of the stake pool verification key.
  --stake-pool-id STAKE_POOL_ID
                           Stake pool ID/verification key hash (either
                           Bech32-encoded or hex-encoded). Zero or more
                           occurences of this option is allowed.
  --stake-verification-key STRING
                           Stake verification key (Bech32 or hex-encoded).
  --stake-verification-key-file FILE
                           Filepath of the staking verification key.
  --stake-key-hash HASH    Stake verification key hash (hex-encoded).
  --proposal-url TEXT      Proposal anchor URL
  --proposal-text TEXT     Input proposal as UTF-8 encoded text.
  --proposal-file FILE     Input proposal as a text file.
  --proposal-hash HASH     Proposal anchor data hash.
  --out-file FILE          Path to action file to be used later on with build or
                           build-raw
  -h,--help                Show this help text

You will need to check in the test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli file as well.


Bad usage of NumerciDate for OIDC

Fix after #2057
Was unable to run the project locally, I wanted to wait for travis-ci but you were too fast sorry !
Should be better...

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Not a problem. More patches, the better. Glad you care :)

Clarification: if it fails, we'll know and either you or someone else will fix it.


Consider accepting search/replace blocks containing part of a line

Issue
Current behavior:
The model sometimes outputs search/replace blocks that don't contain the entire line, contrary to instructions. For example:
<EMAIL_ADDRESS>=======
<EMAIL_ADDRESS>>>>>>>> REPLACE

In this case, other attributes were present on the same line in the original file, but the model excluded them from the search/replace block.
Issue:

This partial-line output goes against the current requirement for full-line search/replace blocks.
The model tried 3 times to match the required format, but failed doing so.

Observation:

In cases where there's only a single exact match in the file, applying the partial-line search/replace would still work correctly.

Proposed solution:

Consider relaxing the full-line requirement for search/replace blocks when:

The model outputs a partial-line block, AND
There's only a single exact match for the search term in the file

Version and model info
0.54.12, deepseek coder v2, diff format.

Thanks for trying aider and filing this issue. This doc may be helpful:
https://aider.chat/docs/troubleshooting/edit-errors.html


Cursor image isn't always updated

Yo yo yo.
Sometimes, the cursor image is not updated due to yer plugin. Some apps that exhibit this:

BlueMail (xwayland, electron)
Tutanota (xwayland, electron)
Photoshop (xwayland, wine)

Haven't noticed any other, yet.
The cursor image is stuck on the first one the app sets.

Now that you mention it, I think I've also seen this bug in some xwayland apps (but thought it was some xwayland issue). Thanks for the report, I'll dig into it tomorrow.

Turns out I removed some logic while testing some time ago, which stopped the wl surface from updating. Should be fixed now.

thanks!


[8.x] Allow to make test assertions about queued listeners

Currently when we use QueueFake class, some jobs may go "undetected" because they are invocated through a special internal class CallQueuedListener. Consider this example:
class EventServiceProvider extends ServiceProvider {
    protected $listen = [
        EventHappened::class => [
            TakeAction::class,
        ],
}

class TakeAction implements ShouldQueue {
    public $delay = 10;
}

Now in one of our integration tests, we want to make sure that this TakeAction listener was queued, so we rely on the Queue fake as the documentation recommends:
class Tests extends TestCase {
    public test_action_was_queued()
    {
        Queue::fake();

        // Something happens here

        Queue::assertPushed(TakeAction::class);
    }
}

This test fails because TakeAction class was never put in a queue, at least not directly. Behind the scenes, Laravel framework queued a special internal class CallQueuedListener instead and the $class property on that object is TakeAction::class.
Now there is a workaround of course:
class Tests extends TestCase {
    public test_action_was_queued()
    {
        Queue::fake();

        // Something happens here

        Queue::assertPushed(CallQueuedListener::class, function ($job) {
            return $job->class == TakeAction::class;
        });
    }
}

But it feels a bit wrong for a couple of reasons:

As a product developer, I don't really want to know about the CallQueuedListener class - it's a part of the framework internals, not exactly a part of the public API. What if it changes one day? What if the class gets renamed or modified, will I have to edit all my tests?
For me as a developer, there is no clarity when a job will be put in the queue as a "real" class or as a CallQueuedListener so when I write the tests, it's never instantly clear which format should I use (from the two shown above).
All my Job classes and all my Listener classes use the same ShouldQueue trait, so I kind of expect them to be supported in tests in a similar fashion

This PR only affects QueueFake and should have no backward compatibility issues. It extends QueueFake's job search to the CallQueuedListener objects – we will look inside of those objects as well and accept those matches. This will allow us to make assertions about queued jobs and listeners in the same way:
class Tests extends TestCase {
    public test_action_was_queued()
    {
        Queue::fake();

        // Something happens here

        Queue::assertPushed(Job::class);
        Queue::assertPushed(Listener::class);
    }
}

I don't think the callbacks will work properly in this case. I would simply use Event::fake and assert that the event was dispatched. The listener can be tested separate on its own.


Crash in Swift package using Swift.Result in generic functions when used from Xcode project on latest Apple OS's

Description
Swift package that uses Swift.Result in a generic function crashes when used in an Xcode project (Application or Framework) on macOS 14, iOS 17, tvOS 17 but works correctly when used from Swift Test Target on same platforms.
Steps to reproduce

Clone https://github.com/outfoxx/Kubrick repo
Open KubricKHost/KubrickHost.xcodeproj
Select iOS Simulator with iOS 17 OS.
Run MapJobTests.test_MappingValuesToResults test to see crash

Expected behavior
The code should work from both Swift packages and Xcode projects on all versions of Apple OS's.
Environment

Swift compiler version info

swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-<IP_ADDRESS>.108 clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx14.0

Xcode version info

Xcode 15.0
Build version 15A240d

Deployment target

Failing deployment targets:
macOS 14.x.x
iOS 17.x.x
tvOS 17.x.x
Succeeding deployment targets:
macOS 13.x.x
iOS 16.x.x
tvOS 16.x.x

Understand that I spent considerable time trying to build a "small" reproducing project to no avail. In the end I figured I would file the issue with the broken Swift package and an easy method to reproduce it.

More details...
Replacing Swift.Result with a similar enum defined in the project (ExecuteResult) removes the crash. This can be seen in the repo's main branch.


Add S3 FileSystem

This PR implements the following:

Minimal S3FileSystem
S3ReadFile
Extends CircleCI to test the S3FileSystem adapter. Includes a new job linux-adapters-build, setup for MinioServer, and a setup_adapters.sh script that downloads aws-sdk-cpp and its dependencies.
removes registerAllFileSystems. We can add this later on request.

@pedroerp @mbasmanova This PR is ready for a final review. As discussed last week, it now has a new CircleCI job with Minio server to test S3 support.

@funrollloops your feedback is requested as well, specifically for the CircleCI changes. Thanks!

@mbasmanova I addressed the warnings

Thank you, Deepak.


Add W3C Validators

List found at http://validator.w3.org/services

Its failing against this user agent in the devices.txt test file
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22 Lightning/2.7b1

...although i'm not sure why

NING\/ is matching Lightning/2.7b1

Beat me to it yes it is. I'll add the version number to NING

You could prefix the regex with a caret ^ to indicate it has to be at the start of the string


plex: <IP_ADDRESS>14-58bd20c02 -> <IP_ADDRESS>21-5a0a3e4b2

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 113012 at 58110d04 run on x86_64-linux 1

1 package built:

plexRaw

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/servers/plex/raw.nix:37:3:
   |
37 |   installPhase = ''
   |   ^

Result of nixpkgs-review pr 113012 at 58110d04 run on aarch64-linux 1

1 package built:

plexRaw

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/servers/plex/raw.nix:37:3:
   |
37 |   installPhase = ''
   |   ^


[smallfix]correct the spell of 'topological'

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9737/
Test PASSed.

Merged build finished. Test PASSed.

+1 LGTM


Local system environment setup

Write a proper note on how one can set up this project in his local machine.
We don't need to give the env there but we can ask them to drop a mail to the Official ClueLess email for the env and we will send the env after validation.
See the documentation of Booklee to know how to document the env part.

local_env_setup_guide.md has been configured

Done for now! @Debajyoti14


Add an ability to enqueue a finished task

Would be great to be able to enqueue again a task that finished earlier to re-run it. I will try to take a first stab at it and possibly submit a PR.

I am open for this feature! This code is quite dated, good luck ;)


[BugFix] check table existence before heavy creating operation (#30404)

add the ahead existence check back which is removed in #25741
Fixes #30388

(cherry picked from commit<PHONE_NUMBER>6fc930452e728ec78fd05b036cc5a0)
Fixes #issue
What type of PR is this:

[X] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[X] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[X] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

cherry pick #30459 to branch-3.1

[FE Incremental Coverage Report]
:heart_eyes: pass : 7 / 8 (87.50%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
7
8
87.50%
[804]


As a developer, I want to implement a page for the Block producers

Goal view:

created the page layout
using mocked data to show the slots map

To be added further:

ngrx
epoch graphs
Side panel view
Integration with real APIs

[ ] NGRX Architecture
[ ] epoch graphs
[ ] pagination

To finalize:

side panel rewards view
integration with real API

Finalized all views, reviewed and fixed bugs.
Live data using integration with the backend - http://<IP_ADDRESS>

Working on tests for the Views and the APIs


add a few inline docs to the code

This just adds a little bit of inline docs in places that I felt I hadn't covered before.
See also #13, which I filed while writing this.
Signed-off-by: Matt Butcher<EMAIL_ADDRESS>

Rebased and fixed contans


Permission Error - Operation not permitted

Hello!
Trying to get this to run on my Unraid system.
While the container starts, it doesn't do anything and I see this in the log:

PermissionError: [Errno 1] Operation not permitted: '/config/qBitManager'

I can't find a way to get a log since when I click on qBitrr > Logs, a console window pops up then immediately goes away.
However, I have container logs going to a syslog server. (find below)
I even had the container create a /config/qBitManager folder in case it was because it couldn't find that folder.
Thank you for any advice!!!
Container settings:

Logs:

This to me looks like a folder permissions issue. I suggest you recheck your variables too as you're passing the dB files which are no longer used, and create a single config folder to be linked and ensure the container has the appropriate permissions.

This to me looks like a folder permissions issue. I suggest you recheck your variables too as you're passing the dB files which are no longer used and the restart timer was removed too, and create a single config folder to be linked and ensure the container has the appropriate permissions.

OK the config also mentioned those DB files so I just completely removed everything and started fresh.
On Unraid, I also had to go in and chmod 777 on the /appdata/qbitrr directory.
After that I noticed the config it created had some differences so just started over with that and now it's all working. Thank you!

Glad to hear it's working, yes there have been a number of changes since version 2.x.x


Inconsistent Search Engine Return Behavior with Space After Key Letter

When using the search functionality in the PowerToys Run WebSearchShortcut repository, there is an inconsistency in how search engines are returned based on user input. The expected behavior is that when a user specifies a key letter followed by a space, only the corresponding search engine should be returned. However, the current implementation does not adhere to this logic. Below are the scenarios illustrating the issue, along with the configuration of the search engines:
Search Engine Configuration:
{
  "Perplexity": {
    "Url": "https://www.perplexity.ai?q=%s",
    "Keyword": "p"
  },
  "Startpage": {
    "Url": "https://www.startpage.com/sp/search?query=%s",
    "Keyword": "s"
  },
  "Brave": {
    "Url": "https://search.brave.com/search?q=%s",
    "Keyword": "b"
  },
  "Youtube": {
    "Url": "https://www.youtube.com/results?search_query=%s",
    "Keyword": "y"
  },
  "Reddit": {
    "Url": "https://www.reddit.com/search/?q=%s",
    "Keyword": "r"
  },
  "StackOverflow": {
    "Url": "https://stackoverflow.com/search?q=%s",
    "Keyword": "so"
  }
}

Scenarios Illustrating the Issue:

Scenario 1: s; y

Input: s; y
Expected Output: Only "YouTube" should be returned as the search engine.
Actual Output: Both "Perplexity" and "YouTube" are returned.

Scenario 2: s; y  (with a space after y)

Input: s; y
Expected Output: Only "YouTube" should be returned.
Actual Output: Both "Perplexity" and "YouTube" are returned.

Scenario 3: s; y {query}

Input: s; y {query}
Expected Output: Only "YouTube" should be returned.
Actual Output: Only "YouTube" is returned as expected.

Original Code Snippet:
/// <summary>
/// Return a filtered list, based on the given query.
/// </summary>
/// <param name="query">The query to filter the list.</param>
/// <returns>A filtered list, can be empty when nothing was found.</returns>
public List<Result> Query(Query query)
{
    // ... existing code ...

    var tokens = args.Split(' ', 2, StringSplitOptions.RemoveEmptyEntries);

    if (tokens.Length == 1)
    {
        results.AddRange(WebSearchShortcutStorage.GetRecords(args).Select(x => GetResultForSelectOrOpen(x, args, query)));
    }

    var item = WebSearchShortcutStorage.GetRecord(tokens[0]);
    if (tokens.Length == 2 && item != null)
    {
        results.Add(GetResultForSearch(item, tokens[1], query));
        results.AddRange(SuggestionsCache);
    }
    // ... existing code ...
}

Summary of the Issue:
The search functionality currently returns multiple search engines when a key letter is followed by a space. For example, typing s; y or s; y  should return only "YouTube," but it also returns "Perplexity." This inconsistency is confusing. The expected behavior in my opnion is that any input with a key letter followed by a space should yield only the corresponding search engine.

Hi @DinMon , thank you for the Issue. Regarding trailing spaces related issues, I have tried this before, and at that time I came to the conclusion that Powertoys Run had removed trailing spaces when it passed the user's input to me, and I had no way of knowing whether or not the user had typed a space after the last letter.
But regarding Scenario 1 you mentioned, do you think we should only show the corresponding search engine when the user inputs a word that exactly matches a search engine, instead of matching all search engines normally? I think this is achievable.

Hi @Daydreamer-riri, I think it will be good to use StartWith in GetRecords(string query) in Storage.cs instead of Contains. Yeah coming back to your question, in my opnion, you don't need to see Perplexity because it contains 'y' keywords in it but rather the options that the query start with.
/

I think it will be good to use StartWith in GetRecords(string query) in Storage.cs instead of Contains.

In most search scenarios, the search behavior is Contains. For example, in everything, or file search in vscode. Sometimes I don't remember the exact spelling of the target, but I remember a few letters, which can help me find it.
For cases of exact match, I think it might be better to prioritize the exact match results to the highest weight and make them the first item.

Yes, I think changing the weight is a good way to resolve the issue.


UML4CPP: use-dependencies missing

check existing <> dependencies and generated according header and library includes

updated import handling in version 1.2


Incorrect write access notes in landing_zone_move zone status info

If calling landing_zone_move with validate_only, zone status info messages for validation make references to "write access disabled". When validating only, we explicitly do not restrict write access.
Minor issue, I'll fix it together with #1840 and #1843.

Fixed.


ChessMint doesn't work on my computer and google or opera gx

hello i want say u chessmint doesnt work on my computer or on google and opera gx but on my phone it work perfectly every button doesnt work auto move with normal settings 15 2 and show hint doesnt work too

im having the same issue, did u find a fix???


[BUG] - iPerf Upload with 0 Duration

Bug Report
Description
Currently when creating an iPerf test you can set the duration of the test, or set to 0 which will run forever / continuous.
This works fine.
But it seems the data is only uploaded / pushed to InfluxDB on completion of the test, so running a continuous test will never actually yield the results to get pushed.
How to Reproduce
Steps to reproduce the behavior:

Go to iPerf
Start a job with the duration set to 0
"Send"
Check output to InfluxDB (Nothing is pushed)

Possible Fix
I'm not sure if it's possible to upload the results as each datapoint comes back from iPerf, or if the process needs to wait until the job has completed before getting access to the results.
Perhaps a simple "Run continuously" toggle when sending the iPerf job like for Ping, that will restart the job after it completes, so each iPerf instance runs for a period of time, but then starts again after it's returned?

Hi Nick,
Thank you for informing us. I'm not entirely sure this is a bug, as we're using the Worker API.
We have three Workers:

Iperf3Worker
Iperf3ToLineProtocolWorker
Iperf3UploadWorker

These workers are chained together:
iperf3WM.beginWith(iperf3WR).then(iperf3LP).then(iperf3UP).enqueue();

If the Iperf3Worker never stops running, the other two will not be called. For our current use case, it doesn't make sense to upload iPerf3 data while running an iPerf3 test.
However, I share your frustration with the current setup. In the future, it would be ideal to configure multiple iPerf3 tests (running either in parallel or sequentially) and allow them to run continuously.
A potential solution for now could be to stop the iPerf3 run and upload the data via the GUI. I'm currently unable to test this myself, so please let me know if it works.

I tested it with the latest release 0.4, and it's now working as described in my previous comment.


Use ZLS release worker for selecting builds

This PR refactors the ZLS installation process to use the recently made-available release-worker by the maintainers of ZLS.
It has two APIs:

for fetching a version index for tagged builds (e.g. 0.12.0, 0.13.0) -> index
for fetching a ZLS build for a given Zig build -> select-version

The installation process is now as follows:

Determine currently installed Zig version (by executing zig version on the requested version by the user)
Use the resulting version to select a ZLS build:

We first check the version index for the tagged releases
Otherwise use the select-version API to fetch a valid ZLS build

We extract the following information:

ZLS build version
tarball path/uri
shasum

The rest of the process is very similar to the Zig installation process, except for the linking at the end

Other changes:

For the install --zls command, the --full flag has been added. By default it uses only-runtime. More information here: https://github.com/zigtools/release-worker?tab=readme-ov-file#query-parameters
The ls --all command was changed to also show whether there is a tagged ZLS build available for the respective Zig version.
Whenever the ZLS tagged version index is fetched, the JSON is saved in the versions-zls.json file. This does not apply to the select-version API.
A zrw command (similar to vmu) has been added to change the base url of the release worker. By default the "official" instance at https://releases.zigtools.org is used.

Tested on Ubuntu 22.04.5 LTS and Windows 11.
related #97
related #68

Okay, this is pretty cool. At first glance it looks good, but let me get a chance to review and test. Thanks for making this PR.


Dose using CPU faster than GPU?

Hi, I try to train in RTX 2080 but it is too slow and 5000 episodes cost about 18h. The article told that train in CPU just took 10h. I wonder whether the CPU training is the recommanded option. Thank you!

Hi John,
Yes, as I mentioned in some previous posts. This code runs faster on CPU probably because of the CPU-intensitve simulation.


Make e2e runs more lightweight by making our builder image obsolete

What this PR does / why we need it:
Instead of running make cluster-up && make cluster-sync && make functest within our builder container, make them run just with bazel and gcc present. These targets work now without the builder image if KUBEVIRT_RUN_UNNESTED is set to true.
This allows us to not pull a 2 GB image on every e2e start in CI and is also convenient to have local.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @fgimenez
/cc @dhiller
/cc @davidvossel

/cc @fgimenez
/cc @dhiller
/cc @davidvossel

/lgtm

/lgtm

/retest

/retest


⚠ Samsung has degraded performance

In 54908df, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2519 ms

Resolved: Samsung performance has improved in b13b73b.


DBZ-298 Fix for quoted names in Postgres incorporating suggested fixes from previous PR

@emrul, going to close this PR in favor of #263. Could you check out that one and let me know whether it's ok for you? Thanks!


setup standard install paths for GUI files

This should install the GUI files when installed using pip install so that the files are found.  This should also still work when run straight from git.  Yes, the setting of data_prefix is not pretty, but I have never found a better way...

You did that in the case you installed Androguard (I never did it :))

The idea here is mostly to make it easier for people including androguard in packaging systems like pip/pypi, Debian, Ubuntu, Fedora, Homebrew, etc.  Otherwise, each package will have to have a custom version of this.
The CI fail is from the 3.6 build, which didn't work before this pull request.  2.7 is passing.

+1


hrf

Maybe this is helpful:
https://github.com/TimVanMourik/OpenFmriAnalysis/blob/8cec6d3c21e7939515349946919708645138bcd3/Core/tvm_hrf.m#L38

also this in case I want to rewrite the HRF function
https://github.com/TimVanMourik/OpenFmriAnalysis/blob/7786ebc7a19b3480022b3e347bc1348b38256ca1/Core/private/tvm_sampleHrf.m


Vickel: Watch roofingoshawa.xyz

Vickel requests the watch of the watch_keyword roofingoshawa\.xyz. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

roofingoshawa\.xyz has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


fix(breadcrumb): rename item's "name" to "label"

This renames the breadcrumb items name property to label.
This is the naming we're going for in v3, as well as the current naming in React InstantSearch.

@Haroenv Right, I added a note.


Usability Suggestion For Stock Amounts

What if by default the item was unlimited quantity, but if someone manually enters quantity then it no longer is unlimited?

You're referring to the variation quantities?
My thinking here was that when you have a product with variations, you're going to be more likely to be managing stock levels, than offering them as unlimited.
So I thought it was safer to set the initial available to zero, then having all the new options created instantly available as unlimited. Otherwise you could have a period of time where a live product is offering stock for items that you don't have. You'd have to quickly go in and update all the values - safer to not offer items and turn them on.


12.1.1.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.

Thanks for releasing another patch this quickly – keep up the good work. :metal:

thank you for the contributions!


[Feature] Add new method .toFullData()

Probleme:
Every time i have table with foreign key, I create models to merge all tables related in one instance
If I have multiple foreign keys and multiple relationships with a table I will create a lot of models
Simple Example:
Customer Table:
@DataClassName('Customer')
class Customers extends Table {
  IntColumn get id => integer().autoIncrement()();
  TextColumn get name => text().unique()();
  IntColumn get type=> integer()
      .references(
        CustomersType,
        #id,
        onUpdate: KeyAction.cascade,
        onDelete: KeyAction.cascade,
      )
      .nullable()();
}

CustomerType Table:
@DataClassName('CustomerType')
class CustomersType extends Table {
  IntColumn get id => integer().autoIncrement()();
  TextColumn get name => text().unique()();
}

Class Model:
class CustomerFull {
  const CustomerFull(this.id, this.name, this.type);
  final int id;
  final String name;
  final CustomersType type;
  toJson...
  fromJson....
  otherMethod....
}

Feature:
Without Create any new model only i call method .toFullData and i get models with full data object
Note:
Sorry if my English is weak

I don't currently have plans to add this or similar functionality. As an alternative, you could try using SQL to write the relevant joins. For each query you define that way, drift will generate matching data classes. So that way, you don't have to write models classes and a way to fetch them, you just write the SQL and let drift do the rest.


Mask and indexed tensor shapes do not match.

Hi! When trying to train a model, I get this error right after I see the Sanity Checking DataLoader: IndexError: The shape of the mask [32, 40] at index 1 does not match the shape of the indexed tensor [32, 20, 64, 64] at index 1. As far as I can tell this is a mismatch with the amount of keypoints. I changed the config to reflect this (num_keypoints: 40) but am a bit confused. I only tracked 20 bodyparts with my DLC model. What am I missing? Is this bodyparts*2 for the x and y coordinate? Please let me know if it would be helpful for me to post the entire error or what info would be helpful.

@marybethcassity the config should contain the actual number of bodyparts/keypoints (20) and yes, later the fact that each keypoint has an x and y coordinate will be taken into account automatically by the code. Would you mind sharing the data portion of your config file? Also, can you double check that your labeled data csv file does in fact have 20 keypoints?

Here is what I have in my config file. I have num_keypoints: 40 because num_keypoints: 20 got the error.
data:
  # dimensions of training images
  image_orig_dims:
    height: 2160
    width: 3840
  # resize dimensions to streamline model creation
  image_resize_dims:
    height: 256
    width: 256
  # ABSOLUTE path to data directory
  data_dir: /mnt/lightning_pose/RatBody_Combined-MB-2024-04-29
  # ABSOLUTE path to unlabeled videos' directory
  video_dir: /mnt/lightning_pose/RatBody_Combined-MB-2024-04-29/videos
  # location of labels; this should be relative to `data_dir`
  csv_file: /mnt/lightning_pose/RatBody_Combined-MB-2024-04-29/CollectedData.csv
  # downsample heatmaps - 2 | 3
  downsample_factor: 2
  # total number of keypoints
  num_keypoints: 40
  # keypoint names
  keypoint_names:
    - nose
    - left_eye
    - left_ear
    - right_eye
    - right_ear
    - camera_frontleft
    - camera_backleft
    - camera_frontright
    - camera_backright
    - left_elbow
    - left_paw
    - right_elbow
    - right_paw
    - middleback
    - left_knee
    - left_hindpaw
    - right_knee
    - right_hindpaw
    - tailbase
    - tailend
  # for mirrored setups with all keypoints defined in same csv file, define matching
  # columns for different keypoints (assumes x-y-x-y interleaving)
  # each list corresponds to a single view, so in the example below there are 2 views
  # keypoint 0 is from view 0 and matches up with keypoint 8 from view 2
  # columns that correspond to keypoints only labeled in a single view are omitted
  # this info is only used for the multiview pca loss
  mirrored_column_matches: null
  # list of indices of keypoints used for pca singleview loss (use order of labels file)
  columns_for_singleview_pca: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]```

My CollectedData csv does have 20 keypoints. Here is a snort snippet of it.

``` scorer,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,MB,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin,Erin
bodyparts,nose,nose,left_eye,left_eye,left_ear,left_ear,right_eye,right_eye,right_ear,right_ear,camera_frontleft,camera_frontleft,camera_backleft,camera_backleft,camera_frontright,camera_frontright,camera_backright,camera_backright,left_elbow,left_elbow,left_paw,left_paw,right_elbow,right_elbow,right_paw,right_paw,middleback,middleback,left_knee,left_knee,left_hindpaw,left_hindpaw,right_knee,right_knee,right_hindpaw,right_hindpaw,tailbase,tailbase,tailend,tailend,nose,nose,left_eye,left_eye,left_ear,left_ear,right_eye,right_eye,right_ear,right_ear,camera_frontleft,camera_frontleft,camera_backleft,camera_backleft,camera_frontright,camera_frontright,camera_backright,camera_backright,left_elbow,left_elbow,left_paw,left_paw,right_elbow,right_elbow,right_paw,right_paw,middleback,middleback,left_knee,left_knee,left_hindpaw,left_hindpaw,right_knee,right_knee,right_hindpaw,right_hindpaw,tailbase,tailbase,tailend,tailend
coords,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y
labeled-data/20231127_Front_Short/img008.png,1768.7853274864842,2014.8738009101403,1799.336669921875,1978.594482421875,1835.271728515625,1945.193603515625,,,,,1787.7421875,1908.576171875,1821.205078125,1879.5877685546875,1772.1304931640625,1887.6434326171875,1798.22607421875,1863.3265380859373,1929.4333713526585,1987.3012559173192,1891.10205078125,2010.028564453125,,,1822.6187744140625,2019.320068359375,1937.4219970703125,1850.09619140625,2016.3231201171875,1947.722412109375,2003.85595703125,1997.0579833984373,,,1993.757080078125,1992.89111328125,2094.67333984375,1918.7501220703125,2350.3037109375,1833.8302001953125,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
labeled-data/20231127_Front_Short/img009.png,1761.3059391228269,2015.382352904305,1800.539701755988,1980.1933080683768,1838.56004904998,1948.2400374702347,,,,,1792.164031400894,1911.5363067932865,1826.337975371192,1882.2622447873457,1776.0352171304055,1890.8979114381243,1803.0216754140893,1865.206803152057,1952.1994393162904,1962.56705965216,1892.4855347576809,2014.4066031700736,,,1834.2254354624,2016.1092996090888,1943.063374105281,1848.3695372782197,2012.3727115707093,1931.42009431012,2006.30563487486,2000.5847686428065,,,,,2097.2104391754133,1919.2142961191007,2353.249094691285,1835.7687350971617,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,```

@themattinthehatt Here is what I think happened. We had two labelers for our original DLC project. (Instead of labeling in the same project, I made two different DLC projects, then combined the datasets later.) When I ran python scripts/converters/dlc2lp.py --dlc_dir=/path/to/dlc_dir --lp_dir=/path/to/lp_dir the output looked like this (scroll to the right and down to see what I'm talking about). I've had other issues in the past with having two different labelers. I manually fixed it for now, but will write a script to automate it and can share if that would be helpful for others!

Yes that makes total sense - glad you found the fix! Please feel free to share the script once you're done :)


1.19.2 version support

really miss 1.19.2 support, a lot of other mods use this version as stable milestone, so it would be great if Ender io supports this version.

I'm afraid it's not possible for us to do this.


Error - datashaper.workflow.workflow ERROR Error executing verb "orderby" in create_base_text_units: 'id'

Do you need to file an issue?

[X] I have searched the existing issues and this bug is not already filed.
[X] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
[ ] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the issue
Trying to follow steps from https://microsoft.github.io/graphrag/posts/get_started/.
Getting error - datashaper.workflow.workflow ERROR Error executing verb "orderby" in create_base_text_units: 'id'
while running the command >
python -m graphrag.index --root ./ragtest
Steps to reproduce
No response
GraphRAG Config Used
# Paste your config here

Logs and screenshots
No response
Additional Information

GraphRAG Version:
Operating System:
Python Version:
Related Issues:

### Tasks

Can you upload your indexing-engine.log so we can inspect for errors?

I encountered the same problem as you。such as 09:59:06,172 datashaper.workflow.workflow ERROR Error executing verb "orderby" in create_base_text_units: 'id'
Traceback (most recent call last):
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\datashaper\workflow\workflow.py", line 410, in _execute_verb
result = node.verb.func(**verb_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\datashaper\engine\verbs\orderby.py", line 32, in orderby
output = input_table.sort_values(by=columns, ascending=ascending)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\pandas\core\frame.py", line 7189, in sort_values
k = self._get_label_or_level_values(by[0], axis=axis)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\pandas\core\generic.py", line 1911, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'id'
09:59:06,179 graphrag.index.reporting.file_workflow_callbacks INFO Error executing verb "orderby" in create_base_text_units: 'id' details=None
09:59:06,180 graphrag.index.run.run ERROR error running workflow create_base_text_units
Traceback (most recent call last):
File "D:\zhujing\project\graphRag\graphrag\graphrag\index\run\run.py", line 225, in run_pipeline
result = await _process_workflow(
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\zhujing\project\graphRag\graphrag\graphrag\index\run\workflow.py", line 91, in _process_workflow
result = await workflow.run(context, callbacks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\datashaper\workflow\workflow.py", line 369, in run
timing = await self._execute_verb(node, context, callbacks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\datashaper\workflow\workflow.py", line 410, in _execute_verb
result = node.verb.func(**verb_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\datashaper\engine\verbs\orderby.py", line 32, in orderby
output = input_table.sort_values(by=columns, ascending=ascending)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\pandas\core\frame.py", line 7189, in sort_values
k = self._get_label_or_level_values(by[0], axis=axis)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ZWHZ.conda\envs\graphrag\Lib\site-packages\pandas\core\generic.py", line 1911, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'id'.

before data pass into the create_base_text_units workflow could you please verify while loading the input as a dataframe contain all this three column text, id, title..
you can see the initial dataframe in /graphrag/index/create_pipeline_config.py

Issue got resolved. Initially running - python -m graphrag.index --root ./ragtest
Logging enabled at C:\Dev\GraphRAG\ragtest\output\20240911-140326\reports\indexing-engine.log
❌ create_base_text_units
None
⠸ GraphRAG Indexer
├── Loading Input (InputFileType.text) - 1 files loaded (0 filtered) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:00
└── create_base_text_units
❌ Errors occurred during the pipeline run, see logs for more details.
In the indexing-engine.log -
14:03:26,605 datashaper.workflow.workflow ERROR Error executing verb "orderby" in create_base_text_units: 'id'
Traceback (most recent call last):
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\datashaper\workflow\workflow.py", line 410, in _execute_verb
result = node.verb.func(**verb_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\datashaper\engine\verbs\orderby.py", line 32, in orderby
output = input_table.sort_values(by=columns, ascending=ascending)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\pandas\core\frame.py", line 7189, in sort_values
k = self._get_label_or_level_values(by[0], axis=axis)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\pandas\core\generic.py", line 1911, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'id'
14:03:26,699 graphrag.index.reporting.file_workflow_callbacks INFO Error executing verb "orderby" in create_base_text_units: 'id' details=None
14:03:26,699 graphrag.index.run.run ERROR error running workflow create_base_text_units
Traceback (most recent call last):
File "C:\Users\TAhsan.conda\envs\graphrag-pip\Lib\site-packages\graphrag\index\run\run.py", line 225, in run_pipeline
result = await _process_workflow(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan.conda\envs\graphrag-pip\Lib\site-packages\graphrag\index\run\workflow.py", line 91, in _process_workflow
result = await workflow.run(context, callbacks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\datashaper\workflow\workflow.py", line 369, in run
timing = await self._execute_verb(node, context, callbacks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\datashaper\workflow\workflow.py", line 410, in _execute_verb
result = node.verb.func(**verb_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\datashaper\engine\verbs\orderby.py", line 32, in orderby
output = input_table.sort_values(by=columns, ascending=ascending)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\pandas\core\frame.py", line 7189, in sort_values
k = self._get_label_or_level_values(by[0], axis=axis)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TAhsan\AppData\Roaming\Python\Python312\site-packages\pandas\core\generic.py", line 1911, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'id'
14:03:26,699 graphrag.index.reporting.file_workflow_callbacks INFO Error running pipeline! details=None
14:03:26,721 graphrag.index.cli ERROR Errors occurred during the pipeline run, see logs for more details.
Cause: Had a invalid book.txt file. Probably wasn't an UTF-8 text document? I couldn't use curl https://www.gutenberg.org/cache/epub/24022/pg24022.txt > ./ragtest/input/book.txt to download the book.txt file. Instead I used the URL - https://www.gutenberg.org/cache/epub/24022/pg24022.txt on a browser to display the content, copied and pasted into a local book.txt file. Might have screwed up the format some how which apparently wasn't visible.
Solution: Got the valid book.txt and the indexing command - python -m graphrag.index --root ./ragtest
ran successfully -
⠋ GraphRAG Indexer
├── Loading Input (InputFileType.text) - 2 files loaded (0 filtered) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:00
├── create_base_text_units
├── create_base_extracted_entities
├── create_summarized_entities
├── create_base_entity_graph
├── create_final_entities
├── create_final_nodes
├── create_final_communities
├── join_text_units_to_entity_ids
├── create_final_relationships
├── join_text_units_to_relationship_ids
├── create_final_community_reports
├── create_final_text_units
├── create_base_documents
└── create_final_documents
🚀 All workflows completed successfully.
Was able to do the query - python -m graphrag.query --root ./ragtest --method local "Who is Scrooge, and what are his main relationships?"
INFO: Vector Store Args: {}
[2024-09-11T21:11:29Z WARN  lance::dataset] No existing dataset at C:\Dev\GraphRAG\ragtest\output\20240911-164219\artifacts\lancedb\entity_description_embeddings.lance, it will be created
...
SUCCESS: Local Search Response:
Who is Scrooge?
Ebenezer Scrooge is the central character in Charles Dickens' "A Christmas Carol." He is depicted as a miserly old businessman, characterized by his cold demeanor and profound disdain for Christmas and human connection. Initially, Scrooge is indifferent to the struggles of the poor and dismissive of the holiday's associated cheer. His transformation begins when he is confronted by the ghost of his former business partner, Jacob Marley, who warns him about the consequences of his life choices and the need for change.
...
Thank you all for your suggestions.

i hava same problem, how do you solve it??


Drag and Drop: After dropping a container to another cdkDropList inside of a cdkDropListGroup previousContainer is not updated

What are you trying to do?
I try to move a dynamically inserted component from one cdkDropList to another inside of a cdkDropListGroup.
Here an excerpt of the HTML:

            <ng-container #componentContainer0></ng-container>

            <ng-container #componentContainer1></ng-container>

            <ng-container #componentContainer2></ng-container>

excerpt of component.ts
    ...
    columns: any[] = [ [], [], [] ];
    components0: ComponentRef<any>[] = [];
    components1: ComponentRef<any>[] = [];
    components2: ComponentRef<any>[] = [];

    @ViewChild('componentContainer0', { static: true, read: ViewContainerRef })
    componentContainer0: ViewContainerRef;

    @ViewChild('componentContainer1', { static: true, read: ViewContainerRef })
    componentContainer1: ViewContainerRef;

    @ViewChild('componentContainer2', { static: true, read: ViewContainerRef })
    componentContainer2: ViewContainerRef;

    ngAfterViewInit () {
        this.add(LogBookComponent, 0);
        this.add(CustomerListComponent, 0);
    }

    add (component, columnIndex: number) {
        let componentFactory;
        let cmp: ComponentRef<any>;
        let id;

        switch (columnIndex) {
            case 0:
                componentFactory = this.resolver.resolveComponentFactory(component);
                cmp = this.componentContainer0.createComponent(componentFactory);

                this.components0.push(cmp);
                id = cmp.componentType.name;
                this.columns[ 0 ].push({ id, title: `Gadget ${ id }` });
                cmp.changeDetectorRef.detectChanges();
                break;
            case 1:
                componentFactory = this.resolver.resolveComponentFactory(component);
                cmp = this.componentContainer1.createComponent(componentFactory);
                id = cmp.componentType.name;

                this.components1.push(cmp);
                this.columns[ 1 ].push({ id, title: `Gadget ${ id }` });
                cmp.changeDetectorRef.detectChanges();
                break;
            case 2:
                componentFactory = this.resolver.resolveComponentFactory(component);
                cmp = this.componentContainer2.createComponent(componentFactory);
                id = cmp.componentType.name;

                this.components2.push(cmp);
                this.columns[ 2 ].push({ id, title: `Gadget ${ id }` });
                cmp.changeDetectorRef.detectChanges();
                break;

            default:
                throw new Error('only three columns are supported');
        }
    }

    onDrop (event: CdkDragDrop<{}[]>) {
        console.log(``);
        console.log(``);
        console.log(``);
        console.log('event', event);
        console.log('this.columns', this.columns);

        const previousContainerId = this.getIdOf(event.previousContainer.id);
        const currentContainerId = this.getIdOf(event.container.id);

        console.log('previousContainerId', previousContainerId);
        console.log('currentContainerId', currentContainerId);

        if (event.previousContainer == event.container) {
            console.log(`moving inside ${ event.previousIndex } -> ${ event.currentIndex }`);

            switch (currentContainerId) {
                case 0:
                    this.componentContainer0.move(this.components0[ event.previousIndex ].hostView, event.currentIndex);
                    moveItemInArray(this.components0, event.previousIndex, event.currentIndex);
                    break;
                case 1:
                    this.componentContainer1.move(this.components1[ event.previousIndex ].hostView, event.currentIndex);
                    moveItemInArray(this.components1, event.previousIndex, event.currentIndex);
                    break;
                case 2:
                    this.componentContainer2.move(this.components2[ event.previousIndex ].hostView, event.currentIndex);
                    moveItemInArray(this.components2, event.previousIndex, event.currentIndex);
                    break;
            }
        }
        else {
            console.log(`transferring ${ previousContainerId } -> ${ currentContainerId } (${ event.previousIndex } -> ${ event.currentIndex })`);
            let previousComponents;
            let currentComponents;

            transferArrayItem(previousComponents, currentComponents, event.previousIndex, event.currentIndex);
            transferArrayItem(this.columns[ previousContainerId ], this.columns[ currentContainerId ], event.previousIndex, event.currentIndex);

            switch (currentContainerId) {
                case 0:
                    currentComponents = this.components0;
                    switch (previousContainerId) {
                        case 0:
                            // not possible is an move in array
                            console.log(`not possible is an move in array`);
                            break;
                        case 1:
                            previousComponents = this.components1;
                            this.componentContainer0.move(this.components1[ event.previousIndex ].hostView, event.currentIndex);
                            break;
                        case 2:
                            previousComponents = this.components2;
                            this.componentContainer0.move(this.components2[ event.previousIndex ].hostView, event.currentIndex);
                            break;
                    }
                    break;
                case 1:
                    currentComponents = this.components1;
                    switch (previousContainerId) {
                        case 0:
                            previousComponents = this.components0;
                            this.componentContainer1.move(this.components0[ event.previousIndex ].hostView, event.currentIndex);
                            break;
                        case 1:
                            // not possible is an move in array
                            console.log(`not possible is an move in array`);
                            break;
                        case 2:
                            previousComponents = this.components2;
                            this.componentContainer1.move(this.components2[ event.previousIndex ].hostView, event.currentIndex);
                            break;
                    }
                    break;
                case 2:
                    currentComponents = this.components2;
                    switch (previousContainerId) {
                        case 0:
                            previousComponents = this.components0;
                            this.componentContainer2.move(this.components0[ event.previousIndex ].hostView, event.currentIndex);
                            break;
                        case 1:
                            previousComponents = this.components1;
                            this.componentContainer2.move(this.components1[ event.previousIndex ].hostView, event.currentIndex);
                            break;
                        case 2:
                            // not possible is an move in array
                            console.log(`not possible is an move in array`);
                            break;
                    }
                    break;
            }
        }
    }
...

Reproduction
I'm able to move both components inside one cdkDropList. I also can move from on to another cdkDropList. But if I try to move it back to first cdkDropList or move it inside the new cdkDropList, an error occurs. If I debug the $event the event.previousContainer.id is still 0. So something wasn't updated. But I don't know what.
I know there are way's to write it shorter but before starting refactoring I need a working drag and drop.
StackBlitz: https://stackblitz.com/edit/angular-ivy-iuwvmb?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce in Stackblitz:

Move Hello Component 1 to second column
Try to move Hello Component 1 back to first column
see debug information and error in console

Environment

Angular: 9.1.9
CDK/Material: 9.2.4
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): macOS

Hi Guys, I had a similar issue but  the difference is that when I'm moving elements from one container to another I've something like:
 previousContainer: cdk-drop-list-0
 container: cdk-drop-list-4

but when I go out from that component and it's destroyed, and then I coming back to it, and angular loads that component again, it's like if the drag n drop list instanciate again, and then I've got:
 previousContainer: cdk-drop-list-8
 container: cdk-drop-list-12

And so on.. the indexes still increasing each time I'm enetering to that component


Improve collapsible blocks

From #110

Typing ">" + space should create a new collapsible element or turn an existing block into a collapsible element.

Pressing Enter inside a block should properly be handled too


handleCreate does not mock response with relationships

Am I correct in thinking that handleCreate should mock the response with values for every attribute specified on the created record? I am not seeing relationship properties on the payload and, consequently, I cannot get those properties off the mocked model.
For example, after creating a model, I transition into a route that loads a related model. In the test, however, the mocked model does not have the relationship and so Ember Data complains that I am passing undefined into store.find().
App Code (some route)
createNewChild: function (parent) {
    this.store.createRecord('campaign', {
      name: 'Foo',
      website: parent.get('website')
    });
}

App Code (edit route)
afterModel: function(campaign) {
	...
	return this.store.find('website', campaign.get('website.id'));
}

Factory
FactoryGuy.define('campaign', {
	sequences: {
		name: function(num) {
			return 'Campaign ' + num;
		}
	},

	default: {
		name: FactoryGuy.generate('name'),
		website: FactoryGuy.belongsTo('website'),
	}
}

Test
test('can make new variations', function(assert) {
	var campaign = make('campaign', 'with_children');

	visit(`/campaigns/${campaign.id}/edit`);

	FactoryHelper.handleCreate('campaign');

	click('.nav-bar_left a:last');  // Triggers createNew action

	andThen(function() {
		// assertions
	});
});

I have tried adding .andReturn({ website: [website] }) Where website was both the website from the campaign, or the website id. But neither had any affect. Name and any non relationship property comes through just fine. It's only related models with which I am having trouble.
Am I using handleCreate correctly?

hmm .. @FilmKnurd .. give this a try
test('can make new variations', function(assert) {
    var website = make('website');
    var campaign = make('campaign', 'with_children', {website: website});

    visit(`/campaigns/${campaign.id}/edit`);

    FactoryHelper.handleCreate('campaign');

    click('.nav-bar_left a:last');  // Triggers createNew action

    andThen(function() {
        // assertions
    });
});

I actually remove any belongsTo associations in handleCreate Response .. because there were problems ( forgot what they were ) .. and it was redundant because if create a model with a belongsTo that exists in the store .. it will just 'be there' when the payload returns and makes the model for real
so let me know if what I gave you does not work.

Thank you for your help. Unfortunately, it didn't work. The campaign that is made explicitly with make is fine. It has a website associated with it. It's the campaign that is created by handleCreate that doesn't have the website, even though in my app code I save it with a website: this.store.createRecord('campaign', { website: website }).save()

can you do this
console.log('website', website+'')
this.store.createRecord('campaign', { website: website }).save()

in your app code and then run the test.
my guess is that the website is null, ( if not let me know )

website <DS.PromiseObject:ember675>

that is interesting .. can you how me the model def's .. are they async: true ?
that should not be a promise object .. should be model if you created it already .. no?
also .. you said before that this was the code:
createNewChild: function (parent) {
    this.store.createRecord('campaign', {
      name: 'Foo',
      website: parent.get('website')
    });
}

that makes the campaign .. so now I am thoroughly confused .. have no idea what is where  ..
might have to send me a gist when all the code lined up .. because I don't see the big picture here

Sorry, I was trying to pair the code down to the essentials, because the model has bunches of other properties on it.
Basically, we are dealing with two campaign models. The first is a parent and the second is a child. The parent already exists and is the parameter that is passed into createNewChild. It's also the model that is made in the test (var campaign = make('campaign', 'with_children', {website: website});).
The createNewChild action takes the parent and creates a new campaign model using the website that is on the parent.
Website is declared with async: true
Is that helpful?

kind of .. what would really make me see the light and allow me to fix/analyze quickly is if you cloned the repo and made a failing test that showed this setup .. then it's awholelottta better to see and muchmore painlesser to fix

Hmmmm... I'm having trouble making a red test in your repo :-) There must be something fishy going on in my code.

Yeah .. I think there is too .. just something a teeny bit different somewhere .. I think that the fact that
website DS.PromiseObject:ember675  happened was a red flag for me .. something just not quite right or something I don't understand about what your doing ( which is hard with just snippets ) .. I would have to have your code to play around with.  Maybe if you don't figure it out, I can look at it on screenhero this weekend.

That is super generous of you. I'm going to tinker with it some more tomorrow and I'll let you know. It's not a huge blocker for me at the moment.

Have you made more progress. I am just way behind on my other work, so I just worked on that all day.  Which is a bummer, because i am curious to fix this one.

I appreciate that .. cause I am maniacly busy

I think v2.6.2 fixed this issue .. if not let me know .. and I will reopen this. but I am confident :)


toJSON and virtual attributes | question

Is it possible to get model json without virtual attributes?

The 1.1.2 version will also contain this feature.

great thanks :) You are doing a great job @koskimas

Any updates on this?


Database Navigator not showing all tables in external schema from catalog

Description
I created an external schema from a glue catalog.  When I view the external schema in the database navigator pane, I can see the external schema and only one of the tables.  When I query the svv_external_tables, I can see both of the tables that should be there.
SELECT * FROM svv_external_tables where schemaname='<my_schema>';
DBeaver Version
Community Edition <IP_ADDRESS>304240616
Operating System
Windows 10
Database and driver
RedshiftJDBC42-<IP_ADDRESS>1
Steps to reproduce
In aws account 1:

create s3 bucket containing multiple prefixes (bucket/folder1/data1.csv, bucket/folder2/data2.csv)
create glue database and crawler to crawl data in s3
create role with privs to s3 bucket and glue and allow it to be assumed by role in account 2
run the crawler to create the tables in the glue database

In aws account 2:

create role that can assume role in account 1 and is attached to redshift cluster
create external schema in redshift from catalog/database in account 1 by chaining the role in account 1 and account 2.
browse to the external schema in database navigator.  only one of the tables in glue database are visible in the external schema.

Additional context
No response

@LonwoLonwo My mistake.  It's working now exactly as I would expect.  I add a file, crawl it with glue, and it's immediately visible in DBeaver.  I'm not sure what I was doing wrong the other day.  I will close this issue.  Thanks for the response!


Webpack silent failure since 1.3.0

Prior to 1.3.0 the stylus property in our webpack config looked like this:
stylus: {
  use: [
    require('nib')(),
    require('rupture')(),
  ],
  import: [
    'nib',
    'rupture',
    path.join(constants.APP_DIR, '/application/colors.styl'),
    path.join(constants.APP_DIR, '/elements/grid/variables.styl'),
  ],
}

This is actually a bit off topic, but what is the use array even doing here? If we don't include the nib and rupture libraries in the import section then our styles don't compile properly. If we remove the use property altogether there seems to be no difference.
Anyway, as of 1.3.0 that config causes webpack to just stop processing at one point and no errors are thrown. In order to get webpack building successfully our stylus config now has to look like this:
stylus: {
  import: [
    path.join(constants.ROOT_DIR, 'node_modules/nib/lib/nib/index.styl'),
    path.join(constants.ROOT_DIR, 'node_modules/rupture/rupture/index.styl'),
    path.join(constants.APP_DIR, '/application/colors.styl'),
    path.join(constants.APP_DIR, '/elements/grid/variables.styl'),
  ],
}

Note that we have to explicitly reference the location of the nib and rupture library entry points. Just using 'nib' and 'rupture' as we used to do results in webpack silently failing. Could anyone shed any light on what might be causing this, and perhaps what my config ought to look like? Thank you.

@nicgordon Thanks for this detailed bug.
I see whats going on. The nib and rupture plugin add to the paths to search for files. Like the nib and rupture files in your imports. In 1.3 we started resolving the import option like normally imported files. With that we can watch those files and their imported files.
Thankfully how plugins are run is pretty simple so I think I can make a fix tonight that runs the plugins before we resolve and that should let you fall back to your original config. 1.3's change should also mean you don't need to manually resolve your imports.
I think you can change
path.join(constants.APP_DIR, '/application/colors.styl'),

to
'application/colors.styl',

Guys @mzgoddard @nicgordon
I got stuck on webpack: wait until bundle finished: /dist/main.js
loader
      {
        test: /\.styl$/,
        loaders: [
          'style-loader',
          `css-loader?${JSON.stringify({
            sourceMap: isDebug,
            // CSS Modules https://github.com/css-modules/css-modules
            modules: true,
            localIdentName: isDebug ? '[name]_[local]_[hash:base64:3]' : '[hash:base64:4]',
            // CSS Nano http://cssnano.co/options/
            minimize: !isDebug,
          })}`,
          `stylus-loader`,
        ],
      },

plugin
  // Stylus plugins
  stylus: {
    use: [require('nib')()],
    import: [
      '~nib/lib/nib/index.styl',
      'variables.styl',
    ],
  },

Any ideas why?

@guilhermedecampo I had the same problem as yours. Solved inserting ~ before my variables file.
Just remember you must declare the parent folder of your file inside resolve.modulesDirectories to make sure Webpack is gonna search inside the right one.

nice @gabrielfurini, thanks for answering here.
For next projects going to take this in consideration!


depositories: add admin route for overriding status

Issue: https://github.com/moov-io/paygate/issues/279

Codecov Report

Merging #318 into master will increase coverage by <.01%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##           master     #318      +/-   ##
==========================================
+ Coverage   56.83%   56.84%   +<.01%
==========================================
  Files          47       48       +1
  Lines        5183     5239      +56
==========================================
+ Hits         2946     2978      +32
- Misses       1674     1692      +18
- Partials      563      569       +6

Impacted Files
Coverage Δ

internal/mock_depository_repo.go
13.46% <0%> (-1.76%)
:arrow_down:

internal/depositories.go
58.11% <55%> (-0.29%)
:arrow_down:

internal/depository/admin.go
70.96% <70.96%> (ø)

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 423d214...7a68c73. Read the comment docs.


Adds DELETE session endpoint

Adds support to clear an entire session to allow
long lived pact mock servers.  This is useful when repeatedly
testing against the same server process

Tests can invoke DELETE /session to flush out all:
	- expected interactions
	- actual interactions
	- verified interactions

Released in 0.8.0.

Cheers for that.
On Mon, 30 Nov 2015 at 13:19 Beth Skurrie<EMAIL_ADDRESS>wrote:

Released in 0.8.0.
—
Reply to this email directly or view it on GitHub
https://github.com/bethesque/pact-mock_service/pull/33#issuecomment-160498755
.


logspec feature extraction from run_features.sh

@jefflai108 Would you mind explain a little bit what does the difference of extracting feature of logspec in the last two 2 stages https://github.com/jefflai108/ASSERT/blob/master/features/run_feature.sh#L329-L362, comparing with the beginning part (which you also have the logspec for eval, train and dev separately)?
Thanks

Hi @braveheartwithlove could you find a solution because I noticed you closed the issue.

Hi @braveheartwithlove could you find a solution because I noticed you closed the issue.


BIG-4444 Fix repeated clusters

This fixes a bug where the input simhashes { 10, 20 } resulted in two clusters being output [10, 20] and [20, 10]. It was a simple programming error and I added a test case.
@tammybailey review for C++ please and @bfeigin for this being what you wanted.

lgtm


Update info about how to submit an expense

tests are not passing.  You might have an html tag broken.

11:14:00 web.1    |  SyntaxError: /Users/xdamman/github/opencollective/website/frontend/src/containers/Faq.js: Expect…
11:14:00 web.1    |    115 |             Walnut CA 91789

11:14:00 web.1    |    116 |             USA
11:14:00 web.1    |  > 117 |

11:14:00 web.1    |        |           ^
11:14:00 web.1    |    118 |

11:14:00 web.1    |    119 |                Private information provided on invoices is not viewable publicly. The ex…
11:14:00 web.1    |    120 |


Figure out how to build a VS Code extension that can communicate with WebAPI

I've never built a Visual Studio Code extension before so this is a new one to me!

Been working off of this branch so far with pretty good results.


Problem getting python include path for /usr/bin/python3

When running the first command, I'm getting the following errors:
`root@[COMPUTER NAME]:/tmp/dm-code_contests# bazel run -c opt \

:print_names_and_sources /tmp/dm-code_contests/code_contests_valid.riegeli
INFO: Build option --compilation_mode has changed, discarding analysis cache.
INFO: Repository local_config_python instantiated at:
/tmp/dm-code_contests/WORKSPACE:12:10: in
/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/bazel/grpc_deps.bzl:414:21: in grpc_deps
/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/bazel/grpc_python_deps.bzl:43:21: in grpc_python_deps
Repository rule python_configure defined at:
/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl:365:35: in
ERROR: An error occurred during the fetch of repository 'local_config_python':
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 355, column 35, in _python_autoconf_impl
_create_single_version_package(
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 304, column 45, in _create_single_version_package
python_include = _get_python_include(repository_ctx, python_bin)
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 236, column 22, in _get_python_include
result = _execute(
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 62, column 14, in _execute
_fail("\n".join([
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 35, column 9, in _fail
fail("%sPython Configuration Error:%s %s\n" % (red, no_color, msg))
Error in fail: Python Configuration Error: Problem getting python include path for /usr/bin/python3.
:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or /usr/bin/python3.) Is distutils installed? Are Python headers installed? Try installing python-dev or python3-dev on Debian-based systems. Try python-devel or python3-devel on Redhat-based systems.
ERROR: /tmp/dm-code_contests/WORKSPACE:12:10: fetching python_configure rule //external:local_config_python: Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 355, column 35, in _python_autoconf_impl
_create_single_version_package(
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 304, column 45, in _create_single_version_package
python_include = _get_python_include(repository_ctx, python_bin)
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 236, column 22, in _get_python_include
result = _execute(
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 62, column 14, in _execute
_fail("\n".join([
File "/root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_github_grpc_grpc/third_party/py/python_configure.bzl", line 35, column 9, in _fail
fail("%sPython Configuration Error:%s %s\n" % (red, no_color, msg))
Error in fail: Python Configuration Error: Problem getting python include path for /usr/bin/python3.
:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or /usr/bin/python3.) Is distutils installed? Are Python headers installed? Try installing python-dev or python3-dev on Debian-based systems. Try python-devel or python3-devel on Redhat-based systems.
ERROR: /root/.cache/bazel/_bazel_root/f815f9c148e5d06107d4dc9766d21406/external/com_google_riegeli/python/riegeli/records/BUILD:27:13: @com_google_riegeli//python/riegeli/records:record_reader_cc depends on @local_config_python//:python_headers in repository @local_config_python which failed to fetch. no such package '@local_config_python//': Python Configuration Error: Problem getting python include path for /usr/bin/python3.
:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or /usr/bin/python3.) Is distutils installed? Are Python headers installed? Try installing python-dev or python3-dev on Debian-based systems. Try python-devel or python3-devel on Redhat-based systems.
ERROR: Analysis of target '//:print_names_and_sources' failed; build aborted:
INFO: Elapsed time: 1.800s
INFO: 0 processes.
 Distributor ID: Ubuntu Description:    Ubuntu 22.04.1 LTS Release:        22.04 Codename:       jammy root@[COMPUTER NAME]:/tmp/dm-code_contests#

Sorry for the delay
I have verified this error and found a fix.
This is an error caused by using Python 3.10 when trying to build one of the dependencies of the project, specifically https://github.com/grpc/grpc before this particular commit dbe73c9004e483d24168c220cd589fe1824e72bc https://github.com/grpc/grpc/commit/dbe73c9004e483d24168c220cd589fe1824e72bc.
Updating the WORKSPACE file to use this particular commit seems to work.


Add a flag for marking packages as out of date

Porting from https://nuget.codeplex.com/workitem/3873
There are a lot of packages that are just not updated in time in Nuget.
There is a system in use by ArchLinux's AUR (an user-generated software repository for that linux distribution) where logged in users can click a link called "Flag as out-of-date" in the package page. This is used to notify the owner of the package that the package there is out of date, and also to tell other people that the owner has been notified but the package has not been updated. Once the owner uploads a new package, the flag is cleared.
It is a very simple, but very effective system.
Nuget should support some way for users to report that, because it is very common not only for packages to be out of date, but some maintainers just forget to upload alpha/beta packages in time.

Out of curiosity.  Was this closed because it was implemented or because it was discarded? Didn't see anything different on the website.

Discarded for now. We have a lot of old open issues and also a new gallery design that is quite developed.


Feature/issue 16

This PR introduces support for creating SirenClient instances with objects containing either stringified or symbolized keys. Please see https://github.com/cha55son/siren_client/issues/16 for more information.

Coverage remained the same at 100.0% when pulling 7215db9119fc73417a8c7a09ef6c0b939ffa0ba4 on bdfinlayson:feature/issue-16 into 177176c9e5f369e22046a14b7be32d85975e181b on cha55son:master.

Coverage remained the same at 100.0% when pulling 8bc14c43bd7dfff6228ee18f301c3a4d824c0db1 on bdfinlayson:feature/issue-16 into 177176c9e5f369e22046a14b7be32d85975e181b on cha55son:master.

Coverage remained the same at 100.0% when pulling b7809a98be177da514a0184556e29fcf66cda531 on bdfinlayson:feature/issue-16 into 177176c9e5f369e22046a14b7be32d85975e181b on cha55son:master.

Coverage remained the same at 100.0% when pulling dbaaa4e73120402c4e4ea2ed4ecf407cebab55fd on bdfinlayson:feature/issue-16 into 177176c9e5f369e22046a14b7be32d85975e181b on cha55son:master.


Make it faster

Currently it is slow.

Could you provide more information please? Slow in which operation exactly and how would you propose to improve it?

It seems like the draw_continious trait implementations delegate to drawing pixel by pixel. Is it possibile to use hardware specific drawing methods instead? There's also quite a bit of tearing currently, any way to implement double buffering? In my case I use the ili9341 based on this code: https://github.com/almindor/mipidsi/blob/master/mipidsi/examples/spi-ili9486-esp32-c3/src/main.rs.
This library seems to provide super fast drawing for the same screen: https://github.com/vindar/ILI9341_T4

I can definitely help out writing the code, interested to see what we can achieve with this library.

I can implement following:

Double buffering
Differential redraws

Not sure exactly how these work:

Async DMA
VSync and screen tearing prevention by positioning scanline

Hardware specific methods like drawing rectangles using hardware commands is also something I could look into.

Feel free of course! Any help is most welcome.
From what I can say these things are doable without major rewrites or other crate changes:

double buffering
differential redraws
vsync/tearing

However Async DMA would require adding support for the transport channel in display-interface and is I guess very MCU specific.
Also for things like diff redraw we need a big enough RAM amount. All such changes need to be feature gated (they could be default) because small RAM MCUs won't support them (e.g. my 16kb RAM one :D)

VSync and screen tearing prevention by positioning scanline

I'm not familiar with all supported driver ICs but they're probably pretty similar to the ST7789. There are generally two methods. Both will use a separate input pin on the controller driven by an output from the display controller IC. That pin is usually called "TE" ("Tearing Effect") or sometimes VSYNC. It can be set in two modes.
The first is traditional "vsync" mode. In this mode, the TE line will be low when the display driver IC is reading its internal framebuffer and writing those values to the display. The TE line will be brought high for the duration that the driver IC is idle between frames, not reading its own memory. Thus our main controller mcu must write the full framebuffer into the display driver IC during the time the TE line is high to guarantee no tearing. This is usually a small fraction of a frametime.
The second is I believe what the library you refer to is describing. In this mode, the TE line will be brought high for the same vertical-blank period, but it will also be brought high for a pulse after the driver IC is done reading each scanline (horizontal row of pixels) from its memory and delivering it to the display. In the case of the ST7789 there will always be 320 hblank pulses + 1 vblank pulse per frame. If we keep track of which pulse we're at, we can know which are the valid memory locations our MCU can write into the driver IC's memory at any given time. We can therefore extend the time that we have to write a full frame, by "trailing" our memory writes behind where the IC is reading.
See ST7789VW section on "Tearing Effect" for more (start at page 132) https://www.waveshare.com/w/upload/a/ad/ST7789VW.pdf

I'm also interested in helping to contribute some or all of these, fwiw :)
Doing it in a generic way sounds like it might be pretty tough though :P

Well, looking closer at the driver you linked and ILI9341, that works differently for actually synchronizing but the idea of what's being accomplished is still as described

Another note: IMO buffering and differential redraws are best left to another crate like embedded-graphics. This crate should just provide the ability to efficiently upload subregions of the display in a way that something like embedded-graphics can then leverage...

Another note: IMO buffering and differential redraws are best left to another crate like embedded-graphics. This crate should just provide the ability to efficiently upload subregions of the display in a way that something like embedded-graphics can then leverage... This is already the idea of the embedded-graphics-core DrawTarget trait which this crate implements, I believe.
... that being said, trying to implement those externally and also take advantage of the trailing writes to the driver IC as described above sounds like it might not be possible, so maybe we do need to implement it in the driver.

That's a good point and I agree since those are more "on top of driver" operations.

Related issue #142 although this one has a different optimization in mind so I'm keeping both.