[mesheryctl] Check for invalid platforms on system start

See mesheryctl Command Tracker for current status of commands.
Current Behavior
Currently specifying an invalid platform using the -p flag throws an error that the platform is an invalid after updating the platform in the meshconfig.
Desired Behavior
If a platform other than docker or kubernetes is specified, it should throw an error message and not update the meshconfig
Screenshots/Logs

Environment

Host OS: Mac Linux Windows

Implementation
Adding a check in start.go when updating the platform.

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation
Layer5 Community Slack

Can I take this issue please ?

@chetak123  can i work with u on this issue ?

Yeah sure 🙌


feat(extension-chrome): ownership service

Description
This pr implements getUsedLocks of ownershipService.
getUsedLocks should scan user locks according to the logic descripbed in bip-44:
https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account-discovery
Usage
To use the ownership service, a NotificationService, KeystoreService, Backend and AddressStorageService should be created to query transactions on the CKB chain.
const service = createOwnershipService(notificationService, keystoreService,  addressStorageService, backend);
const usedLocks = await service.getUsedLocks({});

The backend service should at least provide hasHistory to count transactions of given lock script on the CKB chain.
const backend = BackendProvider.getDefaultBackend();

Test

[x] Unit test based on mocked services

Closed, refer to #76


Update Install-CsMirrorDatabase.md

The file path should be \atl-fs-001.litware.com\DbBackup" not "\\atl-fs-001\DbBackup"

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Install-CsMirrorDatabase.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thank you for your contribution to make the content better @hmank !!


Reformat report

Right-align task name to make it easier to associate name with time
Reduce number of leading zeros displayed
Reduce number of milliseconds displayed
so this:
Task                          Duration
--------------------------------------------------
Clean                         00:00:00.0317691
Restore-NuGet-Packages        00:00:00.2629602
Patch-Assembly-Info           00:00:00.0186530
Build                         00:00:04.6035797
Run-Unit-Tests                00:00:29.3326800
Copy-Files                    00:00:00.0928802
Zip-Files                     00:00:00.4412042
Create-NuGet-Packages         00:00:02.5186547
Package                       00:00:00.0092035
Default                       00:00:00.0086326
--------------------------------------------------
Total:                        00:00:37.3202172

becomes:
                  Task Duration
-------------------------------
                 Clean     0.03
Restore-NuGet-Packages     0.25
   Patch-Assembly-Info     0.01
                 Build     4.08
        Run-Unit-Tests    27.87
            Copy-Files     0.07
             Zip-Files     0.39
 Create-NuGet-Packages     1.43
               Package     0.00
               Default     0.00
-------------------------------
                Total:    34.19

Will handle tasks that take a long time:
                  Task    Duration
----------------------------------
                 Clean        0.03
Restore-NuGet-Packages        0.25
   Patch-Assembly-Info        0.01
                 Build        4.08
        Run-Unit-Tests  9:21:27.87
            Copy-Files  1:00:00.07
             Zip-Files        0.39
 Create-NuGet-Packages        1.43
               Package        0.00
               Default        0.00
----------------------------------
                Total: 10:21:34.19

Hello @marcosnz!
Thanks for this PR, but I'm not sure that we want the report right aligned.
I can only talk for myself, but I prefer the report to be left aligned.
Maybe we could add a custom override for reports (just like Setup/Teardown) to
be able to choose how the report should be written to the console?
FormatReport(report => {
    // Formatting logic
});

I like the custom report idea @patriksvensson , could allow reporting summary to file/ slack/ etc. 👍

I can only talk for myself, but I prefer the report to be left aligned.

Yeah, fair enough :smile:. I am doing some auto-built task names that end up being quite long and the shorter ones end up being a long way from the time so this worked for me.

Maybe we could add a custom override for reports

Hmm yes, that would work. TBH it's not a big deal, it has just kind of annoyed me since my last PR I did in this area. If I have time I'll look at doing the override but really there are bigger fish to fry (although I said that before starting this PR :smile: )

@marcosnz a bit late feedback here, but we're closing this for now and you can reopen when you have the time for the suggested adjustments.


User warnings when loading model

Hello,
when loading the internlm/internlm-xcomposer2-7b as stated in here I get these warnings for each layer in the vision model UserWarning: for vision_model.encoder.layers.1.layer_norm2.bias: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass assign=True to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?) warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta '
Thank you!

@ceballots vision_model.encoder.layers.1.layer_norm2.bias is not used actually. Please just ignore this warning.


fix: update snapshot

Description of changes:
Two PR's merged out of order and now publish is failing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #757 (539df85) into main (362564f) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #757      +/-   ##
==========================================
+ Coverage   91.45%   91.47%   +0.01%
==========================================
  Files         102      102
  Lines        4062     4069       +7
  Branches     1136     1138       +2
==========================================
+ Hits         3715     3722       +7
  Misses        325      325
  Partials       22       22

Impacted Files
Coverage Δ

packages/codegen-ui-react/lib/forms/form-state.ts
98.49% <100.00%> (+0.08%)
: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 e3e285d...539df85. Read the comment docs.


Deprecate SBI Locate app

Summary

Application Name: SBI Locate
Application Urls

Staging: sbi.dev.utah.gov
Production: sbilocate.ugrc.utah.gov

A short summary of the situation.
SBI Locate was using the to-be-retired Esri JS 3x API. An LE Locate Experience Builder application has been built as a replacement and has been provided to the DHHS team that utilizes the app.
Action items

Assign a person who should complete the task by replacing name with their github @name.
Check [x] the box when the task is completed and add the date of completion.
~Strike~ out all items that do not apply.

[x] Update relevant gis.utah.gov application pages (no pages found, but worth a second look) (@steveoh, completed: 2023/12/13)
[x] Remove application-specific Databases (@steveoh, completed: 2023/12/13)
[x] AGRC Projects team drive folder No folder found (@nathankota , completed: 2023/12/13)
[x] Remove from Application Portfolio Management ("Business Applications" in ServiceNow) - Changed record to "DHHS Law Enforcement Viewer" (@nathankota , completed: 2023/12/13)
[x] Remove Google Analytics property (@steveoh, completed: 2023/12/13)

Is there a website?

[x] RITM0260789 Remove DNS entry - NetworkOps says there is only a record for sbi.dev.utah.gov (@nathankota, completed: 2023/12/13)

[x] Remove from DNS sheet once RITM is complete (@nathankota, completed: 2023/12/18)

[x] Archive source code repository (@steveoh, completed: 2023/12/13)
[x] Remove app-specific quad word from Discover system (@steveoh, completed: 2023/12/13)
[x] Remove app-specific api key from UGRC API (@steveoh, completed: 2023/12/13)
[x] Remove cloud project (@steveoh, completed: 2023/12/13)

ut-dts-agrc-sbi-dev
ut-dts-agrc-sbi-prod

[x] Remove terraform infrastructure (@steveoh, completed: 2023/12/13)

Choose one.

~[ ] Remove from the web server (@steveoh, completed: 2023/00/00)~
~Replace app with a static page with information (name, completed: 2023/00/00)~
Attempted, but not possible ~Redirect somewhere else (name, completed: 2023/00/00)~

Is there a map service or AGOL item?

~[ ] Stop (@steveoh , completed: 2023/00/00)~
[x] Delete (c3c3b5c993324c3fb69bb3837a7b784d) (@steveoh, completed: 2023/12/13)
~[ ] Unregister Data Store in ArcGIS Server (@steveoh , completed: 2023/00/00)~

Is there a forklift pallet?

~[ ] Remove repo (name , completed: 2023/00/00)~

don't forget to remove the pallet from the current packing slip in receiving!

~[ ] Remove stale data from forklift hashing and receiving (name, completed: 2023/00/00)~
~[ ] Remove row from data/hashed/changedetection.gdb/TableHashes (name, completed: 2023/00/00)~

Are there service dependencies?

[x] Validate that the web api does not query it (@steveoh, completed: 2023/00/00)
[x] Validate that AGRC or applications widgets do not reference it (@steveoh, completed: 2023/00/00)

Notification

[x] Twitter (@steveoh)

Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.


Phone subset names not saving to enrichment table if filled automatically by using preset buttons

In Enrichment View, the name of a new phone subset automatically comes up as New Phone Subset if you created the enrichment using one of the preset buttons from the Create a phone subset page (This happens in Chrome and Firefox).
If you go to Enrichment > Phone subset, and press either Select sibilants, Select syllabics, or Select stressed vowels buttons, then the Subset name box at the top of the page is automatically updated to reflect your choice. For example in this screenshot where all I did was press the Select stressed vowels button:

But then when you save and get taken back to the enrichment view, the name that was automatically filled did not get saved I guess and comes up still as New phone subset:

You can get around it by manually changing the subset name and then saving (Like even just erasing and rewriting a single letter), but the automatically generated name should work.

I actually caught this this morning in #85 . Thanks though! (The subset name is correct, just not the enrichment name, so you can still run it fine).

Nice catch, both
On Mon, Jul 30, 2018 at 2:54 PM Michael Goodale<EMAIL_ADDRESS>wrote:

I actually caught this this morning in #85
https://github.com/MontrealCorpusTools/polyglot-server/issues/85 .
Thanks though! (The subset name is correct, just not the enrichment name,
so you can still run it fine).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MontrealCorpusTools/polyglot-server/issues/88#issuecomment-408971656,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAwu0SFM5s75eM2HSXWpFe-M0oqDOn2lks5uL1ZVgaJpZM4Vm-Fw
.


Restrict selecting max 2 options

Is it possible to restrict selecting only 2-3 options while doing the multi select?

@harshamv,
There's no support for maxOptions directly but you can easily write an wrapper around it or use it like below
Example
https://codesandbox.io/s/nostalgic-mestorf-sspwq?file=/src/App.js
Sample Code
import React, { useState, useEffect } from "react";
import MultiSelect from "react-multi-select-component";

const maxOptions = 2;
const initialOptions = [
  { label: "Grapes 🍇", value: "grapes" },
  { label: "Mango 🥭", value: "mango" },
  { label: "Strawberry 🍓", value: "strawberry", disabled: true },
  { label: "Watermelon 🍉", value: "watermelon" },
  { label: "Pear 🍐", value: "pear" },
  { label: "Apple 🍎", value: "apple" },
  { label: "Tangerine 🍊", value: "tangerine" },
  { label: "Pineapple 🍍", value: "pineapple" },
  { label: "Peach 🍑", value: "peach" }
];

export default function App() {
  const [options, setOptions] = useState(initialOptions);

  const [selected, setSelected] = useState([]);

  useEffect(() => {
    // if max limit is reached disable other options
    if (selected.length === maxOptions) {
      const selectedValues = selected.map((o) => o.value);
      setOptions(
        initialOptions.map((o) => ({
          disabled: !selectedValues.includes(o.value),
          ...o
        }))
      );
    }

    // we will check for maxOptions - 1 to make it more efficient
    if (selected.length === maxOptions - 1) {
      setOptions(initialOptions);
    }
  }, [selected]);

  return (

Select Fruits

{JSON.stringify(selected)}

      <MultiSelect
        options={options}
        value={selected}
        onChange={setSelected}
        hasSelectAll={false}
        labelledBy={"Select"}
      />

  );
}

Above code is just for PoC if using in production please lookout for performance gotchas


[WIP] Fetch manifest info and start data collection from the UI

WIP, so far just fetches and displays the manifest version.
Manifest version is now displayed in a fixed footer in the lower-right corner of the window (independent of scroll position, should there be enough data on screen for scrollbars to appear) It has a solid background with a little bit of padding, so in the event that there is scrollable content we won't have text overlapping other text. It looks like this:

TODO: run the data collector using the new API endpoint added in #9

@agrare I'm running into an issue here after rebasing this on #11 , I'm not too familiar with how scope works in Ruby, maybe you know what's going on here?
After this change: https://github.com/RedHatCloudForms/cfme-migration_analytics/pull/13/files#diff-b5605618de8ab7ef48ddd4200a0b9492 (refactoring to replace load_manifest with parse_manifest and centralize the default manifest path and metadata stuff), when I try to call the API I'm getting "undefined method filter_passwords!' for Vmdb::Settings:Class"`.
The same seems to happen if I move the new load_manifest into class << self and call it with self.class.load_manifest. What exactly is class << self doing for us here?

The same seems to happen if I move the new load_manifest into class << self and call it with self.class.load_manifest. What exactly is class << self doing for us here?

@mturley since it doesn't actually depend on any instance vars I moved it to a class method.  It also made it easier to stub in specs

@agrare ok, so that means I should probably move my new load_manifest to a class method too, since it doesn't depend on any instance vars either.
I just did that in https://github.com/RedHatCloudForms/cfme-migration_analytics/pull/13/commits/63484365b69c2f148aaac28806484892af1c3516 and when I try to load /api/red_hat_migration_analytics I'm still getting:
{
  "error": {
    "kind": "internal_server_error",
    "message": "undefined method `filter_passwords!' for Vmdb::Settings:Class",
    "klass": "NoMethodError"
  }
}

@mturley you probably need to update your manageiq repo to pull in that new method

Ah, thanks @agrare that makes sense.. I thought I had run that successfully already but I hadn't restarted my server.

@mturley I just realized that we're stubbing load_manifest in specs which bypasses filter_passwords!
Could you switch it up so that the controller calls parse_manifest which does what your current load_manifest method does, and have load_manifest just do the JSON.parse(File.read()) ?  That way we can return the manifest in specs correctly.

Ivanchuk backport details:
$ git log -1
commit 755a73c2c21aa5dbbf1d82198f155841dbb9e539
Author: Adam Grare<EMAIL_ADDRESS>Date:   Thu Aug 15 14:16:46 2019 -0400

    Merge pull request #13 from mturley/call-bundle-from-ui

    Fetch and display manifest version in UI, prepare for data collection

    (cherry picked from commit c0df06549bb4949ffa16acdcb3a1d1bbf8e21b64)


Add phenopackets support

User can request to use phenopacket format for responses. Examples of usage:

Only phenopacket: /biosamples/SAMEA4806673?requestedSchemasBiosample=ga4gh-phenopacket-biosample-v1.0
Both default schema and phenopacket: /biosamples/SAMEA4806673?requestedSchemasBiosample=beacon-biosample-v2.0.0-draft.2,ga4gh-phenopacket-biosample-v1.0

The formatting of some fields, which contain aggregated information, is done in the database function (#21).
Currently, these fields are:

Individual: phenotypicFeatures, diseases, pedigrees
Biosample: sampleOriginDetails
VariantAnnotation: genomicFeatures

You should probably also fix this: https://github.com/EGA-archive/beacon-2.x/blob/refactoring/beacon/endpoints/biosamples.py#L25 and add the return statement. Same for the others a bit below

Same thing here: https://github.com/EGA-archive/beacon-2.x/blob/refactoring/beacon/endpoints/gvariants.py#L25
However, you'd better use a decorator for that.
Moreover, that works if all the fetch_functions have the same signatures.

Approved apart from the more pythonic use of a decorator.


Paramount Plus (Unable to download)

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
Hey,
I'm trying to download from Paramount Plus, but I'm getting (HTTP Error 403: Forbidden)
Here's the commands I've tried with these 2 URLs:
https://www.paramountplus.com/shows/star-trek-discovery/video/SrUH6PeP2V_jPl1qvSs9ZGFxU6D_czdI/star-trek-discovery-but-to-connect/
https://www.paramountplus.com/shows/video/SrUH6PeP2V_jPl1qvSs9ZGFxU6D_czdI/
yt-dpl
yt-dpl --username xxx --password xxx
yt-dpl --cookies cookies.txt (cookies.txt in same folder as yt-dpl.exe)
yt-dpl --cookies-from-browser chrome
If I try to use the latter link without the cookies command, it tries to redirect to the signin URL and still fails.
I'm in Norway and the show in question is availble for me on the streaming service. if that helps. I do have an account.
Log  with the --cookies command attached.

F:\>yt-dlp -vU --cookies cookies.txt "https://www.paramountplus.com/shows/star-trek-discovery/video/SrUH6PeP2V_jPl1qvSs9ZGFxU6D_czdI/star-trek-discovery-but-to-connect/"
[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', 'https://www.paramountplus.com/shows/star-trek-discovery/video/SrUH6PeP2V_jPl1qvSs9ZGFxU6D_czdI/star-trek-discovery-but-to-connect/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2<IP_ADDRESS> [c0c2c57] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg 2022-02-03-git-e1a14479a8-full_build-www.gyan.dev (setts)
[debug] Optional libraries: brotli, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2<IP_ADDRESS>, Current version: 2<IP_ADDRESS>
yt-dlp is up to date (2<IP_ADDRESS>)
[debug] [ParamountPlus] Extracting URL: https://www.paramountplus.com/shows/star-trek-discovery/video/SrUH6PeP2V_jPl1qvSs9ZGFxU6D_czdI/star-trek-discovery-but-to-connect/
[ParamountPlus] SrUH6PeP2V_jPl1qvSs9ZGFxU6D_czdI: Downloading JSON metadata
Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 735, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3591, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 617, in extract
  File "yt_dlp\extractor\cbs.py", line 72, in _real_extract
  File "yt_dlp\extractor\paramountplus.py", line 89, in _extract_video_info
  File "yt_dlp\extractor\common.py", line 997, in _download_json
  File "yt_dlp\extractor\common.py", line 976, in _download_json_handle
  File "yt_dlp\extractor\common.py", line 768, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 753, in _request_webpage
yt_dlp.utils.ExtractorError: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using  yt-dlp -U

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1389, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1459, in __extract_info
  File "yt_dlp\extractor\common.py", line 643, in extract
yt_dlp.utils.ExtractorError: [ParamountPlus] SrUH6PeP2V_jPl1qvSs9ZGFxU6D_czdI: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using  yt-dlp -U

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\__main__.py", line 19, in <module>
  File "yt_dlp\__init__.py", line 864, in main
  File "yt_dlp\__init__.py", line 854, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3254, in download
  File "yt_dlp\YoutubeDL.py", line 3227, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1380, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1407, in wrapper
  File "yt_dlp\utils.py", line 1088, in format_traceback
TypeError: format_exception() missing 2 required positional arguments: 'value' and 'tb'
[700] Failed to execute script '__main__' due to unhandled exception!

[X] I'm asking a question and not reporting a bug/feature request

Are you able to watch the video on browser with the given URL with same cookies?

I figured out how to download the episodes using the stream.mpd, but the mpd file provided with the browser only goes up to 1080p. Any suggestions for that?

how do you download steam.mpd?

AFAIK Paramount+'s non-DRM streams max out at 1080p SDR, no 4K or HDR/DV.


Add Daydreamer421's file

I have created a branch, created a file and made a commit, and opened a pull request.
Yes.

Do I need to write leave something here as well?


Model Proposal: Person

Why do you need this model? What does it solve? Please describe.
I proposed User model at #3 but almost every user is also a person and every user has similar properties...
Details

Field Name
Python Type
Description
Unique
Required
Index

first_name
str
First name of the person
No
Yes
No

last_name
str
Last name of the person
No
Yes
No

middle_name
str
Middle name of the person
No
No
No

phone
str
Phone number of the person
No
No
No

email
str
Email address of the person
No
No
No

address
str
Address of the person
No
No
No

postal_code
str
Postal code of the person
No
No
No

city
str
City of the person
No
No
No

country
str
Country of the person
No
No
No

date_birth
date
Birth date of the person
No
No
No

description
str
Description of the person
No
No
No

Data Class
import datetime
from dataclasses import dataclass, field

from typing_extensions import Annotated, Doc, Union

@dataclass
class Person:
    """
    `Person` is a dataclass that represents a person.
    """

    first_name: Annotated[
        str,
        Doc(
            """
            First name of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ]
    last_name: Annotated[
        str,
        Doc(
            """
            Last name of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ]
    middle_name: Annotated[
        Union[str, None],
        Doc(
            """
            Middle name of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)
    phone: Annotated[
        Union[str, None],
        Doc(
            """
            Phone number of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)
    email: Annotated[
        Union[str, None],
        Doc(
            """
            Email address of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)
    address: Annotated[
        Union[str, None],
        Doc(
            """
            Address of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)
    postal_code: Annotated[
        Union[str, None],
        Doc(
            """
            Postal code of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)
    city: Annotated[
        Union[str, None],
        Doc(
            """
            City of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)
    country: Annotated[
        Union[str, None],
        Doc(
            """
            Country of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)
    date_birth: Annotated[
        Union[datetime.date, None],
        Doc(
            """
            Birth date of the person.
            """
        ),
    ] = field(default=None)
    description: Annotated[
        Union[str, None],
        Doc(
            """
            Description of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = field(default=None)

ODMantic Model
import datetime

from odmantic import Field, Model
from typing_extensions import Union

class Person(Model):
    first_name: str = Field(min_length=1, max_length=64)
    last_name: str = Field(min_length=1, max_length=64)
    middle_name: Union[str, None] = Field(default=None, max_length=64)
    phone: Union[str, None] = Field(default=None, max_length=64)
    email: Union[str, None] = Field(default=None, max_length=64)
    address: Union[str, None] = Field(default=None, max_length=64)
    postal_code: Union[str, None] = Field(default=None, max_length=64)
    city: Union[str, None] = Field(default=None, max_length=64)
    country: Union[str, None] = Field(default=None, max_length=64)
    date_birth: Union[datetime.date, None] = Field(default=None)
    description: Union[str, None] = Field(default=None, max_length=64)

SQLAlchemy Model
from sqlalchemy import Column, Date, String

class Person:
    first_name = Column(String(64), nullable=False)
    last_name = Column(String(64), nullable=False)
    middle_name = Column(String(64))
    phone = Column(String(64))
    email = Column(String(64))
    address = Column(String(64))
    postal_code = Column(String(64))
    city = Column(String(64))
    country = Column(String(64))
    date_birth = Column(Date)
    description = Column(String(64))

Pydantic Model
from typing_extensions import Annotated, Doc, Union
from pydantic import BaseModel, Field

class Person(BaseModel):
    """
    Pydantic `Person` model that represents a person.
    """

    first_name: Annotated[
        str,
        Doc(
            """
            First name of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(..., min_length=1, max_length=64)
    last_name: Annotated[
        str,
        Doc(
            """
            Last name of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(..., min_length=1, max_length=64)
    middle_name: Annotated[
        Union[str, None],
        Doc(
            """
            Middle name of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)
    phone: Annotated[
        Union[str, None],
        Doc(
            """
            Phone number of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)
    email: Annotated[
        Union[str, None],
        Doc(
            """
            Email address of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)
    address: Annotated[
        Union[str, None],
        Doc(
            """
            Address of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)
    postal_code: Annotated[
        Union[str, None],
        Doc(
            """
            Postal code of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)
    city: Annotated[
        Union[str, None],
        Doc(
            """
            City of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)
    country: Annotated[
        Union[str, None],
        Doc(
            """
            Country of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)
    date_birth: Annotated[
        Union[datetime.date, None],
        Doc(
            """
            Birth date of the person.
            """
        ),
    ] = Field(None)
    description: Annotated[
        Union[str, None],
        Doc(
            """
            Description of the person.
            Minimum length: 1 character.
            Maximum length: 64 characters.
            """
        ),
    ] = Field(None, min_length=1, max_length=64)

WTForms Form
import datetime

from typing_extensions import Optional
from wtforms import DateField, EmailField, Form, StringField
from wtforms.validators import DataRequired, Length

class Person(Form):
    """
    WTForms `Person` form that represents a person.
    """

    first_name: Optional[str] = StringField(
        label="First name", validators=[Length(min=1, max=64), DataRequired()]
    )
    """
    First name of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    last_name: Optional[str] = StringField(
        label="Last name", validators=[Length(min=1, max=64), DataRequired()]
    )
    """
    Last name of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    middle_name: Optional[str] = StringField(
        label="Middle name", validators=[Length(min=1, max=64)], default=None
    )
    """
    Middle name of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    phone: Optional[str] = StringField(
        label="Phone", validators=[Length(min=1, max=64)], default=None
    )
    """
    Phone number of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    email: Optional[str] = EmailField(
        label="Email", validators=[Length(min=1, max=64)], default=None
    )
    """
    Email address of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    address: Optional[str] = StringField(
        label="Address", validators=[Length(min=1, max=64)], default=None
    )
    """
    Address of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    postal_code: Optional[str] = StringField(
        label="Postal code", validators=[Length(min=1, max=64)]
    )
    """
    Postal code of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    city: Optional[str] = StringField(
        label="City", validators=[Length(min=1, max=64)], default=None
    )
    """
    City of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    country: Optional[str] = StringField(
        label="Country", validators=[Length(min=1, max=64)], default=None
    )
    """
    Country of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    date_birth: Optional[datetime.date] = DateField(label="Birth date", default=None)
    """
    Birth date of the person.
    """
    description: Optional[str] = StringField(
        label="Description", validators=[Length(min=1, max=64)], default=None
    )
    """
    Description of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """

ODMantic Model
import datetime

from odmantic import Field, Model
from typing_extensions import Union

class Person(Model):
    """
    ODMantic `Person` model that represents a person.
    """
    first_name: str = Field(min_length=1, max_length=64)
    last_name: str = Field(min_length=1, max_length=64)
    middle_name: Union[str, None] = Field(default=None, max_length=64)
    phone: Union[str, None] = Field(default=None, max_length=64)
    email: Union[str, None] = Field(default=None, max_length=64)
    address: Union[str, None] = Field(default=None, max_length=64)
    postal_code: Union[str, None] = Field(default=None, max_length=64)
    city: Union[str, None] = Field(default=None, max_length=64)
    country: Union[str, None] = Field(default=None, max_length=64)
    date_birth: Union[datetime.date, None] = Field(default=None)
    description: Union[str, None] = Field(default=None, max_length=64)

Beanie Model
from typing import Optional

from beanie import Document
from pydantic import Field

class Person(Document):
    """
    Beanie `Person` document that represents a person.
    """
    first_name: str = Field(min_length=1, max_length=64)
    last_name: str = Field(min_length=1, max_length=64)
    middle_name: Optional[str] = Field(default=None, max_length=64)
    phone: Optional[str] = Field(default=None, max_length=64)
    email: Optional[str] = Field(default=None, max_length=64)
    address: Optional[str] = Field(default=None, max_length=64)
    postal_code: Optional[str] = Field(default=None, max_length=64)
    city: Optional[str] = Field(default=None, max_length=64)
    country: Optional[str] = Field(default=None, max_length=64)
    date_birth: Optional[datetime.date] = Field(default=None)
    description: Optional[str] = Field(default=None, max_length=64)

WTForms Form
import datetime

from typing_extensions import Optional
from wtforms import DateField, EmailField, Form, StringField
from wtforms.validators import DataRequired, Length

class Person(Form):
    """
    WTForms `Person` form that represents a person.
    """

    first_name: str = StringField(
        label="First name", validators=[Length(min=1, max=64), DataRequired()]
    )
    """
    First name of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    last_name: str = StringField(
        label="Last name", validators=[Length(min=1, max=64), DataRequired()]
    )
    """
    Last name of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    middle_name: Optional[str] = StringField(
        label="Middle name", validators=[Length(min=1, max=64)], default=None
    )
    """
    Middle name of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    phone: Optional[str] = StringField(
        label="Phone", validators=[Length(min=1, max=64)], default=None
    )
    """
    Phone number of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    email: Optional[str] = EmailField(
        label="Email", validators=[Length(min=1, max=64)], default=None
    )
    """
    Email address of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    address: Optional[str] = StringField(
        label="Address", validators=[Length(min=1, max=64)], default=None
    )
    """
    Address of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    postal_code: Optional[str] = StringField(
        label="Postal code", validators=[Length(min=1, max=64)]
    )
    """
    Postal code of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    city: Optional[str] = StringField(
        label="City", validators=[Length(min=1, max=64)], default=None
    )
    """
    City of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    country: Optional[str] = StringField(
        label="Country", validators=[Length(min=1, max=64)], default=None
    )
    """
    Country of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """
    date_birth: Optional[datetime.date] = DateField(label="Birth date", default=None)
    """
    Birth date of the person.
    """
    description: Optional[str] = StringField(
        label="Description", validators=[Length(min=1, max=64)], default=None
    )
    """
    Description of the person.
    Minimum length: 1 character.
    Maximum length: 64 characters.
    """


Upgrading angular-cli and angular

Upgrading the project:

angular-cli: 1.0.0-beta.28.3 -> angular/cli: 1.6.2
angular 4.4.5 -> angular 5.1.2
zone.js: 0.7.2 -> zone.js: 0.8.18 (0.7.2. caused a lot of errors to be thrown with the new angular upgrades)

Everything works like a charm 😄

Nice!


second-order stochastic optimization

The methods paper is online: Fast Black-box Variational Inference through Stochastic Trust-Region Optimization
However, it's going to be quicker to use first-order stochastic methods for now.


Client takes 10 min to start up before successfully connecting to server (both on a local network, cut off from Internet)

My Setup

Operating System: Windows 10

App Version: current

Installation type: exe

[x] I have tested with the latest version

[x] I can simulate the issue easily

Description
Client and server cut off from Internet. Connection works, but only after 10 min of start up on client side.
Current Behavior
My Rocket.Chat Desktop Client can connect to my Rocket.Chat Server just fine, all good. Only it takes literally 10 min for the Desktop Client to start up initially.
 I suspect the issue is one of polling the internet for something and only after 10 min finally timing out and moving on.
Expected Behavior
I’d like to change an Environment Variable of some other thing to prevent the client software from fetching stuff from the internet. Or set the timeout to after only a few seconds.

@ttushka Does this delay happens when logging into the server via web browser?

@tassoevan No it does not. Web Browser is instant.

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


Deposit funds (initially)

When initially funding the wallet we have a nice little wizard:
https://user-images.githubusercontent.com/88702308/215655149-143e56da-7877-425f-b4fd-8aa15aedc330.mov

Looks like this is a duplicate of #71 ? cc: @bonomat @da-kami

Looks like this is a duplicate of #71 ? cc: @bonomat @da-kami

The idea here was that for the initial depositing funds we have a slightly different flow than for receiving funds later on. Doing so allows us to explain a bit more what is happening etc.

Closed as it's already working good enough.


ci: fix GitHub Actions Deprecating save-state and set-output commands

fix github action :The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Codecov Report

Merging #1782 (95be138) into main (1a3a28f) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main    #1782   +/-   ##
=======================================
  Coverage   90.86%   90.86%
=======================================
  Files          24       24
  Lines        1116     1116
  Branches      347      347
=======================================
  Hits         1014     1014
  Misses         63       63
  Partials       39       39

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support JSDoc @property on JavaScript class declarations

Search Terms JSDoc @property

Suggestion
Just as you support @property for the @typedef declaration, please also support @property for @class/@constructs (etc.) declarations. My preference would be that it should work exactly as the @typedef one does, only applied to actual code objects rather than phantom ones.
Use Cases

When using Object.defineProperties to define properties that, for example, follow a dynamic naming convention and are not explicitly named.
When creating Proxy objects that trap the getPrototypeOf value and therefore have a type assigned.

Examples
The use case that prompted this request is a pure-JS factory file that creates a Proxy instance. (I have simplified this example a lot; I am actually using a factory pattern rather than the constructor, but this is easier to read and still works.) The problem is, to document what properties are available via the proxy, I cannot currently do this obvious syntax, which is valid JSDoc syntax:
/** @class MyClass
 * @property email {string} The user's email
 * @property name {string} The user's name
 */
class MyClass {
    constructor( target ) {
        return new Proxy( target, proxyHandler );
    }
}
const proxyHandler = {
    // lots of stuff here
    getPrototypeOf: () => MyClass.prototype // this is how it will later be instanceof MyClass
}

// ... later in another file ...
import MyClass from './MyClass.js';

/** @param {MyClass|OtherClass} the data
 */
getUserEmail( myInstance ) {
    if ( myInstance instanceof MyClass ) {
        return myInstance.email;
    }
}

As you can see in the example function, I could certainly use @typedef to declare MyClass in order to get the @param {MyClass} part to work, but I could not also use instanceof with the same symbol.
The way I got it working for TypeScript was like this, which is annoyingly verbose. In my actual case, it takes more than 100 lines of code just to declare all the properties.
/** @class MyClass
 */
class MyClass {
    constructor( target ) {
        /** The user's email.
         * @type {string}
         */
        this.email = undefined;

        /** The user's name.
         * @type {string}
         */
        this.name = undefined;

        return new Proxy( target, proxyHandler );
    }
}
const proxyHandler = {
    // lots of stuff here
    getPrototypeOf: () => MyClass.prototype // this is how it will later be instanceof MyClass
}

Checklist
My suggestion meets these guidelines:

[ x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[ x] This wouldn't change the runtime behavior of existing JavaScript code
[ x] This could be implemented without emitting different JS based on the types of the expressions
[ x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[ x] This feature would agree with the rest of TypeScript's Design Goals.

Duplicate of https://github.com/microsoft/TypeScript/issues/26811
/dup #26811

I'll close because it is a duplicate.


SyntaxError: invalid syntax

Hi.
I get that output when I try to import the package: from jmetal.algorithm import NSGAII
Traceback (most recent call last):
File "Jmetal.py", line 1, in
from jmetal.algorithm import NSGAII
File "/usr/lib/python2.7/site-packages/jmetalpy-0.5.1-py2.7.egg/jmetal/init.py", line 3, in
from jmetal import algorithm
File "/usr/lib/python2.7/site-packages/jmetalpy-0.5.1-py2.7.egg/jmetal/algorithm/init.py", line 1, in
from .multiobjective.nsgaii import NSGAII
File "/usr/lib/python2.7/site-packages/jmetalpy-0.5.1-py2.7.egg/jmetal/algorithm/multiobjective/nsgaii.py", line 24
problem: Problem[S],
^
SyntaxError: invalid syntax

Hi.
jMetalPy requires Python 3.6 or higher, and it seems that you are using Python 2.7.
Antonio

Hi.
jMetalPy requires Python 3.6 or higher, and it seems that you are using Python 2.7.
Antonio

Thank you so much. I didn't see that information on documentation.
It's working now. :)


[cmd/clusteragent] added languagedetection util package and language detection clusteragent api handler

What does this PR do?
This PR adds an API handler to the clusteragent to handle language detection POST requests that can be received from the core agents.
Motivation
Core agents send to the cluster agent language detection POST requests including information about the languages that were detected for containers of the pods.
The clusteragent should handle these requests by patching the owners of the pods with annotations indicating the detected languages.
Additional Notes

In the current implementation, we only support Deployment type of owners. However, the code is designed in a way to be easily extensible to include other kubernetes native types for the owner and also custom kubernetes owner types.
Telemetry was used to report some metrics regarding the handler behaviour which can be useful for debugging
It is important to test how the handler behaves in case of concurrent patching requests. Currently, we use retryOnConflict in case of failure due to concurrent updates.
Dynamic k8s client was used so that the code can be easily extensible to use any kubernetes owner resource type. For this, we need the GVR (GroupVersionResource) in order to get and update resources using the dynamic client. As we currently only support deployments, the GVR's value is defined in the handler. In order to extend the handler to support other types, it might make more sense to get the GVR on the client side and send its value in the request body.
This PR complements the PR implementing the client side of language detection

Possible Drawbacks / Trade-offs

Possibility of concurrent update requests might lead to conflict when updating the owner annotations, resulting in retrying mechanism and increasing network traffic.

Describe how to test/QA your changes

Unit testing: unit tests were implemented for all the functions.
QA testing:

The handler can be tested with the client that is implemented in this PR.
Enable Process Collection.
Enable Language Detection enabled. You can use the env variable DD_LANGUAGE_DETECTION="true".
Start a deployment that launches pods with containers having languages supported by automatic language detection
Check the metrics reported via telemetry and make sure you can see language_detection_dca_handler metrics reported from the handler.
Check that language annotations were added to the parent deployment.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I think we should move the milestone to 7.50.

@vboulineau
I refactored the code and took into account all your suggestions.
Thanks


lxc restore fails on zfs backend when using projects (searches for wrong snapshot)

Required information

Distribution: ubuntu
Distribution version: 18.10
The output of "lxc info" or if that fails:

Kernel version:
LXC version:
LXD version: snap 3.13 10756
Storage backend in use: ZFS

Issue description
When using projects, restoring from a snapshot (created with lxc) will fail due to lxc looking for the wrong snapshot to restore.
Steps to reproduce

Step one

create project (lxc project create test)
switch to project: lxc project switch test
edit default profile to have at least a disk device
create container: lxc launch images:alpine/edge test

Step two

create snapshot of container: lxc snapshot test torestore

Step three

stop container : lxc stop test
restore snapshot: lxc restore test torestore
Error: Failed to restore ZFS snapshot: cannot open 'data/asterix/lxd/containers/test@snapshot-torestore': dataset does not exist

Actual zfs snapshot: zfs list -t snapshot | grep torestore
data/asterix/lxd/containers/test_test@snapshot-torestore
So snapshot is created with project name, but restore wants it without the project name

Thanks, sent a fix

Quick as always :) Thanks!


arcanist: 20200711 -> 20220425

Description of changes
Hasn't been updated in a while.
Shouldn't need to be bumped too much, official upstream says that it's no longer actively maintained, but looks like there's some maintenance being done on github.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

did an arc diff myself, seems to be fine


[feat] Add .gopass-audit-ignore support to ignore secrets from audits

[feat] Add .gopass-audit-ignore support to ignore secrets from audits
This PR adds a new exclude file that is used during gopass audit to
ignore entries from auditing. The file itself is using RE2 syntax.
Fixes https://github.com/gopasspw/gopass/issues/2806

Thanks!


Package not showing on stable Repository

Operating system: Ubuntu 16.04
Messenger for Desktop version: 2.0.1

Messenger for desktop not showing on stable repository, only whatsie

Fixed, please try again.


Cannot login or register

It redirects me back to homepage after i hit submit button. Error page isn't displaying too.
Tried

delete database
Add-Migration Initial
Update-Database
but still not working. ^{}^

Hey Oscar,
In order to get the database working you need to delete the database in visual studios and just run "Update-Database" in the NuGet Command window. Once you've done that it should work. There is no need to run "Add-Migration Initial."
Running "Add-Migration Initial" means that you are trying to add or alter the database with a table named 'Initial' Which I'm not sure if you're intending to do. Try running the above commands without "Add-Migration Initial'. If that doesn't work then that means when you ran "Add-Migration Initial" it altered the migration file and now tries to run the 'Initial' migration every time. In order to get around this you're likely going to have to revert the migrations file back to the version that is at the latest commit on the branch. I just deleted the database and performed these commands on my PC and it is working. Here's some screenshots:

After doing this I was able to successfully register an account and login:

If problems still occur make sure you've stashed all your changes and are on a fresh copy of the branch with "git stash" and "git reset --hard HEAD", ensure you "git pull" as well.


How dependent on React is react.net?

I understand there are some react specific features like jsx compilation.
But if this is mostly just a wrapper over a Javascript engine, is there any reason why one wouldn't be able to use any isomorphic framework? Or execute any non dom dependent javascript?
Maybe there is a case to make a more generic library e.g. Isomorphic.NET?

If you just want to run JavaScript, you could use JSPool or
JavaScriptEngineSwitcher or ClearScript directly. There's some useful stuff
in ReactJS.NET that could probably be generalised (eg. the caching of
transformed JSX files could be changed to a generic "run this transformer
and cache the result") but the core functionality is provided by a JS
engine.
Sent from my mobile.
On Jun 6, 2015 8:35 AM, "ztsmith"<EMAIL_ADDRESS>wrote:

I understand there are some react specific features like jsx compilation.
But if this is mostly just a wrapper over a Javascript engine, is there
any reason why one wouldn't be able to use any isomorphic framework? Or
execute any non dom dependent javascript?
Maybe there is a case to make a more generic library e.g. Isomorphic.NET?
—
Reply to this email directly or view it on GitHub
https://github.com/reactjs/React.NET/issues/137.

Closing this out since it's mainly a discussion, but feel free to comment if you have any other feedback :)


Centralize Search Projects button on Header

Overview
Search button on page needs the words "Search Projects" centered within the button. Currently, it is off-center.
Action Items

[ ] Center "Search Project" in button.

Resources/Instructions
Header Page in Figma

I fixed this. It will appear in my next PR working on tidying the syntax of the styles.js in the Header component.

Closed via #537


Adds code for computing relative errors at higher frequencies for single pub models

This looks good to me, having the same Q as Jiayu


[OSCI] Added new OSCI author rlaracon

Description
Added new OSCI author rlaracon
Issues Resolved
N/A
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@rlaracon can you move the file to _authors/osci_2023? Sorry i had an error in my notes.

Moved it! Thank you.


tweak(polaris): Track fivetran request

From the Fivetran client side, it is expected to pass the client ID in the header. In Polaris, upon completing each request, the logging exporter will log the trace ID, span ID, and the Polaris client ID
This links the fivetran polair client id with the request's trace ID, allowing us to use this trace ID to filter the complete logs for a particular request.
More details - T-798983

More details - T-798983

@fivetran-rahulprakash This changes are very simple 👍 . DO you have any screenshot how the logs will look like after your change ? You can paste that in this PR.

Yes @kamaljit-1991, Please have a look at https://fivetran.height.app/T-798983#activityId=5d063a24-c375-4c9f-9656-c84e9c60a98c


fix(docker): Fix failing end to end tests

With #980, we fixed an issue which occurred when there were multiple dockerfiles present in the build directory.
However, this may have broken our end to end tests, because the call to Docker was formatted as the following:
docker build -t <imageTag> path/to -f Dockerfile

This should be fine, but the end to end tests began to fail on Monday with the following output:
addons flow when deploying svc
  svc deploy should succeed
  /github.com/aws/amazon-ecs-cli-v2/e2e/addons/addons_test.go:145
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /github.com/aws/amazon-ecs-cli-v2/e2e/addons/Dockerfile: no such file or directory
Error: build Dockerfile at ./hello/Dockerfile with tag gallopinggurdey: building image: exit status 1

This indicates that although the Dockerfile path was set to hello/Dockerfile, Docker was looking for the file somewhere in the root directory of that path (.) and subsequently failing.
This fix always sets the dockerfile path to be relative to the root of the docker build context, not the leaf of the build context.
(previously we were parsing paths like path/to/dockerfile into path/to and dockerfile, assuming that the dockerfile would be searched for in path/to, not path. This was incorrect.)
The new behavior is to call:
docker build -t <imageTag> path/to -f path/to/dockerfile

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

manual e2e output:
------------------------------
addons flow when deploying svc
  svc deploy should succeed
  /github.com/aws/amazon-ecs-cli-v2/e2e/addons/addons_test.go:145
Sending build context to Docker daemon  15.36kB
Step 1/12 : FROM golang:1.13 AS builder
1.13: Pulling from library/golang
376057ac6fa1: Pulling fs layer
5a63a0a859d8: Pulling fs layer
496548a8c952: Pulling fs layer
2adae3950d4d: Pulling fs layer
039b991354af: Pulling fs layer
036abadca78f: Pulling fs layer
0514917ef7dc: Pulling fs layer
039b991354af: Waiting
036abadca78f: Waiting
0514917ef7dc: Waiting
2adae3950d4d: Waiting
5a63a0a859d8: Verifying Checksum
5a63a0a859d8: Download complete
496548a8c952: Verifying Checksum
496548a8c952: Download complete
376057ac6fa1: Verifying Checksum
376057ac6fa1: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Verifying Checksum
2adae3950d4d: Download complete
0514917ef7dc: Verifying Checksum
0514917ef7dc: Download complete
2adae3950d4d: Pull complete
039b991354af: Verifying Checksum
039b991354af: Download complete
039b991354af: Pull complete
036abadca78f: Verifying Checksum
036abadca78f: Download complete
036abadca78f: Pull complete
0514917ef7dc: Pull complete
Digest: sha256:c56dbb28a169f9bccdf398dc9d4bc8d41463352843dbcf03b6ef2fb3472c1794
Status: Downloaded newer image for golang:1.13
 ---> 84125009cb55
Step 2/12 : RUN mkdir /app
 ---> Running in 2c23f121b950
Removing intermediate container 2c23f121b950
 ---> 34b4e6a32ba5
Step 3/12 : ADD . /app
 ---> 31c256dafe5e
Step 4/12 : WORKDIR /app
 ---> Running in 2e559aa8da0f
Removing intermediate container 2e559aa8da0f
 ---> 1b43d13a1e12
Step 5/12 : ENV GOPROXY=direct
 ---> Running in e79f955cd745
Removing intermediate container e79f955cd745
 ---> e668b8a2d405
Step 6/12 : RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64  go build -o api ./
 ---> Running in 32730af8f89d
go: downloading github.com/julienschmidt/httprouter v1.3.0
go: downloading github.com/aws/aws-sdk-go v1.29.22
go: extracting github.com/julienschmidt/httprouter v1.3.0
go: extracting github.com/aws/aws-sdk-go v1.29.22
go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: extracting github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: finding github.com/aws/aws-sdk-go v1.29.22
go: finding github.com/julienschmidt/httprouter v1.3.0
go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
Removing intermediate container 32730af8f89d
 ---> 787aa8f4f6ff
Step 7/12 : FROM alpine:latest
latest: Pulling from library/alpine
df20fa9351a1: Pulling fs layer
df20fa9351a1: Verifying Checksum
df20fa9351a1: Download complete
df20fa9351a1: Pull complete
Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321
Status: Downloaded newer image for alpine:latest
 ---> a24bb4013296
Step 8/12 : RUN apk --no-cache add ca-certificates
 ---> Running in 6a54d8147616
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
(1/1) Installing ca-certificates (20191127-r3)
Executing busybox-1.31.1-r16.trigger
Executing ca-certificates-20191127-r3.trigger
OK: 6 MiB in 15 packages
Removing intermediate container 6a54d8147616
 ---> 143949a73174
Step 9/12 : COPY --from=builder /app ./
 ---> d733f8c7298e
Step 10/12 : RUN chmod +x ./api
 ---> Running in d4aa4244d5eb
Removing intermediate container d4aa4244d5eb
 ---> 27b12afc23a8
Step 11/12 : ENTRYPOINT ["./api"]
 ---> Running in e2ae51273668
Removing intermediate container e2ae51273668
 ---> ed0aea306c5b
Step 12/12 : EXPOSE 80
 ---> Running in 56e0483299d6
Removing intermediate container 56e0483299d6
 ---> 23762d06ee5c
Successfully built 23762d06ee5c
Successfully tagged<PHONE_NUMBER>39.dkr.ecr.us-west-2.amazonaws.com/e2e-addons-1591399928/hello:gallopinggurdey
WARNING! Your password will be stored unencrypted in /home/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
The push refers to repository [898620229039.dkr.ecr.us-west-2.amazonaws.com/e2e-addons-1591399928/hello]
c90a228106bd: Preparing
a179a9585d82: Preparing
0240e72df335: Preparing
50644c29ef5a: Preparing
50644c29ef5a: Pushed
c90a228106bd: Pushed
a179a9585d82: Pushed
0240e72df335: Pushed
gallopinggurdey: digest: sha256:6336b47e054d7f6f72a7ed0b0f5e7f6536b9d4365340a9346c4ccf09243abae5 size: 1160

✔ Deployed hello, you can access it at http://e2e-a-Publi-NDYHD1Y9WIY7-993455.us-west-2.elb.amazonaws.com.

• [SLOW TEST:447.251 seconds]
addons flow
/github.com/aws/amazon-ecs-cli-v2/e2e/addons/addons_test.go:19
  when deploying svc
  /github.com/aws/amazon-ecs-cli-v2/e2e/addons/addons_test.go:133
    svc deploy should succeed
    /github.com/aws/amazon-ecs-cli-v2/e2e/addons/addons_test.go:145

Thanks for the thorough explanation!


onActivityResult is deprecated

Hi, we need a new mechanism to get notified about purchase success or failure.

Please read this thread https://stackoverflow.com/questions/62671106/onactivityresult-method-is-deprecated-what-is-the-alternative
Is it possible to add needed callbacks right to callback: PurchaseIntentCallback.() -> Unit ?

Thanks for reporting this issue. it will be added in future release of this library.

Fixed now in 2.0.0


Some clean-up

Simplifiy Assembly version for M.Bcl.HashCode It doesn't need to be specified separately. We can just use the VersionPrefix + ".0". Arcade handles that automatically for us.
Do a "chmod +x" for dotnet.sh. That was missed previously.
Set DotNetUseShippingVersions=true so that assembly versions are always the shipping ones instead of "<IP_ADDRESS>" (arcade default).
Fix the .NET Framework condition for System.Buffers.

@ericstj here's the versioning change after a new version of System.Buffers got released:

(IsPackable gets set from true to false)

The versioning change for Microsoft.Bcl.Hashcode is simpler as it uses the same version for both the package version and assembly version:

(again, the diff doesn't show it but IsPackable gets set from true to false here)


Closable property on bMessage doesn't works properly

Overview of the problem
Buefy version: [0.6.3]
Vuejs version: [2.5.13]
OS/Browser: Chrome
Description
The closable property (bMessage) doesn't works properly.
Steps to reproduce
https://codepen.io/danielschmitz/pen/XZarRR?editors=1010
Expected behavior
The icon must be hidden when closeable=false

Actual behavior
Icon its show with closeable=true or closeable=false

You have to use your prop with : as **:**closeable="false" to pass a boolean to the component.
https://codepen.io/anon/pen/WMENQR?editors=1010


Set Browser Timeout - set value does not apply

Describe the bug
Set Browser Timeout does not seems to apply the change timeout value anymore
To Reproduce
Try Keyword
[Documentation]    Optionally (Try) to run a keyword - Without failing
...                - Try to run the keyword "name" and do not fail
...                - Supports the keyword's arguments, but each need to be named
...                - Avoids the default delay of 10s - Timeout is 2s
[Arguments]    ${kw_name}    &{kw_arguments}
${previous_timeout}=    Set Browser Timeout      timeout=2s    scope=Suite
TRY
Run Keyword    ${kw_name}    &{kw_arguments}
EXCEPT
Log    The keyword ${kw_name} failed, but we will only take a screenshot and continue
FINALLY
Set Browser Timeout    timeout=${previous_timeout}    scope=Suite
END
Expected behavior
The TRY section should never exceed the 2s timeout
Actual behavior
The TRY section has a 10s timeout even if if was changed to 2s
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: WSL U.2204
Browser [chromium]
Version Robot Framework 7.1.1 (Python 3.10.12 on linux)

robotframework                  7.1.1         /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-assertion-engine 3.0.3         /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-browser          19.1.0        /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-faker            5.0.0         /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-pabot            4.0.0         /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-pythonlibcore    4.4.1         /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-requests         0.9.7         /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-robocop          5.5.0         /home/pwuser/.local/lib/python3.10/site-packages pip
robotframework-stacktrace       0.4.1

Well , I'm closing this issue.  I realized that in my use case, the keyword is using no Browser related KW to trigger the Browser.Timeout.   The delay is caused by a user keyword having a WHILE loop that fails after a limit resulting in a delay of about 10s.  So changing the Browser.Timeout has simply no effect in such a keyword.


fix goal_point to goal_pose

Signed-off-by: Kosuke Murakami<EMAIL_ADDRESS>Description
fix build error
https://github.com/tier4/AutowareArchitectureProposal.iv/runs/4156544013?check_suite_focus=true

Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[ ] Read pull request guidelines
[ ] Code follows coding guidelines
[ ] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@k0suke-murakami
fixed at this PR
https://github.com/tier4/AutowareArchitectureProposal.iv/pull/564


api3 world error

I generated a fresh world plots, it generated ok!
After i walked far away from spawn, grass is spawning and then map is generated on default generator!
Is it duplicated? If so pls close it :D

I close to not get banned


Cannot load ./output/table for default table output

https://github.com/chetan/simplecov-console/blob/b2d3598d310d4fdc916de69c1a4bef94d555502f/lib/simplecov-console.rb#L35
This require statement can't find the correct file. I think it needs to be changed to:
require 'simplecov-console/output/table'

Ugh, my mistake. Missed a commit when pushing the previous. Fixed now in 0.7.2.


Helm subchart version dynamic update

i'm looking for suggesstion on how to override Helm subchart version, we have around 20+ microservice charts which are using a sub-chart,  if new version is published on sub-chart , we have to update sub-chart version in all microservice charts which is quite repetetive.  Is there any best practice on this?

We have similar requirements, and we publish through GitOps. The general process is as follows:

Specify the version with a wildcard, such as WEB_CHART_SEMVER: "^0".
Pull the image and unzip it, using helm pull xxxxx --untar.
Get the chart's version number.
Pull another image and unzip it, using helm pull xxxx --untar.
Replace the version number with yq, using yq w -i "xxxxxxx/Chart.yaml" "appVersion" "0.1.1".
Deploy with helm.


Subversion folders confuse cargo

I'm trying to a build a project using vendored sources in a private CI system. It worked find when I was using Subversion exports, but if I use a Subversion (1.6) checkout, the .svn folders confuse cargo.
error: failed to load source for a dependency on `getopts`

Caused by:
  Unable to update registry https://github.com/rust-lang/crates.io-index

Caused by:
  failed to update replaced source `registry https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to read `/home/user/trunk/crate_name/vendor/.svn/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

Thanks for the report! I think I've covered this in https://github.com/rust-lang/cargo/pull/3417.
You may hold the badge for "first Rust project  using SVN" now :)

Thank you! If that merges soon, we're looking at stable in 1.15?
The work-around (just in case anyone else has the same issue) is to update to a Subversion 1.7 working copy, which replaces the multitude of .svn folders with a single one at the top level.

Thank you! If that merges soon, we're looking at stable in 1.15?
The work-around (just in case anyone else has the same issue) is to update to a Subversion 1.7 working copy, which replaces the multitude of .svn folders with a single one at the top level.

Indeed! It may miss the 1.15 release at this point, though.

@alexcrichton  I wish to have svn depencency, is it possible? = { svn = "https://..." }


Group dropdown not showing

Hi,
I'm trying to set up "grouping" in a dropdown box (see column description below) but unfortunately, these groups are not showing (we can see a blank line with no text). It sounds like a CSS issue. Would you be able to tell me which CSS properties I should look at to attempt to resolve this? Alternatively, would you be able to give me some ropes on how to debug this?
Many thanks in advance
Kind regards
Bertrand

{
type: 'dropdown',
id: 'type',
submitType: 'array',
title: t.type,
width: '100',
columnDrag: true,
source: [
{ group:'Agriculture, Forestry and Other Land Use', id: 'afolu.01', name: 'Avoided Ecosystem Degradation' },
{ group:'Agriculture, Forestry and Other Land Use', id: 'afolu.02', name: 'Ecosystem Creation or Restoration' },
{ group:'Renewable Energy', id: 're.01', name: 'Biomass' },
{ group:'Renewable Energy', id: 're.02', name: 'Biogas' },
{ group:'Energy Efficiency and Fuel Switch', id: 'eefs.01', name: 'Energy Demand, Domestic' },
{ group:'Energy Efficiency and Fuel Switch', id: 'eefs.02', name: 'Energy Demand, Industrial'}
]
}

Hi,
It is this CSS for group name :
.jdropdown-picker .jdropdown-group-name
{
    font-size: 1em;
    text-transform: uppercase;
    padding-top:10px;
    padding-bottom:10px;
    display: block;
    border-bottom: 1px solid #e6e6e8;
    padding-left:20px;
    padding-right:20px;
    text-align:center;
    font-weight:bold;
}

Lovely, thanks, Guillaume!


Join Us Page [Bug Title here]

GSSOC'23
What happened?
When we click on Join Us, a registration form opens up, that submits the form without the information being filled
How can we reproduce this bug?

Go to Code Set Go website
Click on Join Us on the home page
The registration form opens
Click on submit button

Urgency (Optional)
High priority

Kindly assign me this issue under GSSOC'23

Issue assigned already before


Usable 'state' property

Public state property was unused.
ToggleVisibility now mutate the prop accordingly

Toggle visibility without forcing a specific state (as the name implies)

Motivation:
We needed to be able to know if the popper was shown so that we could call the update method in certain condition (and avoid calling it if the popper wasn't opened)

thanks for the PR, ill release a version after a run some tests on it. start of next week I hope.

released in version 7.0.0, had to make some changes as this PR broke the lib


cmark 0.5

cmark-0.5.0 depended on by:

pandoc-<IP_ADDRESS> (>=<IP_ADDRESS> && < 0.5). No maintainer. @jgm

Sorry for the noise, I apparently didn't pay close attention to what I copy/pasted earlier. cmark-0.5 is just waiting on pandoc @jgm.


How we can get full list of workloads and components fast?

If I wanna install only component I need to specify the list of workloads or components. But where and how I can get full list of components and workloads?
It's not mentioned in the article. It's also not mentioned in a commandline documentation https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio
Could you give direct links to https://docs.microsoft.com/en-us/visualstudio/install/workload-and-component-ids to reduce the number of hops and number of frustrated devs

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

ID: 1b2a7f87-7685-2618-9be0-f2286662342f
Version Independent ID: 626a45d3-732a-6992-9f0c-bf06bc87fe1c
Content: Install on low bandwidth or unreliable network environments - Visual Studio
Content Source: docs/install/install-vs-inconsistent-quality-network.md
Product: visual-studio-dev15
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@SychevIgor A great suggestion; we'll get it implemented. The doc fix should go live tomorrow. And thanks for your feedback!

The doc fix is live. Thanks again for the suggestion!


featuresat with continuous zoom

I added continuous zoom to leaflet using this Leaflet/Leaflet#1941.
It changes tilesize to get tiles decimal zoom levels. Now, I changed the tilesize in _getTilePoint function to get the correct tile. But inside that tile featureAt still doesn't work correctly.
It's probably because of _canvasIDToFeatures not returning the correct features at decimal zoom levels.
Need help solving this. @apollolm @hallahan @rgwozdz

Hi @rishabhjain30. We haven't considered supporting leaflet 1.0, as it is still in beta. I've seen Tangram work well with Mapbox Vector Tiles with Leaflet 1.0. Have you considered using that?

@rishabhjain30 @hallahan Another option is https://github.com/IvanSanchez/Leaflet.VectorGrid.  This was built recently by one of the Leaflet devs @IvanSanchez to render vector tiles on Leaflet 1.0.

@hallahan @lesserj Thanks
But is there any way to make featureat work wirh decimal zooms using the above mention pull request?

@hallahan any updates on this?


Adding Volunteer Availability field in the profile page.

fixes #6

Can you please fix merge conflicts?

I have resolved the merge conflicts.


--query?

--query seems to be a universal flag for each az command, but its not often listed as a required or optional flag. Maybe linking to how --query works from this root doc would be useful?

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

ID: eeedb9a7-2aed-6727-4cfb-1515809d676e
Version Independent ID: 2c83180d-22ad-db42-e2eb-f27f11977963
Content: az
Content Source: src/azure-cli/azure/cli/command_modules/profile/_help.py
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

hi @SeaDude here's doc https://docs.microsoft.com/en-us/cli/azure/query-azure-cli?view=azure-cli-latest on --query. Does it helpful?

Sure this works. Thank you


Lack of Nonce management in the client

Asset.create function lacks an option to manage Nonce, which limits number of assets which can be published from one wallet. Essentially current implementation allows only sequential publishing.
I can not start publishing next asset while previous asset publishing process hasn't finished yet. That's because next asset pub transaction goes with the same Nonce as previous asset pub transaction.
Functional workaround here - use different wallets if there is a need to publish more then ~50 assets per hour.
But it would be nice to have an ability to publish several assets in parallel from the same wallet.

@botnumberseven, unfortunately this is an EVM limitation. Even if there is a possibility to control nonce manually, transactions are still mined in sequence (ordered by nonce) on-chain. So, even if you're submitting multiple transactions in parallel, they still will be mined in sequence and if one of the transactions fails, it will block all other submitted transactions with bigger nonces.
Using multiple wallets seems the best available option to me.


[tool_crash] FileSystemException: Cannot delete file, OS Error: Access is denied., errno = 5

Command
flutter --quiet assemble --no-version-check --depfile E:\Freelance\wewo_ui\end_wewo\build\app\intermediates\flutter\debug/flutter_build.d --output E:\Freelance\wewo_ui\end_wewo\build\app\intermediates\flutter\debug -dTargetFile=E:\Freelance\wewo_ui\end_wewo\lib\main.dart -dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true --DartDefines=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== debug_android_application

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot delete file, OS Error: Access is denied.
, errno = 5
#0      _File.throwIfError (dart:io/file_impl.dart:629:7)
#1      _File._deleteSync (dart:io/file_impl.dart:312:5)
#2      FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:424:7)
#3      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#4      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#5      ErrorHandlingFileSystem.deleteIfExists (package:flutter_tools/src/base/error_handling_io.dart:82:12)
#6      Target.clearStamp (package:flutter_tools/src/build_system/build_system.dart:165:29)
#7      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:874:19)
<asynchronous suspension>
#8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:614:16)
<asynchronous suspension>
#9      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:337:32)
<asynchronous suspension>
#10     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#12     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>

[!] Flutter (Channel stable, 3.7.3, on Microsoft Windows [Version 10.0.19045.2846], locale en-US)
    • Flutter version 3.7.3 on channel stable at E:\Flutter\SDK\flutter_windows_3.0.3-stable\flutter
    ! The flutter binary is not on your path. Consider adding E:\Flutter\SDK\flutter_windows_3.0.3-stable\flutter\bin to your path.
    ! The dart binary is not on your path. Consider adding E:\Flutter\SDK\flutter_windows_3.0.3-stable\flutter\bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (9 weeks ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\DongDuc\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: C:\Program Files\Java\jdk-20\bin\java
    • Java version Java(TM) SE Runtime Environment (build 20+36-2344)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop for Windows
    ✗ Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[!] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.19045.2846]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 112.0.5615.87
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 92.0.902.67

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 4 categories.

Flutter Application Metadata
Type: malformed
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: null
Creation framework version: null
Plugins
connectivity_plus-2.3.9
connectivity_plus_linux-1.3.1
connectivity_plus_macos-1.2.6
connectivity_plus_web-1.2.5
connectivity_plus_windows-1.2.2
flutter_login_facebook-1.7.0
google_sign_in-5.4.4
google_sign_in_android-6.1.8
google_sign_in_ios-5.6.1
google_sign_in_web-0.10.2+1
path_provider-2.0.4
path_provider_linux-2.1.2
path_provider_macos-2.0.4
path_provider_windows-2.0.4
sqflite-2.0.1

Closing as duplicate of https://github.com/flutter/flutter/issues/88830 and https://github.com/flutter/flutter/issues/103861


Can perfetto support open file by bash/bat

I want to open trace file automatically using perfetto.dev
Can i open it by code in .bash or .bat?

Yes, see open_trace_in_browser() from https://github.com/google/perfetto/blob/master/tools/record_android_trace#L218
That has the code / logic you need for auto-opening.

@primiano Thx a lot, i can auto open it now.


tweak(other): :arrow_up: upd packages

Periodic updates.

Codecov Report

Merging #427 (7cd0587) into main (f392070) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #427   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines           29        29
  Branches         5         5
=========================================
  Hits            29        29

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 975b972...7cd0587. Read the comment docs.


Include $DISPLAY in cache dir path

Since clipmenud is specific to one X $DISPLAY, that value should be included in the path to its cache directory. This would allow correct handling of multiple X displays for one user, where each display would have its own clipmenud instance running separately.

That's actually a good point, thanks. This will require bumping major_version, though, so I'll save it for when we have more changes to go.

I've been thinking about this for clipmenu 7 and I'm not entirely sure that it would interact well for cases where uses X forwarding, right? Then one gets a completely different clipmenud, even though it's attached to the same eventual X display.


AngularJS support

Hi all, been thinking about this for a little while and someone on the Pluralsight discussions also asked how to test SPA apps with Seleno.
Was just wondering regarding angular in particular, what the recommended approach is with Seleno? There is this .NET port of protractor (https://github.com/bbaia/protractor-net/search?utf8=✓&q=WaitForAngular) that checks to see if DOM is ready after client side angular changes. Would be truly great to be able to use Seleno (in conjunction with other .NET libs eg BDDfy etc) to test angular apps - especially for .NET APS.NET devs using Visual Studio etc to write the actual app - for them to be able to stay in the ".NET world".
Just thinking out loud :)

Hi Jason,
Short answer is yes - you can definitely use Seleno for testing Angular apps.
Longer answer: I think there is some features that are probably needed to make it easier. I know that @mwhelan was looking into adding some a while back - not sure if you got anywhere with that mate?
That WaitForAngular method in the protractor port is the sort of thing I'm thinking. It would be interesting for one of us to get across that protractor port and see what it has that isn't in Seleno and then add anything that makes sense. I think the value you get in Seleno means that it's worth using it for testing SPAs.

Hi Jason,
Short answer is yes - you can definitely use Seleno for testing Angular apps.
Longer answer: I think there is some features that are probably needed to make it easier. I know that @mwhelan was looking into adding some a while back - not sure if you got anywhere with that mate?
That WaitForAngular method in the protractor port is the sort of thing I'm thinking. It would be interesting for one of us to get across that protractor port and see what it has that isn't in Seleno and then add anything that makes sense. I think the value you get in Seleno means that it's worth using it for testing SPAs.

btw - it probably makes sense to release a TestStack.Seleno.Angular package if we end up adding Angular specific code in there. Like what we will eventually get around to for MVC (btw - I got about 50% of the MVC split out working on my computer late last year).

btw - it probably makes sense to release a TestStack.Seleno.Angular package if we end up adding Angular specific code in there. Like what we will eventually get around to for MVC (btw - I got about 50% of the MVC split out working on my computer late last year).

Yeah I was thinking the same about sep package, also would be awesome to be able to use Seleno page object models for angular apps, not sure what changes might be required for that though (e.g. when a whole new angular view is loaded, etc" ??
Another option is to have a config setting that can be enabled to automatically add angular waits after  all page interactions?? From a Seleno end-user perspective this could be amazing - may also be useful if a site (e.g. ASP.NET MVC) is mostly non-SPA with small pockets of SPA...
Alternately on the page object have a "SPA wait provider" (with maybe an angular provider to start with) that will automatically be used if set to wait for DOM ready?
Sorry just blurting out random ideas :)

Yeah I was thinking the same about sep package, also would be awesome to be able to use Seleno page object models for angular apps, not sure what changes might be required for that though (e.g. when a whole new angular view is loaded, etc" ??
Another option is to have a config setting that can be enabled to automatically add angular waits after  all page interactions?? From a Seleno end-user perspective this could be amazing - may also be useful if a site (e.g. ASP.NET MVC) is mostly non-SPA with small pockets of SPA...
Alternately on the page object have a "SPA wait provider" (with maybe an angular provider to start with) that will automatically be used if set to wait for DOM ready?
Sorry just blurting out random ideas :)

I like where you are going with that thinking.
If we can take care of waiting as a cross cutting concern that would be awesome.
Then the only thing left is if we need new selectors e.g. To pick up scope values or something?

On 1 Jan 2015, at 1:51 pm, Jason Roberts<EMAIL_ADDRESS>wrote:
Yeah I was thinking the same about sep package, also would be awesome to be able to use Seleno page object models for angular apps, not sure what changes might be required for that though (e.g. when a whole new angular view is loaded, etc" ??
Another option is to have a config setting that can be enabled to automatically add angular waits after all page interactions?? From a Seleno end-user perspective this could be amazing - may also be useful if a site (e.g. ASP.NET MVC) is mostly non-SPA with small pockets of SPA...
Alternately on the page object have a "SPA wait provider" (with maybe an angular provider to start with) that will automatically be used if set to wait for DOM ready?
Sorry just blurting out random ideas :)
—
Reply to this email directly or view it on GitHub.

I like where you are going with that thinking.
If we can take care of waiting as a cross cutting concern that would be awesome.
Then the only thing left is if we need new selectors e.g. To pick up scope values or something?

On 1 Jan 2015, at 1:51 pm, Jason Roberts<EMAIL_ADDRESS>wrote:
Yeah I was thinking the same about sep package, also would be awesome to be able to use Seleno page object models for angular apps, not sure what changes might be required for that though (e.g. when a whole new angular view is loaded, etc" ??
Another option is to have a config setting that can be enabled to automatically add angular waits after all page interactions?? From a Seleno end-user perspective this could be amazing - may also be useful if a site (e.g. ASP.NET MVC) is mostly non-SPA with small pockets of SPA...
Alternately on the page object have a "SPA wait provider" (with maybe an angular provider to start with) that will automatically be used if set to wait for DOM ready?
Sorry just blurting out random ideas :)
—
Reply to this email directly or view it on GitHub.

Maybe scope/model selectors would be best in a separate package? Or is this something that makes sense, rather than just selecting elements in the normal existing way? Interesting ideas though :) I think maybe adding the wait provider is a good first step, once that's released then the extra value adds like selectors? I'm sure there's a whole can of worms that can be opened ;)

Maybe scope/model selectors would be best in a separate package? Or is this something that makes sense, rather than just selecting elements in the normal existing way? Interesting ideas though :) I think maybe adding the wait provider is a good first step, once that's released then the extra value adds like selectors? I'm sure there's a whole can of worms that can be opened ;)

was there a package created for this? or is current nuget have support for angular?


Client certificate credentials require non-empty password

If you specify a PKCS#12 client certificate credential for hub authentication, the plugin will ignore it if the password associated with the credential is empty.

Error looks like:
13:45:17  ERROR: [CodeSonar] failed to authenticate.
13:45:17  IOException: Received fatal alert: handshake_failure
13:45:17  Stack Trace: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
...
13:45:17  	at org.apache.http.client.fluent.Executor.execute(Executor.java:262)
13:45:17  	at org.jenkinsci.plugins.codesonar.services.HttpService.execute(HttpService.java:171)
13:45:17  	at org.jenkinsci.plugins.codesonar.services.AuthenticationService.authenticate701(AuthenticationService.java:107)
13:45:17  	at org.jenkinsci.plugins.codesonar.services.AuthenticationService.authenticate(AuthenticationService.java:40)
13:45:17  	at org.jenkinsci.plugins.codesonar.CodeSonarPublisher.authenticate(CodeSonarPublisher.java:458)
13:45:17  	at org.jenkinsci.plugins.codesonar.CodeSonarPublisher.perform(CodeSonarPublisher.java:368)
...

Addressed in PR #16

We investigated this and implemented a work-around.  Unfortunately, I don't remember all of the details. I think we found that Jenkins would not permit us to read the private key for a certificate credentials object that is not password protected.  In order to allow users to specify a passwordless PKCS 12 file, we instead allowed users to specify their passwordless file as a "Secret file" type, rather than as  "Certificate" type.


Web pages are often stuck

Gitea version (or commit ref):5.0-rc2
Git version:
Operating system:windows 10 64bit
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
Web pages are often stuck，binary download from https://dl.gitea.io/gitea/
git server is local
Screenshots

Longer delay,1.6s

Only issues written in English are accepted, please reopen after you translated it to English.

What is stuck? Your screenshot just shows show loading (Which shouldn't happen on a local server)

It did happen

My computer configuration is
cpu:intel i7 7700k
memory:16GB
hard disk:2TB+2TB raid0

It's very slow when open when browser repository

How big are your repo?

5,737 files
260MB size
the page bottom show:
Gitea Version: 1.5.0 Page: 2400ms Template: 1779ms

Can confirm; larger repos (Linux kernel, Android repo to name a few examples) take >8-10seconds even on high-end machines.
For each request a huge number of git-list-rev and git-cat-file calls are spawned.

@Siesh1oo this is a known issue for big repo. duplicated with #491


Using pysteps-data for tests and examples

Currently we have a set of sample data in a separate repository, pysteps-data. This is well motivated by the necessity to keep the main library repository as slim as possible.
The problem is that more and more we need sample data within the library, as in the case of the tests run with Travis or the sphinx-gallery that we are preparing and will be eventually built by  Read the Docs.
To avoid having to include data in the library, we could think of using the approach of wradlib. Fundamentally, wradlib uses a shell script to install the library through Travis. This script will also clone the wradlib-data repository and set an environment variable WRADLIB_DATA containing the path to the data (here). Finally, a util method is used to get the path to data directory when need, as for example when running a test for importing a file (here).
Personally, I think we should adopt something similar so that we can store all our sample data in one place and fetch them only when needed (tests, sphinx-gallery,...).
What do you think?

#71 closes this issue.


History api integration

Progress thus far:

[x] History state changes on image load.
[x] window.location.pathname updates with each image load with the following form: #!imagelightbox//
[x] alterations to window.location.pathname are removed on quit.
[ ] a function to handle image loading on browser "back" and "forward" and "refresh". (partially there)

EDIT

[x] will load image in history object on refresh.

Because of the complexity and care it would take to integrate History properly, I would appreciate your input @rejas before progressing further.
Happy holidays.

I am a little under the weather right now to read code so just this one thing: don't see any tests in the commit, why not add some (in case you are bored ;-)
will be back in fullforce in 2017. happy new year!

Take a good rest and hopefully you are well now that it is 2017!
Test added :)

@rejas fixed the current conflict if you'd like to test.

I tested it, looks nice on first sight. Further testing will occur :-)
But I dont see any nightwatch js tests for the feature in your code?
Also, quitOnDocClick doesnt work anymore, could you look into it?

@rejas Ah, I see what I did. I had removed the $(document).ready(...) wrapper during a test, though forgot to replace it. Fixed, I believe.

Thx for the fix.
Regarding nightwatch/selenium:
Yeah, it is not the most glorious task but it should be done :-( First of one would need to formulate for himself (no code :-) what should be tested, for example here the usecase would be:

open imagelightbox, navigate to next slide, make sure that the url changed.
open imageligthbox with history-url, make sure that the correct image is displayed
You can take the existing tests as a blueprint for how the code works (I am not a pro in that field neither :-). If you need help , shout :-)

Closed via https://github.com/rejas/imagelightbox/pull/149
Thx for your work, helped the other PR.