After installing the extension, trying the help/quick phrases does nothing

For example I set the help phrase as ??
when I type ?? nothing happens..
same for @@/##/$$ it just says no symbols found, without even writing a symbol to search for.
Am I missing anything? how do I trigger the search

Hi! Thanks for the issue.
It shouldn't be necessary but have you tried to relaunch vsc? Before changing the help phrase everything was working without any problems?
If you could provide some gif or print screen it would be great.

I did try to relaunch it multiple times.

Please try to invoke Reload from command palette. The whole project should be reindexed. I assume you have at least one project opened, right?

did searcheverywhere.reload, and it was autocompleting the command. But nothing happened at all once I did

Ok, thanks for confirmation. In what language it is written? Is it open source? If yes please provide me with the link.
There is a setting named 'include' where by default ts and J's extensions are allowed. Maybe it causes zero results.

its not open source unfortuantely.
I already modified the inclue to include all c/cpp files.
I will wait till vscode parsing is complete and try again
Best Regards,
Shadi

From: Kamil Bysiec<EMAIL_ADDRESS>Sent: Wednesday, September 2, 2020 3:45 PM
To: kbysiec/vscode-search-everywhere<EMAIL_ADDRESS>Cc: bojomojo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kbysiec/vscode-search-everywhere] After installing the extension, trying the help/quick phrases does nothing (#4)
Ok, thanks for confirmation. In what language it is written? Is it open source? If yes please provide me with the link.
There is a setting named 'include' where by default ts and J's extensions are allowed. Maybe it causes zero results.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-685747810, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZUWYKBKW33J6MBK3VDSDZEBDANCNFSM4QS6Z5RA.

Hope it helps. Please let me know if it's working or we need to investigate it further.
Thanks for using the extension!

still same problem exists..its as if the extension is disabled or something.
Best Regards,
Shadi

From: Kamil Bysiec<EMAIL_ADDRESS>Sent: Wednesday, September 2, 2020 5:07 PM
To: kbysiec/vscode-search-everywhere<EMAIL_ADDRESS>Cc: bojomojo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kbysiec/vscode-search-everywhere] After installing the extension, trying the help/quick phrases does nothing (#4)
Hope it helps. Please let me know if it's working or we need to investigate it further.
Thanks for using the extension!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-685798423, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZVEVFLZSZ4CR7WYIJLSDZNRZANCNFSM4QS6Z5RA.

could you provide your extension settings?
In the meantime I will try to open any cpp project to verify it.

"searchEverywhere.include": [
"/*.{js,jsx,ts,tsx}",
"/*.{c,h,cpp,inc,unt,json}"
],
"searchEverywhere.shouldHighlightSymbol": true,
"searchEverywhere.shouldDisplayNotificationInStatusBar": true,
"searchEverywhere.shouldUseFilesAndSearchExclude": true,
"searchEverywhere.helpPhrase": "??",
"searchEverywhere.itemsFilterPhrases": {
"0": "$$",
"4": "@@",
"11": "!!",
"14": "##",
"17": "%%"
},
"searchEverywhere.shouldInitOnStartup": true,
"searchEverywhere.icons": {
"0": "file-code",
"1": "file-submodule",
"2": "archive",
"3": "package",
"4": "checklist",
"5": "list-unordered",
"6": "tag",
"7": "location",
"8": "plus-circle",
"9": "list-ordered",
"10": "milestone",
"11": "zap",
"12": "beaker",
"13": "shield-lock",
"14": "note",
"15": "file-binary",
"16": "mirror",
"17": "server",
"18": "code",
"19": "key",
"20": "dot",
"21": "kebab-horizontal",
"22": "filter",
"23": "fire",
"24": "cpu",
"25": "north-star"
}
Sent from my iPad
On 3. Sep 2020, at 10:05, Kamil Bysiec<EMAIL_ADDRESS>wrote:

could you provide your extension settings?
In the meantime I will try to open any cpp project to verify it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-686326714, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZQB7PTJ4T44Y7GSPCTSD5E2VANCNFSM4QS6Z5RA.

Thank you for your settings. I think you found a bug related to "include" setting. Could you replace this:
"searchEverywhere.include": [
"**/*.{js,jsx,ts,tsx}",
"**/*.{c,h,cpp,inc,unt,json}"
],

with
"searchEverywhere.include": [
"**/*.{c,h,cpp,inc,unt,json,js,jsx,ts,tsx}"
],

I think the problem is with multiline "include" setting. In the meantime I have cloned the hello world in cpp and successfully opened and indexed the project without any problems but my settings were only in one line.

Done, but I am still seeing the same problem.. even when I invoke searcheverywhere.reload, nothing happens
Sent from my iPad

On 3. Sep 2020, at 12:21, Kamil Bysiec<EMAIL_ADDRESS>wrote:
"searchEverywhere.include": [ "**/*.{c,h,cpp,inc,unt,json,js,jsx,ts,tsx}" ],

Does the problem still persist and you need an assistance or I can close the issue?

no, still not working.
I am now getting down at the bottom right an error from the extension:
[cid:789f6744-098c-4c24-8eb2-c7d3ca67899f]
Best Regards,
Shadi

From: Kamil Bysiec<EMAIL_ADDRESS>Sent: Tuesday, September 8, 2020 12:56 PM
To: kbysiec/vscode-search-everywhere<EMAIL_ADDRESS>Cc: bojomojo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kbysiec/vscode-search-everywhere] After installing the extension, trying the help/quick phrases does nothing (#4)
Does the problem still persist and you need an assistance or I can close the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-688790886, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZWERDTQK2272X3DBB3SEYEXJANCNFSM4QS6Z5RA.

Thanks for information. Could you provide the screenshot?

Thank you for the print screen. The following error is caused due to the fact I have published new version few days ago which changed the type of searchEverywhere.include setting type (from array to string). To fix it, please go to your settings in json format and change:
"searchEverywhere.include": [
"**/*.{c,h,cpp,inc,unt,json,js,jsx,ts,tsx}"
],

to the following:
"searchEverywhere.include": "**/*.{c,h,cpp,inc,unt,json,js,jsx,ts,tsx}",
Please let me know how it looks after that.

the error is gone.. but nothing happens.
Reload does nothing
Search does nothing (even via the shortcut).
Also trying "??" does nothing. After the first ? the normal vscode help commands appear. Then with the second ?? everything disappears
Best Regards,
Shadi

From: Kamil Bysiec<EMAIL_ADDRESS>Sent: Wednesday, September 9, 2020 1:14 PM
To: kbysiec/vscode-search-everywhere<EMAIL_ADDRESS>Cc: bojomojo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kbysiec/vscode-search-everywhere] After installing the extension, trying the help/quick phrases does nothing (#4)
Thank you for the print screen. The following error is caused due to the fact I have published new version few days ago which changed the type of searchEverywhere.include setting type (from array to string). To fix it, please go to your settings in json format and change:
"searchEverywhere.include": [
"**/*.{c,h,cpp,inc,unt,json,js,jsx,ts,tsx}"
],
to the following:
"searchEverywhere.include": "**/*.{c,h,cpp,inc,unt,json,js,jsx,ts,tsx}",
Please let me know how it looks after that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-689494261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZRMD7FJBICTCXJGQSLSE5PSXANCNFSM4QS6Z5RA.

Have you tried to open another project e.g. in different language? Or to limit the possible search results to only one file extension e.g. json? It would be good to establish which file extension is problematic.

I think the fact that "??" or "Reload" do not work, means it has nothing to do with file extensions. I could try with a new workspace
Best Regards,
Shadi

From: Kamil Bysiec<EMAIL_ADDRESS>Sent: Wednesday, September 9, 2020 1:26 PM
To: kbysiec/vscode-search-everywhere<EMAIL_ADDRESS>Cc: bojomojo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kbysiec/vscode-search-everywhere] After installing the extension, trying the help/quick phrases does nothing (#4)
Have you tried to open another project e.g. in different language? Or to limit the possible search results to only one file extension e.g. json? It would be good to establish which file extension is problematic.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-689499231, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZXY5RY5V5IDPQURJ6DSE5Q45ANCNFSM4QS6Z5RA.

Nope, without going into details the extension works in the following way:

Get all files from workspace based on include setting
For each file get all it's symbols
Limit the results according to exclude and itemsFilter settings,
If shouldUseItemsFilterPhrases setting is true, add the helpPhrase listener to display the list. If it is disabled, it doesn't react to it.

reset the extensions to default and created a new much smaller workspace.
now going into the command pallette CMD+3 and then typing ?? doesnt work
but doing search Option+CMD+P and then ?? does work.
however both do not work on my large workspace.
I am on MAC OS, maybe that has any difference
Best Regards,
Shadi

From: Kamil Bysiec<EMAIL_ADDRESS>Sent: Wednesday, September 9, 2020 1:32 PM
To: kbysiec/vscode-search-everywhere<EMAIL_ADDRESS>Cc: bojomojo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kbysiec/vscode-search-everywhere] After installing the extension, trying the help/quick phrases does nothing (#4)
Nope, without going into details the extension works in the following way:

Get all files from workspace based on include setting
For each file get all it's symbols
Limit the results according to exclude and itemsFilter settings,
If shouldUseItemsFilterPhrases setting is true, add the helpPhrase listener to display the list. If it is disabled, it doesn't react to it.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-689502103, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZTPZIKCS2UTTYQVWKLSE5RWVANCNFSM4QS6Z5RA.

Ok, but as I understand you were able to launch the quick pick with some indexed items, right? Was it in js/ts as the default is set up or it was c/cpp like the previous one?
Regarding the Option+Cmd+P - it is the default shortcut assigned for MacOS. I am working on Mac as well so it should not be the case.
I do not know anything regarding Cmd+3 - I assume it is your custom shortcut - maybe resetting the extension you reset the shortcut as well?
For your large workspace in c/cpp can you try the following settings to test if it helps somehow?
"searchEverywhere.helpPhrase": "??",
  "searchEverywhere.include": "**/*.{cpp}",
  "searchEverywhere.itemsFilter": {
    "allowedKinds": [0],
    "ignoredKinds": [],
    "ignoredNames": []
  }

Using the above you should have indexed only files (without symbols related to them) for cpp extension only. The helpPhrase is the same as you set it up "??".
Could you test and share the results?
Thanks.

I reset the settings and set again to c files, and now its indexing. But its taking too long.
Does it need any internet connection during indexing?
Sent from my iPhone
On 9. Sep 2020, at 14:17, Kamil Bysiec<EMAIL_ADDRESS>wrote:

Ok, but as I understand you were able to launch the quick pick with some indexed items, right? Was it in js/ts as the default is set up or it was c/cpp like the previous one?
Regarding the Option+Cmd+P - it is the default shortcut assigned for MacOS. I am working on Mac as well so it should not be the case.
I do not know anything regarding Cmd+3 - I assume it is your custom shortcut - maybe resetting the extension you reset the shortcut as well?
For your large workspace in c/cpp can you try the following settings to test if it helps somehow?
"searchEverywhere.helpPhrase": "??",
"searchEverywhere.include": "**/*.{cpp}",
"searchEverywhere.itemsFilter": {
"allowedKinds": [0],
"ignoredKinds": [],
"ignoredNames": []
}
Using the above you should have indexed only files (without symbols related to them) for cpp extension only. The helpPhrase is the same as you set it up "??".
Could you test and share the results?
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kbysiec/vscode-search-everywhere/issues/4#issuecomment-689523817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZTARH25MZMSFJIV3DDSE5W47ANCNFSM4QS6Z5RA.

Nope, it doesn't need any internet at all. How many files approximately you may have?

Closed because of inactivity.


[Userinfo] Fix userinfo not working on Red 3.5.3

Fixes userinfo throwing an exception due to the changes made here

Thank you!


Document how to update Vulcan version

Don't see instructions in the docs or blog post release announcements 😊

Right, it's meteor update but people might not know that.

https://github.com/GraphQLGuide/news/tree/master/packages

Oh you're right, you do need to get the latest _boilerplate-generator package from https://github.com/VulcanJS/Vulcan-Starter/ as well. We should be able to get rid of that package very soon though.

Alternatively you can also just delete that package to use the "real" boilerplate-generator, it only makes a difference when you're loading third-party CSS.

Just meteor update wouldn't work b/c of exact versions, eg<EMAIL_ADDRESS>in .meteor/packages and those in packages/example-forum/package.js. I updated with:
git remote add starter git@github.com:VulcanJS/Vulcan-Starter.git
git pull starter master

and fixed the merge conflicts. Now getting this error:
W20180629-19:12:43.328(-4)? (STDERR) ReferenceError: _ is not defined
W20180629-19:12:43.328(-4)? (STDERR)     at oauth_config.js (packages/vulcan:lib/lib/server/oauth_config.js:6:3)
W20180629-19:12:43.328(-4)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:339:7)
W20180629-19:12:43.329(-4)? (STDERR)     at require (packages/modules-runtime.js:238:16)
W20180629-19:12:43.329(-4)? (STDERR)     at main.js (packages/vulcan:lib/lib/server/main.js:1:14)
W20180629-19:12:43.329(-4)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:339:7)
W20180629-19:12:43.329(-4)? (STDERR)     at require (packages/modules-runtime.js:238:16)
W20180629-19:12:43.329(-4)? (STDERR)     at /Users/me/gh/news/.meteor/local/build/programs/server/packages/vulcan_lib.js:5459:15
W20180629-19:12:43.329(-4)? (STDERR)     at /Users/me/gh/news/.meteor/local/build/programs/server/packages/vulcan_lib.js:5466:3
W20180629-19:12:43.329(-4)? (STDERR)     at /Users/me/gh/news/.meteor/local/build/programs/server/boot.js:411:36
W20180629-19:12:43.329(-4)? (STDERR)     at Array.forEach (<anonymous>)
W20180629-19:12:43.330(-4)? (STDERR)     at /Users/me/gh/news/.meteor/local/build/programs/server/boot.js:220:19
W20180629-19:12:43.330(-4)? (STDERR)     at /Users/me/gh/news/.meteor/local/build/programs/server/boot.js:471:5
W20180629-19:12:43.330(-4)? (STDERR)     at Function.run (/Users/me/gh/news/.meteor/local/build/programs/server/profile.js:510:12)
W20180629-19:12:43.330(-4)? (STDERR)     at /Users/me/gh/news/.meteor/local/build/programs/server/boot.js:470:11

Repro: https://github.com/GraphQLGuide/news/tree/vulcan-2012
Not sure why—underscore is in my .meteor/versions and in here: https://github.com/VulcanJS/Vulcan/blob/devel/packages/vulcan-lib/package.js#L32

This is because Underscore is now an explicit dependency: https://github.com/msavin/Mongol-meteor-devtools/issues/159

Thanks! Got it running with:

update vulcan to 1.11.2
add underscore and service-configuration to packages/news/package.js

On load, have a couple errors. My news package is based on forum package, and I'm guessing there must have been major changes to forum, since I can't even find the file my error is in:

Do you think it would be faster to fix the errors, or replace with the latest forum package and add my changes back in?

That error means that PostsListHeader is not registered, maybe the file is not imported? That being said yes I would recommend always starting from the latest Starter repo code if you can.

Closing as an old issue


clusterloader2: Remove the file's dependency on gopath

What type of PR is this?

/kind feature
What this PR does / why we need it:
When the project is not located in the gopath, the file path will be incorrect, causing the manifests file to fail to load.
We should not use gopath to configure the path of the files
Which issue(s) this PR fixes:

Fixes #2058
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

Thanks for contribution :)
/lgtm
/approve
/hold
I will merge it tomorrow morning.

/unhold


rotation time not working

`
func main() {
path := "/tmp/logs/ok.log"
writer, err := rotatelogs.New(path+".%Y%m%d%H%M",
    rotatelogs.WithMaxAge(30*time.Second), rotatelogs.WithRotationTime(15 * time.Second))

if err != nil {
    panic(err)
}

log.SetOutput(writer)

for {
    log.Print("info message")
    log.Print("debug message")
    log.Print("error message")

    time.Sleep(1 * time.Second)
}

}
`
there is no file under directory /tmp/logs/ after 15 seconds

you should mkdir first.
~/mkdir -p /tmp/logs

the directory does exists

its working ,, but your log pattern is unique only to the minute
that will overwrite the file every rotation ..
use this patter "%Y%m%d%H%M%S"


[10.x] Set a custom schemaPath for TestCase

Problem
We are building a V3 of our application and it doesn't make sense to copy over all of the migrations. We are leveraging the schema dump functionality.
However, by default, migrations attempt to look for a schema that matches the database connection name. This means we would have to maintain two SQL files (one for the mysql and one for mysql_testing). I originally overrode the migrateFreshUsing() method within our application's base TestCase to force it to use the name of our default connection:
    protected function migrateFreshUsing(): array
    {
        $migrateFreshOptions = $this->baseMigrateFreshUsing();

        if ($schemaPath = $this->getSchemaPath()) {
            $migrateFreshOptions['--schema-path'] = $schemaPath;
        }

        return $migrateFreshOptions;
    }

    /**
     * overrides the default schema path checking so that two copies of
     * the schema (with the same data) do not need to be maintained
     *
     * @return string
     */
    protected function getSchemaPath(): string
    {
        return database_path('schema/mysql-schema.dump');
    }

I figured if we needed this functionality, maybe others could benefit too?
But I think more useful is the fact that a common test SQL file could be used within tests. Our application has over 1000 test cases, almost all of which touch the database. We could put all of our common seeders into a schema dump which would shorten the dev-test feedback loop.
Usage
Within a class that extends Tests\TestCase, set a schema path. For example:
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class UserTest extends TestCase
{
    use RefreshDatabase;

    protected $schemaPath = 'lot_of_users_seeded.dump';

    public function testDoesUserExist()
    {
         $this->assertExists(User::first());
    }
}

Questions
I think that there should be a test case that actually confirms the database schema is loaded. Where should this test case live and what TestCase it should extend from? I'm not sure what namespace of directories it would belong to (since it looks like the test harness uses that to determine which runners to use). If someone could steer me in the right direction, I would like to add that.

The docs talk about keeping two schema files - which I think is generally fine. They don't really have to be "maintained", they are just generated. Is there a big issue with this approach?
https://laravel.com/docs/10.x/migrations#squashing-migrations

The docs talk about keeping two schema files - which I think is generally fine. They don't really have to be "maintained", they are just generated. Is there a big issue with this approach?
https://laravel.com/docs/10.x/migrations#squashing-migrations

@taylorotwell It's more error-prone for a team of developers to keep a two copies of a file in their repo.  As we are still in the middle of a V2 to V3 transition, there are still migrations being made within the V2 codebase. That means that those changes need to be squashed and the schema dump put in two places.
It's an inconvenience at worst: like I said, I already wrote a workaround for this for our codebase. However, it took a bit to figure out how to do it and seems like it would be beneficial to be about to override the schema options, even if it was as easy as allowing for a method like additionalMigrateFreshOptions()
    protected function migrateFreshUsing()
    {
        $seeder = $this->seeder();
        $additionalMigrateFreshOptions = [];
        if (method_exists($this, 'additionalMigrateFreshOptions')) {
            $additionalMigrateFreshOptions = (array) $this->additionalMigrateFreshOptions();
        }

        return array_merge(
            [
                '--drop-views' => $this->shouldDropViews(),
                '--drop-types' => $this->shouldDropTypes(),
            ],
            $seeder ? ['--seeder' => $seeder] : ['--seed' => $this->shouldSeed()],
            $additionalMigrateFreshOptions,
        );
    }


[Astro] Code component does not accept Marker props other than numbers

Hello, passing ins, del as string, string[] does not work.
For example:
// This works

// None of these working

Thanks for the quick reply. Yes, using meta prop worked.
Here is an example astro component for future reference:
---
import {Code} from "astro-expressive-code/components"

const {ins, del, mark, content, lang, ...otherProps} = Astro.props
const meta = `ins={${ins || ''}} del={${del || ''}} ${mark || ''}`
---


How to create context menu on node right click

Hi,
To allow for a faster response, please read carefully:
Please look for an answer in the docs before submitting an issue:
angular2-tree.readme.io.
In case you are reporting a bug, please reproduce it on webpack bin. You can start from here:
https://www.webpackbin.com/bins/-KqGwvVQLknZ-fTXHjCO
Open the left side menu and click copy
Make your changes
Click Save to view results
Share the URL once reproduced
If you are unable to reproduce on webpackbin, please:

paste your package.json
say which browser you are using
paste your nodes and options and whatever code your feel will help reproduce the error

Thank you and happy programming

Using actionMapping, or a custom node wrapper template


pywin32 dependency in >=4.0.0 breaks MinGW targets

Describe the bug
while trying to install SCons on MinGW32/64 (MSYS2), pip3 install scons fails for versions 4.0.0 & 4.0.1 due to
Collecting pywin32>=1.0; platform_system == "Windows" (from scons==4.0.1)
  Could not find a version that satisfies the requirement pywin32>=1.0; platform_system == "Windows" (from scons==4.0.1) (from versions: )
No matching distribution found for pywin32>=1.0; platform_system == "Windows" (from scons==4.0.1)

Project description on https://pypi.org/project/SCons/ clearly states that

There should be no other dependencies or requirements to run SCons, although the pywin32 Python package is strongly recommended if running on Windows systems.

Either the dependency should be removed (preferred, since PyWin32 support on MinGW is problematic), or the docs fixed to reflect this change.
3.1.2 and previous versions work as intended and install correctly.
Required information
applies to 4.0.0, 4.0.1.
related: https://github.com/SCons/scons/issues/2291

So is the problem installing scons 4.0.0 (or higher) in python installed via msys2?

@bdbaddog basically, yes, although I guess the dependency by itself can manifest in other similar setups too (Win-like platforms without PyWin32).

@FyiurAmron - I understand about the added dependency. I added that.
Just curious in what environment it's causing an issue.
I'm not sure how to conditionally add pywin32 only for non mingw python installs.

Setuptools, pip, and the PEP that describe the package format don't provide any way to surface that a dependency works for Windows, but not for msys/mingw in Windows.  You can't detect the mingw piece at al at the level of pip's dependency resolution, as far as I can see.

Removed pywin32 entirely in current master branch..
Will be in 4.0.2 release when that comes out.


update prettier to v3

Maybe I have to wait for Jest 30.
https://github.com/prettier/prettier/issues/15769


Cannot set GOPATH under tasks.options.env in tasks.json

VSCode Version: 1.18.1
OS Version: OSX 10.11.6

Steps to Reproduce:

edit tasks.json
Add following

{
    "version": "2.0.0",
    "type": "shell",
    "presentation": {
        "reveal": "always",
        "panel": "dedicated"
    },
    "tasks": [
        {
            "label": "test Golang",
            "options": {
                "env": {
                    "GOPATH": "bbbbbbbb",
                    "GO_FAKE":"ccccccccc",
                    "ZZZZ":"aaaaaaaa"
                }
            },
            "command": "env",
            "group": {
                "kind": "test",
                "isDefault": true
            }
        }
    ]
}

execute task and get following:
Note that GOPATH is missing on list.

> Executing task: env <
ZZZZ=aaaaaaaa
GO_FAKE=ccccccccc
.... {other environment vars}

Reproduces without extensions: Yes

This works for me under Linux & Windows

@isidorn can you please do me a favor and check under MacOS

Here's what I get. GOPATH does not seem to get overwritten

@isidorn thanks. How do you set the GOPATH. In a .bashrc profile or similar. If so it will override the one you pass in the env.

@dbaeumer I did not set it up, it was there long ago and i have no clue how it got there

@isidorn thanks !

@dbaeumer @isidorn  looks like the issue only exist on OSX.
Tested on Golang standard env and find GOPATH, GOROOT, GOBIN are all discarded.
# tasks.json
{
    "version": "2.0.0",
    "type": "shell",
    "presentation": {
        "reveal": "always",
        "panel": "dedicated"
    },
    "tasks": [
        {
            "label": "test Golang",
            "options": {
                "env": {
                    "GO_FAKE":"foo",
                    "GOPATH": "gopath",
                    "GOROOT": "goroot",
                    "GOBIN": "gobin",
                    "ZZZZ":"bar"
                }
            },
            "command": "echo $GO_FAKE $GOPATH $GOROOT $GOBIN $ZZZZ",
            "group": {
                "kind": "test",
                "isDefault": true
            }
        }
    ]
}

Results:
> Executing task: echo $GO_FAKE $GOPATH $GOROOT $GOBIN $ZZZZ <

foo bar

@weinand do you have an idea if there is something special with env variable under Mac. Are they 'initialized' when a shell is spawned?

I do not see this problem on macOS:

@weinand thanks. Just to clarify. GOPATH has not the value you set. GOROOT has.

@dbaeumer yes, I mixed up the names.

@weinand could it be that the GOPATH is set somewhere in a .*rc or profile script on your machine. These scripts are evalutated later and if they tweak the environment again they win.

Since I'm setting the GOPATH in ".bash_profile" I think what we see in my case is expected:
Tasks is setting the env vars and then launching a new shell (bash in my case), that inherits the env vars and overrides GOPATH when processing the ".bash_profile".

Ok, we came to the same conclusion. But that does not really explain the problem @avence12 is seeing (assuming that he has not empty definitions for those variables in his ".bash_profile").

I did not setup GOPATH, GOROOT, neither GOBIN in my .bash_profile but the env section in tasks.json should override the environment variables.
Note that I have disabled all my extensions so I expect this would be nothing to do with Go extension.

Technically the env section can't override variable set by a profile or by sourcing other files into the shell. The env set in the tasks.json is set before the process / shell starts. If the shell does something different it wins.
This seems to work for @weinand under Mac and for me under Windows and Linux. So there must be something different with @avence12 machine. @avence12 can you think of anything ?

@avence12 you said:

but the env section in tasks.json should override the environment variables

That is correct, but the real problem is that the "test Golang"  task defined in tasks.json starts another shell process that reads some .*rc file which itself overrides the vars from the env section in tasks.json.
Please try to find in which .*rc file GOPATH, GOROOT, and GOBIN are set. Most likely that is the file that is processed when you run the "test Golang"  task.

After thoroughly investigating my profiles, I find the Golang related environment vars are cleared by https://github.com/moovweb/gvm.  I can setup correct env value after disabling it.
Thanks for your kindly investigation.


Dynamic properties {valueOf} no longer work.

Sometime between v4.0.0 and v4.1.x dynamic properties no longer work.
For example, in my game we've made plentiful use of:
someSprite.position.x = {valueOf: function(){ return /* a + b + something */ }}
We've found this to be a powerful way to construct a reactive system that can auto-compute layouts and positioning. However this no longer works in the latest versions. I'm guessing this is due to some caching of values for performance or similar, however it is preventing us from using the latest features and other performance improvements. Please consider reverting to direct property access to support this powerful paradigm.

Hi @n17r4m, are you able to supply a pen that displays this issue you're having against the latest dev build, and perhaps another against v4.0.0 that shows it working?

Sure. It appears as though the breaking change happened between 4.0.0-rc3 and 4.0.0-rc4
Working: http://codepen.io/n17r4m/pen/BQGZqv
Not Working: http://codepen.io/n17r4m/pen/yVQoLe

Your valueOf assignment actually still works, its just that the transform is no longer being updated every frame (for performance reasons).
You could however force the transform to be updated like I did here by doing this in your render loop;
circ.transform.onChange();

I understand, however this is our primary method of updating positions, rotations, etc on most of our display objects. I feel that being able to reactively declare functional targets for display updates is important, and this has streamlined and modularized the code base.
Could you recommend a method to monkey patch in the previously available functionality, such that on each frame render the currently specified translations and transformations are queried and applied? I noticed that in codepen the animation was smoother with the latest version of PIXI, despite the transform.onChange. Presently, all x,y positions and scale parameters in our unreleased http://fly.lampop.com game are specified using this valueOf technique.
Perhaps there some class method in the PIXI hierarchy that we can add functional advice to so as to call .transform.onChange() on every display object on every frame?

If you check your working pen, you'll see that the reason it's working is because this._localID and this._currentLocalID are both NaN in this line (which seems like a bug), which is why I called onChange to ensure the conditonal is always met.
Any monkey patch would just need to ensure entry to that block.

Ok, I've refactored our code base so that per-frame property updates are no longer handled by {valueOf} magic, but since all of the layout is heavily dependant on this, I wrote a small recursive update utility that I can apply to the root scene display object.
Maybe someone else will find it useful.
function recursiveTransformUpdate(dispOb){
    var ref$, ref1$;
    if ((ref$ = dispOb.transform) != null && ref$.onChange) {
      dispOb.transform.onChange();
    }
    if ((ref1$ = dispOb.children) != null && ref1$.length) {
      return dispOb.children.forEach(recursiveTransformUpdate);
    }
};

Marking issue as closed. I think having some test for {valueOf} properties and having .onChange() be called automatically on render would be nice, however I understand if you feel it may not be worth it to support this corner case.


add warning in msp_blastparser_and_hits

and comment in help section of https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_blastparser_and_hits to avoid issue discussed in #76, which I will close.

I have to check the current status of this issue...


Run deployments in background

This fixes #134 by making use of uWSGI spoolers. Documentation needs to be updated but I'd appreciate your opinion on this particular approach. I'd appreciate any feedback so that we can get this merged in.

Coverage increased (+0.57%) to 73.83% when pulling 7eb9caf6f45401d11b21e145a931ee901e16c0bb on qdqmedia:run_deployments_in_background into fbe2cac9e3c6159e48a4f22974b1ad8e50fbdd19 on worthwhile:master.

Coverage increased (+0.57%) to 73.83% when pulling e7d00cd98ef8048a21b6b4abdd30c598b1f5daea on qdqmedia:run_deployments_in_background into fbe2cac9e3c6159e48a4f22974b1ad8e50fbdd19 on worthwhile:master.

Coverage increased (+0.57%) to 73.83% when pulling 25e3e9e25e95cce72b67fc0c3254359bf0e7b821 on qdqmedia:run_deployments_in_background into fbe2cac9e3c6159e48a4f22974b1ad8e50fbdd19 on worthwhile:master.

Coverage increased (+0.57%) to 73.83% when pulling fb47f0735faaceeaf16c835264efc39dde58d21c on qdqmedia:run_deployments_in_background into fbe2cac9e3c6159e48a4f22974b1ad8e50fbdd19 on worthwhile:master.

Coverage increased (+0.57%) to 73.83% when pulling 6adadf62fcdf7b6f949230036ec32e0e66c24b46 on qdqmedia:run_deployments_in_background into fbe2cac9e3c6159e48a4f22974b1ad8e50fbdd19 on worthwhile:master.

Coverage increased (+0.57%) to 73.83% when pulling 09f8c90aa6ab29b2255dbeb4bb09d74d227c0e9a on qdqmedia:run_deployments_in_background into fbe2cac9e3c6159e48a4f22974b1ad8e50fbdd19 on worthwhile:master.

This sounds like an awesome idea! What will happen if someone is not using uWSGI? We definitely need docs on this if it requires extra configuration.

This implementation requires uWSGI. So I suppose we have a few options. First obvious one is making uWSGI a required dependency. If that's not a viable option, we need to consider the other use cases we want to support. I'd say that for running it under Django's built-in server it would be possible to fork a thread and run "synchronously" the deployment task in that thread while the original one ends the request, and then the js code polls the server for task updates. I haven't tried this but it should work. It wouldn't be that reliable of course, but Django's built in server is not recommended for production use anyway, so...
If you want to support other environments, such as gunicorn, etc then that would require more research.
I certainly can update the documentation and maybe find some time to give a try to making this work under Django's runserver.
As a side note, we've been using this branch this week and it works well for us.

Coverage increased (+0.57%) to 73.83% when pulling 8d057a97e8bd85416ce386bb77be4c94964a0817 on qdqmedia:run_deployments_in_background into fbe2cac9e3c6159e48a4f22974b1ad8e50fbdd19 on worthwhile:master.

We love this idea, thanks. Your code looks great, but we are worried about the uwsgi dependency. Lots of folks will just do "runserver" for development, and this would require them to run uwsgi instead. So what we're thinking we need to do is create an API for a pluggable backend that lets you offload tasks to a separate process depending on your environment. So you can use a "dummy" backend, which is the current one, for dev and then use a uwsgi backend like suggested in this PR.
All that to say, we are working on a task runner backend API so that we can plug in different backends. This will allow us to adapt what you have in this PR.

What's the status of this PR?

We've been using this branch (plus some other minor changes)[1] in production for about a year and works perfectly, but the concern here is what to do in development mode and/or running it without uwsgi, which I think is a valid one.
I can think of two solutions, first one to try/catch importing uwsgi or using a setting and providing mocks so it works in both situations. The second (and maybe easier to implement) would be to just add a Dockerfile, push it to dockerhub and have people running it with just docker run fabric-bolt ..., which would make it even more easy to run and will allow it to depend on almost anything without worrying about deployment. That's something we do internally too and works perfectly.
[1] here is the fork we're running, quite outdated as we don't have the time we need to keep it current, but it works for us: https://github.com/qdqmedia/fabric-bolt


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.10 to before v5.15.24",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e057dd3fc20ffb3d7f150af46542a51b59b90127",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f90cc68f9f4b5d8585ad5d0a206a9d37ac299ef3"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "e057dd3fc20ffb3d7f150af46542a51b59b90127",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "f90cc68f9f4b5d8585ad5d0a206a9d37ac299ef3",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "can: isotp: fix potential CAN frame reception race in isotp_rcv()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.24 by commit f90cc68f9f4b5d8585ad5d0a206a9d37ac299ef3, it was introduced in version v5.10 by commit e057dd3fc20ffb3d7f150af46542a51b59b90127. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000410


[Tariffs_Deactivate cards] The dropdown list of regions has alignment above the regions field instead of under alignment on the pop-up window  "Деактивувати"

Environment:
MacOS version 12.6.1 (21G217)
Chromе version 107.0.5304.110
Reproducible: always
Build found: 15/12/2022
Preconditions

Go to https://www.testgreencity.ga/GreenCityClient/#/ubs
The user is logged in as Super Admin.
Go to Main UBS menu -> Choose "Тарифи”
Click on tools “Gear”-> item “Деактивувати”.

Steps to reproduce

Choose item "Регіон"
Click on the dropdown pictogram
Pay attention to the alignment of the dropdown list of regions

Actual result
The dropdown list of regions has alignment above the regions field instead of under alignment on the pop-up window  "Деактивувати"
Expected result
The dropdown list of regions has alignment under the regions field  on the pop-up window  "Деактивувати"
Postconditions
A clear and concise description of actions to be done after bug reproducing. E.g.:
"Delete created item from database using SQL query:
DELETE FROM table1
WHERE id=<item1_id>;"
User story and test case links
E.g.: "User story #100
Test case"
Labels to be added
"Bug", Priority ("pri:low"), Severity ("severity:minor"), Type ("UI, "Functional"), "API" (for back-end bugs).

The bug is not reproduced


Crashing on click Settings

App will crashed after click on Settings
Win 10 22H2

Should be fixed in v0.2.1

now works


Add option to center tooltips horizontally when they appear above or below target

Current behavior when tooltip is above or below its target is to be left aligned, like so:

In many cases it's more visually appealing for the tooltip and its arrow to be center-aligned relative to its target, as in Bootstrap:

This is something we've done for the next version. We'll close this here. Thanks!


Solutions don't serialize

You can't serialize components ergo Entity doesn't work so all of these datafields will need fixing to just be the entityuid itself.

still dont get why Entity cant serialize just the EntityUid


Multiple reports of problems with "sh make.sh" building.

It appears that in most case reported, the script is unable to locate some resource.
What should PYTHONPATH be, for example, to find appropriate files in pytorch, etc...?

(pytorch) developer@theano:~/Detectron.pytorch$ python tools/train_net_step.py --dataset coco2017 --cfg configs/baselines/e2e_mask_rcnn_R-50-C4.yml --use_tfboard --bs 128 --nw 16
Traceback (most recent call last):
File "tools/train_net_step.py", line 27, in
from modeling.model_builder import Generalized_RCNN
File "/home/developer/Detectron.pytorch/lib/modeling/model_builder.py", line 12, in
from model.roi_crop.functions.roi_crop import RoICropFunction
File "/home/developer/Detectron.pytorch/lib/model/roi_crop/functions/roi_crop.py", line 4, in
from .._ext import roi_crop
File "/home/developer/Detectron.pytorch/lib/model/roi_crop/_ext/roi_crop/init.py", line 3, in
from ._roi_crop import lib as _lib, ffi as _ffi
ModuleNotFoundError: No module named 'model.roi_crop._ext.roi_crop._roi_crop'

Pytorch source was changed. Have to use functuons to get sizes instead of ->
On Jul 11, 2018 6:27 PM, "Yury Namgung"<EMAIL_ADDRESS>wrote:

i have this same problem
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/roytseng-tw/Detectron.pytorch/issues/87#issuecomment-404330271,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEY95fRAJVuwUq0B-NRQt0cuHOOXNnHKks5uFnvegaJpZM4Un53j
.


Kotlin language

Add support for Kotlin language

Now that WASM plugins are stable, this can be implemented in user land: https://moonrepo.dev/docs/proto/wasm-plugin


Make DescField.presence available for all fields

The property DescField.presence tells whether a field tracks presence, but only for singular fields. This change makes it available for all fields. The values match with the documentation, which should be helpful for users who want to take a closer look at the schema.
The property is also available for extension descriptors. It's not well documented, but implicit presence (e.g. a proto3 singular scalar field) does not apply to extensions. Otherwise, setting an extension value 0 would be ambigous.

@srikrsna-buf, the presence and other properties of DescField/DescExtension are computed eagerly (that wasn't the case some time ago), and I can't think of a way that the kludge we use in the extension container should cause any more problems. So I think we should keep the extension container.


Placeholder support in async validations

It would be nice to have placeholder support for the attribute name inside the error message returned for the callback in an async validation. This is posible with synchronous validations right now.
Actual behavior
Validator.registerAsync(
  'unique',
  (value, args, attribute, passes) => {
    // database check
    passes(false, 'The :attribute has already been taken.'); // It doesn't work!
  }
);

Expected behavior
Validator.registerAsync(
  'unique',
  (value, args, attribute, passes) => {
    // database check
    passes(false, 'The :attribute has already been taken.'); // The username has already been taken.
  }
);

@MatiasOlivera
I meets this error when apply the registerAsync.
Would you mind show me your code, please.
    passes expects a callback when async rules are being tested.;

@haitm-eas Do you want to generate dynamically the error message?

@MatiasOlivera
I want to apply an unique rule which query from DB, and generate dynamically error message.

@MatiasOlivera
version 3.15.1, does  support Validator.registerAsync async/await?
It seems does work for me.
Validatorjs.registerAsync(       'unique_email',       async(value: any, args: any, attribute: any, passes: any) => {         console.log('checkdb begin');         await Repo.getByEmail(value);         console.log('checkdb end');         console.log(value);         passes();       },       'Username has already been taken.',     );

@haitm-eas I wrote an example in pull request #302. To generate dynamically the error message you can create it before passing it to passes function

@MatiasOlivera
May i use async/await in version 3.15.1 (https://github.com/skaterdav85/validatorjs/tree/v3.15.1)?
I cannot using async validator rule althought i have read your example #302.

@haitm-eas There isn't async/await support, but you could wrap the existing API with a promise. Can you create a new issue asking for help? This conversation isn't related to the topic in the first comment.

@MatiasOlivera
How is about this example ? The is an async/await define from your example.

@haitm-eas The example is showing how to make an async rule using promises, not async/await. The callback is a normal function, not an async function.


[Event Change] Add ForceConfirm to OnBeforeConfirmUpdateCurrencyFactor in Purchase Header

Describe the request
It's not a good practice to set HideValidationDialog to true, just to skip the currency factor update confirmation. Please add a parameter to just confirm this specific dialog.
    procedure ConfirmCurrencyFactorUpdate(): Boolean
    begin
-        OnBeforeConfirmUpdateCurrencyFactor(Rec, HideValidationDialog);
+        OnBeforeConfirmUpdateCurrencyFactor(Rec, HideValidationDialog, ForceConfirm);
-        if GetHideValidationDialog() or not GuiAllowed then
+        if GetHideValidationDialog() or not GuiAllowed() or ForceConfirm then
            Confirmed := true
        else
            Confirmed := Confirm(Text022, false);
        if Confirmed then
            Validate("Currency Factor")
        else
            "Currency Factor" := xRec."Currency Factor";
        OnAfterConfirmUpdateCurrencyFactor(Rec, HideValidationDialog);
        exit(Confirmed);
    end;

[IntegrationEvent(false, false)]
-    local procedure OnBeforeConfirmUpdateCurrencyFactor(var PurchaseHeader: Record "Purchase Header"; var HideValidationDialog: Boolean)
+    local procedure OnBeforeConfirmUpdateCurrencyFactor(var PurchaseHeader: Record "Purchase Header"; var HideValidationDialog: Boolean; var ForceConfirm: Boolea)
    begin
    end;

Additional context
We could reset the HideValidationDialog via OnAfterConfirmUpdateCurrencyFactor afterwards, but we would have to keep the previous state in memory with a SingleInstance codeunit.
Internal work item: AB#501637

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 16627.


Just dont get it!!!!

I am trying to execute a test on a text based template and the tests fail and I really do not understand what the output is telling me, it just makes no sense to me... obtained/expected.. the output happens to be what the template has created during execution, I thought it wasn't bothered about whitespace but maybe it is as the difference in the output looks to be space but I just don't understand how to interpret the message...
So in constructing the test I set the output to be exactly what Thymeleaf generated i.e. copy and paste but the tests fail...
The only thing I can think of is that the template has a decision based on a boolean property in the context and I am not 100% sure that I am constructing or setting that property correctly in the test file so can I ask you to confirm how you would set a boolean property in the context in the thtest file? as there are no examples in the docs, just the easiest and most obvious one i.e. a String...
I also could really do with understanding how you go about debugging a test...  is there anyway for it to spit out what the test engine has generated for example? that would help me understand and see what has been generated..

Tests are only matched by generated output vs value of the %OUTPUT directive. The context is not matched, only the results of the execution of the template (for the specified context). As for how the template result is matched, non-HTML-significant whitespace is ignored unless the %EXACT_MATCH directive is set to true in the test.
If with how to set a variable you mean inside a %CONTEXT directive, that is just true or false. Values for context properties are specified as OGNL expressions, and true/false are valid boolean OGNL expressions.
Anyway, if you could copy+paste parts of your test, or the test results, it would help diagnosing what is going wrong for you.

OK so I get that the tests are matching a generated output (using the input and context values) against a static version specified in the output section of the test file, that is perfect however the bit that is puzzling is that I have taken the output from my real code and used that to compare against and it is this that isn't matching..  which given it's simple nature is a bit puzzling...
Thanks for confirming the setting of a Boolean, I did have that right but when it's not working and no way of confirming what has been set, you start to think of what is wrong and with no examples I wasn't sure..
Just so you are aware I am not generating HTML and this is not a Web Application that I am dealing with, I just need to generate plain text with values and sections injected based on the context whose output is then fed into something else..
Output
test_output.txt
Test File
thtest_file.txt

OK, so if this is TEXT mode, then matching will be always exact. So whitespace will be important.
Not only that, but also note that line feeding will be compared to. So maybe there is a difference in line feeds in your input and output files? (e.g. <CR><LF> in one vs <LF> in the other). Or maybe a difference in charset/encoding?

If on an UNIX/Linux system, you could try and use diff to compare those files, or even cmp -b to compare byte-by-byte.

Closing due to user inactivity


Enable term search for Instagram connector

Instagram connector should let you search terms.
cc @xavijam

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


db-migrate up  [ERROR] AssertionError [ERR_ASSERTION]: ifError got unwanted exception: password authentication failed for user "hassan"

at module.exports (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/db-migrate/lib/commands/helper/assert.js:9:14)
at /home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/db-migrate/lib/commands/up.js:19:14
at /home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/db-migrate/connect.js:17:7
at /home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/db-migrate/lib/driver/index.js:95:9
at Client._connectionCallback (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/db-migrate-pg/index.js:710:7)
at Client._handleErrorWhileConnecting (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg/lib/client.js:305:19)
at Client._handleErrorMessage (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg/lib/client.js:325:19)
at Connection.emit (node:events:527:28)
at /home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg/lib/connection.js:114:12
at Parser.parse (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg-protocol/dist/parser.js:40:17)
at Parser.parseErrorMessage (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg-protocol/dist/parser.js:287:98)
at Parser.handlePacket (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg-protocol/dist/parser.js:126:29)
at Parser.parse (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg-protocol/dist/parser.js:39:38)
at Socket. (/home/hassan/Desktop/GitHup Work/StoreProjectUdacity/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Socket.Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

not a ticket, spam


The page not found in this link

Hi team,
I'm moving this from here: https://github.com/MicrosoftDocs/windows-driver-docs.zh-cn/issues/2
The links doesn't work in the en-us page either
@lindexi commented 10 hours ago — with docs.microsoft.com
https://www.usb.org/developers/hidpage/HID1_11.pdf page not found
https://www.usb.org/developers/hidpage/Hut1_12v2.pdf page not found

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

ID: ba1cf2aa-effc-7b31-2540-470205e840f3
Version Independent ID: 8b1f865f-a19e-0e96-1c1f-5c0206afe797
Content: Resources for HID over USB - Windows drivers
Content Source: windows-driver-docs-pr/hid/reference-and-additional-details.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @duncanmacmichael
Microsoft Alias: dumacmic

Hi @CeciAc, good eye. I've corrected the links to point to the new URLs on the USB website; those changes should be live shortly. Thanks for pointing this out!


[Question] Multiple lora support.

❓ General Questions

Hi, I have done a quick review of this repo, but I didn't find anything about lora, I'm wondering
Does this repo support Lora serving, and more deeper support multi lora serving such as Punica or Slora.
If not do we have any plan to implemnent it ?
Thanks

I implement a simple multi lora inference  in mlc llm，but does not support batch infer， because I can't write the bgmv or sgmv function in relax and tensor ir. sgmv is a dynamic graph.

I modify the prefill func and decode func by pass lora weight in layer forward, and then add new items in mlc llm func table, so some hard code on models is  needed.

I modify the prefill func and decode func by pass lora weight in layer forward, and then add new items in mlc llm func table, so some hard code on models is needed.

you have done a very good job, do you have any pull request?

Hi,
I also want to convert a safetensor model that has some LoRA layers (just replaced linear layers with two linear layers each with a bottleneck structure).
How could I do it?
Thx!

Can we expect some level of support on this?


Actions on nested list doesn't work

Running actions from a nested list, e.g. going under a cloud provider and displaying stacks:
So we will be e.g. on this url:
http://localhost:3000/ems_cloud/3?display=orchestration_stacks
Now when I select the stacks and I click on retire_now, nothing happens. Cause the button actions is defined under OrchestrationStacksController, but the action was sent to EmsCloudController
I assume this can occur in more actions we have recently added to nested lists

@dclarizio I assume the same scenario can occur in a lot of places. We should figure out how to solve this in general, I guess?

@Ladas Agreed, should probably discuss with @martinpovolny

@Ladas : can you point me to the PRs that added those actions?

@martinpovolny not sure, the action mentioned is there probably for a long time


Remove bad line from cloud config

Tim,
quick review - rogue bad line in cloud config that should have been removed.
Rob

LGTM

Fixes #581


Allow to update also the default cache behaviour

With this PR it is also possible to update the "DefaultCacheBehavior" with  lambda associations.

Thanks @Engerim for extending the plugin!
I'm gonna make some modifications to your code on top of the pull request to guarantee the code formatting and I will add a format file to guarantee the format is kept.


[Docs] pattern docs update for UI

Signed-off-by: Gaurav Chadha<EMAIL_ADDRESS>Description
Added the information about pattern importing from Meshery UI
This PR fixes #4146
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit d3cadd5f6cbe16e209533ddddd8952cb606a90bc at: https://61685ed2faf1020b0f5505db--meshery-docs-preview.netlify.app

🚀 Preview for commit 062034a5cbe51110d5733012bdce733a1ce7c614 at: https://61716d092c99fe2c74f4d5e1--meshery-docs-preview.netlify.app


0.10.10 Holistic GPU delegation does not work

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Ubuntu 22.04.3 LTS
MediaPipe Tasks SDK version
0.10.10
Task name (e.g. Image classification, Gesture recognition etc.)
Holistic Landmarker
Programming Language and version (e.g. C++, Python, Java)
JS WASM API
Describe the actual behavior
Task cannot run when GPU delegation is turned on
Describe the expected behaviour
Tasks runs with GPU delegation turned on
Standalone code/steps you may have used to try to get what you need
https://codepen.io/clemenshimmer/pen/rNREezm
To break the behaviour, simply uncomment the GPU delegation option.
Other info / Complete Logs
I tried to get the just released 0.10.10 holistic landmarker to run, as mentioned in the release notes:

Javascript
Add Holistic Landmarker Web API

I've been a tiny bit cheeky and just walked back the path of the face landmarker task file linked in the docs until I landed on https://storage.googleapis.com/mediapipe-models/ which gave me the contents in a searchable XML file, that's how I found https://storage.googleapis.com/mediapipe-models/holistic_landmarker/holistic_landmarker/float16/latest/holistic_landmarker.task and just used it as the TS API suggested to.
That seems to work, but only if GPU delegation is turned off, once it is turned back on the following error is thrown.

Run error (stack traces truncated)
Following operations are not supported by GPU delegate:

DEQUANTIZE:

STRIDED_SLICE: Slice does not support shrink_axis_mask parameter.

123 operations will run on the GPU, and the remaining 59 operations will run on the CPU.

E0223 11:50:16.711000 1927856 calculator_graph.cc:892] UNIMPLEMENTED: CalculatorGraph::Run() failed:
Calculator::Open() for node "mediapipe_tasks_vision_holistic_landmarker_holisticlandmarkergraph__mediapipe_tasks_vision_face_landmarker_faceblendshapesgraph__mediapipe_tasks_core_inferencesubgraph__inferencecalculator__mediapipe_tasks_vision_holistic_landmarker_holisticlandmarkergraph__mediapipe_tasks_vision_face_landmarker_faceblendshapesgraph__mediapipe_tasks_core_inferencesubgraph__InferenceCalculator" failed: No support of const
=== Source Location Trace: ===
third_party/ml_drift/gl30/inference_context.cc:814
third_party/ml_drift/gl30/inference_context.cc:984
third_party/ml_drift/gl30/inference_context.cc:919
blaze-out/wasm-opt-ST-41541f88f73d/genfiles/third_party/mediapipe/calculators/tensor/inference_calculator_ml_drift_webgl_obfuscated.cc:288
blaze-out/wasm-opt-ST-41541f88f73d/genfiles/third_party/mediapipe/calculators/tensor/inference_calculator_ml_drift_webgl_obfuscated.cc:489
blaze-out/wasm-opt-ST-41541f88f73d/genfiles/third_party/mediapipe/calculators/tensor/inference_calculator_ml_drift_webgl_obfuscated.cc:119
third_party/mediapipe/framework/calculator_node.cc:560

Originally I recieved this error, but it seems this is some kind of error on my end as the minimal reproduction works - at least with GPU delegation disabled.

Initialization error (stack traces truncated)
No registered object with name: mediapipe::tasks::vision::holistic_landmarker::HolisticLandmarkerGraph; Unable to find Calculator "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"; Initialize was not ok [type.googleapis.com/mediapipe.StatusList='\n\xcb\x01\x08\x05\x12\xc6\x01No registered object with name: mediapipe::tasks::vision::holistic_landmarker::HolisticLandmarkerGraph; Unable to find Calculator \"mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph\"']
=== Source Location Trace: ===
./third_party/mediapipe/framework/deps/registration.h:218
third_party/mediapipe/framework/validated_graph_config.cc:230
third_party/mediapipe/framework/validated_graph_config.cc:350
third_party/mediapipe/framework/calculator_graph.cc:454
research/drishti/app/pursuit/wasm/graph_utils.cc:87

ERROR Error: Uncaught (in promise): Error: ValidatedGraphConfig Initialization failed.
No registered object with name: mediapipe::tasks::vision::holistic_landmarker::HolisticLandmarkerGraph; Unable to find Calculator "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"; Initialize was not ok; StartGraph failed
Error: ValidatedGraphConfig Initialization failed.
No registered object with name: mediapipe::tasks::vision::holistic_landmarker::HolisticLandmarkerGraph; Unable to find Calculator "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"; Initialize was not ok; StartGraph failed
  at Wo (vision_bundle.mjs:1:44941)
  at wh.setGraph (vision_bundle.mjs:1:46735)
  at wh.m (vision_bundle.mjs:1:118111)
  at vision_bundle.mjs:1:46413
  at _ZoneDelegate.invoke (zone.js:368:26)
  at Object.onInvoke (core.mjs:11083:33)
  at _ZoneDelegate.invoke (zone.js:367:52)
  at Zone.run (zone.js:129:43)
  at zone.js:1257:36
  at _ZoneDelegate.invokeTask (zone.js:402:31)
  at resolvePromise (zone.js:1193:31)
  at zone.js:1100:17
  at zone.js:1116:33
  at asyncGeneratorStep (asyncToGenerator.js:6:1)
  at _throw (asyncToGenerator.js:25:1)
  at _ZoneDelegate.invoke (zone.js:368:26)
  at Object.onInvoke (core.mjs:11083:33)
  at _ZoneDelegate.invoke (zone.js:367:52)
  at Zone.run (zone.js:129:43)
  at zone.js:1257:36

I can confirm the same issue. Holistic landmark works only if GPU delegation is disabled.

Hello @ButzYung  and @clemenshimmer
Thanks for filing this issue. We have escalated this issue to the concerned team developing the JS APIs for MediaPipe. The issue is being investigated.

still a problem with new 0.10.11

Still seeing the same issue in 0.10.12.

@schmidt-sebastian anything we can try/help?

seeing the same issue in 0.10.13rc

Unfortunately GPU delegation is still not working on the latest v0.10.13. I wonder if there is a roadmap on when GPU will be supported on Holistic Web. Without GPU, web solution is barely usable for any real-time application.

Just tested with v0.10.15, the GPU support for Holistic Web is still not working.

With 0.10.15 and 0.10.16, Holistic Web runs without error and the GPU delegation actually works, FPS increased from below 10 to 15? demo: https://mikapo.amyang.dev

The FPS is above 20 judging from your demo. CPU-only Holistic was hardly over 10 in my own previous tests, so I bet GPU is working.

With 0.10.15 and 0.10.16, Holistic Web runs without error and the GPU delegation actually works, FPS increased from below 10 to 15? demo: https://mikapo.amyang.dev

The FPS is above 20 judging from your demo. CPU-only Holistic was hardly over 10 in my own previous tests, so I bet GPU is working.
PS: Well it seems it still doens't work in my app (using 0.10.15, GPU delegation on but with the same errors as before)? Is there something special regarding your Holistic setup?

Nothing special actually, https://github.com/AmyangXYZ/MiKaPo/blob/261fd2b9229a99488e66d6790c9120ad8e053aab/src/Video.tsx#L181-L265

With 0.10.15 and 0.10.16, Holistic Web runs without error and the GPU delegation actually works, FPS increased from below 10 to 15? demo: https://mikapo.amyang.dev

The FPS is above 20 judging from your demo. CPU-only Holistic was hardly over 10 in my own previous tests, so I bet GPU is working.
PS: Well it seems it still doens't work in my app (using 0.10.15, GPU delegation on but with the same errors as before)? Is there something special regarding your Holistic setup?

Nothing special actually, https://github.com/AmyangXYZ/MiKaPo/blob/261fd2b9229a99488e66d6790c9120ad8e053aab/src/Video.tsx#L181-L265

I know that this can work normally when you put things in the same thread.
I think the problem that we are trying to solve is that Holistic in the new task-vision library doesn't have a way to work in WebWorker.
Currently, face-landmark in task-vision can work in WebWorker, and Holistic can not.

With 0.10.15 and 0.10.16, Holistic Web runs without error and the GPU delegation actually works, FPS increased from below 10 to 15? demo: https://mikapo.amyang.dev

The FPS is above 20 judging from your demo. CPU-only Holistic was hardly over 10 in my own previous tests, so I bet GPU is working.
PS: Well it seems it still doens't work in my app (using 0.10.15, GPU delegation on but with the same errors as before)? Is there something special regarding your Holistic setup?

Nothing special actually, https://github.com/AmyangXYZ/MiKaPo/blob/261fd2b9229a99488e66d6790c9120ad8e053aab/src/Video.tsx#L181-L265

I know that this can work normally when you put things in the same thread. I think the problem that we are trying to solve is that Holistic in the new task-vision library doesn't have a way to work in WebWorker. Currently, face-landmark in task-vision can work in WebWorker, and Holistic can not.

Now that you mention it, I am running it in worker as well. Although GPU mode fails, CPU mode still works on worker (last tested on v0.10.15).


OnMore Lazy Loading issue on Table Component when it is on Layer

It is observed that onMore event is trigger anytime we scroll (up or down) and it is not just triggering when we scroll down and release.
Table component onMore is triggering correctly when we scroll at the bottom of page and release, but it works until there is an enough space left at the bottom after that it stops triggering onMore event, we are trying to implement Lazy loading with this.
Please let me know if there is any settings which will trigger onMore only in case we scroll at the bottom of page and release???
Find code pen for the same
http://codepen.io/avadhutk/pen/BQebrj?editors=0010

wrong branch closing and opening under grommet


How to use snoowrap inside react?

I have a problem, that snoowrap is mutating itself, thus re-rendering the entire react tree, starting from the place it gets initiated as a state. How to handle this?

This is more of a React problem than Snoowrap. Make sure you create Snoowrap outside of React and that you treat the instance as you would with REST API calls


Load NEO files into emulator

This appears to be problematic, not quite sure why yet. This can be done by putting the neo files in the storage directory and creating a short basic stub load "filename.neo"


Default value for float field separated by comma instead point in admin interface

Describe the problem
If I have default value for float option of constance config, it render with comma in admin interface. If I click on the default value and then try to save constance config, I will have type error message. Is it normal?
Steps to reproduce
Add this constance config:
CONSTANCE_CONFIG = {     'TEST_FIELD': (0.02, 'Example', float), }
System configuration

Django version:
Python version:

Python 3.6.3
Django==2.1.5
django-constance==2.4.0

Observed the same behavior for django-constance==2.7.0.
Seems that the default value is not rendered language dependend. If custom value is set, everything is fine.

it is fixed in recent version

Again
CONSTANCE_CONFIG = {
    'FLOAT_VALUE': (3.1415926536, 'PI'),
}

Django==5.0
django-constance==4.1.0

PR is welcome


How to convert the prediction result into a bbox or point list?

Thank you for your wonderful contribution！
May I ask how to transfer the prediction results to bbox or point collection？

Pick a threshold value for the min pixel value you consider valid. Let's say you pick 25 (out of 255).
Then take the output image, convert it to a boolean numpy array; for example: (output_image > 25)
(I was feeling super lazy so I asked chatgpt to write the python function to turn that into a bounding rectangle:
import numpy as np
def bounding_box(array):
true_indices = np.where(array)
min_row, max_row = np.min(true_indices[0]), np.max(true_indices[0])
min_col, max_col = np.min(true_indices[1]), np.max(true_indices[1])
return (min_row, min_col, max_row, max_col)
Example usage:
array = np.array([
[False, False, False, False],
[False,  True,  True, False],
[False,  True,  True, False],
[False, False, False, False]
])
bbox = bounding_box(array)
print(bbox)  # Output: (1, 1, 2, 2)


Dictionaries WS (GET, PATCH)

Implement the subj. group of methods according to the spec Get dictionaries and Update dictionary

Details


[T2A2][F11-A3] Justin Ng

Performed the following refactoring changes:

Added line breaks to super long code.
ArrayList constructors are now type specific.

Team name not known as of now.

Ready for review.

Consider these changes too from a PR in a different tutorial. https://github.com/nus-cs2103-AY1617S1/addressbook-level1/pull/208


Use the new overload of new NodeJSEnv with a NodeJSEnv.Config.

The constructor with default parameters is deprecated in Scala.js, because it cannot be evolved in binary compatible ways. Instead, we use the one that takes a NodeJSEnv.Config parameter, which can be created using an immutable fluent API.

test run: https://scala-ci.typesafe.com/view/scala-2.11.x/job/scala-2.11.x-integrate-community-build/675/consoleFull (404 til Jenkins gets done trying to play a phonograph record with a peanut)

@sjrd what's this about?
[scala-js] [error] Test org.scalajs.testsuite.compiler.InteroperabilityTest.should_access_global_scope_for_JSGlobalScope_members failed: scala.scalajs.js.JavaScriptException: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode, took 0.000999936 sec

Hum looks like an old version of Node.js. What version is available on the CI?

the InteroperabilityTest thing isn't specific to this PR — I'll open a separate ticket if I get stuck on it

Thanks!


Update README.md

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

The only reason you don't have a social life, is because you post your social media info everywhere, and expect it to make you popular...