value on autocomplete not changing when state updated

Application have two autoComplete (From and To)

after click on toggle button i will toggle state from and to
  toggleTarget() {
    let from = this.state.From
    let to = this.state.To
    console.log('toggleTarget', from, to)
    this.setState({
      From: to,
      To: from
    })
  }

actually state will be change but value of input not changing

auto Complete code

                <AutoComplete
                  name="From"
                  Value={this.state.From}
                  onUpdateInput={this.changeFrom}
                  openOnFocus={true}
                  hintText={t('From')}
                  ref="From"
                  dataSource={this.flights}
                  dataSourceConfig={{
                    text: 'name',
                    value: 'code'
                  }}
                />

                <FontIcon onClick={this.toggleTarget} style={iconStyles}
                          className="material-icons">swap_horiz</FontIcon>

                <AutoComplete
                  hintText={t('To')}
                  ref="To"
                  onUpdateInput={this.changeTo}
                  dataSource={this.flights}
                  dataSourceConfig={{
                    text: 'name',
                    value: 'code'
                  }}
                  name="To"
                  value={this.state.To}
                />

How can change value of input ?

Please check the doc site http://www.material-ui.com/#/components/auto-complete
There is no value prop on AutoComplete. You might need to use searchText to control the text that is shown.

Closed by #4783

Seems like this issue is happening again and the docs says there is a value prop and not a searchText prop to control the text that is shown

It was for the first version


New SERVERPROPERTY value : MachineOS

I would like to suggest that this command have a new command to return information on the Operating System.  It will already return the name of the host [ComputerNamePhysicalNetBIOS], the name of the logical server (in the case of a cluster node) [MachineName], it should also return information about the Operating System that hosts the SQL instance (e.g. Edition and version number).
It would be helpful if Microsoft maintained a list of those Windows Operating systems versions that this could be matched to - including those that may no longer be supported.

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

ID: ddfe68a0-2711-8521-2b95-562c6d2c6f58
Version Independent ID: 2636e412-39db-93a6-d07a-0f6fc3fa33d6
Content: SERVERPROPERTY (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/serverproperty-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @VanMSFT
Microsoft Alias: vanto

Hi @LindaLF! Thanks for the suggestion on the product. We appreciate it. Please submit your feedback using the product feedback button:


Changes is missing information

You should actually have a change log that indicates what has changed in each version

Fixed


Use late binding for scheduled tasks

The value of :tasks in feature maps will not take effect without a system restart. This is because the task functions and their schedules (i.e. a possibly infinite sequence of times) are passed to chime during system startup.
Perhaps instead of a schedule, tasks should define a predicate function should-run?. Then we have a single chime task that runs once per second and calls all the should-run? functions, passing along the system map and some additional context (e.g. how long it's been since the last time the task was ran).
If we do that, perhaps just use (future (while true ... (Thread/sleep 1000))) instead of chime.

Closing since I have a billion other things on my todo list besides just this and I'd rather use github issues just for users to request stuff.


Adds Pure i9 model

Should fix https://github.com/JohNan/homeassistant-wellbeing/issues/137

I got this after updating the HA Wellbeing integration:

I got this after updating the HA Wellbeing integration:

I realized that there has been some misunderstanding regarding that model. What I can tell PUREi9 is a robot vacuum cleaner, which this integration not support at the moment. Correct me if I'm wrong here 😊

I got this after updating the HA Wellbeing integration:

I realized that there has been some misunderstanding regarding that model. What I can tell PUREi9 is a robot vacuum cleaner, which this integration not support at the moment. Only air purifiers are supported. Correct me if I'm wrong here 😊

Yes PUREi9 is a robot vacuum.


feat: automatically generate .sauced.yaml file

Description
Two modes of generating:

[x] Automatic

Each found email will be attributed to the given Git name

[x] Interactive

Each found email will prompt the user to set the name it should be attributed to
The attribution name can be different from the email's Git name
Multiple emails can be attributed to one user
Can ignore an email with Ctrl+I

Related Tickets & Documents
Closes #97

Mobile & Desktop Screenshots/Recordings

Steps to QA

Run just build
Run ./build/pizza generate config
Use the -o/--output-path flag to set a directory
Use the -i/--interactive flag to attribute each email manually

Tier (staff will fill in)

[x] Tier 1
[ ] Tier 2
[ ] Tier 3
[ ] Tier 4

[optional] What gif best describes this PR or how it makes you feel?

PSA: you'll want to rebase on beta to get the latest linter config from #148

Having an existing .sauced.yaml, it regenerated it, but the missing premable in comments got removed. Not sure if that's from our template, but just mentioning it.
When regenerating the .sauced.yaml, if one is detected (non-interactive mode) potentially mention it before they proceed.
Also, not sure how far back we're looking by default in the git history, but I see Anush, one of our interns in the list.

Also, we should skip known bot accounts, i.e. any account ending in [bot].

These can be in a future PR:

Warn of existence/use existing .sauced.yaml config
Add a --range to how far to check commit logs
Add a preamble eg pizza generate codeowners on the .sauced.yaml file!

Should I make issues?

Should I make issues?

Yes, I was going to say: let's followup any additional feedback / bugs in new issues and PRs


pungle789

Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.
https://github.com/github/docs/pull/35357

รับ Outlook สำหรับ Androidhttps://aka.ms/AAb9ysg

From: Pungle789 @.>
Sent: Wednesday, November 20, 2024 12:39:29 PM
To: github/docs @.>
Cc: Pungle789 @.>; Your activity @.>
Subject: [github/docs] pungle789 (PR #35357)
Why:
Closes:
What's being changed (if available, include any code snippets, screenshots, or gifs):
Check off the following:

I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

 *   For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

For content changes, I have completed the self-review checklisthttps://docs.github.com/en/contributing/collaborating-on-github-docs/self-review-checklist.

You can view, comment on, or merge this pull request online at:
https://github.com/github/docs/pull/35357
Commit Summary

6a5cda5https://github.com/github/docs/pull/35357/commits/6a5cda535c7db470d55cea375d596fa2814ef522 pungle789

File Changes
(1 filehttps://github.com/github/docs/pull/35357/files)

M content/site-policy/github-terms/github-community-code-of-conduct.mdhttps://github.com/github/docs/pull/35357/files#diff-a7d2ff890f934aaee04e6746611ac30c35607c1619cb2ac267135f28e7140f24 (2)

Patch Links:

https://github.com/github/docs/pull/35357.patch
https://github.com/github/docs/pull/35357.diff

—
Reply to this email directly, view it on GitHubhttps://github.com/github/docs/pull/35357, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BNCLLOP5SJOWC3563Q5YYUL2BQOBDAVCNFSM6AAAAABSDXKONCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3TINBYGU4DEMY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Lock


Solidjs Mdx: createRouteData and useRouteData didn't work

Describe the bug
createRouteData and useRouteData didn't work in Solidjs Mdx

the value return from useRouteData is undefined
typescript could not work in mdx

Your Example Website or App
https://stackblitz.com/edit/github-n9s1u9-fhe7sw?file=src%2Froutes%2Findex.mdx
Steps to Reproduce the Bug or Issue

fetch https://github.com/solidjs/solid-start/tree/main/examples/with-mdx
add createRouteData and useRouteData to index.mdx
remove all type declaration for createRouteData and useRouteData
try to print value return from useRouteData()
got error

Expected behavior
createRouteData and useRouteData should work in index.mdx
and typescript should not return any error
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome
Version: latest

Additional context
No response

The syntax you used for index.mdx wouldn't work because the entire MDX file is the component and so the export default is just going to be a conflict. useRouteData wouldn't work either if written on top-level because MDX doesn't allow it.
This is not an issue with SolidJS, this is just the design of MDX.

@lxsmnsyc export default in mdx is not a conflict in solid mdx.
it works well, I used it to wrap and prepare styled layout.
in nextjs-mdx  it also could help prepare data from server for whole mdx page.
currently I only find problems with createRouteData and useRouteData that did not run

@lxsmnsyc
I tried your approach by moving the logic of useRouteData and createRouteData to  and then import  in index.mdx, the error still persisted
https://stackblitz.com/edit/github-n9s1u9-jqizpg?file=src%2Fcomponents%2FCounter.tsx


Sidebar inline replies number

Display a number of replies below the message which starts a sidebar
We have to be able to display this number to all the members of the parent thread (not necessarily members of the sidebar). To do that, we should create a new, invisible, message type which would modify inline sidebar. Initially this message should contain only number of replies.

Add a new message type (e.g. UPDATE_SIDEBAR). It should contain a number of replies and source message id.
Make sure that this message is completely invisible on the frontend
Write a spec of new message

it should not be persisted in db (just like unsupported message)

Modify thread info to contain a number of replies
Modify inline sidebar to display a number of replies based on thread info content
Modify the reducer to update thread's number of replies whenever UPDATE_SIDEBAR message is sent
Send current unread count when fetching sidebar
We should decide if we want the new message to generate a notification
Send update message when a new message is sent to the sidebar

Are you sure that the message shouldn't be persisted in the database? I think it will need to be, since that's the only way we can make sure that clients that are currently offline will get the message.
Worth noting that we'll need to do some additional thinking for E2E-encrypted "thick" threads. Probably best to handle in a separate issue, but we will need to consider that the contents of the sidebar won’t be visible unless we make sure that all members of the parent thread receive the encrypted messages in the sidebar.

Are you sure that the message shouldn't be persisted in the database? I think it will need to be, since that's the only way we can make sure that clients that are currently offline will get the message.
Worth noting that we'll need to do some additional thinking for E2E-encrypted "thick" threads. Probably best to handle in a separate issue, but we will need to consider that the contents of the sidebar won’t be visible unless we make sure that all members of the parent thread receive the encrypted messages in the sidebar.

I also don’t think we need to modify ThreadInfo for this. We should be able to handle this with something like localThreadInfo in threadStore.

I also don’t think we need to modify ThreadInfo for this. We should be able to handle this with something like localThreadInfo in threadStore.


finish some TODOs in xhttp.c

According to rfc 2616 section 4.2, field name of these header are case-insensitive:

general-header

including Connection

request-header
response-header
entity-header

including Content-Length

Here's an excerpt from rfc 2616 section 4.2

... Each header field consists of a name followed by a colon (":") and the field value. Field names are case-insensitive. The field value MAY be preceded by any amount of LWS, though a single SP is preferred. ...

And field value can be preceded by any amount of LWS, though one is preferred  (defined in section 2.2)

Oh sorry the .swp file is not removed.

Looks very good! Much appreciated. Do you mind removing the swp file? No need to rebase or anything

@cozis the swap file has been deleted.


Merge fixed version of 0.5.26

Merge Henry's fix of 0.5.26 into the merge-with-0.5.x branch.
@Phoenixmatrix @henryqdineen

Closed in favor of this: https://github.com/HubSpot/moment-timezone/pull/10


Suggested routes

Some devices (head trackers integrated into HMDs, game controllers) might suggest not just local semantic paths, but root-level routes, and obeying them if they don't conflict could result in a mostly-self-configuring system.

OK, so this is implemented in the core, we just need the schema updated accordingly. See https://github.com/OSVR/OSVR-Core/blob/master/plugins/multiserver/com_osvr_Multiserver_RazerHydra.json#L98


sync_templates_and_ci: use rsync

rsync allows us to delete files present at the destination but not the source.
Also split arguments into multiple lines for readability/maintainability.

Was just looking into this. It appears GNU cp could delete the files not present on the source but BSD cp cannot.


Growing memory usage

Since English() takes awhile to load, I have the habit of loading this as a global variable and reusing it when needed, like so:
nlp = English()
for sentence in long_list:
tokens = nlp(sent)
do_something(tokens)
But my memory usage grows over time. Started at about ~2GB and I'm at 8GB right now. This is while processesing ~10M sentences.
Is there some sort of caching that is happening within the class? Is there anything I can do to safely clear it?

Related to this: I'd like to speed up my process with multithreading. Any recommendations on that front? If the class state is important during processing, I'm afraid an extension of the method above will result in corrupted data:
nlp = English()
def process(sent):
tokens = nlp(sent)
threads = 8
map(process, long_list)

That memory-use growth is surprising. It may be that a memory leak has been introduced. I'll look into that, thanks.
Multi-threading support is on the roadmap. I'm working on replacing the linear model with a neural network. This will reduce memory usage and should also make multi-threading easier.

It might also be a good idea to check that ram consumption isn't simply
caching. Had a similar issue even though I was streaming a file line by
line. http://www.linuxatemyram.com/
On Fri, Dec 11, 2015 at 6:39 PM, Matthew Honnibal<EMAIL_ADDRESS>wrote:

That memory-use growth is surprising. It may be that a memory leak has
been introduced. I'll look into that, thanks.
Multi-threading support is on the roadmap. I'm working on replacing the
linear model with a neural network. This will reduce memory usage and
should also make multi-threading easier.
—
Reply to this email directly or view it on GitHub
https://github.com/honnibal/spaCy/issues/205#issuecomment-163985731.

Thank you for excellent response time -- much appreciated. I haven't been able to confirm for certain, but it looks like memory fragmentation is potentially the culprit. This is the first time I've experienced "high water" in python, but it looks like it is a known python gotcha, and probably has nothing to do with Spacy. I had been running my code for 3-4 days so that makes sense.

Thanks for the follow up!


Support Liquid and other sidechains at consensus level

[x] Allow multiple chain commitments to the Genesis (currently we can operate just a single chain)
[x] Switch to a single-use-seal type enumerating possible seal formats (related to https://github.com/BP-WG/bp-core/issues/62)
[x] Make single-use-seals commit to the chain
[x] Add chain information to the resolver API
[x] Verify that each state transition closes the seals matching the chain from the seal definition

Closed in https://github.com/RGB-WG/rgb-core/pull/183


[BUG] Not awaited several methods in method photo_upload

Describe the bug
I tried to publish media post with 1 photo. I called method photo_upload. But got error in line aiograpi.mixins.photo.UploadPhotoMixin.photo_upload:239 Media is None. I found out that method photo_configure isn't await, it's reason why media is None.
And also method expose not awaited in method photo_upload
And also method location_build not awaited in method photo_configure
To Reproduce
Just call method photo_upload. As is
Traceback
  File "/Users/artem_arkhipov/projects/pygmalion/robo-blogger/robo_blogger/worker/publishers/post_publisher.py", line 10, in publish     posted_photo = await self.session._client.photo_upload(                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/artem_arkhipov/Library/Caches/pypoetry/virtualenvs/robo-blogger-lGCq8Q3n-py3.11/lib/python3.11/site-packages/aiograpi/mixins/photo.py", line 239, in photo_upload     return extract_media_v1(media)            ^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/artem_arkhipov/Library/Caches/pypoetry/virtualenvs/robo-blogger-lGCq8Q3n-py3.11/lib/python3.11/site-packages/aiograpi/extractors.py", line 44, in extract_media_v1     if versions := media.get("video_versions", []):                    ^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get'
Expected behavior
I expected that photo will publish
aiograpi ==0.0.1

Yes, PR is here

You are welcome


Identity gets dropped from owner entity key

You can check the detail in the following link:
https://stackoverflow.com/questions/60645980/ownsone-drops-identity-from-tables-key
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d02e6748-42e0-000a-4945-42cd05a0b875
Version Independent ID: e3effbd0-07f2-423d-4032-1722e75adb37
Content: Owned Entity Types - EF Core
Content Source: entity-framework/core/modeling/owned-entities.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @AndriySvyryd
Microsoft Alias: ansvyryd

@roji This could be an Npgsql migrations issue.

@roji Ping.

This turned out to be a bug in the Npgsql provider, see https://github.com/npgsql/efcore.pg/issues/1324. A fix is out and should get merged for 3.1.4.


Show dateformat text in lowercase for date and dateTime label.

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1954
Description

Show date pattern text in the lowerCase when get assigned as hint/label for Date and DateTime view.
Show date pattern text in the error text in the lowercase when error message get shown.

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: Feature
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

@shelaghm


Compare Github Actions and CircleCI config

In the event of Github Actions being down long-term, it would be good to have an example of converting a Github actions workflow into a CircleCI job to assist teams that might need to migrate.

No value at this time.


Failure in docker-compose-air-gapper

Saw this failure at
https://github.com/Senzing/docker-compose-air-gapper/runs/3733379065?check_suite_focus=true

/usr/bin/docker run --name e1cc51117eeb3f2e9d4376b814be1a7e4f3964_f4301d --label e1cc51 --workdir /github/workspace --rm -e GITHUB_TOKEN -e INPUT_PROJECT -e INPUT_COLUMN_NAME -e INPUT_PROJECT1 -e INPUT_PROJECT2 -e INPUT_TOPIC1 -e INPUT_TOPIC2 -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/docker-compose-air-gapper/docker-compose-air-gapper":"/github/workspace" e1cc51:117eeb3f2e9d4376b814be1a7e4f3964  "https://github.com/orgs/Senzing/projects/2" "" "" "" "" "Backlog"
8
curl: no URL specified!
9
curl: try 'curl --help' or 'curl --manual' for more information
10
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
11

12
                                 Dload  Upload   Total   Spent    Left  Speed
13

14
{
15
  "current_user_url": "https://api.github.com/user",
16
  "current_user_authorizations_html_url": "https://github.com/settings/connections/applications{/client_id}",
17
  "authorizations_url": "https://api.github.com/authorizations",
18
  "code_search_url": "https://api.github.com/search/code?q={query}{&page,per_page,sort,order}",
19
  "commit_search_url": "https://api.github.com/search/commits?q={query}{&page,per_page,sort,order}",
20
  "emails_url": "https://api.github.com/user/emails",
21
  "emojis_url": "https://api.github.com/emojis",
22
  "events_url": "https://api.github.com/events",
23
  "feeds_url": "https://api.github.com/feeds",
24
  "followers_url": "https://api.github.com/user/followers",
25
  "following_url": "https://api.github.com/user/following{/target}",
26
  "gists_url": "https://api.github.com/gists{/gist_id}",
27
  "hub_url": "https://api.github.com/hub",
28
  "issue_search_url": "https://api.github.com/search/issues?q={query}{&page,per_page,sort,order}",
29
  "issues_url": "https://api.github.com/issues",
30
  "keys_url": "https://api.github.com/user/keys",
31
  "label_search_url": "https://api.github.com/search/labels?q={query}&repository_id={repository_id}{&page,per_page}",
32
  "notifications_url": "https://api.github.com/notifications",
33
  "organization_url": "https://api.github.com/orgs/{org}",
34
  "organization_repositories_url": "https://api.github.com/orgs/{org}/repos{?type,page,per_page,sort}",
35
  "organization_teams_url": "https://api.github.com/orgs/{org}/teams",
36
  "public_gists_url": "https://api.github.com/gists/public",
37
  "rate_limit_url": "https://api.github.com/rate_limit",
38
  "repository_url": "https://api.github.com/repos/{owner}/{repo}",
39
  "repository_search_url": "https://api.github.com/search/repositories?q={query}{&page,per_page,sort,order}",
40
  "current_user_repositories_url": "https://api.github.com/user/repos{?type,page,per_page,sort}",
41
  "starred_url": "https://api.github.com/user/starred{/owner}{/repo}",
42
  "starred_gists_url": "https://api.github.com/gists/starred",
43
  "topic_search_url": "https://api.github.com/search/topics?q={query}{&page,per_page}",
44
  "user_url": "https://api.github.com/users/{user}",
45
  "user_organizations_url": "https://api.github.com/user/orgs",
46
  "user_repositories_url": "https://api.github.com/users/{user}/repos{?type,page,per_page,sort}",
47
  "user_search_url": "https://api.github.com/search/users?q={query}{&page,per_page,sort,order}"
48
}
49
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
50
100  2396  100  2396    0     0  14975      0 --:--:-- --:--:-- --:--:-- 14975
51
/entrypoint.sh: line 172: PROJECT_URL: <Error> required this environment variable
52
No project was found.
53
jq: error (at <stdin>:4): Cannot index string with string "name"
54
INITIAL_COLUMN_ID is not found.

Full log:
2021-09-28T13:56:55.1094138Z Found online and idle hosted runner in the current repository's organization account that matches the required labels: 'ubuntu-latest'
2021-09-28T13:56:55.2379987Z Waiting for a Hosted runner in the 'organization' to pick this job...
2021-09-28T13:56:55.6680452Z Job is waiting for a hosted runner to come online.
2021-09-28T13:57:00.2157261Z Job is about to start running on the hosted runner: GitHub Actions 4 (hosted)
2021-09-28T13:57:04.5520088Z Current runner version: '2.283.1'
2021-09-28T13:57:04.5548641Z ##[group]Operating System
2021-09-28T13:57:04.5549605Z Ubuntu
2021-09-28T13:57:04.5550025Z 20.04.3
2021-09-28T13:57:04.5550486Z LTS
2021-09-28T13:57:04.5551000Z ##[endgroup]
2021-09-28T13:57:04.5551563Z ##[group]Virtual Environment
2021-09-28T13:57:04.5552229Z Environment: ubuntu-20.04
2021-09-28T13:57:04.5552823Z Version: 20210919.1
2021-09-28T13:57:04.5553843Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210919.1/images/linux/Ubuntu2004-README.md
2021-09-28T13:57:04.5555305Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210919.1
2021-09-28T13:57:04.5556258Z ##[endgroup]
2021-09-28T13:57:04.5556860Z ##[group]Virtual Environment Provisioner
2021-09-28T13:57:04.5557557Z <IP_ADDRESS>-master-20210914-1
2021-09-28T13:57:04.5558141Z ##[endgroup]
2021-09-28T13:57:04.5560236Z ##[group]GITHUB_TOKEN Permissions
2021-09-28T13:57:04.5561712Z Actions: write
2021-09-28T13:57:04.5562272Z Checks: write
2021-09-28T13:57:04.5562827Z Contents: write
2021-09-28T13:57:04.5563358Z Deployments: write
2021-09-28T13:57:04.5563926Z Discussions: write
2021-09-28T13:57:04.5564415Z Issues: write
2021-09-28T13:57:04.5564946Z Metadata: read
2021-09-28T13:57:04.5565476Z Packages: write
2021-09-28T13:57:04.5566027Z PullRequests: write
2021-09-28T13:57:04.5566712Z RepositoryProjects: write
2021-09-28T13:57:04.5567410Z SecurityEvents: write
2021-09-28T13:57:04.5567948Z Statuses: write
2021-09-28T13:57:04.5568884Z ##[endgroup]
2021-09-28T13:57:04.5572136Z Prepare workflow directory
2021-09-28T13:57:04.6495380Z Prepare all required actions
2021-09-28T13:57:04.6504986Z Getting action download info
2021-09-28T13:57:05.3543895Z Download action repository<EMAIL_ADDRESS>(SHA:1a8edc916726deb0b1d90043707794022b5e11bd)
2021-09-28T13:57:07.6833264Z ##[group]Build container for action use: '/home/runner/work/_actions/Senzing/github-action-add-issue-to-project/1.0.0/Dockerfile'.
2021-09-28T13:57:07.6887232Z ##[command]/usr/bin/docker build -t e1cc51:117eeb3f2e9d4376b814be1a7e4f3964 -f "/home/runner/work/_actions/Senzing/github-action-add-issue-to-project/1.0.0/Dockerfile" "/home/runner/work/_actions/Senzing/github-action-add-issue-to-project/1.0.0"
2021-09-28T13:57:07.9300038Z Sending build context to Docker daemon  185.9kB
2021-09-28T13:57:07.9352531Z
2021-09-28T13:57:07.9720427Z Step 1/5 : FROM alpine:3.10
2021-09-28T13:57:08.7892121Z 3.10: Pulling from library/alpine
2021-09-28T13:57:08.9746793Z 396c31837116: Pulling fs layer
2021-09-28T13:57:09.2581372Z 396c31837116: Verifying Checksum
2021-09-28T13:57:09.2582059Z 396c31837116: Download complete
2021-09-28T13:57:09.3815523Z 396c31837116: Pull complete
2021-09-28T13:57:09.3857704Z Digest: sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98
2021-09-28T13:57:09.3870302Z Status: Downloaded newer image for alpine:3.10
2021-09-28T13:57:09.3879723Z  ---> e7b300aee9f9
2021-09-28T13:57:09.3880283Z Step 2/5 : RUN apk add --no-cache --no-progress curl jq
2021-09-28T13:57:10.0745908Z  ---> Running in d76823cb1ef1
2021-09-28T13:57:10.0747148Z fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
2021-09-28T13:57:10.0748515Z fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
2021-09-28T13:57:10.0796446Z (1/6) Installing ca-certificates (20191127-r2)
2021-09-28T13:57:10.1013936Z (2/6) Installing nghttp2-libs (1.39.2-r1)
2021-09-28T13:57:10.1076013Z (3/6) Installing libcurl (7.66.0-r4)
2021-09-28T13:57:10.1208404Z (4/6) Installing curl (7.66.0-r4)
2021-09-28T13:57:10.1470454Z (5/6) Installing oniguruma (6.9.4-r1)
2021-09-28T13:57:10.1472784Z (6/6) Installing jq (1.6-r0)
2021-09-28T13:57:10.1575549Z Executing busybox-1.30.1-r5.trigger
2021-09-28T13:57:10.1609247Z Executing ca-certificates-20191127-r2.trigger
2021-09-28T13:57:10.1945779Z OK: 8 MiB in 20 packages
2021-09-28T13:57:11.0152863Z Removing intermediate container d76823cb1ef1
2021-09-28T13:57:11.0154810Z  ---> f81c1396fe06
2021-09-28T13:57:11.0156425Z Step 3/5 : COPY entrypoint.sh /entrypoint.sh
2021-09-28T13:57:12.0089809Z  ---> 78eee8d0111d
2021-09-28T13:57:12.0112855Z Step 4/5 : RUN chmod +x entrypoint.sh
2021-09-28T13:57:12.0256987Z  ---> Running in 1991f2833bb1
2021-09-28T13:57:13.0073549Z Removing intermediate container 1991f2833bb1
2021-09-28T13:57:13.0074399Z  ---> e6a806ed771b
2021-09-28T13:57:13.0074921Z Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
2021-09-28T13:57:13.0290117Z  ---> Running in 4fc17f23301f
2021-09-28T13:57:14.0092148Z Removing intermediate container 4fc17f23301f
2021-09-28T13:57:14.0094240Z  ---> e997f62fb7ce
2021-09-28T13:57:14.0094960Z Successfully built e997f62fb7ce
2021-09-28T13:57:14.0125427Z Successfully tagged e1cc51:117eeb3f2e9d4376b814be1a7e4f3964
2021-09-28T13:57:14.0141247Z ##[endgroup]
2021-09-28T13:57:14.0343557Z ##[group]Run<EMAIL_ADDRESS>2021-09-28T13:57:14.0344401Z with:
2021-09-28T13:57:14.0344928Z   project: https://github.com/orgs/Senzing/projects/2
2021-09-28T13:57:14.0345533Z   column_name: Backlog
2021-09-28T13:57:14.0345892Z env:
2021-09-28T13:57:14.0347078Z   GITHUB_TOKEN: ***
2021-09-28T13:57:14.0347458Z ##[endgroup]
2021-09-28T13:57:14.0409034Z ##[command]/usr/bin/docker run --name e1cc51117eeb3f2e9d4376b814be1a7e4f3964_f4301d --label e1cc51 --workdir /github/workspace --rm -e GITHUB_TOKEN -e INPUT_PROJECT -e INPUT_COLUMN_NAME -e INPUT_PROJECT1 -e INPUT_PROJECT2 -e INPUT_TOPIC1 -e INPUT_TOPIC2 -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/docker-compose-air-gapper/docker-compose-air-gapper":"/github/workspace" e1cc51:117eeb3f2e9d4376b814be1a7e4f3964  "https://github.com/orgs/Senzing/projects/2" "" "" "" "" "Backlog"
2021-09-28T13:57:14.3692622Z curl: no URL specified!
2021-09-28T13:57:14.3693900Z curl: try 'curl --help' or 'curl --manual' for more information
2021-09-28T13:57:14.3716390Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2021-09-28T13:57:14.3716939Z
2021-09-28T13:57:14.3718370Z                                  Dload  Upload   Total   Spent    Left  Speed
2021-09-28T13:57:14.3719003Z
2021-09-28T13:57:14.5324579Z {
2021-09-28T13:57:14.5325389Z   "current_user_url": "https://api.github.com/user",
2021-09-28T13:57:14.5326608Z   "current_user_authorizations_html_url": "https://github.com/settings/connections/applications{/client_id}",
2021-09-28T13:57:14.5327788Z   "authorizations_url": "https://api.github.com/authorizations",
2021-09-28T13:57:14.5329264Z   "code_search_url": "https://api.github.com/search/code?q={query}{&page,per_page,sort,order}",
2021-09-28T13:57:14.5330478Z   "commit_search_url": "https://api.github.com/search/commits?q={query}{&page,per_page,sort,order}",
2021-09-28T13:57:14.5331522Z   "emails_url": "https://api.github.com/user/emails",
2021-09-28T13:57:14.5332361Z   "emojis_url": "https://api.github.com/emojis",
2021-09-28T13:57:14.5333162Z   "events_url": "https://api.github.com/events",
2021-09-28T13:57:14.5333973Z   "feeds_url": "https://api.github.com/feeds",
2021-09-28T13:57:14.5334826Z   "followers_url": "https://api.github.com/user/followers",
2021-09-28T13:57:14.5335748Z   "following_url": "https://api.github.com/user/following{/target}",
2021-09-28T13:57:14.5336947Z   "gists_url": "https://api.github.com/gists{/gist_id}",
2021-09-28T13:57:14.5337725Z   "hub_url": "https://api.github.com/hub",
2021-09-28T13:57:14.5338702Z   "issue_search_url": "https://api.github.com/search/issues?q={query}{&page,per_page,sort,order}",
2021-09-28T13:57:14.5339713Z   "issues_url": "https://api.github.com/issues",
2021-09-28T13:57:14.5340503Z   "keys_url": "https://api.github.com/user/keys",
2021-09-28T13:57:14.5341573Z   "label_search_url": "https://api.github.com/search/labels?q={query}&repository_id={repository_id}{&page,per_page}",
2021-09-28T13:57:14.5342740Z   "notifications_url": "https://api.github.com/notifications",
2021-09-28T13:57:14.5343666Z   "organization_url": "https://api.github.com/orgs/{org}",
2021-09-28T13:57:14.5344906Z   "organization_repositories_url": "https://api.github.com/orgs/{org}/repos{?type,page,per_page,sort}",
2021-09-28T13:57:14.5346072Z   "organization_teams_url": "https://api.github.com/orgs/{org}/teams",
2021-09-28T13:57:14.5347003Z   "public_gists_url": "https://api.github.com/gists/public",
2021-09-28T13:57:14.5347868Z   "rate_limit_url": "https://api.github.com/rate_limit",
2021-09-28T13:57:14.5348761Z   "repository_url": "https://api.github.com/repos/{owner}/{repo}",
2021-09-28T13:57:14.5349905Z   "repository_search_url": "https://api.github.com/search/repositories?q={query}{&page,per_page,sort,order}",
2021-09-28T13:57:14.5351226Z   "current_user_repositories_url": "https://api.github.com/user/repos{?type,page,per_page,sort}",
2021-09-28T13:57:14.5352333Z   "starred_url": "https://api.github.com/user/starred{/owner}{/repo}",
2021-09-28T13:57:14.5353248Z   "starred_gists_url": "https://api.github.com/gists/starred",
2021-09-28T13:57:14.5354248Z   "topic_search_url": "https://api.github.com/search/topics?q={query}{&page,per_page}",
2021-09-28T13:57:14.5355198Z   "user_url": "https://api.github.com/users/{user}",
2021-09-28T13:57:14.5356062Z   "user_organizations_url": "https://api.github.com/user/orgs",
2021-09-28T13:57:14.5357159Z   "user_repositories_url": "https://api.github.com/users/{user}/repos{?type,page,per_page,sort}",
2021-09-28T13:57:14.5358555Z   "user_search_url": "https://api.github.com/search/users?q={query}{&page,per_page,sort,order}"
2021-09-28T13:57:14.5359308Z }
2021-09-28T13:57:14.5377968Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2021-09-28T13:57:14.5379041Z 100  2396  100  2396    0     0  14975      0 --:--:-- --:--:-- --:--:-- 14975
2021-09-28T13:57:14.5380071Z /entrypoint.sh: line 172: PROJECT_URL: <Error> required this environment variable
2021-09-28T13:57:14.5678196Z No project was found.
2021-09-28T13:57:14.7740480Z jq: error (at <stdin>:4): Cannot index string with string "name"
2021-09-28T13:57:14.7743041Z INITIAL_COLUMN_ID is not found.
2021-09-28T13:57:14.8935612Z Cleaning up orphan processes

Also seen at https://github.com/Senzing/github-action-add-issue-to-project/runs/3733762644?check_suite_focus=true

Assign to Michael - update all add-to-project workflows with new template workflows EX: https://github.com/Senzing/template-repository/tree/master/.github/workflows

Workflows have been updated.   We'll assume that fixes this error.


Circle K priser automatstationer

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
skulle önska att det gick att få priser avseende automatstationer
Describe alternatives you've considered
.
Additional context
.

I will check if I can implement it in a future release. Thank you for creating the issue.


do not bind to a specific event loop at import time

This is a first pass at #52.

Thank you for your PR!
This is a very good point! I guess singular asyncio  loop was influenced by asyncore loop (which is stateless as it can work on passed sockets).


repo rater clickable badge with rating

displays latest rating
clickable to make it easier for people to add their rating

Hi @eddiejaoude.
it seems that the picture is broken

Hi @eddiejaoude. it seems that the picture is broken

Strange, it works for me, here is a screenshot...

Also viewing the latest README file, the badge values are now larger with 16 votes than the example screenshot which only has 9 ratings in the PR description...


Assistance Needed: FileNotFoundException when initializing Kubernetes C# client

Assistance Needed: FileNotFoundException when initializing Kubernetes C# client
The Kubernetes C# client I am getting the following error on KubernetesClientConfiguration and am unable to create a Kubernetes client.BuildConfigFromConfigFile()
I've also tried from a local file on the system, passing it as a string from an environment variable, and I've tried for both a local and remote cluster.
Error:
FileNotFoundException:
System.TypeInitializationException: 'The type initializer for 'k8s.KubernetesYaml' threw an exception.'
Could not load file or assembly 'System.Text.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

/retitle Assistance Needed: FileNotFoundException when initializing Kubernetes C# client

/kind support
/transfer kubernetes


Remove docker dependency from make test target

Remove docker dependency from make test target

Anything wrong with using Docker for it? @DataLores

I have not yet been able to figure out the secret sauce to resolving the current docker image's inability to find the 'composer' executable on the "make test" target
"docker-compose exec php composer install --working-dir=src --no-progress --no-suggest --prefer-dist
OCI runtime exec failed: exec failed: unable to start container process: exec: "composer": executable file not found in $PATH: unknown"

@DataLores the PHP image won't include Composer by default. You can use the Composer commands using the official Composre image (https://hub.docker.com/_/composer) or copy the Composer executable from the Composer image to the PHP container (https://stackoverflow.com/a/58694421).
I don't have that much experience in Docker but I think the way to go here would be using the Composer image for Composer commands.

@DataLores, #294 should fix this.

Fixed with #294.


the newly released macOS app for arm64 cant open on M1 Max Mac

the newly released macOS app for arm64 cant open on M1 Max Mac. It shows app icon on Dock, and then all is that, no any window or anything pop-up. It has to be forced quit.

https://stackoverflow.com/questions/22418418/osx-app-built-with-python-quits-immediately-if-app-bundle-is-executed-from-finde
I found the possible reasons and solutions for the app crash on Finder, because I found that the videodl-config.toml file will be generated in the system directory when running the program for the first time.
I tried to modify the gui_config.py file, but the ability failed. Please see if it can solve the problem. Thank you!


Add option to pass in arguments for tfidf instead of from files

https://github.com/D-Andreev/recommender-addon/pull/9


TST: Decrease the array sizes for two linalg tests

Two tests have 1000 as array sizes but actually they can be smaller to serve the same purpose.
Also some PEP8 cleanups.

LGTM, merged. Thanks @ilayn


feat/intersection-over-union

Description
Provide a detailed description of your changes and why they are necessary.
Checklist
Ensure your pull request meets the following requirements:

[x] I have reviewed existing notebooks to avoid duplications.
[x] My notebook is fully executed.
[x] I have included a list of all libraries and their versions used in the notebook.
[x] The notebook file is named clearly to reflect the topic (e.g., cross-entropy-loss.ipynb).
[x] I have placed the notebook in the appropriate directory under notebooks/.
[x] My code is simple, precise, and adheres to good coding practices.

Linked Issues
List any related issues this pull request addresses.
e.g., "Fixes #123"
Additional Information
Any other information you want to include?
Include any other context, screenshots, or details that might help understand your changes.

Okey, thanks for the annotation, I managed to follow the instructions! :+1:


storage pod failing with error

Description

The storage pod is failing with below error
panic: runtime error: index out of range [0] with length 0
goroutine 261 [running]:
github.com/olvrng/ujson.Walk({0xc00ab87600, 0x44bb880?, 0x200}, 0xc005db98d8)
/go/pkg/mod/github.com/olvrng/ujson@v1.1.0/µjson.go:87 +0x990
github.com/kubescape/storage/pkg/cleanup.loadMetadataFromPath({0x2db8240?, 0x44bb880?}, {0xc000a6a1e0, 0x96})
/work/pkg/cleanup/cleanup.go:144 +0x1fc
github.com/kubescape/storage/pkg/cleanup.(*ResourcesCleanupHandler).StartCleanupTask.func1({0xc000a6a1e0, 0x96}, {0x2da8a68?, 0xc002a6fee0?}, {0x0?, 0x0?})
/work/pkg/cleanup/cleanup.go:96 +0xfa
github.com/spf13/afero.walk({0x2db8240, 0x44bb880}, {0xc000a6a1e0, 0x96}, {0x2da8a68, 0xc002a6fee0}, 0xc005db9ed0)
/go/pkg/mod/github.com/spf13/afero@v1.11.0/path.go:44 +0x6c
github.com/spf13/afero.walk({0x2db8240, 0x44bb880}, {0xc00c6dca40, 0x3e}, {0x2da8a68, 0xc00509a4e0}, 0xc005db9ed0)
/go/pkg/mod/github.com/spf13/afero@v1.11.0/path.go:69 +0x2f4
github.com/spf13/afero.walk({0x2db8240, 0x44bb880}, {0xc00c6dc8c0, 0x34}, {0x2da8a68, 0xc00509a410}, 0xc005db9ed0)
/go/pkg/mod/github.com/spf13/afero@v1.11.0/path.go:69 +0x2f4
github.com/spf13/afero.Walk({0x2db8240, 0x44bb880}, {0xc00c6dc8c0, 0x34}, 0xc005db9ed0)
/go/pkg/mod/github.com/spf13/afero@v1.11.0/path.go:105 +0x7a
github.com/kubescape/storage/pkg/cleanup.(*ResourcesCleanupHandler).StartCleanupTask(0xc000b321b0)
/work/pkg/cleanup/cleanup.go:86 +0x58f
created by main.main in goroutine 1
/work/main.go:84 +0x6ed
Environment
OS: Amazon Linux 2
Version: 1.18.1
Steps To Reproduce

Expected behavior

Actual Behavior

Additional context

It is deployed in EKS Cluster
Also seeing these errors in storage pod but these do not fail the container
{"level":"error","ts":"2024-02-01T03:20:25Z","msg":"unmarshal file failed","error":"EOF","path":"/data/spdx.softwarecomposition.kubescape.io/vulnerabilitymanifestsummaries/dummy-namespace/deployment-appt-appt.m"}

Thank you, @ld-singh. We have resolved the issue you mentioned.
I believe it was resolved in version 1.18.2. Could you please confirm if the problem no longer occurs for you?

This issue was fixed.


Database Error

Hello, I got a database error and the screen is empty when I first run this app.
Log‘s here : E/SQLiteLog: (1) near "org": syntax error

It's a bug in Anko 0.10.1. Use 0.10.0 for now.
If that's the case, close this issue. Otherwise give me a little more info. The example uploaded in this repo is working.

Sorry, I update some versions. My versions below
ext.support_version = '25.3.1'
ext.kotlin_version = '1.1.3-2'
ext.anko_version = '0.10.1'
And I remove the "AUTOINCREMENT " and it works fine now, Thanks!
    println("ForecastDbHelper onCreate DayForecast")
    db.createTable(DayForecastTable.NAME, true,
            DayForecastTable.ID to INTEGER + PRIMARY_KEY,
            DayForecastTable.DATE to INTEGER,
            DayForecastTable.DESCRIPTION to TEXT,
            DayForecastTable.HIGH to INTEGER,
            DayForecastTable.LOW to INTEGER,
            DayForecastTable.ICON_URL to TEXT,
            DayForecastTable.CITY_ID to INTEGER)


Get rid of deprecated variables

This PR removes all deprecated TEMPLATE_ variables.

Current coverage is 48.32%

Merging #345 into master will decrease coverage by -0.04% as of 7edbac5

@@            master    #345   diff @@
======================================
  Files          106     106
  Stmts         3375    3373     -2
  Branches       318     318
  Methods          0       0
======================================
- Hit           1632    1630     -2
  Partial         28      28
  Missed        1715    1715

Review entire Coverage Diff as of 7edbac5

Powered by Codecov. Updated on successful CI builds.


Implement more functions for scipy.spatial.Rectangle

Is your feature request related to a problem? Please describe.
Right now,to figure out if a list of points are contained within a Rectangle, you need to call .min_distance_point(x) == 0
Describe the solution you'd like
It seems useful to have a .contains(x) method that returns the same as .min_distance_point(x) == 0 since it could reduce code and potentially take less time since distances don't need to be calculated

.center() would also be nice


[TBDGen] Skip @_silgen_name functions with no body

@_silgen_name functions with no body are forward-declarations of
existing symbols, only to appease the typechecker. They don't show up in
the IR, so don't add them to the TBD file.
Resolves rdar://32251501

@swift-ci please smoke test

Test failure seems unrelated.
@swift-ci please smoke test Linux platform


[9.x] Sub select render only if necessary

Duplicated https://github.com/laravel/framework/pull/37195 into 9.x

You are right, I will move the functionality to the base query builder.

When a base query builder object is cloned the subselect will also be cloned. This is necessary because the subselect needs the correct instance of the parent query builder so the bindings can be added when rendering.

Just not sure this is worthwhile to merge at the time being. Still fear unnecessary breakage of applications in the future and it seems like the problem is pretty easy to work around by not adding the sub select until you are done building up the query.

Understandable. The work around is possible where else it sometimes might be more difficult to solve. But negligible in view of the fact that there is a risk of break existing application.


Hugo Javier Durán Miranda así me llamó

Please read our README.md and CONTRIBUTING.md files before creating an issue. If you are creating an issue to provide feedback about our Closed Policies, please note that we may not incorporate your feedback into our policies due to laws that limit our flexibility around those issues. If your feedback is not related to any of the questions below, feel free to delete the template questions and enter your comments in free form.
1. What's the name of the policy?
2. Is this issue related to a specific section within one of our policies (e.g. the Terms of Service)? If so, please include a link to the section or subsection.
3. Did you already open a pull request? If so, please include a link to the PR in the GitHub Docs repo.
4. Sometimes it's easier to just put your feedback text into an issue. If that's how you'd prefer to contribute, this is the section to do that.
5. Why do you think this section or language needs improvement?
Hugo Javier Durán Miranda oficial mente como sobrenombre código abierto google cloud google oficial de aquí León Guanajuato México asta el fin del mundo universo

[ ] @


Figma WireFraming with Vanessa

You should meet with Vanessa to get started wireframing on Figma; before you schedule the meeting, let's chat about what the designs of the app consist of so far!

Thanks


Additives popups don't show on some phones

Additives popups don't show on some phones cc @sebleouf

@teolemon That may happen if the user has blocked the app notification.


npx: installed 175 in 12.34s Unexpected token {

When running commands on server:
> npx dotenv-vault new vlt_xxxxxxxx..
> npx dotenv-vault login
the installation will certainly stop at 80% with following error:
npx: installed 175 in 12.34s Unexpected token {
--- DEV / PROD server

Ubuntu 18.04.6 LTS
npm 3.5.2
npx 10.2.2

Any help is appreciated.
Thanks in advance

Usually npm and npx are the same version.
Can you try upgrading your npm to version? My guess is that will fix things.

Closing this as I cannot repeat and is almost always an npm and node install issue.


Overfit and Underfit Notebook fails on compile_and_fit

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
v2.17.0-rc1-2-gad6d8cc177d 2.17.0
Custom code
No
OS platform and distribution
Windows 11 - WSL - Docker Container
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Trying to run the overfit_and_underfit.ipynb sample fails. Error log (and the full Traceback is below as well):
ValueError: Arguments `target` and `output` must have the same rank (ndim). Received: target.shape=(None,), output.shape=(None, 1)

Standalone code to reproduce the issue
https://www.tensorflow.org/tutorials/keras/overfit_and_underfit

Relevant log output
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[28], line 1
----> 1 size_histories['Tiny'] = compile_and_fit(tiny_model, 'sizes/Tiny')

Cell In[18], line 13
      4 model.compile(optimizer=optimizer,
      5               loss=tf.keras.losses.BinaryCrossentropy(from_logits=True),
      6               metrics=[
      7                 tf.keras.metrics.BinaryCrossentropy(
      8                     from_logits=True, name='binary_crossentropy'),
      9                 'accuracy'])
     11 model.summary()
---> 13 history = model.fit(
     14   train_ds,
     15   steps_per_epoch = STEPS_PER_EPOCH,
     16   epochs=max_epochs,
     17   validation_data=validate_ds,
     18   callbacks=get_callbacks(name),
     19   verbose=0)
     20 return history

File ~/.local/share/virtualenvs/com.docker.devenvironments.code-o74UYjc6/lib/python3.9/site-packages/keras/src/utils/traceback_utils.py:122, in filter_traceback.<locals>.error_handler(*args, **kwargs)
    119     filtered_tb = _process_traceback_frames(e.__traceback__)
    120     # To get the full stack trace, call:
    121     # `keras.config.disable_traceback_filtering()`
--> 122     raise e.with_traceback(filtered_tb) from None
    123 finally:
    124     del filtered_tb

File ~/.local/share/virtualenvs/com.docker.devenvironments.code-o74UYjc6/lib/python3.9/site-packages/keras/src/backend/tensorflow/nn.py:694, in binary_crossentropy(target, output, from_logits)
    691 output = tf.convert_to_tensor(output)
    693 if len(target.shape) != len(output.shape):
--> 694     raise ValueError(
    695         "Arguments `target` and `output` must have the same rank "
    696         "(ndim). Received: "
    697         f"target.shape={target.shape}, output.shape={output.shape}"
    698     )
    699 for e1, e2 in zip(target.shape, output.shape):
    700     if e1 is not None and e2 is not None and e1 != e2:

ValueError: Arguments `target` and `output` must have the same rank (ndim). Received: target.shape=(None,), output.shape=(None, 1)

Hi @dnoliver,
I looked into this issue and have opened a pull request regarding the same - https://github.com/tensorflow/docs/pull/2325

Hi @dnoliver ,
The pr has been assigned for reviewing and once it is merged this issue will move to closed status.
Thank You!


Notification component added for popup notifications

Describe your changes

Added a notification component which appears when you hide or show the UI tools using CTR+H or the hide button in the actions menu.
NOTICE: This component is now dynamic and can be used from ANYWHERE. Just import "setPopupNotification" hook from the AppContext and whenever you set a message in any use case it will appear and disappear after 5 seconds.

What are the steps for a QA tester to test this pull request?

Click the hide button in the actions menu and see the notification appear and disappear after 5 seconds.
Same when pressing the CTR+H keys on the keyboard

Issue ticket number and link
Issue: 3394
https://github.com/webaverse/app/issues/3394
Screenshots and/or video
https://user-images.githubusercontent.com/55106546/183292950-fb637d3d-77dc-4af5-b877-249fe2bf5a27.mov
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I am not adding any irrelevant code or assets
[x] I am only including the changes needed to implement the change
[x] I have playtested and intentionally tried to find error cases but couldn't

Text should be:
"Press CTRL + H to unhide UI"
Should fade out and should for 3 seconds with a .5 second fade

@lalalune Made the changes, pleas review and proceed.

Needs conflict resolution

Got it will get right on it.

This pr does not follow point 3 on the checklist.


Child ticket count should be separate from guardian

Display ticket count for people that also has child tickets as X (+ Y)

Currently the sync process doesn’t sync child ticket bundle ids
To implement this we will need to change that.
I can change the script and also, we can take this opportunity to move the bundle ids to the event settings page.

On 11 Mar 2018, at 8:48, Alex<EMAIL_ADDRESS>wrote:
Display ticket count for people that also has child tickets as X (+ Y)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The number of tickets synced (~6600) is the number of adult tickets sold. I verified this personally.
Where exactly the filtering happens I don’t recall right now, but it’s easy enough to check.
Anyway, it can be changed easily if needed.

On 11 Mar 2018, at 10:20, Artyom Katsap<EMAIL_ADDRESS>wrote:
@elad-lachmi I'm not sure it's correct. The script now uses the bundle ids defined in models/constants.js (but you already know that 😜). and it contains all bundle ids we received from Drupal Alex.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@elad-lachmi please do! Also I'll open an issue on setting bundle IDs in admin panel

did we even sell any child tickets?
On Sun, Mar 11, 2018, 11:53 Elad Lachmi<EMAIL_ADDRESS>wrote:

The number of tickets synced (~6600) is the number of adult tickets sold.
I verified this personally.
Where exactly the filtering happens I don’t recall right now, but it’s
easy enough to check.
Anyway, it can be changed easily if needed.

On 11 Mar 2018, at 10:20, Artyom Katsap<EMAIL_ADDRESS>wrote:
@elad-lachmi I'm not sure it's correct. The script now uses the bundle
ids defined in models/constants.js (but you already know that 😜). and it
contains all bundle ids we received from Drupal Alex.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Midburn/spark/issues/751#issuecomment-372102748, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAkWjA8NYoZL2ag0g7fQXXqNyN04Wg4tks5tdPQRgaJpZM4SllRz
.

There was a general sale, it has child tickets, no?

Yes, some child tickets were sold
I can check how many when I get home, but it doesn’t really matter for the sake of this issue.

On 11 Mar 2018, at 14:48, Alex<EMAIL_ADDRESS>wrote:
There was a general sale, it has child tickets, no?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


moulin: can't add multiple args as array for custom scrip builder

I expect args could be added as string array, similar to args in bazel builder:
  args:
    - "--arg1"
    - "--arg2"

But I have error in this case:
moulin.yaml_helpers.YAMLProcessingError: Expected string value, got <class 'NoneType'>   in "secure-rpi.yaml", line 93, column 9
ninja: error: rebuilding 'build.ninja': subcommand failed

Only args as string is allowed:
args "--arg1 --arg2"

that is not convenient for long args string.

Created PR https://github.com/xen-troops/moulin/pull/103

@al1img I guess this issue can be closed


Cardboxes doesn't work in 1.12 witht the newest build.

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
When using cardboxes to move TE's your unable tom shift rightclick it.
I know there was some changes to the onRightclick() functions from 1.10 so maybe a porting issue?
Steps to reproduce:

Place furnace
Place cardbox and wrap furnace.
Shift right click cardbox to unwrap the furnace (This doesn't work).

Version (make sure you are on the latest version before reporting):
Forge: <IP_ADDRESS>1
Mekanism: <IP_ADDRESS>6

There was a Forge change in recent 1.12 builds that changed hand handling, so for now you'll need to unbox with BOTH hands empty.

Should be fixed in latest release


Added MCO2 page, spinner, and fallback data

In this PR I have:
Added MCO2 Page

Imported Verra data from a csv saved in 'data' folder
Imported total supply using Infura
Created a new page and added summary cards, graphs and detail table

Next steps:
1.   Add Moss ETH contract to carbon subgraphs so that we can get real-time bridged and retired info.
Added Spinner
Added Verra Registry Fallback dataset

Fallback dataset is currently saved as csv under 'data' folder
Indicator is created to display a note when we are using fallback dataset
I have turned off the switch which updates fallback dataset for now

Next steps:
1.   Come up with a protocol to update fallback dataset

Closing this since it includes a commit with a big file.
New PR: https://github.com/KlimaDAO/dash-apps/pull/29


Persist time point for solar light direction.

Design Review team is implementing a UI to control the solar direction based on the date/time and location. DisplayStyleState.setSunTime can compute and persist the direction from the time but the time itself is not persisted anywhere.
Added to SolarLightProps an optional timePoint to store the time from which the direction was derived.
Moved setSunTime to DisplayStyleSettings so it can also be used by backend too.
Added APIs to get and clear the time point.
Adjusted LightSettings.clone to clear the time point if it was previously defined and the caller supplied a new direction but not a new time point - unless the new direction matches the previous direction.

@kabentley do you approve?

@Mergifyio backport release/2.12.x


Improve documentation and description metadata

The repo README has been overhauled, to:

Give more context as to what a builder is, and link to the upstream docs.
Emphasise that these images are experimental and not yet used for "normal" Heroku builds.
Make it easier to understand the difference between the image variants, including attributes such as run image and lifecycle version.
Make the usage instructions more accessible for beginners.
Give users breadcrumbs to follow when trying to work out where to file issues.

The "update lifecycle" GitHub Actions workflow has been modified so that it now also modifies the lifecycle version in the README in addition to that in the builder manifests.
Lastly, the description metadata used for each builder (that is shown by pack builder inspect) has also been updated to mention deprecations and bring the descriptions inline with that used upstream:
https://github.com/buildpacks/pack/blob/9c8223caef09a8f73b9c145c0ccf03ab704aac53/internal/builder/suggested_builder.go#L16-L23
GUS-W-14194789.

Rendered:

Before: https://github.com/heroku/cnb-builder-images/blob/main/README.md
After: https://github.com/heroku/cnb-builder-images/blob/edmorley/overhaul-docs/README.md


Feature RTL support in locale

This is for the RTL Support the ticket I have created https://github.com/VulcanJS/Vulcan/issues/2669
Could you please check it carefully, as I don't have slightest idea about the impacts, but it's working fine on my local project for translations of StateOfJS ;)
https://github.com/StateOfJS/state-of-js-graphql-results-api/issues/50
After checking the code, I had come to the conclusion that without this, the RTL support was not possible at all.
This is just the beginning and give the developer the opportunity by usage of RTL class in HTML to do custom CSS if needed ;)

Thanks, this looks good!


Testing Output() in a structural directive

Problem
It's been impossible for a long time (possibly still is) to use Output() on a structural directive in Angular. To do that, one must use a de-sugarized version of a structural directive, i.e. with ng-template. I've been trying to test that case with spectator, since that's what I'm using to test my app, but I can't write the tests correctly with custom host component. I looked into that issue https://github.com/NetanelBasal/spectator/issues/13 but it didn't help me.
Example code
https://stackblitz.com/github/slawojstanislawski/spectator-structural

A structural directive is a particular case I need to handle.
You can't use the query method. I will fix it soon. You can do the following:
    const button = spectator.hostElement.querySelector('button');
    button.click();
    spectator.detectChanges();
    expect(spectator.hostComponent.message).toBe('Hello World!');


Additional TCK cleanup/updates

Begin adding release information to root pom
Add the basic JWTPrincipal token parsing test and rename weld-se to tokens-se as CDI is not used. This drops weld-se dependency.
Update the TCK run instructions to discuss both profiles

Signed-off-by: Scott M Stark<EMAIL_ADDRESS>

This is now obsolete


API Blueprint on GitHub as a first-class citizen

Just an idea.
Now all blueprint files are superset of GitHub Flavored Markdown, so they're obviously quite well displayed on GitHub out of the box.
However, if direct support for API Blueprint was added to github/markup, it would be possible to display blueprint-specific parts (such as endpoints, etc.) nicer than now and blueprints would be even more something like first-class citizens here on GitHub.
Possible problems:

blueprint files would probably need to have a different extension, because parsers in github/markup are most likely binded by extensions and .md are already binded to the pure Markdown parser (and having a different extension undermines some of the pros of being fully compatible with Markdown)
the output would have to fit within allowed HTML elements, so probably no rich styling could apply anyway :-(

Another idea I came up with is to ask GitHub whether they wouldn't like to bake the direct support in themselves (maybe after the API Blueprint earns notable traction). Then it could be implemented in a similar way as GeoJSON or 3D objects, I suppose.

How about .apib.md? That would be parsed as markdown by default, but can be detected as api blueprint by supporting parsers.

We would still like GitHub to render blueprints correctly. @danielgtaylor to do some research on this

I understand. I still think that the extension should be suffixed by .md. as it allows for a more graceful degradation.

As @danielgtaylor pointed out to me offline we may start with https://github.com/github/linguist/blob/master/CONTRIBUTING.md#adding-a-language I consider adding .md as the last resort option.
Or precisely I would go for it if we should fail this time (hope not :)

I've now opened github/linguist#2363 to add support for recognizing and highlighting .apib files on GitHub.

:+1:

API Blueprint is now first-class citizen on Github.

@pksunkara we haven't a) announced this yet and b) this issue was more about rendering the blueprint  (not just syntax highlighting).
Either way OK to leave it as closed. I will update this once we announce it.

Yay! :+1: :octocat:


unable unzip test.zip, using !unzip to specific folder in colab

I want unzip test.zip in google-colab.
for that I am using below code
!unzip test.zip
but, here am having a problem, that it containing so many csv files in it.
so, I want to extract all of those files into a folder,but I couldn't find any-thing related to it.
Saikiran

Hi @saikiransingh007, does !unzip test.zip -d data work for you? Of course, you can replace data with whatever the name of your folder is.

Maybe you could move them to a separate folder?
!mkdir data
!mv *.csv data

Anyway I don't really see how this is related to the API... Maybe #231 since it prevents these scenarios from happening.

!unzip filename.zip

! unzip filename.zip is a Linux command
For windows machine what should we use??
This is not working for windows.machine.

@shobhanam14 The colab runs on the cloud does not depend whether from windows or Linux. Use !unzip filename.zip. Do not put space after !

I want unzip test.zip in google-colab.
for that I am using below code
!unzip test.zip
but, here am having a problem, that it containing so many csv files in it.
so, I want to extract all of those files into a folder,but I couldn't find any-thing related to it.
Saikiran

You can solve this problem using shutil.
Use the following code specifying the correct paths to solve this issue:
from google.colab import drive drive.mount('/content/drive')
Executing the above code will mount your google drive to colab. make sure the zip file you want to extract is in the root directory of your drive.
Next,
!mkdir Extracting_folder
This line will create a folder for you to extract the files into it.
import shutil shutil.unpack_archive("drive/MyDrive/File_Name.zip", "Extracting_folder/")
Your contents will be extracted into the specified folder.


pushcert

I tried to build up a nanoMDM instance into a Kubernetes environment...
I started an SCEP server (from micromdm/scep project) and everything was fine.
I also started a nanomdm server (setting into it the prepared ca.pem and push.key) and it started fine.
But when i tried to get a topic id through "cat ca.pem push.key | curl -T - -u 'nanomdm:MY_PASSWD' 'https://MY_NANOMDM_URL/v1/pushcert'" command i always obtain this response: private key does not match public key.
Nanomdm server is started and listening at port 9000 (port is forwarded by a Kubernetes environment).
For now i'm using a certificate generate by mdmcert.download.
Thanks in advance

It looks like you're mixing up your certificates, so the error is correct.
If you're following the Quickstart Guide, then ca.pem is the CA certificate for your SCEP server. It should be passed to nanomdm with the -ca flag.
The push certificate (named push.pem in the Quickstart Guide) will come from Apple. You'll use the certificate request you get from mdmcert.download to get the push certificate from Apple.
If you need further help, I'd suggest reaching out in the #nanomdm channel in the MacAdmins Slack


[sw,dif_aes] Fix output param doc

Signed-off-by: Guillermo Maturana<EMAIL_ADDRESS>

Will merge this in spite of CI since it is just a change in comments.


Improve document quality

Signed-off-by: yuxiaobo<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Make comments more fluent.
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Don't need.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

@yuxiaobo96 Thanks for your good job.
In addition, could you please help to fix all problems of Improve document quality for Dragonfly in this PR? 😄

Hopefully, any questions about code comments can be focused on this PR and #946. WDYT?

I have merged this PR "#946" into the latest PR "#949".
I will close this PR soon.


Null check exceptions during json serialization during dry run

CBuilder does not set architecture during dry run but it seems to be required during serialization:
Null check operator used on a null value
#0      NativeCodeAssetImpl.toJson (package:native_assets_cli/src/model/native_code_asset.dart:342:62)
#1      BuildOutputImpl.toJson (package:native_assets_cli/src/model/build_output.dart:96:46)
#2      BuildOutputImpl.toJsonString (package:native_assets_cli/src/model/build_output.dart:105:50)
#3      BuildOutputImpl.writeToFile (package:native_assets_cli/src/model/build_output.dart:155:24)
#4      build (package:native_assets_cli/src/api/build.dart:95:16)
<asynchronous suspension>

DynamicLoadingBundledImpl has permitted to have no file URI during dry run (which is good, as on Rust the location depends on architecture for example), but it fails during serialization:
Null check operator used on a null value
#0      DynamicLoadingBundledImpl.toJsonV1_0_0 (package:native_assets_cli/src/model/native_code_asset.dart:93:43)
#1      NativeCodeAssetImpl.toJson (package:native_assets_cli/src/model/native_code_asset.dart:341:21)
#2      BuildOutputImpl.toJson (package:native_assets_cli/src/model/build_output.dart:96:46)
#3      BuildOutputImpl.toJsonString (package:native_assets_cli/src/model/build_output.dart:105:50)
#4      BuildOutputImpl.writeToFile (package:native_assets_cli/src/model/build_output.dart:155:24)
#5      build (package:native_assets_cli/src/api/build.dart:95:16)

Closing in favor of https://github.com/dart-lang/native/issues/1053


Expression builder v2

This PR deprecates the cmpr and bxp functions and makes the ExpressionBuilder callable. eb can now be used to create all sorts of binary expressions. I didn't change the site examples yet, or otherwise they would be broken until we release this.
This PR also removes the deprecated orWhere, whereExits etc. methods. It might be a bit early to do that, but didn't find a way to make the expression builder callable while they existed.
The second commit introduces an alternative way to create and and or expressions. The old way is still there and won't be removed or deprecated. Some people prefer that one and it's (at least currently) much easier to create conditional or-expressions using the or([expr1, expr2]) function.
These changes now make simple or statements fluent and arguably more readable:
// The "old" way
db.selectFrom('person')
  .selectAll()
  .where(eb => eb.or([
    eb.cmpr('first_name', '=', 'Jennifer'),
    eb.cmpr('last_name', '=', 'Aniston')
  ])

VS
// The new way
db.selectFrom('person')
  .selectAll()
  .where(eb =>
    eb('first_name', '=', 'Jennifer').or('last_name', '=', 'Aniston')
  )

You can still destructure eb. eb contains a property eb that refers to itself:
db.selectFrom('person')
  .selectAll()
  .where(({ eb, or }) => or([
    eb('first_name', '=', 'Jennifer'),
    eb('last_name', '=', 'Aniston')
  ])

closes #494

A small concern might be the addition of DB and TB to ExpressionWrapper's interface, and how it will affect consumers who make their own helpers. Is it still as flexible as before? I guess we'll find out and adjust if there are issues.

I don't think ExpressionWrapper is that useful in the customer code. Expression and AliasedExpression are still simple.


Create fake data generator

Execute the current code to see events

Modify line 53 on main.py to write events to disk

Notebook that generates Risk events in the shape start, events, end for several vehicle ids

Generate timestamps that are consecutive with random delays (not evenly distributed)

Events are randonly distributed by time
Event types and risk are parametrizable as a list (can be hardcoded inside of the notebook code)

Generate trips from a start and end period (e.g a month)
Generate trips for a given number of vehicle ids (e.g. 1000)
Vehicle ids are uuids (unique identifiers)
Vehicle ids have randomly at least one trip per day, and no more than 16

This issue can be closed with the notebook from PAul


Unable to cast object of type 'Linux.Bluetooth.IGattCharacteristic1Proxy' to type 'Linux.Bluetooth.GattCharacteristic'

Hello,
When trying to get all characteristics of service this will always occur on Ubuntu 22.04 but on windows won't:

Here's the code:
await device.Gatt.ConnectAsync();
        Console.WriteLine("Connected");
        var service = await device.Gatt.GetPrimaryServicesAsync();
        bool valid = false;
        if(service.Count!=0)
        {
            foreach (var gattService in service)
            {
               var characteristics =  await gattService.GetCharacteristicsAsync();        <----------------------Error cccurs here
               foreach (var gattCharacteristic in characteristics)
               {
                   Console.WriteLine(gattCharacteristic.Uuid.ToString());
                   if (gattCharacteristic.Uuid.ToString().ToLower().Contains(BLE.RW_CHARACTERISTIC_UUID))
                   {
                       characteristic = gattCharacteristic;
                       break;
                   }
               }
            }

and here's the sourcecode of PlatformGetCharacteristics:

Wondering if any one knows how to solve this? Thanks in advance!

Fixed this issue by using GetPrimaryServiceAsync and GetCharacteristicAsync directly in my code. Here's what it looks like:
Csharp
var service = await device.Gatt.GetPrimaryServiceAsync(
BluetoothUuid.FromShortId(Convert.ToUInt16(BLE.RW_SERVICE_UUID.ToUpper(), 16)));
var character = await service.GetCharacteristicAsync(
BluetoothUuid.FromShortId(Convert.ToUInt16(BLE.RW_CHARACTERISTIC_UUID.ToUpper(), 16)));
But then I stumbled upon a problem when I tried calling StartNotificationsAsync on Linux. It kept throwing a NotSupportedException, saying 'properties not supported':
Csharp
character.CharacteristicValueChanged += Characteristic_CharacteristicValueChanged;
await character.StartNotificationsAsync();
The thing is, when I looked into the GattCharacteristic.linux.cs file, I noticed that the GetProperties method always returns a zero value. This means, no matter what device we're dealing with, it'll inevitably fail to register a callback function because of this:
Csharp
GattCharacteristicProperties GetProperties()
{
return 0;
}
Maybe this BLE library hasn't fully implemented support for Linux yet?

I think there are a couple of issues which need addressing. The casting issue can be worked around by using the IGattCharacteristic1 throughout rather than the GattCharacteristic helper as it has no public constructor. This will require implementing the logic around property change notification to hook up the events.
The cross-platform code implemented a check that the characteristic supports either Notify or Indicate properties to allow you to start monitoring change events and this breaks the Linux implementation because it doesn't have a direct equivalent of the Properties property. However I believe the IGattCharacteristic1 now has a Flags property with these flags as strings so this can be converted to enum values. I don't have my Linux development environment setup but will look into this soon and hopefully get these issues resolved.

@peterfoot, is there anything you'd like me to address/update on Linux.Bluetooth?
Let me know, I'm ramping up for the 6.0-pre release. If you'd like, we can do a video call too 👍


Clarification Needed on Diffusion Process

Hi authors,
Thank you for your fascinating paper. However, I have a question regarding the diffusion process as illustrated in Figure 3 (https://github.com/czg1225/AsyncDiff/blob/main/assets/fig2.png?raw=true).
From the image and the paper, it appears that $x_{T-5}$ is generated directly from $x_{T-1}$. I am curious about the role of $x_{T-2}$ through $x_{T-4}$ in the calculation of $x_{T-5}$. Are these intermediate steps involved in the generation of $x_{T-5}$? If not, does this imply that $x_{T-2}$ to $x_{T-4}$ can be skipped, eliminating the need to compute them?
Thank you for your clarification.

@fairchildfzc ,
In fact, the output of the UNet is the predicted noise for the current timestep. Essentially, we can only obtain $x_{T-5}$ after obtaining $x_{T-4}$ and $noise_{T-4}$. The core of our method is that noise predictions at different time steps can now be performed in parallel rather than sequentially. However, the predicted noise at each step still needs to be obtained.

Thank you very much for your clarification! I did not notice that you use different time embeddings in different pipeline stage.


Consistently Apply Nightwalker Style to Download/Upload Pages

@CallMeBruce, here are a couple more small cosmetic changes.
For some reason, the nightwalker.css style was not being applied to the download and upload pages. I believe it has to do with the way the pages render in the client.js or mocha-init.js scripts, though I don't know enough about how those work to know why.
By adding nightwalker.css to the pages after the style.css is applied, the download/upload pages now follow the same look as the preferences.html page (which inherits both styles from the index.html, I believe)

download.html before/after

upload.html before/after

Hey @CallMeBruce, hope you don't mind me bugging you about this PR :)


help(angular-map): how to initialize Places Service?

I'm trying to use the Nearby Search function.
My problem's with the next line:
service = new google.maps.places.PlacesService(map);
because the map is initialized on de HTML file.
Somebody has been used this function?

What are you trying to do?
What are you trying to do?
What troubleshooting steps have you tried?
What are you seeing that does not match your expectations?
Reproduction
We can only help if we can reproduce the problem ourselves.
Use StackBlitz to demonstrate what you are trying to do: https://stackblitz.com/fork/components-issue
Steps to reproduce:
1.
2.
Environment

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

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
(this is a canned response)


feat: add 'ensureWebviewsHavePages' cap

This PR fixes an odd situation which I have observed with Chrome-backed webviews on Android. Currently, Appium's code assumes that if it can find a webview-type process in /proc/net/unix, then a webview exists for that process.
I've noticed that this assumption is not always true. Sometimes, the process exists, and a Chrome remote debugger is even running for the process, but there are no active webview pages. In this case, Chromedriver will always fail to attach to the webview, resulting in an error like "unable to discover open pages".
This PR adds a new capability ensureWebviewsHavePages which, if true, attempts to verify that a webview actually has active pages before adding it to the list of contexts. This serves to prevent users from trying to connect to a webview which is guaranteed to fail, and which will result in a cryptic error message.
I've added this behind a capability because the only way I can see to achieve this is to send a request to one of the Chrome devtools HTTP endpoints. This involves running an adb command to forward a local port to the remote debugger port on the device, so we can make the necessary HTTP request, and then cleaning up the forwarded port afterwards. Thus it potentially adds overhead of time, and I'm also not certain that all webviews on all supported versions of Android support the Chrome devtools HTTP server. Once this feature is well-tested and proved useful, we could make this behavior opt-out rather than opt-in.
Because a local port is required for this feature, I've also added another capability, webviewDevtoolsPort, so that clients can specify a port to avoid port conflicts between sessions.

Thanks @jlipps for looking into this.
Linking https://github.com/appium/appium/issues/11999

ok @mykola-mokhnach i endured the tedium of updating all the function comments to proper docstrings :-) and found an excuse to use reduce 🎉

it would be useful to have the new cap documented after the PR is merged

published in 4.18.0. will put in docs PR soon.


[Improvement] Improve the Recovery Phase Feature

Is your feature request related to a problem? Please describe.
Allow user to

[ ] Copy
[ ] Download

the Recovery Phase
Rename the "Next" button to "I SAVED MY RECOVRY PHASE" => it's a reminder for users to save their recovery phase.

Describe the solution you'd like
We can add the "Copy" and "Download" button below the phase.
Describe alternatives you've considered
N/A
Additional context
N/A

https://github.com/CasperDash/casperdash-client/pull/141


Bug: SyntaxError while generating typechain for projects

Hi there.
So I have been experimenting with typechain for the past few days, and discovered that the current version of typechains cannot properly compile my company's project, with the following error

However, if I revert all typechain-related packages to their latest versions before the added support for Solidity structs, everything will work normally. More specifically, the versions I reverted to were:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Here is how to recreate the error:

Clone this repo
Run yarn install, then yarn compile

It would be super helpful if this error can be fixed! Thanks a lot!

Releases:

https://github.com/dethcrypto/TypeChain/releases/tag/%40typechain%2Fethers-v5%408.0.4
https://github.com/dethcrypto/TypeChain/releases/tag/typechain%406.0.4


python3 run.py error

root@kali:~/blink-docker# python3 run.py
Traceback (most recent call last):
File "run.py", line 208, in
main()
File "run.py", line 142, in main
checkInstallation()
File "run.py", line 38, in checkInstallation
generateLibrairies()
File "run.py", line 54, in generateLibrairies
fedKernel = re.search("kernel-(.{1,20}"+fedoraName+")((?!testing).)*?stable",str(fedSource)).group(1)+".x86_64"
AttributeError: 'NoneType' object has no attribute 'group'

tried in debian,kali,ubuntu18.02. same error

Actually, i`d like to know about your deploy environment. or any deployed vm mirrors.


Can not drag to scroll.

Version: 1.5.2

Should be fixed in 1.5.4 by https://github.com/vektah/CodeGlance/pull/203


Drop down is cut off in short modal window.

I have tried to set the overflow directly on the select, but no luck. A regular select field works so I know it's not the modal.
Was this issue ever fixed?
Here is my code:
`

                                            <multiselect
                                                v-model="order"
                                                :options="orders"
                                                style="overflow: visible!important;"
                                                name="order"
                                                :searchable="true"
                                                track-by="id"
                                                label="number">
                                            </multiselect>

                                        </div>

`

You can follow these steps:

Disable scrolling on the modal popup when opening dropdown, just enable scrolling if necessary
Use openDirection prop with value "top"

I did try the openDirection with value of top, but that didn't work.

It means open-direction="top". Did you use the correct structure?

That works. Thanks!


CloudFlareStream: binascii.Error: Incorrect padding

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.09.20
[x] I've checked that all provided URLs are alive and playable in a browser
[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

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://watch.cloudflarestream.com/eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJraWQiOiJmYTA0YjViMzQ2NDkwYTM5NWJiNzQ1NWFhZTA2YzYwZSIsInN1YiI6Ijg4ZDQxMDhhMzY0MjA3M2VhYmFhZjg3ZGExODJkMjYzIiwiZXhwIjoxNjAwNjA5MzE5fQ.xkRJwLGkt0nZ%5F0BlPiwU7iW4pqb4lKkznbKfAhGg0tGcxSS6ZBA3lcTUwu7W%2DyCFbnAl%2Dhqk3Fn%5FqeQS%5FQydP27qTHpB9iIFFsMtk1tqzGZV5v4yrYDnwLSKzEKvVd6QwJnfABtxH2JdpSNuWlMUiVXFxGWgjOw6QeTNDDklTQYXV%5FNLV7sErSn5CeOPeRRkdXb%2D8ip%5FVOcfk1nDsFoOo4fctFtGP0wYMyY5ae8nhhatydHwevuvJCcEvEfh%2D4qjq9mCZOodevmtSQ4YWmggf4BxtWnDWYrGW8Otp6oqezrR8oY4%2DbKdV6PaqBj49aJdcls6xK7PmM8%5Fvjy3xfm0Mg']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\__init__.py", line 474, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\__init__.py", line 464, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 2019, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\cloudflarestream.py", line 57, in _real_extract
  File "C:\Python\Python34\lib\base64.py", line 135, in urlsafe_b64decode
  File "C:\Python\Python34\lib\base64.py", line 90, in b64decode
binascii.Error: Incorrect padding

Description
Video plays in browser but generates error in youtube-dl.

I stumbled accross this one as well and did some digging. Looks like this is caused by cloudflare not properly padding the base64 encoded data that end up in video_id.
A workable fix is to add
import math
to cloudflarestream.py and replace line 57 in the same file with this:
 video_id.split('.')[1].ljust(math.ceil(len(video_id.split('.')[1])/4)*4, '=')
Basically we'll just pad the string going to urlsafe_b64decode ourselves so that the decoder is happy.

Awesome! This fixed the issue on my end :)

Having the same problem but the fix mentioned here does not work for me.
Any chance anyone could create a working fork of this?

~Having the same problem but the fix mentioned here does not work for me. Any chance anyone could create a working fork of this?~ nvm.. python2 was my problem here

Do you mean that the problem persisted also with python3 and that the proposed solution fixed it?

with python3 the proposed solution fixed it ;)

with python3 the proposed solution fixed it ;)

Great! would you please post the link of the video you were trying to download? To replicate the error for later submitting a PR

Great! would you please post the link of the video you were trying to download? To replicate the error for later submitting a PR

sorry, that link has rotated out of my bash history


snactor discover: fix wrong path

After registering several different objects
with the same name (ex. actor and tag),
snactor discover without --safe would return
wrong path for actual files for all objects
but the one registered last.
This fix addresses the issue by utilizing
the fact that repo structure remains the same
and adding object type check in _get_class_file
path resolution.
Closes-Issue: #431

Can one of the admins verify this patch?

vinzenz, sure. Another approach I can think of it to judge based on mro()

LGTM! Thanks a lot!


Fields that should be nullable complain on Null values

I have previously been using v.0.152.0, and this bug was introduced when I upgraded to 0.176.3, and still exists in 0.177.1
When using the pydantic integration, the following code used to return the vehicle object when the data base value of series was Null.
import logging
from typing import Optional

import strawberry

from pydantic import BaseModel

logger = logging.getLogger(__name__)

class VehicleModel(BaseModel):
    account: str
    series: Optional[str]

@strawberry.experimental.pydantic.type(model=VehicleModel, all_fields=True)
class VehicleModelType:
    pass

async def get_vehicle(identifier: str) -> Optional[VehicleModel]:
    # Database lookup
    return ...

@strawberry.type
class Query:
    @strawberry.field
    async def vehicle(self, identifier: str) -> Optional[VehicleModelType]:
        vehicle = await get_vehicle(identifier)
        return vehicle

Now however, it returns an error
Cannot return null for non-nullable field VehicleModel.series

I would expect that it would not treat the field as Non Nullable, given that it is marked as optional.
maybe related to #2756

I have a similar problem, without pydantic integration.
I return optional array. Strawberry complains when it's null.

sorry I'm not able to reproduce this on strawberry 0.177.3
from typing import Optional

from pydantic import BaseModel

import strawberry

class VehicleModel(BaseModel):
    account: str
    series: Optional[str]

@strawberry.experimental.pydantic.type(model=VehicleModel, all_fields=True)
class VehicleModelType:
    pass

async def get_vehicle(identifier: str) -> Optional[VehicleModel]:
    # Database lookup
    return VehicleModel(account="123", series=None)

@strawberry.type
class Query:
    @strawberry.field
    async def vehicle(self, identifier: str) -> Optional[VehicleModelType]:
        vehicle = await get_vehicle(identifier)
        return vehicle

schema = strawberry.Schema(query=Query)

When I start the server and run a query on it, it succeeds.

Could you also take a screenshot of the schema generated?

Thanks @thejaminator
I have found the issue - the reason ifs that I simplified the model (the real code has an Ormar model with ~65 attributes)
So a better representation of the code is actually:
from typing import Optional

from pydantic import BaseModel, Field

import strawberry

class VehicleModel(BaseModel):
    account: str
    series: Optional[str] = Field(default='')

@strawberry.experimental.pydantic.type(model=VehicleModel, all_fields=True)
class VehicleModelType:
    pass

async def get_vehicle(identifier: str) -> Optional[VehicleModel]:
    # Database lookup
    return VehicleModel(account="123", series=None)

@strawberry.type
class Query:
    @strawberry.field
    async def vehicle(self, identifier: str) -> Optional[VehicleModelType]:
        vehicle = await get_vehicle(identifier)
        return vehicle

schema = strawberry.Schema(query=Query)

this fails because passing None to the Pydantic model will result in the field being set to Null, however in the creation on the Type, the default value sets the field as required, as  can be seen in the snippet below from the
def get_type_for_field(field: ModelField, is_input: bool):  # noqa: ANN201
    outer_type = field.outer_type_
    replaced_type = replace_types_recursively(outer_type, is_input)

    default_defined: bool = (field.default_factory is not None
                             or field.default is not None)
    should_add_optional: bool = not (field.required or default_defined)
    if should_add_optional:
        return Optional[replaced_type]
    else:
        return replaced_type

I didn't expect that -  I assumed the annotations would be the same, rather than derived from the Field.
If this is the expected behaviour, I will have to revisit, otherwise, I am happy to update to something like the below and create a pull request.
def get_type_for_field(field: ModelField, is_input: bool):  # noqa: ANN201
    outer_type = field.outer_type_
    replaced_type = replace_types_recursively(outer_type, is_input)
    should_add_optional: bool = not field.required

    if should_add_optional:
        return Optional[replaced_type]
    else:
        return replaced_type

seems like a bug! Could you create a PR please with a test that replicates
it :)
On Wed, May 24, 2023, 7:07 PM Nick Butlin @.***> wrote:

Thanks @thejaminator https://github.com/thejaminator
I have found the issue - the reason ifs that I simplified the model (the
real code has an Ormar model with ~65 attributes)
So a better representation of the code is actually:
from typing import Optional
from pydantic import BaseModel, Field
import strawberry
class VehicleModel(BaseModel):
account: str
series: Optional[str] = Field(default='')
@strawberry.experimental.pydantic.type(model=VehicleModel, all_fields=True)
class VehicleModelType:
pass
async def get_vehicle(identifier: str) -> Optional[VehicleModel]:
# Database lookup
return VehicleModel(account="123", series=None)
@strawberry.type
class Query:
@strawberry.field
async def vehicle(self, identifier: str) -> Optional[VehicleModelType]:
vehicle = await get_vehicle(identifier)
return vehicle
schema = strawberry.Schema(query=Query)
this fails because passing None to the Pydantic model will result in the
field being set to Null, however in the creation on the Type, the default
value sets the field as required, as can be seen in the snippet below from
the
def get_type_for_field(field: ModelField, is_input: bool):  # noqa: ANN201
outer_type = field.outer_type_
replaced_type = replace_types_recursively(outer_type, is_input)
default_defined: bool = (field.default_factory is not None
                         or field.default is not None)
should_add_optional: bool = not (field.required or default_defined)
if should_add_optional:
    return Optional[replaced_type]
else:
    return replaced_type

I didn't expect that - I assumed the annotations would be the same,
rather than derived from the Field.
If this is the expected behaviour, I will have to revisit, otherwise, I am
happy to update to something like the below and create a pull request.
def get_type_for_field(field: ModelField, is_input: bool):  # noqa: ANN201
outer_type = field.outer_type_
replaced_type = replace_types_recursively(outer_type, is_input)
should_add_optional: bool = not field.required
if should_add_optional:
    return Optional[replaced_type]
else:
    return replaced_type

—
Reply to this email directly, view it on GitHub
https://github.com/strawberry-graphql/strawberry/issues/2772#issuecomment-1560917700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHI2753NXWIJ2V4BWZO5XXTXHXTVPANCNFSM6AAAAAAYCDR7SM
.
You are receiving this because you were mentioned.Message ID:
@.***>

hi @thejaminator I created a few failing tests, and extended a couple to account for the expected behaviour - I also had a look at the pydantic ModelField and found a surprisingly simple fix such that tests now all pass!
PR submitted

Hi @nicholasbutlin,
Do you know if this PR was released? I'm on the latest version and am still running into issues that's preventing me from using strawberry subscriptions like how it's outlined in the tutorial

Hi @ndortega looks like it has been merged and appears in the latest version.
Not sure if the subscription is a related issue.

Hi @nicholasbutlin,
Do you know if this PR was released? I'm on the latest version and am still running into issues that's preventing me from using strawberry subscriptions like how it's outlined in the tutorial

Hi @ndortega, could you open a separate issue please?

fixed with https://github.com/strawberry-graphql/strawberry/pull/2782

Hi @nicholasbutlin,
Do you know if this PR was released? I'm on the latest version and am still running into issues that's preventing me from using strawberry subscriptions like how it's outlined in the tutorial

Hi @ndortega, could you open a separate issue please?

Hi @thejaminator,
This same exact issue is already open here since May 5th: https://github.com/strawberry-graphql/strawberry/issues/2756
It looks like it's just been lost in weeds and I wanted to make sure it got some attention.

Yup, this is still not working for subscriptions. I've tried following the official docs and got the same error as in https://github.com/strawberry-graphql/strawberry/issues/2756. I even tried the latest version, 0.192.2 at the moment.

@zagortenej024 could open a new issue with a reproduction? I just tested #2756 again and it works for me :)

@zagortenej024 could open a new issue with a reproduction? I just tested #2756 again and it works for me :)

Hi @patrick91,
I've reopened this issue and added my details to the issue here: https://github.com/strawberry-graphql/strawberry/issues/2927
Let me know if you need any additional information to debug this, thanks!


Passing by pointer

Description
Add check (and check code) for passing by pointer, C style.

Fixed on unstable.


add .editorconfig for xml files

When moving closer to edit and develop ABAP sources outside of a system, it crucial to ensure a common style of the development files.
abaplint already takes care of the formatting of *.abap files, but nothing ensures a common format for the corresponding XML files. Some editors auto format these files, based on a default config, which is not that good.
Therefore adding a .editorconfig file, which ensures the correct formatting on saving of the XML files.
I just added a basic configuration to start with.

I dont really like too many top level files, but I guess this is okay


Feature/paginate rating form [EOSF-153]

Purpose
Make it easier for participants to take the survey by splitting up the rating-form into multiple pages.
Summary of changes

Add page to each question, and in the template only show the question if it's page equals the currentPage.
Make generateSchema expect an object with parameters so that it is easier to tell what is getting passed in.

Testing notes
Requires https://github.com/CenterForOpenScience/isp/pull/48 and https://github.com/CenterForOpenScience/isp/pull/49 to be merged

Done making changes @samchrisinger! ☔

Done making those changes @samchrisinger! ☀

@samanehsan can you please resolve merge conflicts?

I resolved the merge conflicts @samchrisinger! 🚀