Update Resources Content (#408)

added housing image
fixed 500 image path
fixed counseling and trauma image
added immigration images
fixed basic brown nerds content
added similar organizations images
added travel image
added writing image
Update Resources Content (#408)

✅ By submitting this PR, I have verified the following

[x] Checked to see if a similar PR has already been opened 🤔
[x] Reviewed the contributing guidelines 🔍
[ ] Added my name to the bottom of the list under the Contributors section in the README.md with a link to my personal website or GitHub profile 👥 (Optional)

Thank you! It feels good seeing my first open-source contribution. Looking forward to keeping contributing to Techqueria's website! 🙂


fix jsonSchemaMergeAllOf options in createRequestSchema

Description
The creation of a request schema works incorrectly. If there is a request body with allOf refs there will be no correct request body.
Motivation and Context
It will fix bug
Screenshots
 ➡
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

Hi @98o718, thanks for the PR/fix! I am still not 100% clear on how this prevent some allOf schemas from getting resolved/merged but I can definitely see that we were specifying the ignoreAdditionalProperties option in the wrong place.


Allow tokens with multiple audiences as long as one matches

Signed-off-by: Haytham Abuelfutuh<EMAIL_ADDRESS>TL;DR
Tested this using keycloak as an external auth server.
The token generated by keycloak come with account as audience and verified that with admin not configured with this audience rejects the token
{"json":{"src":"handlers.go:237"},"level":"info","msg":"Failed to parse Access Token from context. Will attempt to find IDToken. Error: invalid audience [account]","ts":"2022-02-02T15:43:42+05:30"}

Unit tests added for multiple audience.
Tried adding keycloak token mapper to generate multiple audience but couldn't get that to work . But this code works in all cases which are required for this ticket.
Type

[X] Bug Fix
[X] Feature
[ ] Plugin

Are all requirements met?

[X] Code completed
[X] Smoke tested
[X] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue
fixes https://github.com/flyteorg/flyte/issues/1809

@pmahindrakar-oss this is roughly what's needed... feel free to validate and test though..

@EngHabu this is ready for review. Verified this using keycloak

Wait - should you change line# 177

Thanks @kumare3 for pointing that out. Adding the matched audience to the identity context now


YouTube TuneCore auto-generated playlist pages have infinite scrolling page count.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
YouTube has some automatically generated channels and playlists for musicians via a partner named TuneCore.  The playlist page for these channels is infinite scrolling (as of today).  This causes yt-dlp to grab infinite number of playlist pages.  There is no option to tell yt-dlp to stop grabbing playlist pages upon repetition.
yt-dlp will need to add playlist repetition detection to abort continued grabbing of playlist pages.
Example:
https://www.youtube.com/channel/UCH0_ywht5OYCdRYWZUjBQwQ/playlists
This channel and all its playlists and videos are auto-generated by YouTube via partner TuneCore.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
>yt-dlp -vU "https://www.youtube.com/channel/UCH0_ywht5OYCdRYWZUjBQwQ/playlists"
[debug] Command-line config: ['-vU', 'https://www.youtube.com/channel/UCH0_ywht5OYCdRYWZUjBQwQ/playlists']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version 2022.11.11 [8b64402] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-7-6.1.7601-SP1 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg n4.4-6-g7e9b9f24df (setts), ffprobe n4.4-6-g7e9b9f24df
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [youtube:tab] Extracting URL: https://www.youtube.com/channel/UCH0_ywht5OYCdRYWZUjBQwQ/playlists
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ/playlists: Downloading webpage
[debug] [youtube:tab] Selected tab: 'playlists' (playlists), Requested tab: 'playlists'
[download] Downloading playlist: Pogo - Topic - Playlists
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 1: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 2: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 3: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 4: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 5: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 6: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 7: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 8: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 9: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 10: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 11: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 12: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 13: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 14: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 15: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 16: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 17: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 18: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 19: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 20: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 21: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 22: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 23: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 24: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 25: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 26: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 27: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 28: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 29: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 30: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 31: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 32: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 33: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 34: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 35: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 36: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 37: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 38: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 39: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 40: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 41: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 42: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 43: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 44: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 45: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 46: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 47: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 48: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 49: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 50: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 51: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 52: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 53: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 54: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 55: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 56: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 57: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 58: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 59: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 60: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 61: Downloading API JSON
[youtube:tab] UCH0_ywht5OYCdRYWZUjBQwQ page 62: Downloading API JSON

ERROR: Interrupted by user

This is a bug on Youtube's side and will likely fix itself in a few days. In the mean time, you can use --playlist-end

Thank you.
Two things however.  I don't believe --playlist-end nor the -I switch are intended to control how many pages of playlists are downloaded, but rather how many items within a specific playlist is downloaded.  You see, yt-dlp is unable to download the page of playlists (ie: playlist of playlists) due to infinite scrolling.
Secondly, I doubt this will fix itself suddenly "in a few days".  I only stumbled onto it for the first time, and this may be a very old and persistent issue that has gone unreported.
Might still be worth looking at detecting infinite page dynamic loading scroll on YouTube.

I don't believe --playlist-end nor the -I switch are intended to control how many pages of playlists are downloaded, but rather how many items within a specific playlist is downloaded. You see, yt-dlp is unable to download the page of playlists (aka "playlist tab") due to infinite scrolling.

Did you try?

Secondly, I doubt this will fix itself suddenly "in a few days". I only stumbled onto it for the first time, and this may be a very old and persistent issue that has gone unreported.

Even if the issue does not fix itself, the bug is still on Youtube's side. Similar issues have been observed in the past.
We cannot have a simple duplicate detection since playlists may genuinely have repeated entries. Workarounds are possible (e.g. check if we are in playlist tab of a channel and encounters duplicate entry), but will be tedious to implement. Plus, the workaround will likely only solve this specific issue and similar bugs in Youtube API will require even more workarounds
@coletdjnz Since similar issues have now been observed multiple times, do u have any idea if we can somehow detect this reliably?

@coletdjnz Since similar issues have now been observed multiple times, do u have any
idea if we can somehow detect this reliably?

If the continuations are the same, we could maybe keep a cache of ones we have seen in a given context and break based on that. But I have a feeling all of them are unique for tabs.

The issue still exists. We may want to try your suggestion

This seems to be an intentional change rather than a backend issue, and has started rolling out to more lately.
Unlike the comments loop issue, the observed behaviour is this seems to start looping at the known end of feed/channel page rather than somewhere in the middle.
The above suggestion I made looks like it'll work for channel pages at least. Not sure if other feeds are impacted.

Has this gone away now? Or should yt-dl be acquiring some variant of #6621?

Has this gone away now? Or should yt-dl be acquiring some variant of #6621?

Have not seen or heard of any reports. Must have been a short-lived bug on YouTube's side.

Has this gone away now? Or should yt-dl be acquiring some variant of #6621?

Have not seen or heard of any reports recently. Must have been a short-lived bug on YouTube's side.

The infinite scrolling is still goofy on some /playlists urls like the one reported in this issue.

Encountered this bug today on this channel: https://www.youtube.com/channel/UCaqOj5uQl-733nBtBpEEGBw/playlists

and a ton of others:
https://www.youtube.com/channel/UCMki-b0zfAQiMQ0nbsrIuBQ/playlists
https://www.youtube.com/channel/UCJdP0RSsGpcdI8S_aH5Y7yQ/playlists
Basically any auto-generated music channel that doesn't have a /release tab has this issue form what I've seen

Is there a work-around to limit the number of pages loaded in the initial scan? playlist_end and max_downloads only apply after the UUsItMF6_fP754ihIsSRLk5A page 9: Downloading API JSON stage

--lazy-playlist will process the video results per page instead of downloading all pages beforehand

I think you'd also need break_on_existing to True to avoid infinite scrolling

Actually I think you'd still hit infinite scrolling unless you ctrl+c:
[download] Skipping already downloaded playlist: „These Foolish Things“ - Lester Young

Since it skips already downloaded playlists, it wont be able to hit the ExistingVideoReached exception


Daedalus ITN error message uncaughtException::gpu-process-crashed: not-killed

I  slightly modified a copy of namespaceHelper so I can pipe its console  output into a filter to make it more human-readable. When an entry has a  "msg" field, I just print the local time and the message content. (I'm  filing another related report asking for you to make it so I don't have  to change namespaceHelper to get this output.)
This is part of what I get every time I start it. Why does the GPU thing always crash? Is some part of my hardware not being used correctly? Daedalus, itself, seems not to mind this and still syncs - usually after being killed and restarted four or five times.
I just installed the new Daedalus update. This issue is slightly improved. I only get one crash message instead of two in a row.
The new version almost scared me when it synced so fast! Syncing was always quite difficult before this. This is dramatically better!
17:56:15 Detected system locale
17:56:15 Daedalus is starting at 2020-03-05T22:56:15.434Z
17:56:15 Updating System-info.json file
(node:13378) ExperimentalWarning: The fs.promises API is experimental
17:56:15 Detected system locale
17:56:15 Main Error Handler started
17:56:15 CardanoNode: get itn_rewards_v1-PREVIOUS-CARDANO-PID success
17:56:15 CardanoNode: checking if previous cardano-node process is still running
17:56:15 CardanoNode: checking if cardano-wallet-jormungandr process (PID: 11128) is still running
17:56:15 uncaughtException::gpu-process-crashed: not-killed
17:56:15 No cardano-wallet-jormungandr process (PID: 11128) is running
17:56:15 CardanoNode: transitions to
17:56:15 CardanoNode#start: trying to start cardano-node for the 1 time
17:56:15 CardanoNode path with args
logs-2020-03-05T230522.0208Z.zip

Hi @josephj11,
This is no reason for alarm - this uncaught exception is thrown from Electron (https://www.electronjs.org/docs/api/app#event-gpu-process-crashed) and in your case it actually does not mean the process crashed as it says it was not-killed and your Daedalus window wasn't closed.
Thanks!

No problem. I just thought you might want to know it was occurring.
I have no idea what Daedalus does internally, but since it was was having such great difficulty syncing (especially before the latest version), I thought there was a chance that it might have wanted to use my GPU for extra processing power and was failing to do so.
If it's no big deal or something that can't or won't be fixed, you can just close this issue.

Hi @josephj11! This issue has been resolved.


Problem mounting non-rooted mount into data root

compile on master

$ hugo version
Hugo Static Site Generator v0.75.0-DEV-ED754F5A/extended darwin/amd64 BuildDate: 2020-08-31T07:15:27-0400

Does this issue reproduce with the latest release?
Yes.
Using a mount with
target: data/somefolder
mounts the source at the root of the data folder.

Sample output of hugo config mounts
% hugo --config ./.config.yml config mounts
{
   "path": "project",
   "dir": "/Users/andy/Development/platform-themes",
   "mounts": [
      {
         "source": "content",
         "target": "content"
      },
      {
         "source": "data",
         "target": "data"
      },
      {
         "source": "repos/builder-course-PlvZSzcF2VNeXanE8IWQ/content",
         "target": "content/courses/PlvZSzcF2VNeXanE8IWQ"
      },
      {
         "source": "repos/builder-course-PlvZSzcF2VNeXanE8IWQ/data",
         "target": "data/PlvZSzcF2VNeXanE8IWQ"
      },
      {
         "source": "layouts",
         "target": "layouts"
      },
      {
         "source": "i18n",
         "target": "i18n"
      },
      {
         "source": "archetypes",
         "target": "archetypes"
      },
      {
         "source": "assets",
         "target": "assets"
      },
      {
         "source": "static",
         "target": "static"
      }
   ]
}
{
   "path": "module-student-template-combined@feature-data-builds",
   "dir": "/Users/andy/Development/platform-themes/themes/module-student-template-combined@feature-data-builds/",
   "mounts": [
      {
         "source": "archetypes",
         "target": "archetypes"
      },
      {
         "source": "assets",
         "target": "assets"
      },
      {
         "source": "data",
         "target": "data"
      },
      {
         "source": "layouts",
         "target": "layouts"
      },
      {
         "source": "static",
         "target": "static"
      }
   ]
}

Sample config file
baseURL: /
languageCode: en-us
title: SelfStudy Learning Site
disablePathToLower: true
params:
  type: shortcodes
  date_format: Monday, Jan 2, 2006
  copyright: SelfStudy Inc. All rights reserved.
  disable_mathjax: true
  features:
    lock: false
    studybar: false
    theme: light
blackfriday:
  plainIDAnchors: true
  hrefTargetBlank: true
  fractions: false
  extensions:
    - EXTENSION_HARD_LINE_BREAK
    - EXTENSION_LAX_HTML_BLOCKS
    - EXTENSION_SPACE_HEADERS
markup:
  goldmark:
    renderer:
      unsafe: true
outputs:
  home:
    - html
    - rss
  section:
    - html
    - json
  page:
    - html
    - json
theme: module-student-template-combined@feature-data-builds
module:
  mounts:
    - source: content
      target: content
    - source: data
      target: data
    - source: repos/builder-course-PlvZSzcF2VNeXanE8IWQ/content
      target: content/courses/PlvZSzcF2VNeXanE8IWQ
    - source: repos/builder-course-PlvZSzcF2VNeXanE8IWQ/data
      target: data/PlvZSzcF2VNeXanE8IWQ
pluralizeListTitles: false

But the $.Site.Data returns the root of data inside of repos/builder-course-PlvZSzcF2VNeXanE8IWQ/data instead of an object with a property PlvZSzcF2VNeXanE8IWQ containing the data.

I am not sure how to attempt to fix this. I would like to map additional paths into the data folder without symlinking them there (which is what I do now.)


Change comment in @HealthGroup annotation to add path "group"

According to the documentation: https://smallrye.io/docs/smallrye-health/3.0.0/health-groups.html
The right health group endpoint is /health/group/{group-name}, not /health/{group-name}.
I'm aware that this can be configured, but at least the comment should be consistent with the default value.

cc @antoinesd


[Question] How do we parse_obj with nested lists?

Question
version: 1.5.1
I have this dictionary:
expected_json = {
            "_items": [
                {
                    "_id": "5eb2841ce359f3e4db95312f",
                    "Quotation": "ASP-1",
                    "Item_Status": "Submit"
                },
                {
                    "_id": "5eb2841ce359f3e4db95312g",
                    "Quotation": "ASP-2",
                    "Item_Status": "Submit"
                }
              ]
}

I have the following models:

from typing import List, Optional
from pydantic import BaseModel

class LineitemFromJson(BaseModel):
    _id: str
    Quotation: str
    Item_Status: str

class ListFromJson(BaseModel):
    _items: List[LineitemFromJson]

Then i tried this:
        p = ListFromJson.parse_obj(expected_json)
        print(p)
        line = LineitemFromJson.parse_obj(expected_json["_items"][0])
        print(line)

the line works but p doesn't work. I think it's because the parse_json expects the dict to hold the class directly rather than it being a dict that holds nested dict.
Is there  a way to parse_obj that works on nested obj?

Ok I think I know why now..  u  have this line https://github.com/samuelcolvin/pydantic/blob/52af9162068a06eed5b84176e987a534f6d9126a/pydantic/main.py#L175
where you reject fields from dictionaries that have fields that start with _
Is there a way to warn about this when I do parse_obj or work around this?

Ok this is my workaround
class ListFromJson(BaseModel):
    items: List[LineitemFromJson]

    # have to swap _items with items because fields that start with underscore will be ignored
    # see https://github.com/samuelcolvin/pydantic/issues/1496#issuecomment-626134257
    @classmethod
    def parse_obj(cls: Type["Model"], obj: Any) -> "Model":
        new_obj = {}
        for k, v in obj.items():
            if k.startswith("_"):
                k = k.lstrip("_")
            new_obj[k] = v
        return super().parse_obj(new_obj)

Is there a better way than this?

@simkimsia,
You should use Field(alias="_id")
this is a better way.
https://pydantic-docs.helpmanual.io/usage/models/#model-signature
from typing import List, Optional
from pydantic import BaseModel, Field

expected_json = {
    "_items": [
        {
            "_id": "5eb2841ce359f3e4db95312f",
            "Quotation": "ASP-1",
            "Item_Status": "Submit",
        },
        {
            "_id": "5eb2841ce359f3e4db95312g",
            "Quotation": "ASP-2",
            "Item_Status": "Submit",
        },
    ]
}

class LineitemFromJson(BaseModel):
    id: str = Field(alias="_id")
    Quotation: str
    Item_Status: str

class ListFromJson(BaseModel):
    items: List[LineitemFromJson] = Field(alias="_items")

p = ListFromJson.parse_obj(expected_json)
print(p)
# items=[LineitemFromJson(id='5eb2841ce359f3e4db95312f', Quotation='ASP-1', Item_Status='Submit'), LineitemFromJson(id='5eb2841ce359f3e4db95312g', Quotation='ASP-2', Item_Status='Submit')]
line = LineitemFromJson.parse_obj(expected_json["_items"][0])
print(line)
# id='5eb2841ce359f3e4db95312f' Quotation='ASP-1' Item_Status='Submit'

Thanks @koxudaxi
It works.
Just a side note, in case for future readers that find this,
If you adopt the alias in the Field, this no longer works
p_list = PRPODataListFromPDB(items=[p1, p2]) # note the lack of _

You need to change this to
p_list = PRPODataListFromPDB(_items=[p1, p2]) # note the _

Because the signature of the init has changed


Try uv for testing?

Tests are slow because of the need to build a virtual environment for the test suite. Try replacing pip with uv, and see if it's a meaningful improvement.

[ ] Drop uv in for pip, benchmark.
[ ] If there's an improvement, are there any tradeoffs in complexity/ stability?

Chiming in that I've completely replaced pip with uv throughout all of my work and personal projects and have not seen any stability issues. It honestly could be as simple as a search and replace s/pip/uv pip/g throughout the code base.

I'm quite clear how this would benefit me, and how I would start using uv. I'm less clear about how to specify it as a requirement for the project. Would I just add it to the project requirements?
For example, what happens if someone has installed uv through Homebrew, and then they clone simple_deploy and install from requirements. Would pip recognize that uv is already available, or would they have their brew uv and a pip-installed uv in this project environment?


Add bullet list to 1.10/11 CHANGELOG.md entries

Makes them easier to read in rendered Markdown.

Codecov Report

Merging #1703 (bc74abf) into master (9f3ef25) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1703   +/-   ##
=======================================
  Coverage   57.17%   57.17%
=======================================
  Files         205      205
  Lines        9833     9833
=======================================
  Hits         5622     5622
  Misses       3552     3552
  Partials      659      659

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 9f3ef25...bc74abf. Read the comment docs.

Codecov Report

Merging #1703 (bc74abf) into master (9f3ef25) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1703   +/-   ##
=======================================
  Coverage   57.17%   57.17%
=======================================
  Files         205      205
  Lines        9833     9833
=======================================
  Hits         5622     5622
  Misses       3552     3552
  Partials      659      659

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 9f3ef25...bc74abf. Read the comment docs.


Restrict the condition to SendAddressRelease

The PR could let REED_5_5_5.zip pass
@jwhui , please have a review!

Current coverage is 73.75% (diff: 80.00%)

Merging #1013 into master will decrease coverage by 0.19%

@@             master      #1013   diff @@
==========================================
  Files           125        124     -1
  Lines         18044      18035     -9
  Methods        2513       2509     -4
  Messages          0          0
  Branches       2182       2183     +1
==========================================
- Hits          13343      13301    -42
- Misses         4020       4048    +28
- Partials        681        686     +5

Powered by Codecov. Last update ac26b87...1ab02ae

Some code cleanup in this patch and also add PARENT_PARTITION_CHANGE support to resolve #1007
Router_5_5_3.zip
REED_5_5_5.zip


Use Case 5: Transmit Sensor Data to the Server

Transmit sensor data to the server
User Story
As a Raspberry Pi device, I want to send sensor data to the server via HTTP so that the data can be stored and processed.
Description
This use case describes how the Raspberry Pi sends data collected from sensors to a central server.
Sensor data from the Raspberry Pi must be transmitted to a central server for further processing and display
Acceptance Criteria

[ ] Data is transmitted from the Raspberry Pi to the server.
[ ]  The server validates and stores the data.
[ ]  HTTP 200 OK response is received after successful transmission.
[ ]  The system retries sending data if there’s a network failure.

Testing
Normal Flow of Events
The Raspberry Pi packages the sensor data (temperature, humidity, and moisture) into an HTTP request.
The Raspberry Pi sends the data to the server endpoint via an HTTP POST request.
The server receives the data, validates it, and stores it in a database.
The server responds with a success message (HTTP 200 OK).
Alternate/Exceptional Flows:
S-1: Network connection failure
he Raspberry Pi fails to send data due to network issues.
The Raspberry Pi retries sending data after a specified interval (e.g., 30 seconds).
S-2:  Invalid data format
The server rejects the data due to invalid formatting (e.g., missing fields).
The Raspberry Pi logs the error and resends properly formatted data.

R-pi connect to wifi hotspot

local computer connect to SAME wifi hotspot

Using Thonny to record the data (Temp, Hum, Moist)

Using Visual Studio to run local server (ngrok.py)

Visual Studio receive data from R-pi (Thonny - wifi_local_dht11_moisture.py), and sending the json data to ngrok

ngrok redirect the data to back end (CSV, {'temperature': temperature, 'humidity': humidity, 'moisture': moisture})


master version isn't passing calico repo STs

Working on getting calico STs running against my felix PR, I tried running calico repo STs against the "master" release stream, so it pulled in master of all components.  the ST run failed so I pared back all the versions to v2.3 and tried revving them to "master" one by one.
I found that the STs failed with libnetwork-plugin revved to master and all other projects pinned to v2.3 versions.
Expected Behavior

Passing STs with libnetwork-plugin revved to master.
Current Behavior
These tests fail:
[fail] 19.50% tests.st.bgp.test_node_status_resilience.TestNodeStatusResilience.test_node_status_resilience_1: 102.3461s
[fail] 15.83% tests.st.bgp.test_node_status_resilience.TestNodeStatusResilience.test_node_status_resilience_0: 83.0748s

The full log is available here: https://semaphoreci.com/calico/calico/branches/pull-request-895/builds/9 (which was a test of this commit: https://github.com/projectcalico/calico/commit/8642112752d874869ba113e719406d57c2913071)
Possible Solution

Looks like we've had a gap in our CI so we didn't catch this in a timely fashion.
Steps to Reproduce (for bugs)

Check out calico repo
Copy the v2.3 versions down to the master section
Modify the libnetwork-plugin version to be master
Run sudo make clean; sudo make RELEASE_STREAM=master calico/node st

Context

Your Environment

Docker version: 17.03
Libnetwork-plugin version: master
How you deployed the libnetwork plugin:
Operating System and version: Semaphore CI Ubuntu 16.04
Link to your project (optional):

@fasaxc I've run this locally several times with master and it's passing for me.
Also, the particular test failures are related to BGP restarts so I'm struggling to see a correlation with the libnetwork plugin.

I don't think this belongs in v2.4, since we're not planning on releasing a new libnetwork-plugin for 2.4.
LMK if you think otherwise and we can discuss.

@fasaxc the log is no longer available

I put up a PR that repros the issue on Semaphore (which now runs the master RELEASE_STREAM by default): https://github.com/projectcalico/calico/pull/949

Full failing log, copied to a gist: https://gist.github.com/fasaxc/23a2aacafea2faf0755a0ef3fe97129e

So, one of the 22 or so commits to master since the last release of libnetwork-plugin is causing problems for the two BGP tests above. One of these commits  - https://github.com/projectcalico/libnetwork-plugin/compare/v1.1.0...master


Add external git repositories to search path for custom queries

When running a query from an external repository, we may need some additional dependencies that are specified in this repository. To find these, we should add the the root of the external repository to the search path in our CLI invocations. At the moment, this is done in resolve queries but not in database analyze. This PR adds the search path in the latter call. As a result of this, we may perform multiple database analyze invocations (one for each external repository, with the respective search path in each one) and have to merge the SARIF results into one file in order to not break consumers who are expecting all custom query results to be in a single file.

Pushed a rebase to fix conflict, will merge once tests pass.


Filter aliasing doesn't work with collection-repeat

Short description of the problem:
Filter aliasing doesn't work with collection-repeat.
What behavior are you expecting?
That it works, like when using ng-repeat ;)
Steps to reproduce:

Create a collection repeat list
Add a filter
as soon as you try to add an alias as filteredCollection it breaks

collection-repeat="customer in customers | filter:myFilter as filteredCollection"

Other information:
Somebody hacked the collection-repeat to make it work, but would be nicer if it could be official supported by ionic, so we don't lose the hacked feature when updating the ionic see forum post.
// 1. extend repeat expression to also match as
var match = repeatExpr.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);

// 2. Optional: test if aliasExpr is valid
var aliasExpr = match[3];
if (aliasExpr && (!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(aliasExpr) || /^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(aliasExpr))) {
  throw Error("alias " + aliasExpr +" is invalid --- must be a valid JS identifier which is not a reserved name.");

// 3. make the alias available in the scope right under "collection-repeat expected an array for"
if (aliasExpr) {
  scope[aliasExpr] = newValue;
}

Which Ionic Version? 1.x or 2.x
1.x latest
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.0.0
Ionic Version: 1.2.4
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: 1.8.5
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.3.0
Xcode version: Xcode 7.3 Build version 7D175

This issue was moved to driftyco/ionic-v1#152


Get all new article

We should be able to read all new Item from the last time we read them

Closed by 46a7fdf736febd5272ebec438d20c724c8b42752


added blisk browser as custom browser

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other: <!-- Please describe: -->

What is the current behavior?

Blisk wasn't in the custom browser list.

Issue Number: #51
What is the new behavior?

Added blisk browser as a custom browser

Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
Running on blisk with private window (--incognito flag) crashing on my system.

@ritwickdey removed blisk private mode check it.

Then I am only changing settings.

Can you please do it today? I'll ship this today with few multi root fix update

I will try I am on the way.

Okay.. then leave it. I'll do it tomorrow.. :)

@ritwickdey Done and also checked all the browser. Working well as expected. Please update the docs(settings) for this.


Support for custom / composite keys and how they map to urls

in-memory-web-api is great but I would like some my control over how urls are translated to instances of a data array. For instance, given a url like this "/app/modules/1/instances/2" I would like in-memory-web-api to map to the shown extract of an array passed to createDb.
Notice that the data effectively has a composite key of moduleId +  moduleInstanceId and does not have an id property. All of which is not well supported by in-memory-web-api right now.
[
 { // Module 1, Instance 2 here:
      moduleId: "1",
      moduleInstanceId: "2",
     ...
  },
 ...
]

We can't satisfy every possible variation but we can put you in control.
v.0.1.0 (PR #31) will let you take over processing of any (or all)  requests by HTTP method name.
Note that it has a new package name: angular-in-memory-web-api (no "angular2")

@wardbell Great. Could you elaborate how v.0.1.0 let me take over processing. Can't see the diff from the docs?


Can't Delete Redirects from Campaign Pages

As an administrator, we can't delete redirects from the campaign page (this view):

Clicking delete on a redirect refreshes the page and returns you to the top of the page with this view:

Redirects can be deleted by admins from:
https://www.dosomething.org/admin/config/search/redirect

@namimody since we don't manage redirects in phoenix anymore, can we close this issue out? 🌃

Shore, @angaither


Merge master into develop

...And start working on the remaining issues?

looking good. yes I think we can continue to implement more functionality in the develop branch.


Can't play mp3

Even if the downloaded mp3 music is played, "Error loading: Unknown file format." Is displayed or a youtube video plays.

The URL of the downloaded location does not respond, but m4a and ogg react but no sound

Have you tried placing a file where u start the bot? then try ./file.mp3
I'm unsure if it plays windows paths like that or not. Maybe the common way of noting unix paths works.

It looks like the mp3 file might be corrupted or not actually that format, as playing locally or via URL should both work. Also, are there any logs that get posted to the console when you try to play this file?

I get the same error with mp3 files from different sites
Console shows error
By the way, it works normally in youtube url
Used site https://maoudamashii.jokersounds.com/list/bgm10.html

Which Java version are you using?

Done
It seems that the version was not up to date
thank you very much


Error: NG0909: Expected to be in Angular Zone, but it is not!

Demonstration
I'm upgrading my application by each version from Angular 13 to Angular 17 and everything was going well until upgrade from v16 to v17.
The "Error: NG0909: Expected to be in Angular Zone, but it is not!" appears per each micro-frontend app.
That's how I bootstrap apps:
const lifecycles = singleSpaAngular({
bootstrapFunction: singleSpaProps => {
singleSpaPropsSubject.next(singleSpaProps);
return platformBrowserDynamic(
getSingleSpaExtraProviders()
).bootstrapModule(AppModule);
},
template: '',
Router,
NgZone
});
Updated package.json:
"dependencies": {
"@angular/animations": "17.3.4",
"@angular/cdk": "17.3.4",
"@angular/common": "17.3.4",
"@angular/compiler": "17.3.4",
"@angular/core": "17.3.4",
"@angular/forms": "17.3.4",
"@angular/localize": "17.3.4",
"@angular/material": "17.3.4",
"@angular/platform-browser": "17.3.4",
"@angular/platform-browser-dynamic": "17.3.4",
"@angular/router": "17.3.4",
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
"rxjs": "7.5.5",
"single-spa": "6.0.1",
"single-spa-angular": "9.1.0",
"zone.js": "0.14.4"
"devDependencies": {
"@angular-builders/custom-webpack": "17.0.2",
"@angular-devkit/build-angular": "17.3.4",
"@angular/cli": "17.3.4",
"@angular/compiler-cli": "17.3.4",
"typescript": "5.4.5"
I was trying with zone.js: 0.13.3, rxjs: 6.x, single-spa: 5.9.x and single-spa-angular: 8.1.x - there is the same error with Angular 17.
// EDIT
I found that there is a problem with @angular/compiler >= 17.0.8
And that commit might be a problem with additional Intercept any overridden globals: https://github.com/angular/angular/commit/de5c9ca8e9a026ad752aab348bd137f647cc3cc9#diff-0d3035937352a0ed7d0bf6597e98807e6ae6dc132ccf95fd9503dffdad4319cb
And Single-Spa-Angular use that for:
"This is a hack, since NgZone doesn't allow you to configure the property that identifies your zone."
Expected Behavior
Fix for that error.
Actual Behavior
ERROR Error: NG0909: Expected to be in Angular Zone, but it is not!
at NgZone.assertInAngularZone (core.mjs:14709:19)
at Object.next (core.mjs:31990:20)
at ConsumerObserver.next (Subscriber.js:91:33)
at SafeSubscriber.next (Subscriber.js:60:26)
at SafeSubscriber.next (Subscriber.js:31:18)
at Subject.js:34:30
at errorContext (errorContext.js:19:9)
at EventEmitter.next (Subject.js:27:21)
at EventEmitter_.emit (core.mjs:6845:19)
at onEnter (core.mjs:14927:25)

assertInAngularZone is a static property on the class and we can change the code to do nothing like assertInAngularZone = () => {}, because there's no option to know under what app this function is executed, especially when deps are shared.

Ok, I’ll change it to the noop function, there’s no reason to do any other changes with it.

<EMAIL_ADDRESS>

I pulled the last version but now i have the issue for this function too

i saw the changes in the PR: https://github.com/single-spa/single-spa-angular/pull/512/commits/57515a689776cc170bf2930f0c52eb0d61b5030f
Should "options.NgZone.assertNotInAngularZone = () => {};" be added aswell ?

9.1.2


Cannot create new APIs.

After basic installation with docker in local machine. The Mockbin application is launched in port 8080 but while creating new APIs its giving a timeout.

starting server on port: 8080
GET / 304 301.043 ms - -
GET /bin/create 200 76.276 ms - -
POST /bin/create 201 15.404 ms - 269
GET /bin/1c4a8e63-2327-4597-826e-137cbd2ccba5/view - - ms - -
GET /bin/d0cfaf36-8e9c-48d5-be9b-a199c1160e70/view - - ms - -
GET /bin/0525b904-371c-4b9d-acd0-648e815ca902/view - - ms - -

These are the commands that were used to run the application.
sudo docker run -d -p 6379:6379 --name mockbin_redis redis
sudo docker run -d -p 8080:8080 --link mockbin_redis:redis mashape/mockbin
There are no logs listed in the docker logs.

thanks for reporting, will make a note to add proper docker logs as well.

@ahmadnassri Can you help me find the root cause of this issue.
Is there some location inside of docker where I can look for mockbin logs?.

Came across the same issue. I can create bin successfully but when I try to make a request with generated bin id in Postman then I get a timeout.

I think this PR https://github.com/Mashape/mockbin/pull/57 fix the problem.

great, about to push new release with that fix


Graph visualization resets position/zoom level on each travel step

Reproduction:
Edit some component and move and zoom graph in DejaVue, next move travel slider.
Result
Graph position and zoom levels are lost on every slider move.
Expected result:
Graph should stay on the selected zoom level (and if possible also position)

thank you for all of the issue tickets @Uriziel01 - i'm very happy to see you putting the application through it's paces and getting back to us.
this is exactly why we launched early - it's very much an early release for us, and are working hard to address all the issues you're bringing up!

Sure thing @madebymtr.
I realise that its and early stage so it have a lot of the toddler stage issues.
But I REALLY like the overall concept and want to support You :)
Keep ut the good work!

much appreciated @Uriziel01


feat(websitepeople): add subscription status methods

Hi!
I need to update subscription status through your wrapper, so I make this pull request.
Hope you will enjoy it.
Have a nice day

Thanks, MR has been accepted and published into v1.9.4


RFC: Fix go-mastodon authentication flows

at this point go-mastodon authentication is quite confusing and not aligned with the mastodon documentation, causing confusion and misunderstandings about the package usage. Existing methods are not descriptive of what exactly is happening thus making it hard to understand how credentials should be used in general, specially around the exchange between an authorization code and an access token.
This PR aims to fix https://github.com/mattn/go-mastodon/issues/194 and most likely the potential causes of https://github.com/mattn/go-mastodon/issues/154
And the purposed solution marks the existing methods as DEPRECATED and creates new ones thus avoiding breaking changes with previous versions of this package.
in the issue https://github.com/mattn/go-mastodon/issues/194 I've mentioned about returning the value of the access token, however for consistency I have decided to not do it, and opted to keep a similar approach to the original approach and instead documented how users can export the credentials for using them at a later stage.
This pr also updates the package documentation by adding a directory with different working examples.
Code snippets were removed from the README and instead added links to mastodon documentation and to the working examples so users can try them for themselves in a quicker way.
Any comments or suggestions are highly appreciated.

Oh, cool.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 18.66029% with 170 lines in your changes missing coverage. Please review.

Project coverage is 78.29%. Comparing base (9faaa4f) to head (a06b707).
Report is 26 commits behind head on master.

Files with missing lines
Patch %
Lines

examples/user-oauth-authorization/main.go
0.00%
79 Missing :warning:

examples/public-application/main.go
0.00%
51 Missing :warning:

examples/user-credentials/main.go
0.00%
25 Missing :warning:

mastodon.go
72.22%
10 Missing and 5 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
- Coverage   87.51%   78.29%   -9.23%
==========================================
  Files          15       19       +4
  Lines        1354     1617     +263
==========================================
+ Hits         1185     1266      +81
- Misses        125      298     +173
- Partials       44       53       +9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Sorry, could you please fix confict?

Sorry, could you please fix confict?

@mattn  Done! :)

Thank you

Looks like the latest release v0.0.9 has been tagged before this got merged.
https://github.com/mattn/go-mastodon/compare/v0.0.9...HEAD
Am I right assuming that the examples in the repo now reflect a state that is incompatible with the latest version v0.0.9? If yes, this could lead to more confusion. Anything speaking against a v0.0.10 release?


Cannot read property 'createObjectURL' of undefined

Using PDFKit in the browser
Report errors：
Cannot read property 'createObjectURL' of undefined

Can you provide some more information?

I think you're trying to run the browser version in node - I just ran into this also. Wherever you're running this, there's no URL object globally available.

@naomiajacobs you're right


feat(dependents): change API to dependsOn with full paths

BREAKING CHANGE:

Replaces dependents API

The dependents API is a good concept, but API is quite confusing. With this change we will rather:
// PATH: app.form
{
  fieldA: {
    value: '',
    dependsOn: 'app.form.fieldB'
  },
  fieldB: {
    value: ''
  }
}

Or you can use an array to depend on multiple fields. This allows you to depend on nested, parent or even cross forms.

@christianalfoni Looks good


🔥  [Secondary Focus Area] Improve release processes for near.org

Motivation
We have semi-automated, regular weekly deployments of the two primary repos that power near.org, near-discovery and near-discovery-components.  We don't provide good visibility into the changes included in each release.
Possible worthwhile enhancements

automated changelog
tooling to support consistent commit message formatting, e.g. husky
automated BOS posts highlighting interesting additions in the latest release
...?

@thisisjoshford


Support for L5.1 and php 5.6

Thank you for the extensive package here, just wanted to ask if It works with laravel 5.1 and php 5.6 because those are my current project's env setup and I can't change any of those.

@nWidart Nevermind :smiley: I got that info through this page by switching the versions: https://nwidart.com/laravel-modules/v1/requirements
Just a side note, its written there that "The menu package requires PHP 5.5 or higher", its actually your modules package, just a typo i wanted to point out.

Hello,
Thanks, indeed that typo was fixed for the 2.0 docs, but must have forgotten the 1.0 one 😂


Added Record test for output parser

Added a test for records for the beanoutputparser, as it was not obvious that it works.

merged as 6554bdebda009d0f10f49b23ad3805420a1e1ab6
Thanks!


dependency error

Is it possible remove activatior dependency in config file of this tweak?

Yes, it's possible, but I'm not going to do it.
There's a noacti branch that does not have an Activator dependency: https://github.com/ipadkid358/FLEXit/blob/noacti/control#L3


Add an .devspacerc file

Is your feature request related to a problem?
No
Which solution do you suggest?
adding a .devspacerc file where you can put in things like namespace or context so you don't have to type it out on the CLI every time
Which alternative solutions exist?
the global flag --namespace and the --switch-context
Additional context
This would be very useful when working in multiple contexts at the same time and not have to constantly type this switches out.

/kind feature

@blairham thanks for opening this issue! In general I like the idea, however I'm not sure how the .devspacerc should look like, did you try the devspace use namespace and devspace use context commands, they will change the namespace and context globally so you don't have to retype the context and namespace. Alternatively, for flags that should be used all the time for every user of the project, you can also create a command like:
version: v1beta9
commands:
- name: deploysingle
  command: devspace deploy --deployments mydeployment

With the next devspace version, you are then also able to use variables for commands, which could be a good alternative as well.

I think we could address this using defaultFlags for CLI commands that users can specify in devspace.yaml as suggested here: https://github.com/devspace-cloud/devspace/issues/977

@FabianKramm yes, I have to switch both context and namespace each time or provide them on the CLI every time. So when I'm working on project A I would have to change, then I have to do something on project B I would again switch, then going back to project A, I would have to switch back yet again so on and so on.
I think either one of the solutions would be equivalent and would make it easier. However, one thing to keep in mind is there typically get checked in so how would we identify a user's space if they are all different?

@blairham -s would be sufficient for you, right? If you provide -s, DevSpace will switch context and namespace. So, if you set -s as default flag, you won't have to hard-code anything and will still able to push this to git and everybody will be able to switch back and forth between projects without having to explicitly provide the -s flag every time. That is your goal, right?

I think that might actually do what I'm thinking, yes.

@blairham this should now be possible with the latest release. Create a file .env in your project and then add the following content:
DEVSPACE_FLAGS="-s"

More info here: https://devspace.sh/cli/docs/configuration/env-file

I afraid it's not working as intended:
in project 1:
devspace create space blairham
devspace deploy
[info]   Using kube context 'devspace-blairham'
[info]   Using namespace 'blairham'
[done] √ Deployed helm chart (Release revision: 0)
[done] √ Successfully deployed mysql with helm
[done] √ Successfully deployed!
in project 2:
devspace create space blairh
devspace deploy
[info]   Using kube context 'devspace-blairh'
[info]   Using namespace 'blairh'
[done] √ Deployed helm chart (Release revision: 0)
[done] √ Successfully deployed mysql with helm
[done] √ Successfully deployed!
back to project 1:
devspace deploy
[info]   Switching to context 'devspace-blairh' and namespace 'blairh'
[info]   Using kube context 'devspace-blairh'
[info]   Using namespace 'blairh'
[info]   Skipping deployment mysql
[done] √ Successfully deployed!

it looks like I need to update the cli, which I had installed with brew. let me update that and retry

Yes, you will need the latest stable version v4.12 for this to work.

I'm seeing this error:
devspace -p local deploy
[info]   Applying extra flags from environment: -s
[info]   Switching to context 'devspace-blairham' and namespace 'blairham'
[info]   Using kube context 'devspace-blairham'
[info]   Using namespace 'blairham'
[done] √ Created namespace: blairham
[fatal]  Unable to create namespace: Post "https://.../api/v1/namespaces": getting credentials: decoding stdout: yaml: control characters are not allowed

@blairham seems like the -s is working. The error you see below appears because devspace tries to create a namespace. Do you have any namespaces hard-coded inside your devspace.yaml?

I don't, if I remove the env var, and run it with devspace -s deploy I don't see this issue

@blairham looks like you have a new line or control character in your environment variable which results in the above error, can you show the .env file here?

Can you run DEVSPACE_FLAGS=-s devspace deploy -p local -d -b and devspace deploy -s -p local -d -b and check if that makes a difference?

$ DEVSPACE_FLAGS=-s devspace deploy -p local -d -b
[info]   Applying extra flags from environment: -s
[info]   Switching to context 'devspace-blairham' and namespace 'blairham'
[info]   Using kube context 'devspace-blairham'
[info]   Using namespace 'blairham'
[done] √ Created namespace: blairham
[fatal]  Unable to create namespace: Post "https://.../api/v1/namespaces": getting credentials: decoding stdout: yaml: control characters are not allowed

$ devspace deploy -s -p local -d -b
[info]   Switching to context 'devspace-blairham' and namespace 'blairham'
[info]   Using kube context 'devspace-blairham'
[info]   Using namespace 'blairham'
[done] √ Deployed helm chart (Release revision: 0)
[done] √ Successfully deployed common-mysql with helm
[done] √ Deployed helm chart (Release revision: 0)
[done] √ Successfully deployed users-service-redis with helm
[done] √ Successfully deployed!

Run:
- `devspace open` to create an ingress for the app and open it in the browser
- `devspace enter` to open a shell into the container
- `devspace logs` to show the container logs
- `devspace analyze` to analyze the space for potential issues

@blairham thanks for the information, I found the issue: the problem is that the .env file is always applied, even for the devspace token command that provides the authentication token for devspace-cloud to kubectl. The problem here is that the token command also prints [info]   Applying extra flags from environment: -s at the beginning which cannot be parsed by kubectl and results in the above error, so it currently works fine for all non devspace-cloud clusters and spaces. I'll fix this now and then release a new patch release.

Looks like this is working as intended now. Thank you.


Introduction: First person to Third

Work toward #8
Reworded sections using first person words
Suggestions / comments?

I like the way you've reworded this intro chapter. It sounds a lot better than what I originally had :+1:
Is there anything else you'd like to add before I hit the merge button?

No, It seemed to make sense to me!


Unique id on ArcheType Model and FieldsetModels

Adding ids to differentiate multiple ArchetypeModels and FieldsetModels on a page,

@MartinAmsinck, Thanks for the PR but I'm not sure what you're trying to accomplish here. This appears to only ask to merge master into the 1.12.4 branch.

Ah, messed up somewhere, sorry about that.
What i was trying to do, was to make a pull request to add some unique ids(guids) on the ArcheTypeModel and FieldsetModels in general.
I have a use case right now where i need to differentiate between different entites in same archetype datatype.

No worries, let's close this and when you have your PR ready, send it up :)


Adding Colab notebook for MedMNIST 2D tutorial

Adding Google Colab notebook to the MedMNIST 2D example.

Users can use updated notebooks from FL Tutorial: https://github.com/intel/fl-tutorial
Closing this PR.


Moving pandas tox env. into monitoring config.

/cc @rimey

FYI, here are the tox docs on the feature I used: http://tox.readthedocs.io/en/latest/config.html#factors-and-factor-conditional-settings

@dhermes conflicts otherwise LGTM.

Conflict fixed. Merging as-is (sorry Travis you are too slow)


♿(pagination) improve a11y labels when using multiple paginations on same page

Purpose
Fix #1581
Proposal
The idea here is to easily allow custom labels when using multiple pagination components on the same page. We do this by using a new pagination-specific django tag, currently named richie_pagination, but I guess the naming is not that great.
Allowing custom labels without this new tag was cumbersome because, the dj-pagination {% paginate %} tag doesn't accept any custom context (like an {% include %} tag). So it would require to create a specific template file for each label change. I figured having a new tag was better?
Because I'm still not sure how it is usually dealt with in this project, translation strings are missing in this PR.

I have a failing test because of the addition of the custom template tag but I don't understand why…

I have a failing test because of the addition of the custom template tag but I don't understand why…

You are using richie_paginate tag which is part of extra_tags. So you have to load extra_tags in templates where you are using richie_paginate.

I have a failing test because of the addition of the custom template tag but I don't understand why…

You are using richie_paginate tag which is part of extra_tags. So you have to load extra_tags in templates where you are using richie_paginate.

Oh OK I missed that you needed to specifically load those. Thanks, it's fixed.

@sandroscosta it would be nice to have your review on all a11y Pull Requests.
@Leimi would be nice to add Sandro as a reviewer on a11y PRs.

Should be all good now @sampaccoud!


Fix ml.get_trained_models

as titled.

@philkra take a look at:  https://github.com/elastic/elasticsearch-specification/pull/1600
I think it addresses your issues here.

This spec change hasn't been touched in over a year. Can we close?

@JoshMock yes we can close this is hopelessly outdated.
I will review which changes should be carried forward and create a new PR if necessary.


[Question] How to use my own model?

❓ General Questions
I trained a model with a custom architecture, using a vocab compatible with the hf tokenizer. So how can I use this model in MLC chat?

We are working on documents for adding new model, please stay tuned :)

We are working on documents for adding new model, please stay tuned :)

Really looking forward to this

Here's the ipynb tutorial: https://github.com/mlc-ai/notebooks/blob/main/tutorial/How_to_add_model_architeture_in_MLC_LLM.ipynb
Please let us know if you have any questions :)


Toggle Line Comment CTRL+/

VSCode Version: Version 1.21.1
OS Version: W10
Keyboard: Brazilian Keyboard ABNT

Steps to Reproduce:

Open Keyboard Shortcut
Search for "toggle line comment"
Double Click
Press CTRL+/
Show on input "ctrl+abnt_c1"
Press ENTER
Nothing Happens

Does this issue occur when all extensions are disabled?: Yes/No

@piterog thanks for the report, please provide the following info:

What type of file were you editing at the time? Does ctrl+/ work for other languages?
Contents of your settings.json file
Contents of your keybindings.json file

@piterog I cannot reproduce. I do not have access to an ABNT keyboard, but here I am using the on-screen keyboard with your steps. I rebind Toggle Line Comment to Ctrl+/ (which is ctrl+VK_ABNT_C1, see #23685) and then I can successfully use it to toggle the comment and the top of the keybindings file:


[tool_crash] _TypeError: (#0      _ProgramInfoBuilder.createInfoNodeFor (package:vm_snapshot_analysis/v8_profile.dart:419:75))

Command
flutter build apk --target-platform android-arm --analyze-size

Steps to Reproduce

...
...
...

Logs
_TypeError: (#0      _ProgramInfoBuilder.createInfoNodeFor (package:vm_snapshot_analysis/v8_profile.dart:419:75))
#0      _ProgramInfoBuilder.createInfoNodeFor (package:vm_snapshot_analysis/v8_profile.dart:419:75)
#1      _ProgramInfoBuilder.getInfoNodeFor (package:vm_snapshot_analysis/v8_profile.dart:374:14)
#2      ListIterable.forEach (dart:_internal/iterable.dart:39:13)
#3      _ProgramInfoBuilder.build (package:vm_snapshot_analysis/v8_profile.dart:338:16)
#4      toProgramInfo (package:vm_snapshot_analysis/v8_profile.dart:282:8)
#5      _treemapFromSnapshot (package:vm_snapshot_analysis/treemap.dart:158:27)
#6      treemapFromJson (package:vm_snapshot_analysis/treemap.dart:85:5)
#7      SizeAnalyzer.analyzeZipSizeAndAotSnapshot (package:flutter_tools/src/base/analyze_size.dart:123:59)
#8      AndroidGradleBuilder._performCodeSizeAnalysis (package:flutter_tools/src/android/gradle.dart:567:60)
#9      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:548:15)
<asynchronous suspension>
#10     AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:208:5)
<asynchronous suspension>
#11     BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:116:5)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1336:27)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#15     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:296:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.10.6, on Ubuntu 22.04.2 LTS 5.19.0-46-generic, locale en_US.UTF-8)
    • Flutter version 3.10.6 on channel stable at /home/appdev/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (10 days ago), 2023-07-12 15:19:05 -0700
    •

Closing this as a duplicate of https://github.com/flutter/flutter/issues/129706


increases cluster discovery time from 10s to 180s

it gives more time to the etcd operator to add a new member.
the etcd operator expects the etcd container to be in a running state.
too tight timeout will cause the container to restart and decreasing operator chances
I think we should also increase pod's initialDelaySeconds to match the timeout.

/assign @deads2k

/retest

/bugzilla refresh

/bugzilla refresh

/retest

moved to https://github.com/openshift/etcd/pull/129


set upgradepolicy to automatic to some helix scalesets

set upgradepolicy to automatic to some helix scalesets

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
set upgradepolicy to automatic to some helix scalesets

This was done.


Request for Documentation: Update docs to reference NAS

Mattermost user aaron.rothschild from https://community-daily.mattermost.com has requested the following be documented:
It would be lovely if you could update your documentation at https://docs.mattermost.com/deployment/cluster.html#file-storage-configuration to show the NAS suggestion, under the Plugins and High Availability section... You can rif off what you say under File Storage Configuration

See the original post here.
This issue was generated from Mattermost using the Doc Up plugin.

Hi @aaronrothschild. Thanks for raising this. Would you be open to updating the doc with the required information? Happy to assist with the process, let me know if you have any questions. :)

Following up on this, @aaronrothschild - let me know if I can help with anything. :)

@justinegeffen if this is not worked on I would love to work on this with your guidance.

@justinegeffen if this is not worked on I would love to work on this with your guidance.

Hi @fakela! Thanks for picking this up. It has not been worked on yet, and it would be awesome working with you to update the docs. Let me know how I can help you get started. :)

@justinegeffen thanks I will start with this first


More arg.fetch arguments.

Hi!
If i'm understand right, now systems can't use more than 8 components/resources. Why 8?
Yes, it's a deal for architecture of game, but for now i need to split systems into several similar systems and in some cases it's really painful.

We should totally bump this to a higher limit.


Update website docs with clients, gateway, Docker, CLI, etc.

0.8 has a bunch of changes:

CLI
Gateway
Docker image
Clients (formerly readers

The docs need to be updated to include all this stuff (as well as configs).

Done!


feat: send logs to new Cloud Based Sensor bucket

Summary
Update WAF ACL, load balancer and VPC logs to use new Cloud Based
Sensor satellite bucket.
Also sorts the ECS task definition JSON alphanumerically by its keys.
This will prevent Terraform plan flip/flops based on key order in the future.
Related

cds-snc/cloud-based-sensor#109

Looks good to me as well!


iOS application crashed due to some network issues?

Hello Tony,
One of my iOS application is basically a AngularJS application build on Cordova with few native features and I am using your Reachability library for one of the native functionality.
Got numerous crash in the production which is collected by new-relic crash reporter tool, by analyzing the crash reports says that its due to some network issues.
I guess it might because of Reachability library as its the only library which uses the connection check, resolving addresses and so on.
Stack overflow link for the issue:
http://stackoverflow.com/questions/30498306/weird-ios-crash-with-very-little-information-is-it-a-network-issue-ios-issue/30499069?noredirect=1#comment49075259_30499069
Any of your suggestions would be of much helpful !
Thanks,
Easwar

Hi,
I was facing crashes as well. Most of the times when the application lost connection or connected to the internet it crashed. It happened because an invalid pointer was dereferenced (Memory was released).
Adding the following  destructor to the reachability class seems to solve the problem. By stopping itself from being referenced , moment before it is deallocated:

(void) dealloc {
[self stopNotifier];
}

I'm not sure whether the root cause is the same of yours (By the issue in Stackoverflow , it seems like you are having something else) , but I would still try it.

@yossimsupersonic  Thank you for your response. I suspect the issue is because of this library. Actually my code is in production, analyzing the crash logs and trying to find the solution. Still no luck. Working hard to solve this.


[18++EXCLUSIVE]!##  Rubi Rose, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Rubi Rose Original Video Viral Video L𝚎aked on X Twitter
Rubi Rose Original Video video oficial twitter
L𝚎aked Video Rubi Rose Original Video Viral Video L𝚎aked on X Twitter...

2


Allow extensions to be installed/uninstalled while the kit is running

What
Currently after installing/uninstalling an extension you need to restart the prototype, as people use more extensions this could become more confusing.  It would also help our acceptance tests if we can install/uninstall extensions mid-test.
Why
Extensions are likely to become a bigger part of the experience of using the kit, it would be good to make the experience as smooth as possible.
This will help our tests as a well as real users.
This also paves the way for an extension store concept which would let people click to install extensions.
Who needs to work on this
Developer
Who needs to review this
Developer
Done when

[ ] The user can install @govuk-prototype-kit/step-by-step@2 and see the benefits without having to restart the kit
[ ] The user can then install @govuk-prototype-kit/step-by-step@1 and see the benefits without having to restart the kit
[ ] The user can then uninstall @govuk-prototype-kit/step-by-step and see the benefits without having to restart the kit

Currently it is working but up for the discussion at the sprint planning


Updates round two

Updates most of the dependencies. The rest have an issue with webpack and babel that i haven't figured out just yet.
Checklist

[ ] reference any related issues
[ ] updated docs
[ ] updated unit tests
[ ] updated UPGRADING.md
[ ] add appropriate tag (improvement / bug / etc)
[x] ready for review

Linter is busted. Trying to fix


Update README (information for latest version)

looks good to me. Are there other places this should be applied?

Other projects maybe.
Could you also reply to Richard's question about the examples?


Filters not working on Bar Charts

Hello,
We're having issues with combining filters in bar charts within this widget.
The initial load for the bar chart works well. However selecting a filter option throws an component not found error:

The bar chart filter works well when in use outside the Dashboard tab widget. So far, we have line widgets in use with this plugin and their filters are working as expected.

I have the same problem.

I'll look into it.

Thank you. What I have noticed : Filters are working if I have the widget in the same folder than the multi widget one. But it displays twice. If I return false with static function canView(), it doesn't show at all.

Could you please provide some code, please? I've tried to reproduce this locally, but unfortunately, I did not manage to do so.

I tried to reproduce the bug from demo. I can reproduce only on bug : If I return false from canView function, nothing is displayed. Here is the repo to reproduce it : app/Filament/Widgets/LatestOrders.php line 91
https://github.com/guerinoj/demofilament/commit/f016c95f9fb5787b56926bf8d7871fdc3cca3294

@guerinoj Which version of multi-widget are you  using?

This one : "kenepa/multi-widget": "^2.0"You can have access to repo here: https://github.com/guerinoj/demofilament/tree/multiwidgetLe 25 oct. 2023 à 11:43, Hiz @.***> a écrit :
@guerinoj Which version of multi-widget are you  using?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@guerinoj, I've looked into your issue and understand what's going on. We've changed the way widgets are displayed in #6. The multi-widget checks if it should display your widget based on the canView() method in your LatestOrder.php widget. So, if canView() returns false, it won't display it. If you want to resolve the issue of having a widget displayed twice, you might want to adjust the discoverWidgets() function in your AdminPanelProvider.php file. This function is responsible for loading the widget an additional time.
This is my fault because I forgot to update the documentation and didn't assign the new update to the proper tag. Sorry for the inconvenience.

@eyounelson Could you please provide some code and additional reproduction steps.

@Jehizkia I'll do that in a few hours. I've been a bit more busy lately.


refactor: check if negative cycles cause problems with min cost algorithm and if yes then change it to a negative cycle cost based algorithm instead

It seems the current Min cost algorithm actually avoids negative cycles in all cases now that the heuristic system has been fixed to work correctly I assume this has to do with the visited list not allowing for negative cycles to actually happen and thus we only get paths moving outwards from each node. This will all be documented in the report tied to the program.


Couldn't manage to clone then run locally or on Glitch either on Chrome or Firefox

Cloning the repository and building locally with node v10.1.0 fails me with :
Firefox

Chrome

Also tried on Glitch but couldn't even run it getting a "/etc/app-types/node/start.sh: line 43: null: command not found". I briefly tried in the console to do a npm run serve but it didn't end.
The tf.js version used was ... whatever the default configuration offered Saturday so I assume 0.11. I will try pinned down to 0.9 if it makes a difference. I didn't dig in detail but I'm wondering if it's not related to how the content is passed via src/webcam.js.
PS: was initially added to https://github.com/ModelDepot/tfjs-yolo-tiny-demo/issues/

@Utopiah Ah I originally assumed it'd be a tf.js related issue since the exception was being thrown from in the lib it seems (and I have not had a chance to test with 0.11). But I can see how the webcam capture can be an issue. Thanks for moving the issue over and providing the stack traces! I'll try to dig into this as well. Let me know if 0.9 works out though :)

thank you for this nice project. however i also ran into the same problem and it seems that this bug appears when using 0.11 (locally). i am using now 0.10 and it seem to work.


Not equal operator

Hi, I'm trying to write an if statement in my for loop. The if statement should check if the n iteration is the last one. The code should be "if n not equal to array.length"
Is there such an operator?

Here's the code for TagUI v6 syntax, to check if it is the last iteration - CC @siowyisheng
for n from 1 to array.length
    echo `n`
    if n equals to array.length
        echo LAST ITERATION


[diem-framework] Send NetworkIdentity events to a central event stream (100)

Motivation
Send NetworkIdentity events to a central event stream
Test Plan

cargo test --package diem-framework --tests

cargo test --package move-lang-functional-tests --tests

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:sunny: Canary successful

/land

:broken_heart: Test Failed - ci-test

/land


SCM: Preserve view collapse state

Collapse a git repo
Reload the window
It's expanded

Trying to focus on the one repo I care about and ignore the others that tend to have random changes

This is fixed.


Duplicate creation of aiida codes

In genericMD, gmx and bash codes are created by default, this worked fine for aiida v2 compatibility, bu this will fail for aiida v3 as duplicate codes are created, so these lines will be removed.

Removal of get_code lines causes the genericMD cli test to fail


Properties are not escaped in function body for input builders.

Version
4.0.0
Summary
When generating input builders for the following code, I get an invalid code that doesn't compile because the property in is not escaped when used in the function body of the builder methods.
Steps to reproduce the behavior
This graphql:
input _TimestampCondition {
  eq: Timestamp
  gt: Timestamp
  gte: Timestamp
  in: [Timestamp!]
  isNull: Boolean
  lt: Timestamp
  lte: Timestamp
}

Generates this code
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '4.0.0'.
//
package generated.type

import com.apollographql.apollo.api.Optional
import kotlin.Any
import kotlin.Boolean
import kotlin.collections.List

public data class _TimestampCondition(
  public val eq: Optional<Any?> = Optional.Absent,
  public val gt: Optional<Any?> = Optional.Absent,
  public val gte: Optional<Any?> = Optional.Absent,
  public val `in`: Optional<List<Any>?> = Optional.Absent,
  public val isNull: Optional<Boolean?> = Optional.Absent,
  public val lt: Optional<Any?> = Optional.Absent,
  public val lte: Optional<Any?> = Optional.Absent,
) {
  public class Builder {
    private var eq: Optional<Any?> = Optional.Absent

    private var gt: Optional<Any?> = Optional.Absent

    private var gte: Optional<Any?> = Optional.Absent

    private var `in`: Optional<List<Any>?> = Optional.Absent

    private var isNull: Optional<Boolean?> = Optional.Absent

    private var lt: Optional<Any?> = Optional.Absent

    private var lte: Optional<Any?> = Optional.Absent

    public fun eq(eq: Any?): Builder {
      this.eq = Optional.Present(eq)
      return this
    }

    public fun gt(gt: Any?): Builder {
      this.gt = Optional.Present(gt)
      return this
    }

    public fun gte(gte: Any?): Builder {
      this.gte = Optional.Present(gte)
      return this
    }

    public fun `in`(`in`: List<Any>?): Builder {
      this.in = Optional.Present(in)
      return this
    }

    public fun isNull(isNull: Boolean?): Builder {
      this.isNull = Optional.Present(isNull)
      return this
    }

    public fun lt(lt: Any?): Builder {
      this.lt = Optional.Present(lt)
      return this
    }

    public fun lte(lte: Any?): Builder {
      this.lte = Optional.Present(lte)
      return this
    }

    public fun build(): _TimestampCondition = _TimestampCondition(
      eq = eq,
      gt = gt,
      gte = gte,
      in = in,
      isNull = isNull,
      lt = lt,
      lte = lte,
    )
  }
}

In the setter function for in, we see that in is not escaped. this.in = Optional.Present(in). The issue seems to be here where %L is used instead of %N where %L does not escape the value.
Logs
No response

Good catch! Thanks for reporting. Would you be interested in opening a PR?

I can do that, but I was unsure where to add the test for this. Could you point out where?

Thanks!

Add an input type containing an in field, and a query field that uses it, in libraries/apollo-compiler/src/test/graphql/schema.sdl
Add a query that uses this field/input type to libraries/apollo-compiler/src/test/graphql/com/example/input_object_type/TestOperation.graphql
Run the specific codegen test: testFilter='input_object_type' updateTestFixtures=true ./gradlew :apollo-compiler:test --tests "com.apollographql.apollo.compiler.CodegenTest"
Test should pass, and new .expected files should appear, which should be committed

I get this error when trying to run the tests. Is there any more setup I need to find the dependencies?
I'm trying to contribute to the apollo-kotlin project, but I can't compile. Please help me fix this.
testFilter='input_object_type' updateTestFixtures=true ./gradlew :apollo-compiler:test --tests "com.apollographql.apollo.compiler.CodegenTest"

Calculating task graph as no cached configuration is available for tasks: :apollo-compiler:test --tests com.apollographql.apollo.compiler.CodegenTest

> Configure project :build-logic
WARNING: Unsupported Kotlin plugin version.
The `embedded-kotlin` and `kotlin-dsl` plugins rely on features of Kotlin `1.9.23` that might work differently than in the requested version `2.0.10`.

> Task :build-logic:compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':build-logic:compileKotlin'.
> Could not resolve all files for configuration ':build-logic:compileClasspath'.
   > Could not resolve all dependencies for configuration ':build-logic:compileClasspath'.
      > Could not find com.gradle:develocity-gradle-plugin:3.17.6.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/com/gradle/develocity-gradle-plugin/3.17.6/develocity-gradle-plugin-3.17.6.pom
        Required by:
            project :build-logic
   > Could not resolve all dependencies for configuration ':build-logic:compileClasspath'.
      > Could not find org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.4.8.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-benchmark-plugin/0.4.8/kotlinx-benchmark-plugin-0.4.8.pom
        Required by:
            project :build-logic
   > Could not resolve all dependencies for configuration ':build-logic:compileClasspath'.
      > Could not find com.android.tools.build:gradle:8.2.2.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.2.2/gradle-8.2.2.pom
        Required by:
            project :build-logic
   > Could not resolve all dependencies for configuration ':build-logic:compileClasspath'.
      > Could not find me.champeau.gradle:japicmp-gradle-plugin:0.2.8.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/me/champeau/gradle/japicmp-gradle-plugin/0.2.8/japicmp-gradle-plugin-0.2.8.pom
        Required by:
            project :build-logic
   > Could not resolve all dependencies for configuration ':build-logic:compileClasspath'.
      > Could not find org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.0.0.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/org/jetbrains/intellij/platform/intellij-platform-gradle-plugin/2.0.0/intellij-platform-gradle-plugin-2.0.0.pom
        Required by:
            project :build-logic
   > Could not resolve all dependencies for configuration ':build-logic:compileClasspath'.
      > Could not find org.jetbrains.intellij.plugins:gradle-changelog-plugin:2.0.0.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/org/jetbrains/intellij/plugins/gradle-changelog-plugin/2.0.0/gradle-changelog-plugin-2.0.0.pom
        Required by:
            project :build-logic
   > Could not resolve all dependencies for configuration ':build-logic:compileClasspath'.
      > Could not find com.android.lint:com.android.lint.gradle.plugin:8.2.2.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/com/android/lint/com.android.lint.gradle.plugin/8.2.2/com.android.lint.gradle.plugin-8.2.2.pom
        Required by:
            project :build-logic

* Try:
> The project declares repositories, effectively ignoring the repositories you have declared in the settings.
   To determine how project repositories are declared, configure your build to fail on project repositories.
   For more information, please refer to https://docs.gradle.org/8.9/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation.
> If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 640ms
1 actionable task: 1 executed
Configuration cache entry stored.

The project declares repositories, effectively ignoring the repositories you have declared in the settings.

Do you have Gradle init scripts maybe? Or maybe Android Studio changed your build files automatically? This warning shouldn't be printed

It seems that IntelliJ or Gradle made some changes to the build files. I'm trying to make a pr now, but I get permission denied.

we do know that this doesn't respect the GQL spec and we will fixing it in future version.

You'll need to push your branch to a fork of yours and open the PR from there.

Closed with https://github.com/apollographql/apollo-kotlin/pull/6116. Thanks again 🙏

Thanks as well :pray:


Fetch GST Overdue

I have tried general ledger and other reports available with SDK but not response doesnt include "this financial quarter to date" GST overdue stats. Please guide.

@jasminder Can you please specify which report you are expecting to see the financial quarter to date payload? Here is the list of report entities and the result payload examples: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/report-entities/accountlistdetail. If there is a report you are able to fetch from the UI and not via the API please let me know the specifics. Thanks!

@jasminder If the issue is still not resolved can you please create a support ticket at https://help.developer.intuit.com/s/. Closing the issue since it is not specific to the SDK.


List of supported packets

Packet support
This is a complete list of all the packets in the Minecraft Protocol, and their status in Krypton (how much support they have)
Feel free to let me know if I missed anything!
Status meanings:
✔ = Fully supported - everything, or mostly everything, is supported for this packet
🟠 = Partially supported - parts of this packet are supported, but others aren't
❌ = Not supported - nothing in this packet is supported
Handshake
Assume these are all serverbound, there are no clientbound packets in this state

Name
Status

Handshake
✔

Legacy Server List Ping
✔

Status
Clientbound

Name
Status

Response
✔

Pong
✔

Serverbound

Name
Status

Request
✔

Ping
✔

Login
Clientbound

Name
Status
Notes

Disconnect (login)
✔

Encryption Request
✔

Login Success
✔

Set Compression
✔

Login Plugin Request
✔
Only used for Velocity modern forwarding

Serverbound

Name
Status
Notes

Login Start
✔

Encryption Response
✔

Login Plugin Response
✔
Only used for Velocity modern forwarding

Play
Clientbound

Name
Status
Notes

Spawn Entity
✔

Spawn Experience Orb
✔

Spawn Living Entity
✔

Spawn Painting
✔

Spawn Player
✔

Sculk Vibration Signal
❌

Entity Animation
🟠
Only swing main arm/offhand supported

Statistics
✔

Acknowledge Player Digging
🟠
Always allows the dig since we only allow breaking in creative

Block Break Animation
✔

Block Entity Data
❌

Block Action
❌

Block Change
✔

Boss Bar
✔

Server Difficulty
✔

Chat Message
✔

Clear Titles
✔
Sent when clearTitle or resetTitle is called from the API, not used internally

Tab-Complete
✔

Declare Commands
✔

Close Window
❌

Window Items
🟠
Currently only used for player inventories

Window Property
❌

Set Slot
✔

Set Cooldown
✔

Plugin Message
✔

Named Sound Effect
✔

Disconnect (play)
✔

Entity Status
🟠
Only used for the reduced debug screen gamerule

Explosion
❌

Unload Chunk
✔

Change Game State
🟠
Only used for weather and game mode changes

Open Horse Window
❌

Initialize World Border
✔

Keep Alive
✔

Chunk Data
✔

Effect
✔

Particle
✔

Update Light
✔

Join Game
✔

Map Data
❌

Trade List
❌

Entity Position
✔

Entity Position And Rotation
✔

Entity Rotation
✔

Vehicle Move
❌

Open Book
✔

Open Window
❌

Open Sign Editor
❌

Craft Recipe Response
❌

Player Abilities
✔

Death Combat Event
❌
No respawn mechanic yet

Player Info
✔

Face Player
❌

Player Position And Look
✔

Unlock Recipes
🟠
Recipe book doesn't persist yet, so not counting this, but it is sent

Destroy Entities
✔

Remove Entity Effect
❌

Resource Pack Send
✔

Respawn
❌

Entity Head Look
✔

Multi Block Change
❌

Select Advancement Tab
❌

Action Bar
✔
Sent when sendActionBar is called from the API, not used internally

World Border Center
❌

World Border Lerp Size
❌

World Border Size
❌

World Border Warning Delay
❌

World Border Warning Reach
❌

Camera
✔

Held Item Change
✔

Update View Position
✔

Spawn Position
✔

Display Scoreboard
✔

Entity Metadata
✔
Currently only used for player metadata

Attach Entity
❌

Entity Velocity
✔

Entity Equipment
❌

Set Experience
❌

Update Health
✔

Scoreboard Objective
✔

Set Passengers
✔

Teams
✔

Update Score
✔

Set Title SubTitle
✔
Sent when showTitle is called from the API, not used internally

Time Update
✔

Set Title Text
✔
Sent when showTitle is called from the API, not used internally

Set Title Time
✔
Sent when showTitle is called from the API, not used internally

Entity Sound Effect
✔

Sound Effect
✔

Stop Sound
✔

Player List Header And Footer
✔
Same as title

NBT Query Response
✔

Collect Item
❌

Entity Teleport
✔

Advancements
❌

Entity Properties
✔

Entity Effect
❌

Declare Recipes
🟠
Currently always empty, but still sent to the client

Tags
✔

Serverbound

Name
Status
Notes

Teleport Confirm
🟠
Received, but always ignored

Query Block NBT
❌

Query Entity NBT
✔

Chat Message
✔
Both messages and commands supported, no filtering yet though

Client Status
🟠
Only for requesting statistics

Client Settings
✔

Tab-Complete
✔

Click Window Button
❌

Click Window
❌

Close Window
❌

Plugin Message
✔

Edit Book
❌

Interact Entity
✔

Generate Structure
❌

Keep Alive
✔

Player Position
✔

Player Position And Rotation
✔

Player Rotation
✔

Player Movement
✔

Vehicle Move
❌

Steer Boat
❌

Pick Item
❌
I assume this is for pick block in survival, as creative uses Creative Inventory Action

Craft Recipe Request
❌

Player Abilities
✔

Player Digging
✔

Entity Action
🟠
Events are fired for all of these, though only a few are used

Steer Vehicle
✔

Set Recipe Book State
❌

Set Displayed Recipe
❌

Name Item
❌

Resource Pack Status
✔

Advancement Tab
❌

Select Trade
❌

Set Beacon Effect
❌

Held Item Change
✔

Update Command Block
❌

Update Command Block Minecart
❌

Creative Inventory Action
✔
Might still be a few bugs with this, but it's handled correctly

Update Jigsaw Block
❌

Update Structure Block
❌

Update Sign
❌

Animation
✔

Spectate
❌

Player Block Placement
✔

Use Item
✔

Note: the packets "Set Difficulty", "Lock Difficulty" and "Update View Distance" have been omitted from this list, as they are single player only and will never be supported in Krypton.
In addition, the following packets will not be implemented in Krypton as they are not used by the Notchian client/server (unless there becomes a want/need to use them):

Ping (PLAY state)
Pong (PLAY state, response to Ping)
End Combat Event
Enter Combat Event

I realise that this isn't always the best metric for tracking overall progress, as most of the backend work actually isn't networking, but internal processing (ticking). Therefore, I need to come up with a better way of tracking progress than this.


Cannot set --quiet or --timeout

Cannot set --quiet or --timeout
Program reports:
flag provided but not defined: -quiet
Usage of prober:
-exit-on-error
Exit polling loop on error (default true)
-host string
Host to probe
-interval int
Polling interval in seconds (default 10)

I think you need to either recompile it, or pull new version from GitHub.
On Sun, Aug 30, 2020, 17:48 Paul Earley<EMAIL_ADDRESS>wrote:

Cannot set --quiet or --timeout
Program reports:
flag provided but not defined: -quiet
Usage of prober:
-exit-on-error
Exit polling loop on error (default true)
-host string
Host to probe
-interval int
Polling interval in seconds (default 10)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/icemarkom/mffprober/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPFCUZHUAS4NNEPZOEC7K3SDLXPNANCNFSM4QP6FTVA
.

I think you need to either recompile it, or pull new version from GitHub.
That did it. For some reason (operator error) the pull failed.
Running now. Will run all night.


Add webpack

Summary
Fixes #193.
Add webpack following the guide here, with modifications because our project has a different structure than what's in the guide.
Webpack will be used for prod builds and dev builds instead of tsc; tsc will continue to be used for tests. Webpack builds will live in dist; tsc in out.
What we did:

Installed dependencies for webpack and typescript compatibility with webpack

This involved bumping the typescript version from 3 to 4

Added webpack configs for the extension and the language server.

These are actually separate modules, so we need to webpack each one separately. This wasn't necessary before because tsc would just build everything.

Added npm scripts for running webpack in dev mode and prod mode

Dev mode for faster compilation, prod mode for smaller bundle

Updated package.json so that vsce package will use the webpack prod build instead of the tsc build
Updated the launch.json to use the webpack dev build instead of the tsc build for running the extension locally

This involved updating tasks.json to use the new npm scripts we made
This makes the build step a little longer when developing locally because tsc was faster. This is a tradeoff for making the dev build closer to the prod build.

Move the tests folder from src directory -> root directory

Tests would not work otherwise; unsure why

Updated tsconfig.json's rootDirs

In order for files outside of src to be importable, like the hover methods patterns.
In order to build the tests, which now live in the root directory instead of src.

Comparing the bundle size

Before: 3.56 MB
After: 2.4 MB
Difference: 1.16 MB or 33 percent!

Testing

npm test works (uses tsc build)
launching and relaunching the extension development host works (uses webpack dev build)
vsce publish works (uses webpack prod build)

Having some issues with the Github build action - setting this to a draft temporarily.


feat(Topology): fiberwise summation

Fiberwise summation for extended non-negative reals.

bors r+

bors r+


Add note about google cloud run in the readme

Resolves #269

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


limbo: add restrictive-permits-in-intermediates

See: https://github.com/pyca/cryptography/pull/8873#discussion_r1403526232
cc @alex: I think this is what you had in mind, but I'm not 100% sure -- it looks like all three of the harness impls. reject this as expected, and your suggestion above also works as expected.

One extra thought: It may make sense to add the inverse invalid chain: that is to say, switching which NC is narrower than which.


[WIP] Updated ViewRenderer to return Task

Prerequisites

[X] I have written a descriptive pull-request title
[X] I have verified that there are no overlapping pull-requests open
[X] I have verified made sure that I am following the Nancy code style guidelines
[X] I have provided test coverage for your change (where applicable)

Description
Updated ViewRenderer to return Task<Negotiator> instead of Negotiator. This means that from an NancyModule you can now call await View["index"]. Also created a LegacyViewRenderer with the old behavior that is used by LegacyModule. I also had to remove the INancyModule.View declaration since there is no IViewRenderer interface, nor can there be since they differ on the return value. To be honest this should not be on INancyModule at all (could prune more, but that's out of the context of this pull-request), it should be an implementation detail.
Also sneaked in a couple of file fixes in Nancy.sln for three files that weren't included as links

I'll investigate if this can be replaced by the same fix applied in #2422

Will be fixed by #2422


Build cache does not work

With addition of dynamically given build time variable, build cache does not work and build needs to be run completely each time. It's not a problem on a fast machine but can slow down your work flow
Version 1.1.0
bafff9373fa0620d173b71d1b411b6afcde6335e

Lazy fix in 468494f412e91f9410b37b57e05d56a10561776b


1.26.0

Fixes https://github.com/pontem-network/intellij-move/issues/90

This is amazing!!!! Thanks a lot for your incredible work here!


get_contours enhancement

get_contours is the core function, it is the one that detects the 4 corners of the document. Unfortunately it doesn't work all the times. I think the preprocessing of the image before the call to cv2.getContours should be improved: as you can see in examples/ or trying the code yourself, the document is often not detected at all, or not detected right.
If you have any ideas, please write it in a comment or submit a pull request.
Work just on scanner.py, the code is small but if you can't understand some parts don't hesitate to ask questions.
EDIT:
In the last commits I introduced the function white(), which improves the performances drastically. However, I think there's still room for improvement.

Instead of using a fixed threshold for edge detection (cv2.Canny), you can try adaptive thresholding (cv2.adaptiveThreshold). Adaptive thresholding calculates different thresholds for different regions of the image, which might be more robust.
def get_contours(img_gray):     image = cv2.dilate(cv2.adaptiveThreshold(img_gray, 255, cv2.ADAPTIVE_THRESH_MEAN_C, cv2.THRESH_BINARY, 11, 2), None, 1)

Hello @RUTUPARNk , and thank you for your comment. I have just tried your suggestion, and it didn't work well on the test images I tried it on.
But then I suspected cv2.adaptiveThreshold could do a good job later in the script (i.e. line 123), and in fact I got pretty good results, some better and some worse than the ones I had before (I have just committed them so you can see for yourself).
If you are interested you can also check issue #2 , which is the one about the thresholding phase.

Hi @davide710 would like to work on this in a bit. I wondered if it would be easier to remove the black edge (if you mean that by not detected correctly) on the sites of the PDF by postprocessing it, instead of preprocessing the image.
What is the main aim of the script? Is it supposed to be fully automated, or could the user get some interactive prompts or options to customize its behavior?
Thanks in advance

What I mean is that in some cases, when executing the script, cv2.findContours doesn't return the right contour because of bad lighting, shadows and get_contours returns 'No document detected!', meaning there will be no pdf to postprocess.
The function white was a significant improvement because it helps highlighting the edges of the document and makes it easier to detect it.
The aim of the script is to automate as much as possible, leaving the most desperate cases to doc_scan_click.py, that lets the user select the 4 corners of the document.

So what I pointed out is another issue then, right? The PDF is supposed to be ink saving so black borders are "bad". [Will work on both issues]
PS: I meant postprocessing the image not the PDF

Yes, it's another (less important in my opinion but still) a problem, and if you could manage to make some progress it would be great.
Please upload any additional test image you use even if the script fails on them. Thanks

Get contours
I currently work on the mentioned issues (get_threshold and get_contours).
I wanted to ask if you have any images that do not get detected but should be detected. I had one and it works after my changes, but I want to see if that is the case for all of them.
Maybe it would also be better practice to see which side of the rectangle is longer so we know the orientation. (perspective should not change the length that much as it would lead to the text being unreadable). But what would you say to that?

Hello, I just uploaded an image that is currently undetected (all the others I have now are). It is a bit tricky because the background partially reflects some light. Let me know what your results are (maybe I can help).
I originally limited the code to vertical images to simplify and then never actually cared to change it. I agree it would be better as you say.

Just to give an update.
The program now scanns all example images and the text is readable (using adaptive thresholding). I am now going to work on the orientation thing mentioned and other small problems I can find. Untill then 👋
if you want to view the changes here they are


KL divergence formula for discrete distributions (page 626)

Hi Sebastian,
There are 2 formulas of KL divergence for discrete distributions on the page 626, and it seems the second formula has missing log transformation for the second multiplier (instead of P(x)/Q(x) it must be equal to log(P(x) / Q(x)).
Thank you.

Ohh how could I miss that, thanks!! 🙈