Allow configuration of the LDAP plugin without installing the LDAP-Plugin

Currently, it is not possible to configure the LDAP settings in the sonar.properties without actually installing the LDAP plugin. Whereas this seems totally reasonable, it turns out to be a problem as soon as the installation of the LDAP plugin fails when using the sonarqube::plugin type. This occured to us, when we were trying to setup LDAP behind our corporate proxy.
Therefore, is suggest that it should be possible to specify LDAP configuration using the sonarqube/ldap parameter, but without letting this module try to actually install the LDAP plugin. With my suggested change this is possible by declaring sonarqube like
class { 'sonarqube':
  ...
  ldap => {
    manage_plugin => false,
    url           => ...,
    ...
  },
}

It does this is backward-compatible way, i.e. if the manage_plugin stanza is omitted, it behaves as if it was set to true.

I'm not keen to add this feature as it is a very specific use case.
To better understand your issue, could you please detail how you provision the SonarQube plugins (LDAP and the others) then?

The use case is "Setup Sonarqube with LDAP behind a corporate Proxy", which should be supported, I think. But as I explained above, imho it is currently impossible to do this, using this module.
To answer your question: If I remember correctly, these Sonarqube Plugins come as *.jar files or something like that, and we just had to drpo them into the corresponding directory within the SonarQube installation directory, eventually restarting the SonarQube service afterwards.

This is a use case that should be dealt with by adding a layer on top on this puppet-sonarqube module on your side. It shouldn't be the responsibility of this puppet-sonarqube module to deal with your use case. Moreover, you shouldn't manually drop these jar files after having provisioned your machine.
We're exactly in the same situation (behind a corporate proxy). Here's how we call the sonarqube class, telling the puppet-sonarqube module to get the plugin jar files from a specific group in Nexus:
class { 'maven::maven':
    repo => {
      url => 'http://nexus.xxx.com/content/groups/xxx-group-sonarqube'
    }
  }
  ->
  class { 'sonarqube':
    version          => $version,
    ...

You should be able to do the same, shouldn't you?

Ah okay, I think I'm starting to get the big picture now... We have done this before for ruby gems and python packages as well, but the problem is that we have almost no java background. So maven is for java like pip is for python,  and Nexus is like a python package index? Then we definitely should go for a private Nexus instance...

Yep, you can install a private repository manager (Nexus or another one).

Shall I close this pull request then?

Yes, please close it. Thanks for your Feedback!
Am 31.07.2015 12:56 nachm. schrieb "David RACODON"<EMAIL_ADDRESS>
:

Shall I close this pull request then?
—
Reply to this email directly or view it on GitHub
https://github.com/maestrodev/puppet-sonarqube/pull/34#issuecomment-126651176
.


<IP_ADDRESS>/24 no longer defined (IANA RESERVED)

<IP_ADDRESS>/24 seems to be no longer IANA Reserved (added in #174), it should be removed from is_defined list:
whois <IP_ADDRESS>
% Copyright (c) Nic.br
%  The use of the data below is only permitted as described in
%  full by the terms of use at https://registro.br/termo/en.html ,
%  being prohibited its distribution, commercialization or
%  reproduction, in particular, to use it for advertising or
%  any similar purpose.
%  2021-09-28T11:39:13-03:00 - IP: XX.XX.XX.XX

inetnum:     <IP_ADDRESS>/24
aut-num:     AS268313
abuse-c:     DANOG27
owner:       Fernandes & Rodrigues Consultores Associados
ownerid:     11.125.730/0001-35
responsible: Felipe Alcarde Rodrigues
owner-c:     FEARO14
tech-c:      DANOG27
created:     20180618
changed:     20200618

nic-hdl-br:  FEARO14
person:      Felipe Alcarde Rodrigues
created:     20090408
changed:     20180827

nic-hdl-br:  DANOG27
person:      Daniel Nogueira
created:     20120626
changed:     20200618

% Security and mail abuse issues should also be addressed to
% cert.br, http://www.cert.br/ , respectivelly to<EMAIL_ADDRESS>% and<EMAIL_ADDRESS>%
% whois.registro.br accepts only direct match queries. Types
% of queries are: domain (.br), registrant (tax ID), ticket,
% provider, CIDR block, IP and ASN.

Thanks!


Handle empty subject

@Osmose ping

Oh hey, guess who didn't ever set himself to watch the repo?
My bad.

Tagged in https://github.com/Osmose/mailman-admin-helper/releases/tag/v0.1.7. XPI should be up there soon. Thanks!

Thanks!

Am 05.08.2017 um 20:52 schrieb Michael Kelly<EMAIL_ADDRESS>Tagged in https://github.com/Osmose/mailman-admin-helper/releases/tag/v0.1.7. XPI should be up there soon. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


TF 5298/5286 organize calc slug file and convert to ts

Ticket(s)

[Airtable ticket 5298 - break file up]
[Airtable ticket 5286 - convert to ts]

Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Description
This breaks the [slug] calculator template file into more manageable chunks which I'll refer to here as secondary components. Using intuitive break points, I sectioned the calculator off into individual non-export functions, which render inside the calculatorSlugRoute function as secondary components. The main component holds a few pieces of state or functionality, and the requirement to be in this main function is that they must be shared between more than one secondary component. Each of the secondary components holds individual state or functionality, and its JSX return. It is most easily viewed by minimizing each function so that you can see the bigger picture (as shown in the first image below). The main component is now much easier to understand and visualize (see the second image below).
I updated the syntax on the final page conditionals so that it is easier to read and understand, and I was able to remove a few duplicate checks and condense items.
I also went through each of the secondary components and cleaned up styling, eliminated any excess or duplicate, and added classnames so that debugging the entire file from the browser is also easier.
During the conversion to typescript there were several errors that made themselves known, that javascript doesn't mind, so I made a small adjustment to the portableTextComponent and updated the call to print the PDF with the correct number of arguments.
I typed the getStaticProps and getStaticPaths functions, and created interfaces to type all of the static props. I also created a SharedCalcProps interface to hold types for all the props that are NOT static and are passed around dynamically throughout the file. Each secondary component is then able to access all of these props as well.
Screenshots
Include relevant screenshots.

Checklist:
Please delete any options that are not relevant

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings in the console
[x] There are no new linting errors/problems in my code
[x] I have filled this PR out fully, and cleaned up any extraneous items so that it is clear and easy to understand

This is so much easier to understand! Great work.
I'm wondering if we should break this out even further. Create a file for the props and then import. Same thing with the functional pieces. So the slug file only holds the pages (first page, question page, final page). And import everything those pages need. What do you think?

@mhyneman8 I created a new components folder /components/calculator/misdemeanor to hold all of the calculator pieces. I created a new file /utils/calculator.props.ts to hold both static and shared props.


Color output when stdout is interactive

See https://docs.python.org/3.6/library/os.html#os.isatty

What would we color? This isn't code, there's no syntax. Would you like names to be coloured or something?

Coloring the matched text when the -o flag is not used. Just like Gnu grep with —color flag (—color=auto by default). This makes matches easier to view in text with long lines.

Forgot that was a thing. This will be even more useful now that --context works.


[5.5][Sema] Revert temporary downgrade of diagnostic on misplaced unownedExecutor

(Cherry-picked from #38214)
In #37823, we downgraded this error to a warning unblock support for building Swift with Xcode 13 & on macOS Monterey.
@rjmccall fixed the underlying problem in #37846, so this terrible workaround can be safely reverted now.
rdar://78932296

@swift-ci test


Remove extra body kwarg in secrets endpoint tests

Is your feature request related to a problem? Please describe.
Currently as a workaround to an OpenAPI generator issue we need to include an extra body="" kwarg in calls to the createSecret operation when using the expirations option. This should be fixed as soon as the OpenAPI bug is fixed.
Example

@telday is this fixed? can the issue be closed?


Security vulnerability in dependency cross-undici-fetch

Describe the bug
When your app uses @graphql-codegen/cli and you have dependabot alerts enabled you will get an (unresolvable) alert that undici prior to v5.8.0 is insecure.
Your Example Website or App
https://github.com/GamerBene19/gql-codegen-example
Steps to Reproduce the Bug or Issue

Fork example repo
Go to security tab
Enable dependabot alerts like so:

Wait
Observe following two (unresolvable) dependabot alerts:

Expected behavior
The "expected behavior" would be to not have a vulnerable version as a dependency or being able to update to a non-vulnerable version.
Screenshots or Videos
No response
Platform

OS: Arch Linux, but should be irrelevant
NodeJS: v17.9.0, but should be irrelevant
graphql version: 16.5.0, but should be irrelevant
@graphql-codegen/cli version(s): 2.9.1, very much relevant

Codegen Config File
No response
Additional context
As far as I can tell the (problematic) version of undici is a transitive dependency of cross-undici-fetch  from here.
A quick google search revealed that perhaps this package (which might very well just be a renamed version of the original one) is a replacement?

@GamerBene19, this vulnerability has been fixed by @gustaff-weldon and shipped in<EMAIL_ADDRESS>📦

@GamerBene19, this vulnerability has been fixed by @gustaff-weldon and shipped in<EMAIL_ADDRESS>package

Nice! Thanks @gustaff-weldon :smile:

The issue is still present: @whatwg-node/fetch depends on undici 5.5.1, which is vulnerable

Interesting... The package.json I linked above depends on 5.8.0 🤔

@ardatan could it be linked to our dependency to<EMAIL_ADDRESS>that depends on cross-undici-fetch@^0.4.11?:
"<EMAIL_ADDRESS>  version "7.3.1"
  resolved<EMAIL_ADDRESS>  integrity sha512-PJhX4gQeoPtR2BJFYHYVLdLYkqQHB94r9IC64GamFV+kxR+jzQYZJdDTgnFZxvpvGJ7rEgYKNjcfWS+r+CQisQ==
  dependencies:
    "@graphql-tools/utils" "8.8.0"
    cross-undici-fetch "^0.4.11"
    sync-fetch "0.4.1"
    tslib "^2.4.0"

@charlypoly FYI @whatwg/fetch also needs to include the update on a new release: https://github.com/ardatan/whatwg-node/commits/master/packages/fetch/package.json

Running into this issue in our application code as well.

https://github.com/dotansimha/graphql-code-generator/issues/8012#issuecomment-1173608427
We had an issue with the latest versions of Undici and we downgraded and kept that version on purpose.
We preferred to fix this regression and ignore npm audit errors temporarily that are mostly unreliable in my opinion. We will update undici for sure but first we need strict tests to prevent future regressions caused by Undici or any other dependency we have.
Also see about npm audit
https://overreacted.io/npm-audit-broken-by-design/

@drewmendenhall is right, I have wrongly assumed this change has been released in @whatwg/fetch. I should have done a better diligence.
@ardatan is there any timeline on the release of @whatwg/fetch with undici 5.8.0?

No currently we don't have any timeline because npm audit is not our priority as I already said. And I don't think Codegen as CLI would affect you with this "vulnerability".

@ardatan thanks, I'm aware of audit deficiencies and have read Dan's article long time ago, but you must also take into account that in many companies there are certain policies related to security vulnerabilities and it is hard to dismiss them just on a "npm audit is broken" basis.
In our case, this is reported by Github on our dependency security checks, we investigate what's the scope of use of affected libs and decide on the resolution, but I would not be surprised if for many, removing the dependency on older undici versions will rely on your update to @whatwg/fetch.

@gustaff-weldon If that new version is broken, we cannot update it until it gets fixed on their side. If we update it even if it is broken, then you won't be able to use the library at all.
By the way, you are free to force your package manager to install the newer version on your side.

we cannot update it until it gets fixed on their side

I assume thy know sth is broken.

By the way, you are free to force your package manager to install the newer version on your side.

@ardatan yup, we do that as a last resort with resolutions.
Thanks for chiming in, we have solved the issue on our side, I hope you'll be able to solve it on @whatwg/fetch sooner than later 🤞

After hours of work, we finally figured out to make things work on our side with 5.8.0 by adding some workarounds.
https://github.com/dotansimha/graphql-code-generator/pull/8155
So this PR is merged, the new patch version will be available soon.

<EMAIL_ADDRESS>has been released. It doesn't use cross-undici-fetch that depends on the older version of undici. Now it uses @whatwg-node/fetch which uses the latest undici.
https://github.com/dotansimha/graphql-code-generator/blob/master/yarn.lock#L14704

I recently upgraded to 2.11.3 but still have a dependency on an older version of undici via a graphql-config. Is this a known issue or are there any workarounds to resolve this dep vulnerability?

It seems you still have the older version of url-loader package. Those are ranged dependencies so I think they would be gone after recreating yarn.lock or package-lock.json file by removing them and running npm install or yarn install.

Thanks @ardatan . I should have done that before coming to you on this thread!

Just for everyone's interest: I've archived my repository and will delete it in one month.
So if - for whatever reason - anyone still needs it feel free to fork.


Replace LaTeX.gitignore by a symlink to GitHub's TeX.gitignore

GitHub maintains a perfect TeX.gitignore at https://github.com/github/gitignore/blob/master/TeX.gitignore.
This also includes all files generated by LaTeX programs.
The custom LaTeX.gitignore seems to be incomplete when compared to the one by GitHub.
I know, that there is a difference between tex and latex.
I assume that GitHub treats tex as superset of latex and thus provides one general gitignore file matching both worlds.
Replacing the contents of LaTeX.gitignore by a symlink to GitHub's TeX.gitignore offers the users to search for LaTeX at gitignore.io http://gitignore.io/ with no code modifications required.

Thanks for catching this.  It's merged in and live.


Php 8.1 issue "Deprecated: Return type of Money\Currencies\ISOCurrencies::getIterator() "

Deprecated: Return type of Money\Currencies\ISOCurrencies::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable.
Laravel: 8.40
Laravel-cashier-mollie: 2.0
PHP: 8.1
I think this is another PHP 8.1 issue.

Looks to be similar to #54

@vollit what's the current version of moneyphp/money you're using?
Can you try updating it to at least version 4.0.3?

I can change the version of Moneyphp/money in my own root composer.json, but then it gives me this problem. Can I ignore this, or will it break? :
  Problem 1
    - Root composer.json requires mollie/laravel-cashier-mollie ^2.2  -> satisfiable by mollie/laravel-cashier-mollie[v2.2.0].
    - mollie/laravel-cashier-mollie v2.2.0 requires moneyphp/money ^3.2 -> found moneyphp/money[dev-master, v3.2.0, ..., 3.x-dev (alias of dev-master)] but it conflicts with your root composer.json require (^4.0.3).

Can you share your complete composer.json file so we can reproduce your issue here?

It's a simple problem, the 'Laravel-cashier-mollie' package wants Money  "moneyphp/money": "^3.2", in the composer.json. And i want to overwrite it to 4.0.3 in my own (root) composer.json.
Maybe the problem is solved when the composer.json of the package composer require changes to:   "moneyphp/money": "^3.2|^4.0", Or is this not the way how it should work?
{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.3|^8.0|^8.1",
        "ext-pcntl": "^8.0",
        "ext-posix": "^8.0",
        "barryvdh/laravel-dompdf": "^0.9.0",
        "calebporzio/onboard": "^1.7",
        "cesargb/laravel-magiclink": "^2.11",
        "fideloper/proxy": "^4.4",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "intervention/image": "^2.5",
        "josegus/laravel-flash": "^1.2",
        "laravel/framework": "^8.40",
        "laravel/horizon": "^5.7",
        "laravel/tinker": "^2.5",
        "laravel/ui": "^3.3",
        "livewire/livewire": "^2.5",
        "maatwebsite/excel": "^3.1",
        "mollie/laravel-cashier-mollie": "^2.2 ",
        "moneyphp/money": "^4.0.3",
        "predis/predis": "^1.1",
        "simplesoftwareio/simple-qrcode": "^4.2",
        "sopamo/laravel-filepond": "^0.6.2",
        "spatie/laravel-multitenancy": "^2.0",
        "spatie/laravel-permission": "^4.2"
    },
    "require-dev": {
        "barryvdh/laravel-debugbar": "^3.6",
        "facade/ignition": "^2.5",
        "fakerphp/faker": "^1.9.1",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.2",
        "nunomaduro/collision": "^5.0",
        "phpunit/phpunit": "^9.3.3"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
        "platform": {
            "php": "8",
            "ext-pcntl": "8.0",
            "ext-posix": "8.0"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Since last week, Cashier Mollie also supports MoneyPHP 4
https://github.com/mollie/laravel-cashier-mollie/blob/6842dd2b98de3b7b56e4a4030794d40e7924115a/composer.json#L41

Thnx for the reply's, I will close this issue.

No problem, enjoy!


Fix infinite ticks when using negative multiplier

I was using impetus to update scrollLeft and scrollTop of a parent container and thus using a negative multiplier to invert scroll direction.
Then the stop condition for requesting new animation frames was never hit.
destroy() can't stop it either - that would be worth a fix too (#31).

This patch solves a really important issue. @chrisbateman have you any plan to merge it anytime soon? Thanks


Stricter typings

We need to tighten our flow typings. People will probably (even if we don't explicitly export them) start using them in their code, and it might break stuff.

Can I give this one to you? My flowfu is pretty low-fu...

@ryyppy and I will do this after launch together, this needs more time

I am definitely in for helping out here 👍

👋  I can help out on this if you want

Yes @jongold! Wanna pair with me and @ryyppy on this?


🐛 "Model API Params" link is broken in the docs

👋 "Model API Params" link is broken in the docs.
https://doc.onetable.io/api/model/methods/#model-api-params

Thanks. We'll fix.
These issues can be logged at:
https://github.com/sensedeep/onedoc


export_yaml()

To be included in the parser.py module. This function entails exporting a Model object to a YAML file.
This issue should be accompanied by unit tests.

Is being deprecated, in favor of #31


[webapi][XWALK-3890] Sync Battery Status tests to latest W3C tests

Sync W3C Battery Status tests to latest
Remove old tests because they're covered by W3C tests

Impacted tests(approved): new 59, update 0, delete 19
Unit test platform: [Android]
Unit test result summary: pass 50, fail 7, block 2

[TreatNonCallableAsNull] has dropped in latest spec, i will update this PR  after remove its tests in w3c web-platform tests

Thanks, https://github.com/w3c/web-platform-tests/pull/1775 is landed, please go ahead.

Unit test platform: [Android]

Better with Crosswalk version. CC @haoxli


tree assignment behaves strangely if paired with a shape collection

If thereis a hape collection as first subassignment and a tree as second assignment, the styling of the edges of the tree is screwed up. I am not sure who can look into that and understand what is going on, so I am assigning everyone who worked on that web API before.

Even if you can't have a fix, if we can have an idea of what the problem is that would already be helpful.

I'm going to assume it has something to do with the stroke attributes in
the shape collection not being isolated to the shape collection's
subassignment in the json or the way the JavaScript parses assignments
On Thu, Mar 12, 2020, 21:08 Erik Saule<EMAIL_ADDRESS>wrote:

Even if you can't have a fix, if we can have an idea of what the problem
is that would already be helpful.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/BridgesUNCC/bridgesAPI/issues/49#issuecomment-598513327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIPPIPYGVCUSK3Z77ANV63DRHGIRTANCNFSM4LGZCWOQ
.

It is a good idea @AlecGoncharow gave today to try to reproduce the bug with other datastructure

If the first assignment is not a SymbolCollection then the trees render fine. This seems to imply the rendering javascript is not parsing the assignment JSON properly. This does not affect linked lists it seems.

This is fixed on clone now.
What was happening is that the BST visualization was not defining a fill parameter for the edges of the BST. Because of that the rendering in libsvg of the browser was not setting the fill. And therefore was using whatever the previous fill of any svg component was.
If there was an symbol collection, it was likely that there was some kind of a fill used somewhere that changed the practical behavior of undefined fill.
The latest commit defines a proper fill for the edges. I'll deploy on live soon.


Change "stared" to "started" typo

You can expect API support for everything you see in the portal. We have a swagger as well as documentation on how to get stared with our APIs.  Change "stared" to "started". hope this helps.

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

ID: beb96601-f906-374d-b0d8-537e5f80de3e
Version Independent ID: b66d21ae-1205-3d76-f577-d58891382c08
Content: App Center Push API - Visual Studio App Center
Content Source: docs/push/pushapi.md
Service: vs-appcenter
GitHub Login: @blparr
Microsoft Alias: blparr

@theyota thanks for letting us know, fixing it now.


Complete Settings Rewrite for LakeFs integration

Currently, the settings in the LakeFs branch are Suboptimal.
They are just for testing but need to be redesigned from the ground up to be easy to use for an Admin.
Some Problems.

they don't tell you what is a good idea and what not
they are unordered
They are not aligned and are not nice to look at overall.

fixed in feature/AY-5722_Implement_versoin_off_LakeCtlPy_into_ayonUsdPlugin_excample


Typo in onboarding screen (closes #23)

Fix typo in string resources.

Thanks for the Typo correction!


Pytest and pylint discovery fails for Azure Dev Ops project name with spaces (%20)

Create Azure Dev Ops project containing spaces
Clone git repository
Configure python environment with pytest and pylint
Create a python file and unit test
Open project in VS Code

Actual results:

Pylint fatal error: "No module named c:\Users\clill\Source\Repos\Debswana0Predictive0Analytics0Platform\DBSAISolution\DBSAIModels\code\dbsai_downtime_coarse_dms\train_model.py"
Test discovery error: "ERROR: Directory 'c:\Users\clill\Source\Repos\Debswana0Predictive0Analytics0Platform\DBSAISolution\DBSAIModels' not found. Check your '--rootdir' option."

Expected results:

Pylint runs successfully
Unit test is discovered by pytest

Note:
The root directory contains '0' where it should contain '%20'
Extension version: 2020.1.57204
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.93GB (6.55GB free)

Process Argv

Screen Reader
no

VM
0%

Looks like the rootdir contains '0' instead of '%20'

where it should contain '%20'. Two screenshots attached.

Linting  in the latest vscode-python extension is not working for me either so I've to downgrade it.

I'm also having issues with debugging, presumably from the same issue with rootdir.

Hi @chrislill 👋 Thank you for reaching out.
Issue #9490 should address that since it removes conda run usage, for now. In the meantime, as both of you pointed out, downgrading the extension to the previous release (2019.11) is a workaround.

Hi @chrislill and @sys-temd ,
The conda run fix is now merged in master, so if you're interested in trying it out before the Monday release you are welcome to download our Insiders build (Settings -> "python.insidersChannel": "daily").
Thank you for your patience!

Closing since the conda run work has been reverted in the latest release (2020.1.58038).
Note: seems to be a Windows-only problem, since the following commands worked on macOS + zsh:

~/opt/anaconda3/bin/conda run -n myenv python -m pytest --rootdir "/Users/kimiguel/Documents/Sandbox/conda spaces"
~/opt/anaconda3/bin/conda run -n myenv python -m pylint "~/Documents/Sandbox/conda spaces/hello.py"


python311Packages.peaqevcore: 19.7.0 -> 19.7.1

Changelog: https://github.com/elden1337/peaqev-core/releases/tag/19.7.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 290586 run on x86_64-linux 1

4 packages built:

python311Packages.peaqevcore
python311Packages.peaqevcore.dist
python312Packages.peaqevcore
python312Packages.peaqevcore.dist


Minimal invasive fix for #1153

Description
Just increasing the MAX_DEFERRED_LIGHT_COUNT in rendering/subpasses/lighting_subpass.h from 32 to 48 "fixes" all the error messages on exceeding some limit for point lights in the performance sample subpasses.
Build tested on Win10 with VS2022. Run tested on Win10 with NVidia GPU.
Fixes #1153
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making

Note: The Samples CI runs a number of checks including:

[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[ ] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions

If this PR contains framework changes:

[x] I did a full batch run using the batch command line argument to make sure all samples still work properly

Sample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

[x] I have tested the sample on at least one compliant Vulkan implementation
[ ] If the sample is vendor-specific, I have tagged it appropriately
[x] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[ ] Any dependent assets have been merged and published in downstream modules
[ ] For new samples, I have added a paragraph with a summary to the appropriate chapter in the readme of the folder that the sample belongs to e.g. api samples readme
[ ] For new samples, I have added a tutorial README.md file to guide users through what they need to know to implement code using this feature. For example, see conditional_rendering
[ ] For new samples, I have added a link to the Antora navigation so that the sample will be listed at the Vulkan documentation site

Merging - 3 approvals


add a summary stream

This adds a new stream type that instead of populating the wal entries in a transaction just gathers summary statistics for them.  This should be lighterweight.
Note it still needs DB connectivity for determining ns/rel names.

@bhand-mm I'm going to merge this without a thumbs up as you are out and I need it.  Please retroactively code review and ill make any changes.
Also note that i wasn't sure which wal log fields to use for tuple length and total length.  I stubbed them out for now.  Please fill in https://github.com/MediaMath/keryxlib/issues/48 with the fields for those.

👍


"policy" key in annotations should be namespaced

Annotations are typically namespaced in Kubernetes.
So,
annotations:
  policy: "..."

Should become something like
annotations:
  projectcalico.org/policy: "..."

Code Change
Doc Change

#25 has been merged and will be included in v0.2.0.
The doc change still needs to go in, so I'll leave this open until then.

Done as of v0.2.0


Add sea lanterns and bookshelves to SafeOreBreak

I don't think this fits with the goal of the feature, in that is is called safeOREbreak. Nor do I see how you could accidentally break these without silk. unless you were not paying any attention.

I don't think this fits with the goal of the feature

Fair, I just figured that, since glowstone is on there, the goal might be QOL protections against losing resources accidentally. Though, glowstone remains a natural resource whereas sea lanterns and bookshelves are crafting/factory products. It's still excruciating though when accidentally mining a bookshelf and getting nothing but a few books D:

I don't think this fits with the goal of the feature, in that is is called safeOREbreak.

I doubt the name was chosen with that level of care ;)
This seems like a nice QOL addition to me.
BTW, I'd like to see all the different ice variants added too.


How do we build an app from the Single APK approach

For the Single APK approach, assuming we would want to produce an app for the different clients/products that we are building i.e. G6PD, mADX, Covax, ANC. Do we either

[ ] Have a single code repo with multiple code branches that will reproduce  the different applications
[ ] Have multiple repositories for different  projects
[ ] Have  the configuration for the product flavours synced from the  build Gradle e.g https://github.com/opensrp/opensrp-client-chw/blob/master/opensrp-chw/build.gradle
[x] Have Server side config synced and loaded to the app upon login and generate the different UI/Workflows
cc. @pld

The last option, single apk, single app -- configs determine the product

Some notes here:

The base app should be a skeleton that will be receiving configs synced from the HAPI FHIR server? (Could be the Workflow server API on SDK )r that will be used to reproduce the different workflows for a specific use case e.g. ANC
What does the base app contain?
Configurable

Login/Logout
Register
Patient list
Patient profile
Sync

What will be the structure of the configuration and the sync mechanism to load them to the application?
What functionality will be needed to be built to be able to perform a configuration task?

For (3) the immediate option I see is tying these to the users role and syncing on login. If I'm a user with a covax role on first login it syncs down the fhir configurations for the roles I'm assigned, so the vax user profile view, the vax list view -- then it syncs the patients in my catchment area.
I feel pretty strongly we should push ALL configuration into FHIR files so that we can use it for syncing, including feature flags. I don't see the benefit of a separate configuration method that requires us to do another sync. If this means we have to use resources in unintended ways, like serialize a config, load it into a library resource and deserialize it on download, that is fine, we can built custom/unballoted resources overtime to move towards standard for all this later.

@pld @f-odhiambo i've enabled Discussions for fhir core. We can explore using it for discussions and only create Github issues when we have tasks. Let me know what you think

And P.S. discussions can be converted to issues

P.S. discussions can be converted to issues and vice versa


Play audio on gaze

I'm looking to have some my object AudioSource components start playing when they first gazed at (I actually need to figure out something better, because I need to place them in the spatial mesh first, then, later on, have the audio start, but first I need to fix this issue!).
How do I do a raycast from the camera (head position) to the various objects in the scene (that already have colliders available, as they use TapToPlace)
I have tried the following, but the audio starts right away (audio source property "play on awake" is off)
public class PlaySoundOnGaze : MonoBehaviour
{
    protected SpatialMappingManager spatialMappingManager;

    private bool isAudioPlaying = false;

    void Start()
    {
        spatialMappingManager = SpatialMappingManager.Instance;
    }

    void Update()
    {
        if (!isAudioPlaying)
        {
            Vector3 headPosition = Camera.main.transform.position;
            Vector3 gazeDirection = Camera.main.transform.forward;

            RaycastHit hitInfo;
            if (Physics.Raycast(headPosition, gazeDirection, out hitInfo, 30.0f, spatialMappingManager.LayerMask))
            {
                Debug.Log("Playing audio...");
                GameObject child = gameObject.transform.GetChild(0).gameObject;
                child.GetComponent<AudioSource>().Play();
                Debug.Log("is playing? " + child.GetComponent<AudioSource>().isPlaying);
                isAudioPlaying = true;
            }
        }
    }
}

I think the problem is that I'm raycasting into the spatial mesh? The raycast code was lifted out of the TapToPlace script.
How do I make it so the cursor has to be on the object for the raycast to be true?

Will he input system and gaze manager work? Create a behavior that implements the IFocusable interface and add the functions OnFocusEnter() and OnFocusExit(). Inside the OnFocusEnter() is where the audio should start playing. The gaze manager will handle the raycasting and hit detection, thought it will stop at the parent collider.

OnFocusEnter OnFocusExit is what I would use.
If you wanted to keep your Raycast code, I see you are using the spatialMappingManager.LayerMask. You could create a new layer and use that in its place. Then the Raycast would only hit if it has the correct layer.

@genereddick I see your point about layer masks, but could it not work with stuff on the same layer?
Surely there should be a way to figure out if you are hitting different objects in the same layer?

You can use Physics.RaycastAll (https://docs.unity3d.com/ScriptReference/Physics.RaycastAll.html)
Then loop through all the hits to find the one want. RaycastAll doesn't return them in any order -- so the closest one isn't necessarily the first in the array -- so you have to check by some other criteria ( (by name, type or whatever).

I second @killerantz suggestion to use the input manager, and implement the IFocusable interface and use that for your events.  This is the recommended way to do all input management at this point (Click, Focus, Manipulation, Navigation, etc)

@paulcanning I'm closing this as it seems you've got an answer to your question. If not let me know and I'll reopen.


Add duration as prop

I think this is a pretty simple change, but could you add the animation duration to go from one dot to the next as a prop? In the code it looks like it's 300ms, and from my experience with it, it feels a little slow and 200ms would probably make it feel more like instagram and other apps.
Thanks.

Addressed here: https://github.com/felire/react-native-animated-dots-carousel/pull/10


protocol: add a more general folder type for keybase1.Folders

And add a team folder type.  Deprecating the "private"  field until we can update the db and the client (at which point will remove it altogether).
r? @patrickxb @maxtaco
Issue: KBFS-2215

@chrisnojima or other @keybase/react-hackers -- could someone please fix flow stuff for me in this PR, or point me in the right direction?  https://ci.keyba.se/job/client/job/PR-7184/1/execution/node/237/log/

@strib I've pushed a fix -- Flow was complaining about the times we instantiate a new Folder without supplying this new required field.

@cjb thanks so much!


[SPIKE] swapping busboy for multer

    new file: core/server/middleware/ghost-multer.js
modified:   core/server/middleware/index.js
modified:   core/server/routes/api.js
modified:   package.json

Multer works fine when I run this on localhost

Hey @ckousik! Thanks for contributing!
From a quick glance, this looks good! (Haven't tested it in practice though).
Couple comments (excluding the other ones I made):

can you change the commit message to this: deps<EMAIL_ADDRESS>the reason tests are failing is you have some linting errors: if you run grunt lint locally it will show you your errors
if this truly removes busboy, all busboy-related code and references should be deleted
it would be cool if you could try and write some sort of tests (not sure how easy it is)

I don't see any file changes besides including the dependency?

I actually messed up when squashing commits....and now I don't know how to fix it. There's supposed to be quite a few changes

Time to get familiar with the reflog!
git reflog -20 will show you the last 20 states that git knows about:

Here you can see that each commit gets a HEAD@{#} reference.
This should bring your changes back

FYI - this PR seems to have 2 commits still.
I have some other feedback but it's more relevant to the discussion I think, so I'll write it on the issue.

https://github.com/TryGhost/Ghost/issues/6362#issuecomment-179309604
If we do press ahead with this change, the i18n keys for busboy should also be removed, or they should be changed to generic file upload keys and the equivalent error handling should be done.

I left some comments on the issue and there has been further discussion but not yet any further discussion around the implementation in this PR. Going to close this for now - it is linked to the issue so we can use it for discussion still, but it needs some more discussion & updates before it could be merged.


HLSL problem with binding shifts and global constant buffer

Given I need a binding shift applied to the global constant buffer, there is no way I can figure out to do so without having overlapping descriptor bindings unless explicit register syntax is used.
For example:
float4 g_vGlobalValues; // This ends up in globals

cbuffer CBufferTest_t
{
	float4 g_vCBuffer0Values;
};

struct VS_INPUT
{
	float3 vPositionWs : POSITION;
};

struct PS_INPUT
{
	float4 vColor;
};

PS_INPUT MainVs( VS_INPUT i )
{
	PS_INPUT o;
	o.vColor.rgba = g_vCBuffer0Values + g_vGlobalValues;
	return o;
}

If this is compiled without -fvk-bind-globals 14 0 like this then both the globalParams_0 will not get a binding shift applied and incorrectly get binding of 0:
slangc.exe test_vs.hlsl -o test_vs.hlsl.spv -profile glsl_450 -entry MainVs -enable-effect-annotations -stage vertex  -fvk-b-shift 14 0 -fvk-s-shift 58 0 -fvk-t-shift 218 0 -fvk-u-shift 482 0 -dump-intermediates

Will result in GLSL like:
layout(binding = 15)
layout(std140) uniform _S1
{
    vec4 g_vCBuffer0Values_0;
}CBufferTest_t_0;

#line 3
struct GlobalParams_0
{
    vec4 g_vGlobalValues_0;
};

#line 3
layout(binding = 0)
layout(std140) uniform _S2
{
    vec4 g_vGlobalValues_0;
}globalParams_0;

This is almost correct, if the binding shift had been applied to globalParams_0 it would be what I want.  So then I try to workaround it by explicitly giving a binding to global params with -fvk-bind-globals 14 0:
slangc.exe test_vs.hlsl -o test_vs.hlsl.spv -profile glsl_450 -entry MainVs -enable-effect-annotations -stage vertex  -fvk-b-shift 14 0 -fvk-s-shift 58 0 -fvk-t-shift 218 0 -fvk-u-shift 482 0 -fvk-bind-globals 14 0 -dump-intermediates

and now I get:
layout(binding = 14)
layout(std140) uniform _S1
{
    vec4 g_vCBuffer0Values_0;
}CBufferTest_t_0;

#line 3
struct GlobalParams_0
{
    vec4 g_vGlobalValues_0;
};

#line 3
layout(binding = 14)
layout(std140) uniform _S2
{
    vec4 g_vGlobalValues_0;
}globalParams_0;

Now globalParams_0 is at the right binding, but CBufferTest_t_0 was given the same binding.
Ideally the behavior would be:

Binding shift is applied to the global cbuffer if not explicitly specified
If -fvk-bind-globals is specified, then that binding is used explicitly, but no other binding should overlap with it (i.e. in this case CBufferTest_t_0 would be automatically placed at 15).

#3033 Partially fixes this issue by making global constant buffer binding subject to -fvk-b-shift when -fvk-bind-globals is not present. However it does not fix the desired behavior when both -fvk-b-shift and -fvk-bind-globals exists. This requires us to reimplement the shifting logic.
@jsmall-nvidia Currently we allocate the bindings, then apply the shift. To implement the desired behavior here, we need to take vulkan shift into account when we allocate the bindings.

#3033 fixes my problem, I think this can be closed.  In any case where -fvk-bind-globals would be used, I think it's safe to assume everything will have explicit descriptor bindings.

OK, closing now. We can work on a full fix later if is required.


Cannot read property 'spec' of undefined

Describe the bug
just run npm init vite@latest my-vue-app -- --template vue
Reproduction
i can not provide it
System Info
System: win10
Node: v14.15.4
npm: 7.6.2

Used Package Manager
npm
Logs
D:\Demo>npm init vite@latest my-vue-app -- --template vue
Need to install the following packages:
  create-vite@latest
Ok to proceed? (y) y
npm ERR! Cannot read property 'spec' of undefined

npm ERR!      E:\nodejs\node_cache\_logs\2022-01-05T01_32_49_537Z-debug.log

0 verbose cli [
0 verbose cli   'E:\\nodejs\\node.exe',
0 verbose cli   'E:\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js',
0 verbose cli   'init',
0 verbose cli   'vite@latest',
0 verbose cli   'my-vue-app',
0 verbose cli   '--',
0 verbose cli   '--template',
0 verbose cli   'vue'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing config:load:defaults Completed in 1ms
4 timing config:load:file:E:\nvm\nvm\v14.15.4\node_global\node_modules\npm\npmrc Completed in 3ms
5 timing config:load:builtin Completed in 3ms
6 timing config:load:cli Completed in 2ms
7 timing config:load:env Completed in 1ms
8 timing config:load:file:D:\Demo\.npmrc Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:C:\Users\xiaoming\.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:E:\nodejs\node_global\etc\npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 1ms
15 timing config:load:validate Completed in 2ms
16 timing config:load:setUserAgent Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 13ms
19 verbose npm-session 7ffb1ec277bc6d3a
20 timing npm:load Completed in 26ms
21 http fetch GET 200 https://registry.npm.taobao.org/create-vite 179ms
22 timing arborist:ctor Completed in 1ms
23 timing arborist:ctor Completed in 0ms
24 timing arborist:ctor Completed in 0ms
25 timing idealTree:init Completed in 13ms
26 http fetch GET 304 https://registry.npm.taobao.org/create-vite 44ms (from cache)
27 timing idealTree:userRequests Completed in 50ms
28 silly idealTree buildDeps
29 silly fetch manifest<EMAIL_ADDRESS>30 silly placeDep ROOT<EMAIL_ADDRESS>OK for:  want: 2.7.2
31 silly fetch manifest<EMAIL_ADDRESS>32 silly fetch manifest<EMAIL_ADDRESS>33 silly fetch manifest<EMAIL_ADDRESS>34 http fetch GET 304 https://registry.npm.taobao.org/minimist 40ms (from cache)
35 http fetch GET 304 https://registry.npm.taobao.org/prompts 89ms (from cache)
36 http fetch GET 200 https://registry.npm.taobao.org/kolorist 121ms
37 timing idealTree:#root Completed in 128ms
38 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: ^1.5.0
39 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: ^1.2.5
40 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: ^2.4.2
41 silly fetch manifest<EMAIL_ADDRESS>42 silly fetch manifest<EMAIL_ADDRESS>43 http fetch GET 304 https://registry.npm.taobao.org/kleur 45ms (from cache)
44 http fetch GET 304 https://registry.npm.taobao.org/sisteransi 59ms (from cache)
45 timing idealTree:node_modules/create-vite Completed in 67ms
46 timing idealTree:node_modules/kolorist Completed in 0ms
47 timing idealTree:node_modules/minimist Completed in 0ms
48 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: ^3.0.3
49 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: ^1.0.5
50 timing idealTree:node_modules/prompts Completed in 2ms
51 timing idealTree:node_modules/kleur Completed in 0ms
52 timing idealTree:node_modules/sisteransi Completed in 0ms
53 timing idealTree:buildDeps Completed in 200ms
54 timing idealTree:fixDepFlags Completed in 0ms
55 timing idealTree Completed in 264ms
56 timing reify:loadTrees Completed in 265ms
57 timing reify:diffTrees Completed in 1ms
58 silly reify moves {}
59 timing reify:retireShallow Completed in 1ms
60 timing reify:createSparse Completed in 0ms
61 timing reify:loadBundles Completed in 0ms
62 timing reify:unpack Completed in 0ms
63 timing reify:unretire Completed in 0ms
64 timing build:queue Completed in 0ms
65 timing build:deps Completed in 0ms
66 timing build Completed in 0ms
67 timing reify:build Completed in 0ms
68 timing reify:trash Completed in 0ms
69 timing command:exec Completed in 2890ms
70 timing command:init Completed in 3005ms
71 verbose stack TypeError: Cannot read property 'spec' of undefined
71 verbose stack     at Arborist.[saveIdealTree] (E:\nvm\nvm\v14.15.4\node_global\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:893:48)
71 verbose stack     at E:\nvm\nvm\v14.15.4\node_global\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:135:39
71 verbose stack     at async Arborist.reify (E:\nvm\nvm\v14.15.4\node_global\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:131:5)
71 verbose stack     at async Exec._exec (E:\nvm\nvm\v14.15.4\node_global\node_modules\npm\lib\exec.js:190:9)
72 verbose cwd D:\Demo
73 verbose Windows_NT 10.0.19043
74 verbose argv "E:\\nodejs\\node.exe" "E:\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js" "init" "vite@latest" "my-vue-app" "--" "--template" "vue"
75 verbose node v14.15.4
76 verbose npm  v7.6.2
77 error Cannot read property 'spec' of undefined
78 verbose exit 1

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I cannot reproduce the error by running npm init vite@latest my-vue-app -- --template vue. Please provide a mini repo to reproduce.

more details are needed

I don't konwn why

I cannot reproduce the error by running npm init vite@latest my-vue-app -- --template vue. Please provide a mini repo to reproduce.

i just run this command.but it doesn't work


dotnet edgeql tool

Summary
As outlined in https://github.com/quinchs/EdgeDB.Net/issues/21, this tool provides a way to create .cs files from .edgeql files. All commands/parameters are up for change to meet consistency with other edgedb tools
Commands
The dotnet tools cli name is edgedb-net, mimic'ing the pythons edgedb-py command name.
Generate
generate is the main command to generate source files from edgeql.

Arguments
  p, project             Whether or not to create the default class library that
                         will contain the generated source code. Enabled by
                         default.

  o, output              The output directory for the generated source to be
                         placed. When generating a project, source files will be
                         placed in that projects directory. Default is the
                         current directory

  n, project-name        The name of the generated project and namespace of
                         generated files.

  f, force               Force regeneration of files

  w, watch               Listens for any changes or new edgeql files and
                         (re)generates them automatically

  dsn                    DSN for EdgeDB to connect to (overrides all other
                         options except password)

  credentials-file       Path to JSON file to read credentials from

  I, instance            Local instance name created with edgedb instance create
                         to connect to (overrides host and port)

  H, host                Host of the EdgeDB instance

  P, port                Port to connect to EdgeDB

  d, database            Database name to connect to

  u, user                User name of the EdgeDB user

  password               Ask for password on the terminal (TTY)

  password-from-stdin    Read the password from stdin rather than TTY (useful
                         for scripts)

  tls-ca-file            Certificate to match server against

                         This might either be full self-signed server
                         certificate or certificate authority (CA) certificate
                         that server certificate is signed with.

  tls-security           Specify the client-side TLS security mode.

  loglevel               Configure the log level

  help                   Display more information on a specific command.

  version                Display version information.

Example
$ edgedb-net generate -o ~/myproject/src/generated

Connection uses the same resolution logic as the edgedb CLI tool, as well as the same arguments for specifying connection parameters.
Watch
The watch command is simply to start/stop/view the watcher for the current project.

Arguments
  t, directory           The directory to watch for .edgeql files.

  k, kill                Kill the current running watcher for the project

  b, background          Runs the watcher in a background process

  o, output              The output directory for the generated source to be
                         placed.

  n, project-name        The name of the generated project and namespace of
                         generated files.

  dsn                    DSN for EdgeDB to connect to (overrides all other
                         options except password)

  credentials-file       Path to JSON file to read credentials from

  I, instance            Local instance name created with edgedb instance create
                         to connect to (overrides host and port)

  H, host                Host of the EdgeDB instance

  P, port                Port to connect to EdgeDB

  d, database            Database name to connect to

  u, user                User name of the EdgeDB user

  password               Ask for password on the terminal (TTY)

  password-from-stdin    Read the password from stdin rather than TTY (useful
                         for scripts)

  tls-ca-file            Certificate to match server against

                         This might either be full self-signed server
                         certificate or certificate authority (CA) certificate
                         that server certificate is signed with.

  tls-security           Specify the client-side TLS security mode.

  loglevel               Configure the log level

  help                   Display more information on a specific command.

  version                Display version information.

Example
$ edgedb-net watch
[18:56:09 INF] Watcher started for /My/Awesome/Project

$ edgedb-net watch --background
[18:56:46 INF] Background process started with id 38294

Project root is located from the output directory, if none is specified then the current directory + namespace is used.
Generation structure
Code generation will generate a source file per edgeql file, ignoring files in ./dbschema/migrations/*, each generated source file contains a class representing the result and a class containing execute methods. Here's an example:
EdgeQL
select Person {
  name, email
}
filter .email = <str>$email

Source file
// AUTOGENERATED: DO NOT MODIFY
// edgeql:E116C5881529C70BFC6A9D0350075968AD967D391FEE0F74033FA870A1FE56DD
// Generated on 2022-08-26T11:52:03.5962767Z
#nullable enable
using EdgeDB;

namespace EdgeDB.Generated;

#region Types
[EdgeDBType]
public sealed class GetUserResult
{
    [EdgeDBProperty("id")]
    public Guid Id { get; set; }

    [EdgeDBProperty("name")]
    public String? Name { get; set; }

    [EdgeDBProperty("email")]
    public String? Email { get; set; }
}

#endregion

public static class GetUser
{
    public static readonly string Query = @"select Person {
	name, email
}
filter .email = <str>$email";

    public static Task<GetUserResult?> ExecuteAsync(IEdgeDBQueryable client, String? email, CancellationToken token = default)
        => client.QuerySingleAsync<GetUserResult>(Query, new Dictionary<string, object?>() { { "email", email } }, capabilities: (Capabilities)0ul, token: token);

    public static Task<GetUserResult?> GetUserAsync(this IEdgeDBQueryable client, String? email, CancellationToken token = default)
        => ExecuteAsync(client, email, token: token);
}
#nullable restore

A user consuming this generated file has two ways of using it:
// Option one: extension methods
using EdgeDB.Generated;

var client = new EdgeDBClient(...);
var user = await client.GetUserAsync(email: "example@example.com");

...

// Option two: direct call
using EdgeDB.Generated;

var client = new EdgeDBClient(...);
var user = await GetUser.ExecuteAsync(client, email: "example@example.com");

Example app
An example application was made to test out the flow of code generation, this was the command used to generate ./EdgeDB.Generated in that app:
$ edgedb-net generate

@1st1 @fantix ready for review!

@quinchs I'd like to propose us adding another callable to the .NET domain for CLI commands and adding a new documentation page surrounding usage of all commands. EdgeDB already have a Sphinx reference as :cli:synopsis:. Maybe we could use this as well?

Is this tool already available or still in the works?


How to use websockets for live data?

I want to enable live queries over websockets.. how can I make it happen in this repo?

Shouldn't be any difference than any other project. You need a persistent server or use a service such as Soketi or Pusher.
Do you have any reproduction of where this isn't working?

Feel free to reopen with a repro if you face any issues


Swagger API: rename repoAddTopíc to repoAddTopic

This changes the operationId of operation "repoAddTopic" to only contain 7-bit ascii, note "i" instead of "í"

Codecov Report

Merging #16580 (5b556e2) into main (72738f0) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #16580      +/-   ##
==========================================
+ Coverage   45.35%   45.36%   +0.01%
==========================================
  Files         750      750
  Lines       85096    85096
==========================================
+ Hits        38599    38608       +9
+ Misses      40252    40245       -7
+ Partials     6245     6243       -2

Impacted Files
Coverage Δ

routers/api/v1/repo/topic.go
47.47% <ø> (ø)

modules/process/manager.go
72.83% <0.00%> (-2.47%)
:arrow_down:

modules/queue/workerpool.go
53.05% <0.00%> (-1.53%)
:arrow_down:

modules/log/event.go
59.72% <0.00%> (-0.93%)
:arrow_down:

services/pull/pull.go
42.13% <0.00%> (+0.40%)
:arrow_up:

modules/git/blame.go
67.14% <0.00%> (+1.42%)
:arrow_up:

services/pull/patch.go
55.93% <0.00%> (+1.69%)
:arrow_up:

services/pull/check.go
28.27% <0.00%> (+2.75%)
:arrow_up:

services/pull/temp_repo.go
34.61% <0.00%> (+3.84%)
:arrow_up:

models/gpg_key_common.go
64.51% <0.00%> (+4.83%)
:arrow_up:

Continue to review full report at Codecov.

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

After main was merged into the branch, the build fails with "TypeError: String.prototype.startsWith called on null or undefined"
This is also a problem in other PRs, so I guess there is something wrong in main?

@larshp indeed, your PR is correct. We need to resolve an unrelated issue before being able to merge your PR. Thank you for your work on this PR.


feat: Table spacing adjustments for Visual Refresh.

Description
This PR implements a subset of planned adjustments to the table spacing in Visual Refresh:

Tables within containers are only indented once
Tables within containers with horizontal scroll and a footer extend the divider to the edge
Tables without selection remove left padding from the first cell
Tables with selection align the selection control with the filter search icon
Tables with sorting align the last cell caret icon with the pagination preferences icon

Tables within containers with horizontal scroll and a footer extend the divider to the edge

Do we have any visual test for this?


JavaScript and TypeScript sorted differently

Hi!
I came across a bug, where the sorted result is different for JavaScript and TypeScript:
Version: 2.4.0
Style: module
JavaScript Result:
import { Time } from './time';
import { TimeZone } from './time-zone';

TypeScript Result:
import { TimeZone } from './time-zone';
import { Time } from './time';

Do you know why this happens? The JavaScript behavior is the correct one, but it seems to be different for TypeScript files

That shouldn't happen. I am a bit short on time currently, but I will try to look into this.

Hi @peterjuras
this is probably related to #22 and #15 because you are using single quotes. This will be fixed in the next release!

I just ran into this myself. Will a fix be released soon?

I hope I can release the new version this week, but I have to test it first with Atom (which I longer use personally, so it might take a while) and @peterjuras would have to upgrade vsc-sort-imports (thanks for you extension by the way!).

The fix is now released with 3.0.


refactor(proofs): remove unused method from service

Signed-off-by: Timo Glastra<EMAIL_ADDRESS>

Codecov Report

Merging #663 (2b21b8a) into main (6cf5a7b) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #663      +/-   ##
==========================================
+ Coverage   85.62%   85.69%   +0.07%
==========================================
  Files         340      340
  Lines        7338     7332       -6
  Branches     1141     1140       -1
==========================================
  Hits         6283     6283
+ Misses       1054     1048       -6
  Partials        1        1

Impacted Files
Coverage Δ

...s/core/src/modules/proofs/services/ProofService.ts
85.67% <ø> (+1.50%)
:arrow_up:

Continue to review full report at Codecov.

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


0.85 changelog

Summary of the Pull Request
Readme update for the 0.85 release.
This will be copy / pasted for release notes.

Triggering a build, in order to allow a merge later on 🤷

/azp run

Guess it will have to be forced in after we release 🤷

Guess it will have to be forced in after we release 🤷

Why? If the pipeline doesn't block, it should not keep the PR from being merged.

Guess it will have to be forced in after we release 🤷

Why? If the pipeline doesn't block, it should not keep the PR from being merged.

Yeah I see it now, guess something with the pipeline config is wrong


Search return format is different when results are empty

Thanks for moving this project along.  I have started working on the Matlab side; also @lmperry and I plan to devote time to the organization of the repository on Wednesday after the CNI site is up. We need to have the Matlab SDK reasonably functional to make CNI users interested in engaging.
I think the plan we all have is that the scitranClient version of Flywheel.m will be exactly the one you deliver. When something turns up that we need a change, we will send you a message.  Here is the first one.
When Flywheel.search returns an empty result, the return variable has not 'results' slot.
        % Result may be empty
        result = Flywheel.handleJson(status,cmdout);

        % In my local version, I added this to fix the null result case.
        %  But you might force the return to always have a results slot, even if empty
        % Then we would note need this line.
        if ~isfield(result,'results'), result.results = []; end

@kofalt I believe there is a change within search that slightly changes how results are returned... will this fix this issue in Matlab's search? Or will we still need to better handle the null return?

Yes, Brian & Michael I think this change can make things a bit easier: the API has added a simple mode that will apply this transform to the results, returning only the _source key for each search result. Because it is using an array construction instead of the map construction below, I think you'll instead be able to use the result variable from your code above without having to go to results.results.
Jen and I were planning to make this new mode the default Search, and move the old format to SearchRaw in case anyone needs the old layout. I want to make that switch at the same time we add any search helper functions, to limit the frequency of breaking changes.
Jen - let's chat tomorrow about what we need to do there. Then I can make a SDK branch with the new format.

Excellent. It sounds like it won't be hard for you guys to port your stuff over, which was my main concern. Odds are good that we'll have a branch later today with this change; once it works for your script we can merge it!
I will leave SearchRaw in for at least one release, as an easy fallback for everyone else, and revisit removal at a later date. Megan is confident that consumers will not need that format & facets.

Thanks.  We are on it.  And your speed is appreciated.
My goal is to have customer-facing demonstrations of the Matlab-SDK for meeting over the next few weeks.
Brian

From: Nathaniel Kofalt<EMAIL_ADDRESS>Sent: Wednesday, October 4, 2017 9:40:51 AM
To: flywheel-io/sdk
Cc: Brian A Wandell; Author
Subject: Re: [flywheel-io/sdk] Search return format is different when results are empty (#51)
Excellent. It sounds like it won't be hard for you guys to port your stuff over, which was my main concern. Odds are good that we'll have a branch later today with this change; once it works for your script we can merge it!
I will leave SearchRaw in for at least one release, as an easy fallback for everyone else, and revisit removal at a later date. Megan is confident that consumers will not need that format & facets.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/flywheel-io/sdk/issues/51#issuecomment-334216358, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABwIWZURHYuU1oJauqzzMg_ilTfjowM6ks5so7UTgaJpZM4Ppo8e.

Closed in #53


Bigger Camera

Hello, can you please update it so we can make the camera as big as we want, its a bit too small for me personally.

Unfortunately, using the offical picture-in-picture API function in windows limits the maximum size of the window. However, you can adjust the zoom level on your desktop, this also enlarges the maximum allowed picture-in-picture size. (I hope Microsoft changes that someday).


[BUG] New uncatched PleaseWaitFewMinutes exception

Hi.
Seems like instagram made some update, and now PleaseWaitFewMinutes  exception catched like ClientError
This happends cause of status code is 401 which is not checked inside _send_private_request
Message of response when i get - Please wait a few minutes before you try again. seems to be the same as before

Yes, interesting, I'll try to reproduce. Thanks!

It looks like 401 status works fine
    396 message = last_json.get("message", "")
    397 if "Please wait a few minutes" in message:
--> 398     raise PleaseWaitFewMinutes(e, response=e.response, **last_json)
    399 if e.response.status_code == 403:
    400     if message == "login_required":

PleaseWaitFewMinutes: Please wait a few minutes before you try again.

In [12]: cl.last_json
Out[12]:
{'message': 'Please wait a few minutes before you try again.',
 'require_login': True,
 'status': 'fail'}

In [13]: cl.last_response.status_code
Out[13]: 401

Im using 1.18.1, and i dont have check like on your code example.

Not sure if this is the same issue but it seems Instagram changed something in their API. I've been trying to use cl.get_followers and cl.get_following although it rate limits me hard. I have time.sleep(random.randint(20, 30)) between each call and i'm not calling the API a lot. And after the API timeout is over, i can't use the saved settings from the last login and i have to re-login.
This is the exception ive been getting during rate limits
instagrapi.exceptions.ClientError: Please wait a few minutes before you try again.
After the rate limit if i try the same settings all cl.get_followers or cl.get_following returns is {}

@themrcatsu try instagrapi 1.18.2

Im facing almost same as @im-kuro, after some calls to api, i got login required, im doing client.relogin(), and got ReloginAttemptExceeded, but im calling directly to hashtag_medias_v1_chunk

@adw0rd Just checked a bit more, it seems like public requests have something changed

When i loaded settings from file, i got ReloginRequired and then ReloginAttemptExceeded
When i deleted settings file, and made public request, it stuck forever - im calling hashtag_medias_a1_chunk

for a1/gql (public API) you can try calling cl.inject_sessionid_to_public() before

I've updated to v1.18.2 and implemented cl.inject_sessionid_to_public() before any interaction calls and am still seeing login/API call issues

@adw0rd Now its not stucked, i got 'graphql' KeyError for first time, then i added prints to debug, and seems like i got some response, but now again i have login required


Convert empty string to null

This should convert empty string to null automatically because dynamodb does not support empty string.

Thank you for the issue. Please review issue #2, as this has been brought up before. If you still feel as though this warrants attention, don't hesitate to tell us.
Thanks

Thank's for pointing me to the right forum. Sorry for opening this duplicate issue. I have expressed my opinion in that issue. So we can close this one if you want.


Create a message json file for stat var labels

Converted stats_var_label into a json file for TC extraction. A follow on will be to use these messages instead of the static array.

Thanks for catching that - good call. I did a count and that was the only one I missed.

Thanks for catching that - good call. I did a count and that was the only one I missed.

Awesome. Love it when I get lucky 😆

yea, i'll do that after wrapping up place pages since it's only used in ranking pages


Use a fixed rustc version on Travis?

It would be nice to stay compatible with some fixed rustc version. For this, Travis should also check the build with that version. Somehow...?

Implemented in #74, but I failed to find this issue, so I did not mention it in the commit message.


Feature Request: add back minasg and maxasg on Amazon EKS Cluster creation

What kind of request is this (question/bug/enhancement/feature request):
Feature Request
Description
In Rancher 2.3.0 DesiredASG was added but MinASG and MaxASG settings were removed.  This feature request is for the options of MinASG and MaxASG to be added back to the menu.
2.2.8 Screenshot:

2.3.0 Screenshot:

https://github.com/rancher/rancher/issues/23349 // the options were removed as a part of this fix

PR with more info here: https://github.com/rancher/kontainer-engine/pull/180

Reason for this change was that min/max weren't used post-deployment because there was no autoscaler setup, so the node count would scale up to min and then never move again. The UI now reflects how it actually works.

Thank you.


Invoking context menu hangs explorer

Microsoft PowerToys version
0.77.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Right-clicking a file in windows explorer hangs explorer shell. Reinstall seems to fix it but then it comes back. I noticed these 2 events in the system log. Perhaps related?
The access history in hive ??\C:\Users\trey\AppData\Local\Packages\Microsoft.PowerToys.PowerRenameContextMenu_8wekyb3d8bbwe\SystemAppData\Helium\User.dat was cleared updating 1 keys and creating 1 modified pages.
The access history in hive ??\C:\ProgramData\Packages\Microsoft.PowerToys.PowerRenameContextMenu_8wekyb3d8bbwe\S-1-5-21-1632957357-4192887031-272310750-1001\SystemAppData\Helium\Cache\d96b25f936578ee8_COM15.dat was cleared updating 1 keys and creating 1 modified pages.
✔ Expected Behavior
show context menu
❌ Actual Behavior
explorer shell hangs
Other Software
No response

can you confirm that there are no problems with the right-click context menu when PowerToys is uninstalled? hoping to understand if this is truly PowerToys related. /needinfo

can you confirm that there are no problems with the right-click context menu when PowerToys is uninstalled? hoping to understand if this is truly PowerToys related. /needinfo

Yes.


Update build instructions for ubuntu

Just tested this on 18.04, 18.10 and 19.04 with builds from master.

Looks like this fixes #389. #76 too if scope is limited to 18.04 and newer

Thanks; so llvm got updated? just using the Ubuntu version for llvm-7 works now?

Yes, I've tested (i.e. copy paste instructions) it on a newly created 18.04 and it works.

thanks!


neon-cli: targeting a ClusterFixture cluster

There currently isn't an easy way to use neon-cli against a cluster deployed by ClusterFixture.
The problem is that the the kubeconfig cluster logins are located in a ~/.neonkube/automation folder which neon-cli doesn't currently recognize (nor does kubectl, for that matter).
I think we'll have to add some kind of mode command to neon-cli that updates a file somewhere in ~/.neonkube that points to the current automation folder (if any) and then have neon-cli read this file and set things up internally to use this folder for logins etc. and also configure the KUBECONFIG environment variable such that kubectl and helm can do the same.
I'm going to put this on the backlog for now since we have bigger fish to fry.  The workaround is to SSH into the cluster master node and run kubectl and helm there.

I'm going to modify the neon login command by adding an --automation=FOLDER option.  This will look for the target login in the ~/.neonkube/automation/FOLDER/logins folder and also create/overwrite a ~/.neonkube/automationfile withFOLDER`.
I'll also modify neon-cli to look for this automation file and when present, call KubeHelper.SetAutomationMode() with the value from the this file so that all operations will then be relative to the specified automation folder.
neon-cli will also be modified to remove the automation file if present when logging out, removing a login or logging into another cluster.

DONE


Fix Typo in OP register explanation

Confusion between $X$ and $A$

Thank you for this @sigtur for spotting that one. We will revise accordingly, including other typo fixes.


user12986714: Watch w3schools.com

user12986714 requests the watch of the watch_keyword w3schools\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

w3schools\.com has been seen in 6 true positives, 126 false positives, and 65 NAAs.

*Way to many existing uses on SE.


[DOC] Link to pycomodo is broken

http://pycomodo.forge.imag.fr/ gives a 503
Also, Google does not seem to bring up any other place with the comodo specs?

Short term, this could be used instead:
https://web.archive.org/web/20160417032300/http://pycomodo.forge.imag.fr/norm.html

Bummer! Do you know how owns that website?

There's a website of the building (what?!) ... https://batiment.imag.fr/en
Maybe @lesommer knows what happened to the comodo project and if there's any effort in keeping the outcomes (and the pycomodo docs in particular)?

I found it!
https://prod-gitlab.inria.fr/pycomodo/pycomodo/-/blob/master/doc/source/figures/grid2d_hv.svg

Is this issue still actionable? Should we add the link somewhere in the docs?


Period Object not working

Hello, when using the period function to limit dates it doesnt return any restults. Anyone have a fix?

This isn't a fix to the codes, but manually making use of Google boolean search to limit dates.
Below is what I use for articles less than a week old,
input_query = "{main_query} after:{after_date}"
main_query = "Lorax of the forest"
number_of_weeks = 1
after_date = (datetime.datetime.now()- datetime.timedelta(weeks=number_of_weeks )).strftime('%Y-%m-%d')
input_query = input_query.format(main_query=main_query, after_date=after_date)
df_results = google_news.get_news(input_query)

in general have a look here: News Catcher API
I just added " when:30d" for the last 30days to my keyword.
I think that there is a general problem with the date range functionality and it could be the solution for all those: #60, #43, #47, #48
In #48 also is explained that it might be a problem with pip.


Add initial Vulkan support, master branch goes UNSTABLE

The vulkan branch has served us well, seeing parallel development to master for over 8 months while Godot 3.2 was in development.
To go full steam ahead towards Godot 4.0, it's now time to merge the WIP Vulkan port in the master branch, so that we can start doing the heavy refactoring work which is necessary for many 4.0 features (Vulkan, GDScript improvements, C++14 port, streamlined node naming, etc.).
IMPORTANT: The master branch is now unstable, and will be so for a few months until we reach the alpha stage. It is NOT meant for use in production, and if you want a stable branch to do custom development, you can use 3.2. Note however that, unless exception is given, we do not accept new features PR'ed directly to the 3.2 branch. Feature work needs to happen in master before it can be cherry-picked (or manually backported) to any stable branch.
We encourage contributors to refrain from doing extensive feature work during the transition period where @reduz will rework many of the engine's internals, and the rest of us will port the whole codebase to C++14. Trying to get features merged in this turmoil will likely result in rebase hell and frustration :)
After this merge and subsequent refactoring work, most unmerged PRs will also get merge conflicts which will not be trivial to solve. Once the initial refactoring pass has been done, we plan to address this by closing all older PRs (minus a few 3.2-focused exceptions), and asking their authors to re-do them if relevant, rebased on the current master branch. We apologize in advance for the extra work that we'll ask of everyone, but this is the sanest way forward to avoid being dragged down by 500 PRs worth of unmergeable conflicts. More about this in an upcoming blog post. Edit: https://godotengine.org/article/headsup-vulkan-merged-master-branch-unstable

@akien-mga Could you guys please make an announcement when the new vulkan features are stable enough for "preview" use?   I would love to dogfood it, provided that the API's are not expected to be completely rewritten

There will be an announcement on the blog when we release the first alpha build (and all subsequent builds).


How to set the env variables for owasp dragon in centos environment

Hi
I have done the set up but observed some error while building the application.
Error :

<EMAIL_ADDRESS>transpile /apps/owaspInstall/threat-dragon/td.server
babel ./src --out-dir dist

ReferenceError: Unknown plugin "@babel/plugin-transform-runtime" specified in "/apps/owaspInstall/threat-dragon/td.server/.babelrc" at 0, attempted to resolve relative to "/apps/owaspInstall/threat-dragon/td.server"
at /apps/owaspInstall/threat-dragon/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map ()
at Function.normalisePlugins (/apps/owaspInstall/threat-dragon/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/apps/owaspInstall/threat-dragon/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/apps/owaspInstall/threat-dragon/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/apps/owaspInstall/threat-dragon/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/apps/owaspInstall/threat-dragon/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (/apps/owaspInstall/threat-dragon/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transform (/apps/owaspInstall/threat-dragon/node_modules/babel-cli/lib/babel/util.js:50:22)
at Object.compile (/apps/owaspInstall/threat-dragon/node_modules/babel-cli/lib/babel/util.js:59:12)
To understand how the set the environment variables , observed link is not working.
Link : http://docs.threatdragon.org/install-webapp/setup-env.md

@lreading I think you are the expert on this one, but I can have a look if you like?

Do you have idea why this error is coming ?

Looking at this now. @p-pujitha could you make sure that your docs submodule is present?
It is pulled in from another repo, so if you do this command git submodule update in your top level threat dragon directory it will get populated.
Also could you use link http://docs.threatdragon.org/setup-env/ instead of link http://docs.threatdragon.org/install-webapp/setup-env.md and see if that works OK
This should get you started on setting up the environment variables, but I do not think this is why your npm run start command is failing on babel
Could you tell me some versions on npm --version and node --version ?

Did you run npm install (including the dev dependencies) before building?  The dependency in question is in the dev dependencies in the package.json, so it should exist.
I'll try this out on a CentOS VM in the next day or two to see if I can reproduce.  Thanks for raising the issue!

Because it's been quite a while, I'm going to close this issue.  If you're still having an issue, please do comment/re-open, or feel free to open a new issue! :sunglasses:


Refactoring typed snippet APIs

This pr tackles 3 refactorings.
Providers that aren't really providers
A ModelProvider is a generic abstraction that allows a plugin to represent how a model should be shaped.  Should it have auto properties with {get; set;} should it have explicit backing fields to track whether or not a property was every modified to more intelligently serialize JsonMergePatch?  All of these are different strategies that different ModelProviders can give.
ArgumentProvider on the other hand is an implementation of TypeProvider that produces a helper class inside the library.  It is more of a definition than a Provider as we would not expect customers to override this and give a different style for the Argument class.
Because of this the PR changes all such provider classes to have a suffix of Definition instead.
TypedSnippet
It is cumbersome to need to always construct a new BinaryDataSnippet every time you want to access the helper snippets for an expression that evaluates to a BinaryData.  It is also an odd name of a class to have an instance off since snippets are helpers which are usually static methods or extension methods.  I am adding a ScopeApi<T> which we can hang extension methods off of to allow us to change code like this
new BinaryDataSnippet(value).ToArray()

to this
value.As<BinaryData>().ToArray()

Now any expression can be converted into a type expression and if there are any snippet extension methods that exist the will appear in intellisense.
Static snippet helper
One more area where we need to call expression constructors is in InvokeStaticMethodConstructor.  I have added a helper Static<T> which will change code like this
new InvokeStaticMethodExpression(typeof(XmlConvert), nameof(XmlConvert.ToString), [timeSpanNoFormat]))

to this
Static<XmlConvert>().Invoke(nameof(XmlConvert.ToString), [timeSpanNoFormat]))

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Generator.CSharp


Nav bar level-up

I noticed that the nav bar wraps when your viewport is towards the bottom of the md range, and also that the menu/close button in sm isn't keyboard accessible and doesn't match with the close button on the individual story page. So, I set about fixing those problems, and then kept polishing, and fixing other little issues I found. For example, did you notice that on the home page (where the nav is sticky), if you open the menu when you're at the very top of the page, it pushes down the content, but if you scroll down one pixel so that it sticks, then the menu overlays the content?
In the end, I used the Chakra Drawer component for the menu so that it always overlays, darkens and disables the content behind it, and closes the menu if you click outside of it. I also updated the layout of the menu to increase sizes to make it more easily touchable and more similar to Curtis's original design. I stopped short of making it fill the viewport because I couldn't achieve a layout that looked good with the fewer links (with shorter text) that we have and on various screen sizes/aspects.

📝Changed routes:

/

(view full size)

Commit cdb77525ea14183af4e232c0342b6f2a472bbfa4 (https://www-7cjra5wic-my-covid-story.vercel.app).

This is on hold, pending the resolution of the font problem caused by PR #164.

@davesteinberg this is great! I saw the same issue with the nav once the social icons got added in.

It's all looking great from my perspective! It's not the full screen on small screens, but I get the limitations around that and I'm not that picky. 👍


[Investigation] Using YARP as our Reverse Proxy

@waldekmastykarz can you comment here to provide the reasons we found that made this scenario not suitable for dev proxy?

We closed it because right now we're not planning to investigate it further (hence closing as not planned). That said, it's still a viable option that we could consider in the future.


Error when launching SGLang worker with llava-v1.6-34b

Thank you for your wonderful work! I have been following the demo instructions and successfully launched the controller and the Gradio web server. However, I encountered an issue when trying to launch an SGLang worker with local llava-v1.6-34b model.
Here's the command I used:
$ CUDA_VISIBLE_DEVICES=1,2,3,4 python -m sglang.launch_server --model-path models/llava-v1.6-34b --tokenizer-path models/llava-v1.6-34b-tokenizer --port 30000 --tp 4

And here's the terminal output
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
server started on [<IP_ADDRESS>]:10011
server started on [<IP_ADDRESS>]:10010
server started on [<IP_ADDRESS>]:10012
server started on [<IP_ADDRESS>]:10013
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
accepted ('<IP_ADDRESS>', 54758) with fd 41
welcome ('<IP_ADDRESS>', 54758)
accepted ('<IP_ADDRESS>', 50916) with fd 32
welcome ('<IP_ADDRESS>', 50916)
accepted ('<IP_ADDRESS>', 34778) with fd 35
welcome ('<IP_ADDRESS>', 34778)
accepted ('<IP_ADDRESS>', 46910) with fd 33
welcome ('<IP_ADDRESS>', 46910)
Rank 0: load weight begin.
Rank 1: load weight begin.
Rank 2: load weight begin.
Rank 3: load weight begin.
/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
Rank 0: load weight end.
Rank 1: load weight end.
Rank 3: load weight end.
Rank 2: load weight end.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Rank 0: max_total_num_token=12849, max_prefill_num_token=4096, context_len=4096,
disable_radix_cache=False, enable_flashinfer=False, disable_regex_jump_forward=False, disable_disk_cache=False, attention_reduce_in_fp32=False
Rank 3: max_total_num_token=12849, max_prefill_num_token=4096, context_len=4096,
disable_radix_cache=False, enable_flashinfer=False, disable_regex_jump_forward=False, disable_disk_cache=False, attention_reduce_in_fp32=False
Rank 1: max_total_num_token=12849, max_prefill_num_token=4096, context_len=4096,
disable_radix_cache=False, enable_flashinfer=False, disable_regex_jump_forward=False, disable_disk_cache=False, attention_reduce_in_fp32=False
Rank 2: max_total_num_token=12849, max_prefill_num_token=4096, context_len=4096,
disable_radix_cache=False, enable_flashinfer=False, disable_regex_jump_forward=False, disable_disk_cache=False, attention_reduce_in_fp32=False
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
INFO:     Started server process [83740]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:30000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:41876 - "GET /get_model_info HTTP/1.1" 200 OK
new fill batch. #seq: 1. #cached_token: 0. #new_token: 8. #remaining_req: 0. #running_req: 0. tree_cache_hit_rate: 0.00%.
python: /project/lib/Analysis/Allocation.cpp:40: std::pair<llvm::SmallVector<unsigned int>, llvm::SmallVector<unsigned int> > mlir::triton::getCvtOrder(mlir::Attribute, mlir::Attribute): Assertion `!(srcMmaLayout && dstMmaLayout) && "Unexpected mma -> mma layout conversion"' failed.
python: /project/lib/Analysis/Allocation.cpp:40: std::pair<llvm::SmallVector<unsigned int>, llvm::SmallVector<unsigned int> > mlir::triton::getCvtOrder(mlir::Attribute, mlir::Attribute): Assertion `!(srcMmaLayout && dstMmaLayout) && "Unexpected mma -> mma layout conversion"' failed.
python: /project/lib/Analysis/Allocation.cpp:40: std::pair<llvm::SmallVector<unsigned int>, llvm::SmallVector<unsigned int> > mlir::triton::getCvtOrder(mlir::Attribute, mlir::Attribute): Assertion `!(srcMmaLayout && dstMmaLayout) && "Unexpected mma -> mma layout conversion"' failed.
python: /project/lib/Analysis/Allocation.cpp:40: std::pair<llvm::SmallVector<unsigned int>, llvm::SmallVector<unsigned int> > mlir::triton::getCvtOrder(mlir::Attribute, mlir::Attribute): Assertion `!(srcMmaLayout && dstMmaLayout) && "Unexpected mma -> mma layout conversion"' failed.
Process Process-1:
Traceback (most recent call last):
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/sglang/srt/managers/router/manager.py", line 79, in start_router_process
    loop.run_until_complete(router.loop_for_forward())
  File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/sglang/srt/managers/router/manager.py", line 38, in loop_for_forward
    out_pyobjs = await self.model_client.step(next_step_input)
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/sglang/srt/managers/router/model_rpc.py", line 648, in _func
    await asyncio.gather(*[asyncio.to_thread(t.wait) for t in tasks])
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/rpyc/core/async_.py", line 51, in wait
    self._conn.serve(self._ttl, waiting=self._waiting)
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/rpyc/core/protocol.py", line 464, in serve
    data = self._channel.poll(timeout) and self._channel.recv()
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/rpyc/core/channel.py", line 55, in recv
    header = self.stream.read(self.FRAME_HEADER.size)
  File "/home/zhaohm14/anaconda3/envs/llava/lib/python3.10/site-packages/rpyc/core/stream.py", line 280, in read
    raise EOFError("connection closed by peer")
EOFError: connection closed by peer
HTTPConnectionPool(host='<IP_ADDRESS>', port=30000): Read timed out. (read timeout=60)

Could you please help me understand what might be causing this issue? I am eager to get the worker up and running and would greatly appreciate any assistance you can provide.

Hello, I also made a mistake in this step, but it is more advanced than your mistake, my error is：
[2024-04-11 10:31:54,306] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[2024-04-11 10:32:22,116] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2024-04-11 10:32:22,117] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[2024-04-11 10:32:42,473] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2024-04-11 10:32:42,473] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
router init state: Traceback (most recent call last):
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/site-packages/sglang/srt/managers/router/manager.py", line 68, in start_router_process
model_client = ModelRpcClient(server_args, port_args)
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/site-packages/sglang/srt/managers/router/model_rpc.py", line 633, in init
self.model_servers = [x[0] for x in rets]
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/site-packages/sglang/srt/managers/router/model_rpc.py", line 633, in
self.model_servers = [x[0] for x in rets]
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
return fut.result(timeout)
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/ssd11/exec/zhangjie07/HOME/miniconda3/envs/llava/lib/python3.10/site-packages/sglang/srt/managers/router/model_rpc.py", line 683, in start_model_process
raise RuntimeError("init rpc env error!")
RuntimeError: init rpc env error!
detoken init state: init ok
Have you ever encountered this error？


How to Refresh the Maintenance Page?

Type of issue

[ ] Bug
[ ] New feature
[x] Enhancement

Description
Hard to know where to go to refresh the Maintenance Page.
Steps to reproduce

Create a rule
Go to the maintenance page
See N alerts for that rule (along w/ other rules)
Click on the rule name for the detail view
Click on "Maintenance" in navigation
Still see N alerts for the rule
Have to click on Rules and then come back to Maintenance to see M alerts
Should have a more consistent way to get new data; not clear when things are cached

The refresh icon/button next to the Last Refreshed time should do this. Its the same on every page.


Add average waiting time for PIN2 to table "Stav registrací"

It can be interesting to have it also per age/profession category
Info about the column in the overview and cards should contain information that it can be found there.

Do not use colors for 'fronta'

Add also 14 and 30 days success ratio

done in #225
14 and 30 days rate was not added - too much columns


Reexport enumtype

Need this type for programmatically using quicktype in https://github.com/untitaker/quicktype-markdown

I hope you don't mind my second commit, I had to do this because tsc would complain about missing imports/unknown namespaces otherwise.


Prepare architeture

Items to prepare:

Gulp tasks;
Index inject;

Bower inject;
App inject;
Flat UI inject.

Angular app module;
Eslint.

Suggestion: maybe you can copy easy-schedule .eslint config