Provide an initial set of Software Template samples

Goal
Provide an initial set of Software Template samples (GPTs Golden Path Templates), which use starter projects from the Devfile registry to start.
Why

As a platform engineer, I want a software template sample so that I can quickly provide a GPT for my developers with guardrails.
As a developer, I want to be able to quickly start a new app
As a platform engineer, I want an easy way to get started creating a new Backstage plugin

Issues included in this epic

[x] https://github.com/janus-idp/software-templates/issues/39
[x] https://github.com/janus-idp/software-templates/issues/40
[x] https://github.com/janus-idp/software-templates/issues/41
[x] https://github.com/janus-idp/software-templates/issues/42
[x] https://github.com/janus-idp/software-templates/issues/43
[x] https://github.com/janus-idp/software-templates/issues/44
[x] https://github.com/janus-idp/software-templates/issues/45
[x] https://github.com/janus-idp/software-templates/issues/46
[x] https://github.com/janus-idp/software-templates/issues/47
[x] https://github.com/janus-idp/software-templates/issues/48
[x] https://github.com/janus-idp/software-templates/issues/49
[x] https://github.com/janus-idp/software-templates/issues/50

As the backstage plugin is not part of summit, we can close this issue

Removed the backstage plugin story. Going to close this one off now. @serenamarie125 if you have any concerns with what was delivered, feel free to reopen.


[GIF Search] ... ENOTFOUND

Extension
https://www.raycast.com/josephschmitt/gif-search
Raycast Version
1.69.0
macOS Version
15.0
Description
Error:
it: request to https://cdn.joe.sh/gif-search/config.json failed, reason: getaddrinfo ENOTFOUND cdn.joe.sh

ClientRequest.<anonymous>:index.js:108:10

---
105: 		};
106:
107: 		request_.on('error', error => {
108: 			reject(new FetchError(`request to ${request.url} failed, reason: ${error.message}`, 'system', error));
109: 			finalize();
110: 		});
111:
---

ClientRequest.emit:node:events:514:28
ClientRequest.emit:node:domain:488:12
TLSSocket.socketErrorListener:node:_http_client:495:9
---

### Steps To Reproduce

1. Invoke Raycast
2. type "gif" for search for gifs
3. observe error

### Current Behaviour

Search for gifs ==> enter search term ==> error.

### Expected Behaviour

Search for gifs ==> enter search term ==> see search results.

@mattbontrager are you sure you are using the latest version of this extension? I remember this API was deprecated and replaced by one created by the Raycast team...

Furthermore, this seems to be an issue with the connection on your end, because the url still works on my side.

@raycastbot close this issue


fseek(): stream does not support seeking

I ran into an issue with a client being unable to download assets from their linode object storage through the CMS. On download the website was giving a 500 error with a craft error page stating: fseek(): stream does not support seeking
Following along the fix for this issue on the aws-s3 Craft CMS plugin: https://github.com/craftcms/aws-s3/pull/95
Set the streamReads argument to false in the Volume.php file. I also bumped up the league/flysystem-aws-s3-v3 version requirement from ^1.0.13 to ^1.0.28 this was more to keep in line with what they did on the aws-s3 plugin.

Nice catch, thank you for that 👍🏾

Nice catch, thank you for that 👍🏾


Try XFOIL for low Re 0018 data

Though the results at Re = 1.5e6 show XFOIL to do a poor job for the 0021, if it does better than Sheldahl at matching the Jacobs data for the 0018, there may be some justification for its use for generating low Re 0021 coefficients.

Why are we comparing with 0018 foil Jacobs?
Sent from my iPad

On Jun 16, 2016, at 5:54 PM, Pete Bachant<EMAIL_ADDRESS>wrote:
Though the results at Re = 1.5e6 show XFOIL to do a poor job for the 0021, if it does better than Sheldahl at matching the Jacobs data for the 0018, there may be some justification for its use for generating low Re 0021 coefficients.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Since I can't find any 0021 data at the Reynolds numbers of interest (~1e5), and XFOIL has already failed in the stalled regime at Re ~ 1e6, the thought was that we could validate against a profile that is kind of similar. It's probably going to fail just the same, but it was just a thought.

Actually, there is lift coefficient data in Jacobs (1932), which I'm going to manually digitize and compare with Sheldahl.

Going to close this and generate some XFOIL data at low Re for the 0021.


Handling of symlinks in pytest discovery

Type: Bug
Behaviour
I'm finding it difficult to get VSCode to correctly discover pytest tests in a workspace whose path involves a symlink. The output of <python> run_adapter.py discover pytest varies depending exactly how it's called (and the extension reacts differently to these variations), but the Output pane doesn't accurately reflect what inputs were passed to run_adapter.py, making it tricky to work out exactly what's going on.
Ultimately, I'd like to be able to create my workspace in an arbitrary location (i.e. where my IT department provided me with storage - something like /data/store_123456/workspace) but reference it via a symlink from my home directory (so Open Folder /home/<me>), and have Pytest discovery work without my needing to muck about with its inputs.
As a secondary issue, the Output pane should accurately reflect how the test adapter is actually invoked.
Steps to reproduce:

Make a directory, put a dummy pytest in it:

mkdir -p ~/real_location/test
echo -e "def test_something():\n    pass" > ~/real_location/test/test_example.py

Make a symlink to it:

ln -s ~/real_location~/my_workspace

Open the symlink folder in VSCode (Open Folder, navigate to ~/my_workspace)
Activate the Python extension (open the file); open the testing pane and enable pytest testing.

Case 1 : default settings (does not work)

Examine the testing pane.

Expected behaviour: the test shows up
Actual behaviour: the test does not appear (a real_location workspace root node appears, nothing underneath)

Output pane
2024-08-14 09:06:51.493 [info] Discover tests for workspace name: my_workspace - uri: /home/ralexander72/my_workspace
2024-08-14 09:06:51.525 [warning] could not find a pixi interpreter for the interpreter at /bin/python3
2024-08-14 09:06:51.562 [warning] could not find a pixi interpreter for the interpreter at /bin/python3
2024-08-14 09:06:51.567 [info] > /bin/python3 ~/.vscode-server/extensions/ms-python.python-2024.12.3/python_files/testing_tools/run_adapter.py discover pytest -- --rootdir . -s --cache-clear
2024-08-14 09:06:51.567 [info] cwd: .

Case 2 : explicit directory (does not work, differently)

Set python.testing.pytestArgs to ${workspaceFolder}
Examine the testing pane.

Expected behaviour: the test shows up and can be run
Actual behaviour:

my_workspace node shows up in test explorer, containing the test (if run in the same window, the existing real_location node remains)
Attempting to run the test (click the run or debug button next to it), nothing happens (Test Results pane shows "Finished running tests!"; the test does not run).

Output pane
2024-08-14 09:09:13.173 [info] Discover tests for workspace name: my_workspace - uri: /home/ralexander72/my_workspace
2024-08-14 09:09:13.173 [warning] could not find a pixi interpreter for the interpreter at /bin/python3
2024-08-14 09:09:13.226 [warning] could not find a pixi interpreter for the interpreter at /bin/python3
2024-08-14 09:09:13.229 [info] > /bin/python3 ~/.vscode-server/extensions/ms-python.python-2024.12.3/python_files/testing_tools/run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
2024-08-14 09:09:13.229 [info] cwd: .

Case 3 : explicit directory and rootdir (does work)

Set python.testing.pytestArgs to ["--rootdir=.", "${workspaceFolder}"]
Examine the testing pane.

Expected and actual behaviour: the test shows up and can be run. Phew.

Output pane
2024-08-14 09:13:37.175 [info] Discover tests for workspace name: my_workspace - uri: /home/ralexander72/my_workspace
2024-08-14 09:13:37.176 [warning] could not find a pixi interpreter for the interpreter at /bin/python3
2024-08-14 09:13:37.184 [warning] could not find a pixi interpreter for the interpreter at /bin/python3
2024-08-14 09:13:37.188 [info] > /bin/python3 ~/.vscode-server/extensions/ms-python.python-2024.12.3/python_files/testing_tools/run_adapter.py discover pytest -- -s --cache-clear --rootdir=. .
2024-08-14 09:13:37.188 [info] cwd:

I gather the wittering about pixi is harmless noise (though it'd be nice if that could be shut up). There is no further output displayed: no error in any case; things just don't work quite right.
Note that despite passing ${workspaceFolder} (i.e. a full path ~/my_workspace), the output pane consistently substitutes the workspace directory with ., making it impossible to distinguish --rootdir=. from --rootdir=${workspaceFolder}, for example. Note that for Pytest discovery, this difference is significant.
Analysis
What I think's happening depends on exactly what arguments are really passed to run_adapter.py discover pytest. Adding pretty formatting to the output for readability:

python <...>/run_adapter.py discover pytest --pretty -- --rootdir ~/my_workspace -s --cache-clear
[
    {
        "parents": [
            {
                "id": "./test",
                "kind": "folder",
                "name": "test",
                "parentid": ".",
                "relpath": "./test"
            },
            {
                "id": "./test/test_example.py",
                "kind": "file",
                "name": "test_example.py",
                "parentid": "./test",
                "relpath": "./test/test_example.py"
            }
        ],
        "root": "/home/ralexander72/real_location",
        "rootid": ".",
        "tests": [
            {
                "id": "./test/test_example.py::test_something",
                "markers": [],
                "name": "test_something",
                "parentid": "./test/test_example.py",
                "source": "./../real_location/test/test_example.py:1"
            }
        ]
    }
]

Note: "root": "/home/ralexander72/real_location"; "source": "./../real_location/test/test_example.py:1"
I suspect this is what's actually being invoked by default (--rootdir . in the output pane notwithstanding), and that the extension sees the file locations as somewhere outside of the workspace (/home/ralexander72/my_workspace) and ignores the tests.

python <...>/run_adapter.py discover pytest --pretty -- --rootdir ~/my_workspace -s --cache-clear ~/my_workspace
[
    {
        "parents": [
            {
                "id": "./test",
                "kind": "folder",
                "name": "test",
                "parentid": ".",
                "relpath": "./test"
            },
            {
                "id": "./test/test_example.py",
                "kind": "file",
                "name": "test_example.py",
                "parentid": "./test",
                "relpath": "./test/test_example.py"
            }
        ],
        "root": "/home/ralexander72/my_workspace",
        "rootid": ".",
        "tests": [
            {
                "id": "./test/test_example.py::test_something",
                "markers": [],
                "name": "test_something",
                "parentid": "./test/test_example.py",
                "source": "./../real_location/test/test_example.py:1"
            }
        ]
    }
]

Note: "root": "/home/ralexander72/my_workspace"; "source": "./../real_location/test/test_example.py:1"
I suspect this is what's actually being invoked with "python.testing.pytestArgs" : [ "${workspaceFolder}" ]. Now the root path is sane, and the tests are therefore considered part of the workspace and show up. However, the source paths are "relative" paths from the symlinked path to the "real" one - opening the test via the "Go To Test" button shows the file path as /home/ralexander72/real_location/test/test_example.py, and the test won't run.

python <...>/run_adapter.py discover pytest --pretty -- --rootdir . -s --cache-clear ~/my_workspace
[
    {
        "parents": [
            {
                "id": "./test",
                "kind": "folder",
                "name": "test",
                "parentid": ".",
                "relpath": "./test"
            },
            {
                "id": "./test/test_example.py",
                "kind": "file",
                "name": "test_example.py",
                "parentid": "./test",
                "relpath": "./test/test_example.py"
            }
        ],
        "root": "/home/ralexander72/my_workspace",
        "rootid": ".",
        "tests": [
            {
                "id": "./test/test_example.py::test_something",
                "markers": [],
                "name": "test_something",
                "parentid": "./test/test_example.py",
                "source": "./test/test_example.py:1"
            }
        ]
    }
]

Note: "root": "/home/ralexander72/my_workspace"; "source": "./test/test_example.py:1"
These arguments are now as passed explicitly on the command line ("python.testing.pytestArgs" : [ "--rootdir=.", "${workspaceFolder}" ] - though the output pane still shows --rootdir=. .) Now the root and source paths both look sensible, and configured this way, the test both shows up and works.

Version info
Extension version: 2024.12.2, 2024.12.3 (seems to have updated overnight!)
VS Code version: Code 1.92.1 (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

Python version: version-independent, but tried 3.10.12+Pytest 8.2, 3.12.4+Pytest 8.1.1
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): None
Value of the python.languageServer setting: Default

User Settings

languageServer: "Pylance"

testing
• pytestArgs: "" or "${workspaceFolder}; see analysis above
• pytestEnabled: true

Installed Extensions

Extension Name
Extension Id
Version

Auto Snippet
Gruntfuggly.auto-snippet
0.0.11

Black Formatter
ms-python.black-formatter
2024.2.0

C/C++
ms-vscode.cpptools
1.21.6

clangd
llvm-vs-code-extensions.vscode-clangd
0.1.29

CMake
twxs.cmake
0.0.17

CMake Test Explorer
fredericbonnet.cmake-test-adapter
0.17.4

CMake Tools
ms-vscode.cmake-tools
1.18.44

CodeLLDB
vadimcn.vscode-lldb
1.10.0

Command Variable
rioj7.command-variable
1.63.0

GitLens — Git supercharged
eamodio.gitlens
15.2.3

JavaScript Debugger
ms-vscode.js-debug
1.92.0

Live Preview
ms-vscode.live-server
0.4.14

markdownlint
DavidAnson.vscode-markdownlint
0.55.0

Pylance
ms-python.vscode-pylance
2024.8.1

Python
ms-python.python
2024.12.2

Python Debugger
ms-python.debugpy
2024.10.0

Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.9

Test Adapter Converter
ms-vscode.test-adapter-converter
0.1.9

Test Explorer UI
hbenl.vscode-test-explorer
2.21.1

Time Travel Debug for C/C++
undo.udb
2.0.4

Hello! I think this issue is fixed by opting into this experiment. Give it a try and let me know! Add this setting to your users settings.json "python.experiments.optInto": ["pythonTestAdapter"] then try again. You can confirm you have the rewrite enabled by setting  log levels to trace (via command palette) then check for Experiment 'pythonTestAdapter' is active in your python logs.
Let me know if the rewrite fixes your issue. Thanks!

Apologies, I missed this - you're quite right, the experimental python test adapter does work much better. Will switch to that :)


Should we consider a new JBake template

@manikmagar created a nice fancy HTML5 JBake template https://github.com/manikmagar/jbake-future-imperfect-template used e.g. by https://unittesters.com/.
Should we consider using something here between now and JSR 385 Final?

Thanks for the consideration. It should work with latest JBake 2.6.0 too.

One problem I see with this template is the lack of menu links. @manikmagar, does that exist or could it be configured somehow?

Sorry for so late reply @keilw. Unfortunately nested links are not supported in there. I will see if I can enable that.

Thanks @manikmagar it is not the most urgent task, but if the template was improved, please let us know, then we could try it out.

I think after the breadcrumb issue is resolved, we can close this for now and may revisit if the template might improve.

I think after the breadcrumb issue is resolved, we can close this for now and may revisit if the template might improve.


Update tls flags [forked]

UPD. It's cherry-picked actual changes from #290 without rows If not specified, XXX uses value from ... because common flags available only for AcraServer and AcraTranslator

added missing flags on ocsp/crl pages
unified descriptions of same flags for pages of all services which use them in same manner
updated descriptions with note that side-specific (client/database) flags use common flag values if not specified
changed incorrect previously copy-pasted service names (AcraServer) to the proper service's name (AcraServer -> acra-backup on acra-backup's page)

These changes related to https://github.com/cossacklabs/acra/pull/617 and https://github.com/cossacklabs/acra/issues/615

expanded and updated flag name to the correct for all pages
reverted change with poison record keys generation


feat: add remove= postprocess to regex

This adds the ability to post-process regex to remove "dev0" or similar. Closes #765.

Was looking if this affects SKBUILD_PROJECT_VERSION
https://github.com/scikit-build/scikit-build-core/blob/6d2480f40570bcf4aed305acc9b907ccbb7b4025/src/scikit_build_core/builder/builder.py#L162
Shouldn't this one be .public? Fedora packaging uses the 1:a.b.c format

The “base version” is the public version of the project without any pre or post release markers.

Isn't that what we want?

1:a.b.c

I think you mean 1!a.b.c?
As to the epoch, it is included in both, which is probably not ideal for us, as CMake won't be able to understand an epoch.

The “base version” is the public version of the project without any pre or post release markers.

Isn't that what we want?

There is an example of public and base_version when it comes to epoch in the link I posted last. I believe the pre and post there refer only to suffix part.

1:a.b.c

I think you mean 1!a.b.c?

Python wise, yes. Was just mentioning because there could be a synchronization between those that might be used (after changing : to ! as needed)

The examples are misleading, I've made https://github.com/pypa/packaging/pull/818 to clarify the examples. Both of them include the epoch. Generally, the epoch is the most important version number (more than even the major number), so that's probably why it's always included. We could easily avoid it by manually constructing the number, though, since CMake won't be able to parse it.

Ah indeed, the code right beneath it makes it more obvious :D


[SPARK-42478][SQL][3.2] Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory

This is a backport of https://github.com/apache/spark/pull/40064 for branch-3.2

What changes were proposed in this pull request?

Make a serializable jobTrackerId instead of a non-serializable JobID in FileWriterFactory
Why are the changes needed?

SPARK-41448 make consistent MR job IDs in FileBatchWriter and FileFormatWriter, but it breaks a serializable issue, JobId is non-serializable.
Does this PR introduce any user-facing change?

No
How was this patch tested?

GA

cc @cloud-fan @dongjoon-hyun


Expose Channel Information

We display our user debug information about his node, such as already exposed info like:

max_receivable_msat
max_payable_msat
channels_balance_msat

But would also like to show more information about his individual channels. We are currently interested in the num_inactive_channels, num_active_channels & num_pending_channels which isn't exposed by the Breez SDK.
Thus, we are suggesting to create separate function that exposes detailed information about the nodes channels.

Why this is needed in the UX? What if we add this info to the logs? Reason I'm asking is because there's a tradeoff between simplicity and verbosity.

Yes, adding this information to the logs would be sufficient for our debugging purposes.

@roeierez let's discuss

@dleutenegger if this is for debugging/support of users then you can use the execute_dev_command that we expose on the sdk instance: https://github.com/breez/breez-sdk/blob/main/libs/sdk-core/src/breez_services.rs#L673
It is just a simple way to proxy some commands directly to the node and get the response as json string. We use it exactly for your use case and expose some "low level" commands that we think are useful without adding them to the main services interface.
For your specific request you can pass in "listpeers" which will give you all connected peers and channels.
See here for a list of commands you can use: https://github.com/breez/breez-sdk/blob/main/libs/sdk-core/src/greenlight/node_api.rs#L751
Does it meet your requirements?

@roeierez Thanks, this should be enough.
But looking at the CLN Docs for the listpeers command the channel information field is deprecated (removal in v23.11), so we would probably need the dev command listchannels.

We added listpeerchannels as a dev command. In contrary to listchannels that shows all channels in the network this one shows only the channels connected to the user node which is, according to my understanding, your need.
Feel free to reopen this if anything else is needed here.


Fujitsu Driver Support

Since Driver Automation Tool doesn´t support Fujitsu Drivers, but the Invoke-CMApplyDriverPackage.ps1 script does.
How do i create Fujitsu Driver Packages in SCCM so the script will work in the task sequence?
Is there an instruction or something?
Thank you

You can create custom packages for other vendors. This section is included in the DAT documentation, and requires your own extension of the detection script in some circumstances. Fujitsu did initially express interest in providing model feeds, so if you have a rep, please let them know as we could automate this.


Device link visualizer

About the PR
Adds a way to visualize device links from entities that use DeviceList on a client.
Screenshots

https://user-images.githubusercontent.com/76629141/188513730-f8a74222-06e1-407a-b3ff-5159a4e5a8b0.mov
Changelog

:cl:

add: Adds a way to see device links from entities that use device network linking.

Bagel update got merged, you're legally forbidden from breaking it.

Bagel update got merged, you're legally forbidden from breaking it.

should be fine, checked it pre-merge and all the links were OK (the issue i was having was because dirtying doesn't work pre-startup, so i instead put a hacky solution for it)


Duplicate field definition

Hey,
So I just started with Elm and it feels great for now, thanks.
It seems that the compiler allow me to define the same field twice, even with a different type, it just takes the latest definition but I would've expect it will raise an error.
Example:
type alias Model =
  { id: Int
  , a: Int
  , a: String
  }

Please report this at https://github.com/elm-lang/elm-compiler instead of here (core is the standard library, not the compiler).

Thanks, sorry about that.


Zotero crash when betterbibtex is enabled

Hello BetterBibtex!
Since a few week (not exactly sure when...), zotero keeps crashing with BBT enabled.
Report ID: 770806493 (zotero one, BBT button does nothing...)
Actual behavior: Zotero crash "An error happened, please restart Zotero"

[JavaScript Error: "Error: Invalid field 'citekey" for base field" {file: "chrome://zotero/content/xpcom/data/itemFields.js" line: 270}]
getFieldIDFromTypeAndBase@chrome://zotero/content/xpcom/data/itemFields.js:270:13
Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:247:19
Zotero.ItemTreeRow.prototype.getField@chrome://zotero/content/xpcom/itemTreeView.js:3500:10
Zotero.ItemTreeView.prototype.getCellText@chrome://zotero/content/xpcom/itemTreeView.js:1094:15
...
(lots of same output)
...
[JavaScript Error: "Error: Invalid field 'citekey" for base field" {file: "chrome://zotero/content/xpcom/data/itemFields.js" line: 270}]
getFieldIDFromTypeAndBase@chrome://zotero/content/xpcom/data/itemFields.js:270:13
Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:247:19
Zotero.ItemTreeRow.prototype.getField@chrome://zotero/content/xpcom/itemTreeView.js:3500:10
Zotero.ItemTreeView.prototype.getCellText@chrome://zotero/content/xpcom/itemTreeView.js:1094:15

[JavaScript Error: "Error: Invalid field 'citekey" for base field" {file: "chrome://zotero/content/xpcom/data/itemFields.js" line: 270}]
getFieldIDFromTypeAndBase@chrome://zotero/content/xpcom/data/itemFields.js:270:13
Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:247:19
Zotero.ItemTreeRow.prototype.getField@chrome://zotero/content/xpcom/itemTreeView.js:3500:10
Zotero.ItemTreeView.prototype.getCellText@chrome://zotero/content/xpcom/itemTreeView.js:1094:15

[JavaScript Error: "Error: Invalid field 'citekey" for base field" {file: "chrome://zotero/content/xpcom/data/itemFields.js" line: 270}]
getFieldIDFromTypeAndBase@chrome://zotero/content/xpcom/data/itemFields.js:270:13
Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:247:19
Zotero.ItemTreeRow.prototype.getField@chrome://zotero/content/xpcom/itemTreeView.js:3500:10
Zotero.ItemTreeView.prototype.getCellText@chrome://zotero/content/xpcom/itemTreeView.js:1094:15
ZoteroPane</this.onTreeMouseDown@chrome://zotero/content/zoteroPane.js:3077:5

[JavaScript Error: "Error: Invalid field 'citekey" for base field" {file: "chrome://zotero/content/xpcom/data/itemFields.js" line: 270}]
getFieldIDFromTypeAndBase@chrome://zotero/content/xpcom/data/itemFields.js:270:13
Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:247:19
Zotero.ItemTreeRow.prototype.getField@chrome://zotero/content/xpcom/itemTreeView.js:3500:10
Zotero.ItemTreeView.prototype.getCellText@chrome://zotero/content/xpcom/itemTreeView.js:1094:15
onxblmousedown@chrome://global/content/bindings/tree.xml:1089:23

[JavaScript Error: "key_manager_1.KeyManager is undefined" {file: "chrome://zotero-better-bibtex/content/BetterBibTeX.ItemPane.js" line: 28}]

[JavaScript Error: "Error: Invalid field 'citekey" for base field" {file: "chrome://zotero/content/xpcom/data/itemFields.js" line: 270}]
getFieldIDFromTypeAndBase@chrome://zotero/content/xpcom/data/itemFields.js:270:13
Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:247:19
Zotero.ItemTreeRow.prototype.getField@chrome://zotero/content/xpcom/itemTreeView.js:3500:10
Zotero.ItemTreeView.prototype.getCellText@chrome://zotero/content/xpcom/itemTreeView.js:1094:15

[JavaScript Error: "key_manager_1.KeyManager is undefined" {file: "chrome://zotero-better-bibtex/content/BetterBibTeX.ItemPane.js" line: 28}]

version => 5.0.77, platform => Linux x86_64, oscpu => Linux x86_64, locale => fr-FR, appName => Zotero, appVersion => 5.0.77, extensions => Zotero LibreOffice Integration (5.0.20.SA.5.0.77, extension), Better BibTex for Zotero (5.2.22, extension), Shockwave Flash (<IP_ADDRESS>7, plugin)

Dear label-gun,
Yes, indeed, I should do that, but the "Send  Better BibTex debug report..." does not output anything... So I copy/pasted the zotero ID report, and the journal error log as well.

What version of BBT are you on?

And also what Zotero version?

Oh sorry, I see the Zotero version. You need to upgrade first, BBT only supports the latest version of Zotero.

Hello,
No problem :)
Indeed, I was using 5.0.77. Didn't know that the minor version is so sensitive in zotero. I will keept them updated in the future. Sorry for the noise and thanks a lot for BBT !

Indeed, I was using 5.0.77. Didn't know that the minor version is so sensitive in zotero.

It usually isn't, but BBT can only achieve some of the things it does by augmenting code of Zotero at runtime that isn't part of the formal API they provide for plugins. They're free to change those bits of code at any time, and since I need to adjust to such changes, it's infeasible to support multiple versions. Plugins that "color inside the lines" would not be affected in the same way. Usually BBT is OK across minor versions, but not always, and I only test on the latest version. One of the reasons why my tests auto-upgrade to the latest versions, and run every night regardless of whether I made any changes.

I will keept them updated in the future. Sorry for the noise and thanks a lot for BBT !

Not a problem, and you're welcome.


Add more guidance on how to manage Ohana git repos

I've updated the docs a bit as discussed in #801. I also threw in an update to refer to Ruby 2.2 instead of Ruby 2.1 due to the updates in 83d7f7625b8c6496d78a8d907240f5d60be41270

The git push command should possibly be this instead:
git push origin --mirror

Let me know if this looks good or if you want anything changed. I'm willing to squash these commits too if you prefer that.

The instructions look good as is (I wouldn't use the --mirror option), but I'm not sure they belong in the installation section because creating a GitHub repo is not required to be able to run the app locally.
I think these instructions might better be placed at the end of CUSTOMIZE.md since it's at that point that you would be committing changes to your repo.

I'm happy to update this PR to make it mergeable, but I'm not totally clear whether you want any changes to INSTALL.md or if you just want the additions made to CUSTOMIZE.md.

I think your changes look great, but I think they fit better in CUSTOMIZE.md because those instructions aren't necessary during local installation. So, the first 2 diffs you made can stay in INSTALL.md, but the rest should go in CUSTOMIZE.md. Thanks!

Updated. Let me know if this works.

Coverage remained the same at 98.35% when pulling 4090e52ca65710a4a1d4770f0d81cfc328e5de9f on md5:expand-git-install-docs into 9b23b5e79018a079292024134c2b4b68786f99bc on codeforamerica:master.

Looks good. One last thing I'll ask is to please squash into one commit. Thanks!

Squashèd

Coverage remained the same at 98.35% when pulling c0e7dd0a01553d3d5d15ce129b6f7cf752bc0f2c on md5:expand-git-install-docs into 9b23b5e79018a079292024134c2b4b68786f99bc on codeforamerica:master.

Olé!


Consider Apache-Commons-Logging instead of SLF4J

Reduce dependencies and align logging strategy with other Spring/Sping Cloud components.

We standardize on apache commons. See https://github.com/spring-cloud/spring-cloud-build/issues/39#issuecomment-229742287

I was unsure if Java Commons Logging meant Java Util Logging or Apache Commons Logging.

Sorry, my bad. I fixed the title.

:-) NP.


feat(select): Allow simpler definition of option template

Instead of:
<sui-select [optionTemplate]="myTemplate">
   <sui-select-option *ngFor="let option of [0,1,2]" [value]="option"></sui-select-option>
</sui-select>

<ng-template let-option #myTemplate>
   {{option + ' years'}}
</ng-template>

could it be possible to have:
<sui-select>
    <sui-select-option *ngFor="let option of [0,1,2]" [value]="option">{{option + ' years'}}</sui-select-option>
</sui-select>

Unfortunately this is something that isn't possible. This is because the template is used not only when rendering options in the dropdown, but also when an option is selected and shown when the dropdown is closed, as below:

When designing the select, I toyed with making it so that you didn't need a <ng-template> element at all, by copying the innerHTML of the chosen option. This worked well until the options were loaded remotely, as it then required some hacks to make the right option get rendered so we could use the HTML. Therefore, it was easier to stick to an external template.
I hope that all makes sense!

That does make sense. Could it use this inline template when not fetching remotely, but require a separate template otherwise? I ask because selects are something I use a lot and the verbose syntax is clunky, and none of my selects currently fetch remote options.

I see where you're coming from, and can see it would be a lot less clunky! I'm trying to think of a way to implement it that isn't confusing and doesn't get affected by edge cases (like custom markup inside the select). Are you happy for me to come back to this when I have had a chance to think more?

Yes, definitely. Thanks for taking another look.

In the 0.9.0 release I've added an optionFormatter property to the select component that is a simpler version of a full template. I was wondering if this suits your case here?

This looks good although I probably won't use it as I prefer not to write a separate function just to handle formatting. Nothing beats angular's simple template syntax but I realise that is hard to replicate here. My slightly simpler solution for now is to wrap sui-select in a custom control which passes through a template ref
@ContentChild(TemplateRef) optionTemplate: TemplateRef<any>;

which allows the use of an inline template
<form-select [formControl]="paymentType" [options]="paymentTypes" valueField="id">
	<ng-template let-option>{{option.description}}</ng-template>
</form-select>

But i'd like to simplify it further if possible. It seems that if an options array is specified, specifying the sui-select-option is always the same and almost redundant?
<sui-select-option *ngFor="let o of formatted.filteredOptions" [value]="o"></sui-select-option>

I really like that solution of having the template inline. I tried to replicate it in the library earlier but it kept finding comment elements generated by Angular - how did you deal with this?

The final point is tricky, because yes it is slightly redundant, but it also isn't as it allows you to fully customise the menu and where the elements appear (for example you could even group the elements if you didn't mind losing search support).
An example of extensive customisation is the docs 'in-menu search' example:
<sui-multi-select [(ngModel)]="selected" [options]="options" labelField="name" [maxSelected]="5" icon="list" #select>

        <input suiSelectSearch type="text" placeholder="Search options...">

        Options

        <sui-select-option *ngFor="let o of select.filteredOptions" [value]="o"></sui-select-option>

</sui-multi-select>

As in this case the options are nested a level deeper than usual.
One thought I've just had is potentially adding an optional <sui-select-options> element, defined as such:

If specified by the user, the select options are generated beside this element
If not specified, the select options are automatically generated at the end of the select contents

This would allow a generic select to be:
<sui-select [options]="options"></sui-select>

and the more advanced example above to become:
<sui-multi-select [(ngModel)]="selected" [options]="options" labelField="name" [maxSelected]="5" icon="list" #select>
    ...

        <sui-select-options></sui-select-options>

</sui-multi-select>

Thoughts?

FYI, something like this already exists (in 0.9.0) in the [suiSelectSearch] directive.

I really like your proposed change, its clean and clear.
Angular adds a few binding comments but not much, is that what you are referring to? Eg.
<form-select ngdefaultcontrol="" ng-reflect-form="[object Object]" ng-reflect-form-control="[object Object]" ng-reflect-fluid="true" ng-reflect-options="Mr,Mrs,Miss,Ms" class="undefined">
  <sui-select class="selection fluid ui dropdown ng-untouched ng-pristine ng-invalid active visible"   placeholder="Select..." ng-reflect-klass="selection" ng-reflect-ng-class="[object Object]" ng-reflect-options="Mr,Mrs,Miss,Ms" ng-reflect-placeholder="Select..." ng-reflect-form="[object Object]" tabindex="0">
    <input suiselectsearch="" type="text" hidden="" class="search" autocomplete="off">

Select...

      <sui-select-option ng-reflect-value="Mr" class="item">

        Mr
      </sui-select-option>
      <sui-select-option ng-reflect-value="Mrs" class="item">

        Mrs
      </sui-select-option>
      <sui-select-option ng-reflect-value="Miss" class="item">

        Miss
      </sui-select-option>
      <sui-select-option ng-reflect-value="Ms" class="item">

        Ms
      </sui-select-option>

  </sui-select>
</form-select>

Great! I'm currently trying to work out a way to enable this functionality without making it a breaking change - if I can then it will go out in 0.9.3 😄

Yep that's it - every time I try ContentChild(TemplateRef) I just end up with these comment elements, not the <ng-template>... Any ideas?

Just wanted to revisit this one - did you manage to successfully make the ng-template inline without running into the issue I mentioned?
Unfortunately things have been busy so I haven't been able to work on this, but it's still on my radar.

Sorry, I dont exactly understand the issue you are having. Can you provide
more detail as to what the specific problem is?

So I tried to make it so that I use @ContentChild to access an internal TemplateRef similar to how you described a bit earlier in the comment chain, however every time I tried to run it I was left with Angular picking up comment elements from dev mode, rather than the template I wanted. Does that make sense?

I havent used the template ref in any other way than supplying it directly
to the sui-select control, so have not had to deal with this issue of
angular's dev comments. It works as expected in this context.

I see - apologies, I was asking as you'd mentioned before that you had wrapped the sui-select in a custom component that passes through a TemplateRef, which is defined inline.
Will keep looking into the other simplifications 😄


Res is always changed... only run code when window is resized for example?

Bevy version
0.7
What you did
fn window_scaling(windows: Res<Windows>) {
    if !windows.is_changed() {
        return;
    }

    // ...
}

What you expected to happen
is_changed returns false sometimes.
What actually happened
Instead, it appears to always be true. Is this expected?
https://github.com/bevyengine/bevy/issues/4530 seems like it could fix things.

To react to window events, you should listen to the relevant events. For example,
fn react_to_resize(mut resized_events: EventReader<WindowResized>){
     for size_change in resized_events.iter() {
         // React to change
     }
}

I don't think Windows being changed every frame was explicitely known, but I didn't have any indication it wouldn't have been.

Oooooh, TIL! Thanks. BTW, is there a more performant way to get the last event than just .iter().last()?

Actually I need to filter by the primary window anyway, so nvm.


Borders appearing in "fill" player size.

After a recent change, using the "fill" player size causes a border to appear on the left and right sides of the video, although only if the window itself has a width of under 1000px or so. Border size increases the smaller the window's width is.

Same issue that @Badgerconda reported in https://github.com/YePpHa/YouTubeCenter/issues/1463#issuecomment-75173255 , which I will quote since it appears that his comment is not loading up:

Yep, build 481. Looking more closely at what the OP posted though, I think what I'm seeing might be slightly different. For me, If I maximize the window, everything aligns properly. But if I decrease the width of the window past a certain point, the video is offset from the left edge of the screen by a blank gap that wasn't there in earlier versions of YTC.

The issue goes away if I disable youtubecenter, so I would assume it's not an issue with a youtube update or another add-on (I've tried disabling everything else that impacts youtube, but the problem persists as long as YTC is active)

Let me try throwing in a screenshot to see if that makes it more clear. What I'm talking about is the gap to the left of the video.

What is happening is that the player and the main page content is centered on the page itself, but since you are reducing the size of the window the page stays on the left side. If you move the horizontal scrollbar to the right you will see that everything is centered. What I assume it should be doing is to fit the player to the size of the window, regardless of the window size, increasing and decreasing in size to fit the available window space.
Let's wait to see what YePpHa says about this.

Seems like the issue us caused by the flex-width. The flex width is setting a minimum width for the #page element.
I think the solution is just to override the min-width rule, but I wonder if doing so will break something else.

@YePpHa  The thing about flex-width, is that changing the setting temporarily fixes the problem, but only until you reload the page. Figured I'd mention that in case it impacts your fix.

@Badgerconda No need to worry. I can make it permanent in YouTube Center.

I still have this issue: (Chrome Canary 42.0.2311.0 - YouTubeCenter 486)

@Turbonator please post your YouTube Center settings?

http://speedy.sh/7aYjk/ytcenter-settings.ytcs
(Theater mode and Default view works correctly without black borders).

Kinda looks like an issue with setting the controls' bar visibility to hidden, but not working as it should.

Auto hide bar is set to Default.

Seems like there is a new bug, the settings file contained only null. Anyway, just a question @Turbonator is this present on all videos?

Yes it is.

Okay, as it seems like there's a bug with the settings exporter could you tell me the settings configuration for the player sizes?

Black bars disappeared when I changed 750 to 720.

@Turbonator are you using your Custom player size? If you are I would leave the Height field blank as YouTube Center automatically calculates it if it's missing.

Okay, I think we have found the culprit. Just leave height blank and it should be fixed.

Yep.

Good to know.


Visual Studio crashes by Clicking on Help->About

Issue Type: Bug
By Clicking on the menu entry Help->About, vscode crashes.
VS Code version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:49:30.162Z)
OS version: Linux x64 5.3.0-23-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 4600)

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

Load (avg)
2, 1, 1

Memory (System)
15.57GB (12.30GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

systemverilog
eir
0.9.1

cpptools
ms-
0.26.1

veriloghdl
msh
1.0.4

vivado-ucf-constraints
msh
0.0.3

vscode-icons
vsc
9.5.0

I allready checked for duplicates. I could not find a duplicate nor a solution

@MK-SMK can your try the latest insiders https://code.visualstudio.com/insiders/ and see if it still crashes.
Also what does the terminal print when you run the stable version with code --verbose ?

log_about.txt

Thanks for the log!

/opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found

seems to be the culprit thats preventing loading any native node modules bundled with vscode, You should update libstdc++ package for your distro.
Once done make sure > strings <path-to-library>/libstdc++.so.6 | grep GLIBCXX_3.4.18 has one of its content.
Closing this out as no further action can be taken on vscode end.

libstdc++.so.6 is already up to date
libstd_log.txt
And this is the result for the grep command:
glibcx_log.txt

what does strings <path-to-library>/libstdc++.so.6 | grep CXXABI print ? Is this library from the same path as the one vscode was trying to use, from your original log /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6 ?


URL-Modifikation mit mod_rewrite ermöglichen

Siehe auch http://jira.shopware.de/?ticket=SW-9317
Dadurch werden rewrites wie folgt möglich:
RewriteRule ^mypath.* shopware.php/MyController/MyAction [PT,L,QSA,E=REQUEST_URI:/MyController/MyAction]

Hi,
use:
RewriteRule ^mypath.* shopware.php?controller=MyController&action=MyAction
works fine without a hack ;)

Dear Contributor,
Thank you for your contribution to Shopware. We value your engagement.
Unfortunately we have to close all existing Pull Requests.
This is due to the new Shopware 5 Major Release and a restructuring of the branch names.
If your contribution is still relevant for Shopware 5, a new pull request is highly appreciated.
We are very sorry for this inconvenience.
Greetings from the Shopware Team.


workaround for setup screen

Awaiting input from sickelap regarding the changes he made.
See issue https://github.com/LibrePhotos/librephotos/issues/702

I did test it, and it works, but it just hangs a little bit on the "login screen" until the backend comes up.

It makes sense to have a default in the e2e environment, but not for the regular environment, I think.

I agree, want to get the devs input though.

It makes sense to have a default in the e2e environment, but not for the regular environment, I think.

Ok, doing it!

It now has the admin user and pass. in the e2e.

It was a mistake on my side to update the production docker-compose.yml
I've tested the changes and the solution is to set all ADMIN_* env vars to empty string by default in docker-compose.raw e.g., ADMIN_EMAIL=${adminEmail:-} and so on. The reason for having values set is to allow use .env file where admin* variables are set. And empty values are to get rid of warnings when starting the stack about undefined variables.
I noticed that I missed to set default value for HEAVYWEIGHT_PROCESS. While there, could you please set the default value for this one to empty string as well (same way as it's done in docker-compose.e2e.raw

On it!

Looks good. Thanks!

No prob! im here to help.


[Web] : Old widgets are not being cleared from the screen inside Chromium Embedded Framework

Steps to reproduce

Create any sort of moveable widget or widget with transparency
Observe the previously built widget staying around after it has been rebuilt

This issue is occurring when Flutter is embedded into the Chromium Embedded Framework (which is subsequently embedded into the game FiveM). I'm unsure if this is an issue with Flutter or FiveM's usage of CEF.
Perhaps there is something I could do to force Flutter to clear the screen before drawing? Using opaque widgets that occupy all of the screen space works as intented, it's when transparency is used or not all of the screen space is used.
The issue does not appear when using the HTML renderer, only when using the CanvasKit renderer.
Expected results
Old widgets to be cleaned up/removed from the screen
Actual results
Old widgets are persisting on the screen after the widget has been moved
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Center(
        child: SizedBox(
          width: 100,
          height: 100,
          child: Draggable<int>(
            feedback: Container(
              width: 100,
              height: 100,
              color: Colors.green,
            ),
            child: Container(
              width: 100,
              height: 100,
              color: Colors.blue,
            ),
          )
        ),
      ),
    );
  }
}

web/index.html: (note that this draws a red background)
<!DOCTYPE html>
<html>
<head>
  <base href="$FLUTTER_BASE_HREF">

  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="description" content="A new Flutter project.">

  <!-- iOS meta tags & icons -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="myproject">
  <link rel="apple-touch-icon" href="icons/Icon-192.png">

  <!-- Favicon -->
  <link rel="icon" type="image/png" href="favicon.png"/>

  <link rel="manifest" href="manifest.json">

  <style>
    body {
      background-color: #ff0000;
    }
  </style>
</head>
<body>
  <script>
    {{flutter_bootstrap_js}}
  </script>
</body>
</html>

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/16383669/9b6a60ae-3d95-4acf-8f91-9fd23fcde56f

Logs
Logs
flutter build web --web-renderer canvaskit --base-href "/html/" --output ../html/ --profile --verbose
[  +17 ms] Unable to locate an Android SDK.
[   +9 ms] executing: uname -m
[   +4 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +58 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +55 ms] Skipping pub get: version match.
[ +166 ms] generated_plugin_registrant.dart not found. Skipping.
[   +1 ms] Compiling lib/main.dart for the Web...
[   +7 ms] Initializing file store
[   +7 ms] Done initializing file store
[  +46 ms] Skipping target: web_entrypoint
[        ] Skipping target: gen_localizations
[ +259 ms] Skipping target: dart2js
[   +2 ms] web_static_assets: Complete
[  +12 ms] web_templated_files: Complete
[  +46 ms] Skipping target: web_release_bundle
[ +118 ms] web_service_worker: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: ../html/index.html,../html/flutter_bootstrap.js}
[ +261 ms] web_service_worker: Complete
[   +1 ms] Persisting file store
[   +7 ms] Done persisting file store
[  +11 ms] Compiling lib/main.dart for the Web... (completed in 781ms)
[        ] ✓ Built ../html
[   +1 ms] "flutter web" took 1,065ms.
[   +1 ms] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.2, on Arch Linux 6.9.7-zen1-1-zen, locale en_GB.UTF-8)
    • Flutter version 3.22.2 on channel stable at /home/user/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (4 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 17.0.6
    • cmake version 3.29.6
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Arch Linux 6.9.7-zen1-1-zen
    • Chrome (web)    • chrome • web-javascript • Google Chrome 126.0.6478.114

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

I cannot repro the behavior on macos
with a slightly different index.html;

create a new app,
added "style" to index.html
replaced  main.dart with the code below

index.html

<!DOCTYPE html>
<html>
<head>
  <base href="$FLUTTER_BASE_HREF">

  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="description" content="A new Flutter project.">

  <!-- iOS meta tags & icons -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="issue_151345">
  <link rel="apple-touch-icon" href="icons/Icon-192.png">

  <!-- Favicon -->
  <link rel="icon" type="image/png" href="favicon.png"/>

  <title>issue_151345</title>
  <link rel="manifest" href="manifest.json">

  <!-- style added from https://github.com/flutter/flutter/issues/151345 sample-->
  <style>
    body {
      background-color: #ff0000;
    }
  </style>

</head>
<body>
  <script src="flutter_bootstrap.js" async></script>
</body>
</html>

doctor
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(context) => const MaterialApp(home: MyHome());
}

class MyHome extends StatelessWidget {
  final double height, width;
  const MyHome({
    super.key,
    this.height = 100,
    this.width = 100,
  });

  @override
  Widget build(context) => Center(
        child: SizedBox(
          width: width,
          height: height,
          child: Draggable<int>(
            feedback: Container(
              width: width,
              height: height,
              color: Colors.green,
            ),
            child: Container(
              width: width,
              height: height,
              color: Colors.blue,
            ),
          ),
        ),
      );
}

index.html
[!] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-US)
  • Flutter version 3.22.2 on channel stable at /Users/francesco/fvm/versions/stable
  ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.4.4/libexec/bin/dart, which is not inside your current Flutter SDK checkout at
    /Users/francesco/fvm/versions/stable. Consider adding /Users/francesco/fvm/versions/stable/bin to the front of your path.
  • Upstream repository https://github.com/flutter/flutter.git
  • Framework revision 761747bfc5 (5 weeks ago), 2024-06-05 22:15:13 +0200
  • Engine revision edd8546116
  • Dart version 3.4.3
  • DevTools version 2.34.3
  • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
  • Android SDK at /Users/francesco/Library/Android/sdk
  • Platform android-34, build-tools 34.0.0
  • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
  • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
  • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
  • Xcode at /Applications/Xcode.app/Contents/Developer
  • Build 15F31d
  • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
  • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
  • Android Studio at /Applications/Android Studio.app/Contents
  • Flutter plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/9212-flutter
  • Dart plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/6351-dart
  • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.89.1)
  • VS Code at /Applications/Visual Studio Code.app/Contents
  • Flutter extension version 3.88.0

[✓] Connected device (3 available)
  • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
  • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.5 23F79 darwin-arm64
  • Chrome (web)                    • chrome                • web-javascript • Google Chrome 120.0.6099.71

[✓] Network resources
  • All expected network resources are available.

! Doctor found issues in 1 category.

Thanks for the report @OmniLad
Can you elaborate as what should be the expected behavior upon running the code ? I tried the same on macos but not sure what exactly should be observed to claim it as an issue.

Thank you both for the replies. Apologies, I could've elaborated more.
When a widget is drawn off of the main Flutter app in the CanvasKit renderer, the draws are never removed. Using the HTML renderer, the draws are removed as expected. I'm only observing this behaviour inside of Chromium Embedded Framework, which has been embedded into the game FiveM, running on Windows 10.
Interestingly, I cannot replicate the behaviour if I run the web app in my own browser. Only inside of CEF does the issue occur.
Please see the below videos:
HTML Renderer:
https://github.com/flutter/flutter/assets/16383669/1afe2f0d-2e73-4df5-9b2a-2076e4bb81ee
CanvasKit Renderer:
https://github.com/flutter/flutter/assets/16383669/723b5ecb-abf0-49ab-a566-75ae684b339e
Code
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Center(
        child: SizedBox(
          width: 500,
          height: 500,
          child: Scaffold(
            appBar: AppBar(
              title: Text("Issue 151345"),
            ),
            body: Draggable<int>(
              feedback: Container(
                width: 100,
                height: 100,
                color: Colors.green,
              ),
              child: Container(
                width: 100,
                height: 100,
                color: Colors.blue,
              )
            ),
          ),
        )
      ),
    );
  }
}

Keeping the issue open for team's attention / input on behavior reported.

In order to fix this, we'll need a way to reproduce this. Unfortunately, we're not setup to test on CEF. Could it be that the render target is somehow shared by both Chromium and the game, and the portion outside the Flutter app fails to clear? We clear the canvas between frames, but perhaps the area that's being cleared is limited to the canvas size? If that's the case, then the bug seems to be somewhere between CEF and the game. There's no Web API that Flutter could use to clear outside the canvas. That would be some non-standard functionality.


Use the same backoff/retry mechanism

Remove the gokpg.in/olivere/elastic.vx/backoff directory and move everything to use the same backoff/retry mechanism (e.g. BulkProcessorService).

Fixed in v5.0.23.


Set Up a Workflow With Extended Employee Onboarding

Tutorial URL: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-3-workflow.html
When I try to deploy the application, I am getting following errors and deployment failed.
12:26:56 PM (DeploymentToCF) Deployment of the "sample.onboarding.mta" project started.
12:26:57 PM (DeployService) Deployment in progress.
12:26:57 PM (DeployService) Deploying /sample.onboarding.mta/mta_archives/sample.onboarding.mta_0.0.1.mtar to endpoint: https://api.cf.us10.hana.ondemand.com, organization: S0009650633, space: dev.
12:28:34 PM (DeployService) Target: https://deploy-service.cfapps.us10.hana.ondemand.com/slprot/S0009650633/dev/slpPreparing to deploy /sample.onboarding.mta/mta_archives/sample.onboarding.mta_0.0.1.mtarPrepare deployment filesChecking if there are conflicting processesFound 1 conflicting processesAborting process 123199967Uploading mtar archiveStarting deploymentDeploying in org "S0009650633" and space "dev"Detected MTA schema version: "3"Detected deployed MTA with ID "sample.onboarding.mta" and version "0.0.1"Detected new MTA version: "0.0.1"Deployed MTA version: "0.0.1"Processing service "sample_onboarding_html5_repo_host"...Updating application "uiDeployer"...Application "uiDeployer" attributes are not modified and will not be updatedService "sample_onboarding_html5_repo_host" will not be rebound to application "uiDeployer" because the binding parameters are not modifiedUploading application "uiDeployer"...Staging application "uiDeployer"...Application "uiDeployer" stagedStarting application "uiDeployer"...Application "uiDeployer" startedApplication "uiDeployer" executedStopping application "uiDeployer"...Deleting discontinued configuration entries for application "uiDeployer"...Error building content deployment configuration for module: "onboarding": Controller operation failed: 404 Not Found: Service workflow_sample_onboarding not found. To download logs of the process, use the multi-target application plug-in for the Cloud Foundry CLI command "cf dmol -i 123210557" directly in your Cloud Foundry space.For more information see https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e93b231895b64cbc9221a62953563a6f.html.Job failed.
12:28:34 PM (DeploymentToCF) Deployment of the "sample.onboarding.mta" project failed.(Response state is FAILED)

Did it solve? The error messages says that you have already deployed a version of this MTA. The default version in the MTA is 0.0.1 and If you are not trying out this for first time and have deployed this MTA before then you need to change the version in the MTA file to say 0.0.2 etc. depending upon the last version you deployed.

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.

The error message says:
"Controller operation failed: 404 Not Found: Service workflow_sample_onboarding not found. "
This is exactly the resource you are asked to delete during the tutorial. I filed an extra issue on this.


scala 2.13 build

Travis has an issue: it's using the jvm version of master .
I changed the configuration on master. Can you please rebase your PR on it so that we can use travis to check this PR?

still the same issue.
I merge nevertheless.


Add asymmetric JWT algo support

Proposed changes:

Implements a new CLI option for specifying JWT private key required to add support for asymmetric algorithms.

Status (please check what you already did):

[x] added some tests for the functionality
[x] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[X] reformat files using black (please check Readme for instructions)

Also, is this based on 3.2.x on purpose?

@znat Yes, based on the Jira thread, this was requested in a 3.2.x micro, I'll port it to 3.3.x too once this gets approved.


Metadata decoupling

Remove SourceID, SourceMobSlotID and Length dependency on AAF writer
Co-authored-by: Freeson Wang<EMAIL_ADDRESS>

Codecov Report

Merging #460 into master will decrease coverage by 0.07%.
The diff coverage is 65.9%.

@@            Coverage Diff             @@
##           master     #460      +/-   ##
==========================================
- Coverage   87.21%   87.13%   -0.08%
==========================================
  Files          67       67
  Lines        6819     6824       +5
==========================================
- Hits         5947     5946       -1
- Misses        872      878       +6

Impacted Files
Coverage Δ

...neio_contrib/adapters/advanced_authoring_format.py
90.6% <100%> (+0.02%)
:arrow_up:

...elineio_contrib/adapters/aaf_adapter/aaf_writer.py
91.69% <63.41%> (-1.91%)
:arrow_down:

Continue to review full report at Codecov.

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


Export: menu: does not provide feedback for lengthy operations

Export menu -- generating PDF's or other output is not instant, and does not provide "please wait" dialog, wait cursor, or other indication.

Fixed in 844ef24. Also live on staging server: gmu.azavea.com


Documentation changes

Hardcodes broken  links for now in two places - src/pages/getting-started/cli/index.mdx and src/pages/getting-started/deploy-app/index.mdx
Reflects rename of acp-dev script to acp-users and updates language in Dev Guide to reflect change
Updated Deploy App content

@holly-cummins Can you take a look at this page and see that it reflects the changes you were looking for - https://ibm-garage-cloud.github.io/ibm-garage-developer-guide-staging/


What's the meaning of "Service discovery" and sdUri's Sever

we wan't to kown how to use it

Pls google it


Update use of discord.py for version 2.0

Not actually sure what version of discord.py you're running but I noticed when testing that the usage has changed in ways that impact the way the bot runs when using 2.0 or later.
errors moved from discord.errors to discord and editing a message returns a new message instance reflecting the changed content (this causes the bot to send more edits than necessary when a known game/message changes...)

$ pip list | grep -i discord
discord.py                         2.3.2


Behavior when file is being modified by an external process

Other text editors will notify you and ask you if you want to reload the file from disk or keep the current content and mark the file as changed (this is configurable). Pragtical will auto-reload the file without notifying me that the file is being modified by an external process.

Yeah, that default behavior is annoying, I totally forgot about it because I have the always ask flag turned on https://github.com/pragtical/pragtical/blob/master/data/plugins/autoreload.lua#L10
I guess it should be set to true by default for the safetyness of the editing session, what do you think?

Yeah, that default behavior is annoying, I totally forgot about it because I have the always ask flag turned on https://github.com/pragtical/pragtical/blob/master/data/plugins/autoreload.lua#L10
I guess it should be set to true by default for the safetyness of the editing session, what do you think?

I think it should be set to true.


Feature request: add keyboard shortcut to cycle between unread chats.

Coming from this slack 🧵
Problem
Guides are the most frequent and power users. They have to keep track of many reports. They have ~10 pinned chats at any given time to keep track of the people they’re engaged with.
New messages easily get lost in the pinned chats and is their biggest pain point.
Solution
Add the keyboard shortcut: Shift + ⌥ + Arrow up / Arrow down to cycle between unread chats.

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Triggered auto assignment to @JmillsExpensify (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero process steps for feature requests for more details.

I can certainly bring this to #product to gauge excitement for the change more broadly!

Asked in #product here https://expensify.slack.com/archives/C03U7DCU4/p1680274660075189

Circling back here.. I wonder if we generalize the problem / Solution a bit it might be better. Something like:
"Proposal: Add a keyboard shortcut to cycle between chats in Expensify Chat.

Solution: Add the keyboard shortcut: Shift + ⌥ + Arrow up / Arrow down to cycle between chats.
After all, Guides are encouraged to use #focus mode as a best practice

Thats great reasoning, closing this based on that


PEX 2.0 Allow wildcard in the middle of permission node

So for PEX 2.0 we lost the ability to use wildcards in the middle of permission node. This can be useful when you have multiple arguments in a single permission node. An example could be damage.entity.from.damagesource or break.block.using.item. These are only examples, and personally I have permission nodes that might take something like 4 arguments, making it even worse to manage.

break.block..item would be the same as break.block. so there's really no reason to have break.block.*.item.

I think item might've intended to be a placeholder -- so break.<block>.using.<item> might be a better example. Regardless, this is an issue that is worth consideration.
Throwing some implementation ideas out there (mostly for myself), this would require having "unmatched" children values, so if the actual permission didn't have a set value the resolution code would go up the tree and see if any 'wildcard' nodes had children with appropriate/stronger values set.
My gut feeling is that a trivial implementation of this would not be that great performancewise due to the extreme potential for backtracking (possibly for a lot of levels), but some degree of optimization would be possible (caching results, marking in child nodes whether any of their parents have defaults (but making updates to the tree more expensive), etc). If anything stops this from being implemented, it's going to be performance issues, but I'd have to make an implementation and profile it in comparison.
Adding this functionality would assign special meaning to the * node segment again, and could allow for users granting node but none of its children by denying node.* as a side effect.

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


Extend no-invalid-this rule to disallow this in functions in methods

This PR extends the [no-invalid-this] with the option "in-function-in-method".
If it is enabled it complains about the usage of the this keyword inside of function expression within a method.
this in such function expressions is usually meant to refer the this outside of the functions scope.
This rule will not complain about this in arrow functions.
In our project, it happened often when migrating JS to TS. With an angular service written as
angular.module('a',[]).factory('Service', function(Helper, Enhancer){
return {
    getAllMapped: function(){
         return Helper.getAll()
             .map(function(item){
                  return Enhancer.enhance(item);
             })
    }
}
});

We often end up with
class ServiceClass {
    constructor(private Helper, private Enhancer){
    }

    public getAllMapped() {
         return this.Helper.getAll()
             .map(function(item){
                  return this.Enhancer.enhance(item);
             })
    }
}
angular.module('a',[]).service('Service', ServiceClass);

which will not work as this.Enhancer is not defined.

Looks good to me logic-wise @inthemill! If you could just make the couple tweaks listed above about the rule's API and style things, we'll be able to merge this after.

Looks great, thanks @inthemill!


build(deps): bump munit from 1.0.0 to 1.0.1

About this PR
📦 Updates org.scalameta:munit from 1.0.0 to 1.0.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (1.0.0).
You might want to review and update them manually.
.gitmodules

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "munit" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "munit" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #133.


[Feat] 4/n Add Inter Batch Parallelism

What does this PR do?

This PR does the follow:

Remove IteratorBatchProcessor
Add support for InterBatchParallelism
Add support for passing the dataloader_iter to the training_step.

Fixes https://github.com/PyTorchLightning/pytorch-lightning/issues/8867
Fixes https://github.com/PyTorchLightning/pytorch-lightning/issues/8316
TODOs:
GPU memory leak.
tests/trainer/loops/test_evaluation_loop.py::test_memory_consumption_validation

Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Closing this PR as it has been sliced out onto smaller pieces as suggested by @ananthsub.


Remove spaces

Under target CSV file. Otherwise, there are regarded as invalid emails and won't send.
https://github.com/securestate/king-phisher/wiki/Running-A-Campaign

Fixed, thanks!


gauge run having only fat .jar file and specs folder

Expected behavior
I have created a Docker image that has gauge installed and java plugin enabled. I also added the fat .jar file that contains step implementations.
I mounted a volume with the specs folder and I want to run 'gauge run specs/' and my specs to be executed
Is there any way to run specs without deploying the source code of the steps implementation ?
Actual behavior
gauge cli returns 'Failed to find project directory'
Steps to reproduce
I will simplify by avoiding docker this time; will use a temporary folder instead of a docker container.

Create a gauge project with gauge init java_gradle and add some steps implementation
run gradle assemble and copy the build/libs/*.jar into a ~/tmp/test folder
copy specs folder into ~/tmp/test folder
cd ~/tmp/test and run 'gauge run specs/'

Gauge version
1.0.7

@raducrisan1 For a folder to be recognized as a Gauge test folder, you should not only copy over the specs folder. The manifest.json file is needed for Gauge to find out which plugins and language runner to use. The env folder is required too. Along with that, you may have to put your jar file in the libs directory, for it to be found by Gauge. Refer https://docs.gauge.org/configuration.html?language=java#language-plugin-configurations for any configurations that you may need to do.


FileNotFoundError: [Errno 2] No such file or directory: 'resource.json'

code:
#win64 python3.6.5
import pokebase as pb

chesto = pb.NamedAPIResource('berry', 'chesto')

print(chesto.name)

first time  error:

requests.exceptions.HTTPError: 503 Server Error: Service Temporarily Unavailable for url: http://pokeapi.co/api/v2/berry

then always:

FileNotFoundError: [Errno 2] No such file or directory: 'resource.json'

I don't understand your issue, could you please clarify? It appears to me that the second error occurred as a result of the first, and the first happened because the PokeAPI server was unable to handle your request (I have no control over that). It would help me help you if you could give more specifics about the exact steps taken here.

Sorry for not express clearly before.
I dig into a little and get this: DDoS protection by Cloudflare.It seems that the site use Cloudflare to prevent from DDoS attack so cause the 503 Server Error.

    DDoS protection by Cloudflare

    Ray ID: 42cbaa2190e37c28

I try to add headers to the request,but still not working.Maybe my IP address is banned.I will continue to play with it when I get the time.
If you have any good idea pls let me know thx.

Can you access the API from your browser? If you are being blacklisted by Cloudflare or PokeAPI, I'd like to know that's the case, and not the wrapper. If you still cannot access API data in your browser window, head on over to the PokeAPI Slack, and let those folks know what's going on (If you have not done so already).

Yes.site:https://pokeapi.co/api/v2/berry/ return:
{"count":64,"previous":null,"results":[{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/1\/","name":"cheri"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/2\/","name":"chesto"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/3\/","name":"pecha"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/4\/","name":"rawst"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/5\/","name":"aspear"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/6\/","name":"leppa"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/7\/","name":"oran"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/8\/","name":"persim"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/9\/","name":"lum"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/10\/","name":"sitrus"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/11\/","name":"figy"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/12\/","name":"wiki"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/13\/","name":"mago"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/14\/","name":"aguav"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/15\/","name":"iapapa"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/16\/","name":"razz"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/17\/","name":"bluk"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/18\/","name":"nanab"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/19\/","name":"wepear"},
{"url":"https:\/\/pokeapi.co\/api\/v2\/berry\/20\/","name":"pinap"}],
"next":"https:\/\/pokeapi.co\/api\/v2\/berry\/?limit=20&offset=20"}

Input:
import pokebase as pb
print(pb.pokemon(1))

Output/ Error:
Traceback (most recent call last):
  File "<pyshell#68>", line 1, in <module>
    pb.pokemon(1)
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\loaders.py", line 483, in pokemon
    return NamedAPIResource('pokemon', id_or_name)
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 319, in __init__
    self.load()
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 367, in load
    self.__setattr__(k, [make_obj(i) for i in v])
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 367, in <listcomp>
    self.__setattr__(k, [make_obj(i) for i in v])
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 278, in make_obj
    return APIMetadata(d)
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 464, in __init__
    self.__setattr__(k, make_obj(v))
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 276, in make_obj
    return NamedAPIResource(location, name, False)
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 311, in __init__
    n = APIResourceList(r).id_to_name(name)
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 395, in __init__
    response = lookup_resource(name)
  File "C:\Users\Harhit\AppData\Local\Programs\Python\Python36\lib\site-packages\pokebase\api.py", line 191, in lookup_resource
    with open('resource.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'resource.json'

I am also experiencing this issue.
I am using a Raspberry Pi, running Raspbian 2018-06-27.
Installed pokebase using:
sudo pip3 install pokebase

Running:
from pokebase import pokemon
pokemon("Charmander")

Produces the error:
Traceback (most recent call last):
  File "/home/pi/test_pokebase.py", line 2, in <module>
    pokemon("Charmander")
  File "/usr/local/lib/python3.5/dist-packages/pokebase/loaders.py", line 483, in pokemon
    return NamedAPIResource('pokemon', id_or_name)
  File "/usr/local/lib/python3.5/dist-packages/pokebase/api.py", line 311, in __init__
    n = APIResourceList(r).id_to_name(name)
  File "/usr/local/lib/python3.5/dist-packages/pokebase/api.py", line 395, in __init__
    response = lookup_resource(name)
  File "/usr/local/lib/python3.5/dist-packages/pokebase/api.py", line 191, in lookup_resource
    with open('resource.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'resource.json'

Ok, so I have done some investigation...
It seems that when pokebase first creates the cache something can fail (I couldn't replicate what fails) but as a result I had an incomplete cache structure missing, importantly for this error, the "resource.json" file.
Deleting the cache
rm -rf ~/.cache/pokebase
... and re-running pokebase resolved the error.
Looking at the codebase for v1.2 (3e4655c3925c1508f666668dd04b409c5a24c3b3) a fix would to change the test in lookup_resource to see if the cache exists to look for the existence of the 'resource.json' file not just the directory:
e.g. from
if os.path.exists(name) and not force_reload:

to:
if os.path.exists(os.path.join(name, 'resource.json')) and not force_reload:

Fyi - we (the Raspberry Pi foundation) use pokebase in 1 of our online courses (to inject some fun and download pokemon - thanks) and I have seen quite a few people feedback this issue so it suggests it is not a freak occurrence and something which happens with some frequency.

If you experience this error, deleting the pokebase cache should resolve the issue.
In windows open a command prompt and run:
rmdir /s "%USERPROFILE%\.cache\pokebase"

In Linux (inc Raspberry Pi), macOs open a terminal and run:
rm -rf ~/.cache/pokebase/

Thanks @martinohanlon !
I would implement your code fix immediately, but the Pokebase structure has changed dramatically in the past week. There's still a bit more to do, but I'm gearing up for a 2.0 release. Much of the backend has been changed, for easier maintenance, but the biggest thing is that pokebase now uses shelve to store and cache the data, to avoid all the awkward directory and file creation. 1 cache, 1 file.
The source (Github) version is behind the one on PyPI because I haven't yet finished my testing improvements for the module, and along with the fact that Python 2 support should (probably) be added back in.
So please keep an eye out for 2.0 release, when this issue will no longer continue.

Thanks @martinohanlon That works yay!

On windows 10 I am experiencing the same error:
FileNotFoundError: [Errno 2] No such file or directory: 'resource.json'
When I try to run code similar to:
from pokebase import pokemon pokemon("Charmander")
I have tried to delete the cache as per martinohanlon suggested, and have also uninstalled/reinstalled. Neither fix is working for me.


Graphics.alpha not in documentation.

In the latest version of Phaser, the Phaser.Graphics documentation lacks the alpha property. I was wondering if a Graphics object can have its opacity modified and I checked there, but found nothing. When I went in the Javascript console to test, though, the alpha property was there and I was able to set it with no problem. It worked too.

Yeah this was related to #2837 which is now fixed in Phaser CE.


CRLF breaks importing components when used with front matter

Hi there, great project!
When I try to import a component below front matter like so:
---
title: Example
description: This is an example
---
import { MDXBreadboard } from 'mdx-breadboard'

It sometimes throws an error:
Uncaught ReferenceError: MDXBreadboard is not defined
When I remove the front matter, the component seems to work just fine.
Any suggestions?

Hi @jamesknelson this issue isn't relating to MDXBreadboard but any component that's imported this way, below front matter. Are you able to reproduce?

Is the error appearing during compilation, or once you run the result? Are you using the loader?
Does the error appear when you paste your content into http://mdxc.reactarmory.com/?

Hey there @jamesknelson - tried this again on a fresh CRA instance and getting the same effect.
Error (missing component):

Seems to be putting import statement within <p> tags

The markdown

The p({}, "import... is interesting - for some reason, the import statement is being treated as raw text.
Any chance you could make a pastebin of one of the source files with the issue?

I've figured this out. It doesn't work for files using CRLF line separators.

Don't think I've permission to re-open @jamesknelson

Thanks for figuring that out. If you can do a PR I'd be happy to merge it, otherwise I'll try and put a fix together once I have some time.


use net 7 for integration tests

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 11.0.999-cibuild0025995-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Blur

Paddy,
I am trying to do what you suggested - I made a branch named "blur" intended to be for this PR all about the blur node.
Perhaps you can have a look in:

AddonExamples/dbat_demos/blur
Filters/LodBlur.gd

Once we finish this PR, I will try the next one.
d

There is still a lot of commit message noise, but I have not a single clue how to mitigate it.

@donn-xx This doesn't seem to be what I asked of you. When I meant a fresh start, I meant completely fresh start from the base 4.0 branch. You seem to have merged your experimental donnv2 branch into this branch again. By this, this PR combines all commit messages into this PR and adds this noise. Please refer to the official godot docs: https://docs.godotengine.org/en/stable/contributing/workflow/pr_workflow.html for the PR workflow. I won't be able to get a proper look at this PR before this is cleaned up.

:( Git really depresses me.


Diff mapping

Created this PR just to be able to share with other teams and hopefully get rid of the custom stuff we have here so we can go back into using the upstream

I think this should be ok.  we can test the proxysql custom check on proxysql003-va2 (our canary, test node)


[OC MVP] Insiders Release (Soft Launch)

[x] deploy flow works (for prod)
[ ] user facing documentation
[x] proper channels for bug reports
[ ] uptime monitoring
[ ] analytics setup and working
[x] final url up and running w/ password
[ ] system for release notes

This is complete


Feat(frontend): add a column width session variable for explaination

We have introduce a class to generate pretty format of explain's result. with a column width, it will give a better format.
https://github.com/risingwavelabs/risingwave/blob/main/src/frontend/src/optimizer/plan_node/mod.rs#L670

Issue without description

add description


Cancel inactive event before marking it as nullptr in PluginVC::process_timeout()

Marking inactive event as nullptr without first cancelling the action in PluginVC::process_timeout() leaves a potential periodic event hanging around. This fix makes sure all periodic event will be cancelled first.

[approve ci]

[approve ci autest]

[approve ci autest]

This has been a persistent problem in Oath production. We've known for a while that it was a problem with the periodic event associated with the inactivity timeout that was not getting canceled and would trigger after the PluginVC had been destroyed, even though the inactive_event had been reset to nullptr. After much messing about @dyrock and I decided the best approach was to simply channel all clearing of inactive_event through a method to guarantee these two things (clearing the event pointer, canceling the event) always happened together. Production testing indicates this fixes the crash problem.

Cherry-picked to 8.0.x

Can you please make a PR against the 7.1.x branch for this ?

The root cause is the inactive_event updated in PluginVC::set_inactivity_timeout without acquire the mutex of PluginVC.

@dyrock Does the SM reset inactivity timeout when it received EVENT_INACTIVITY_TIMEOUT from a PluginVC ? Can you show all the details about the crash problem ?


"Extension" use in "File path" and "Image file path"

"File path" and "Image file path" both refer to a gddOptions.extensions property, that is an array that "Limit which files can be chosen by the user". The problem I see with that is that Web APIs (and some OS as well) generally don't rely on DOS-style "file name extensions" for restricting user file selection. I feel that GDD should follow Web API standards and use an array of MIME-types and MIME-type globs for limiting file types to be selected and expect the implementation to work out how to filter on those MIME-types.
In the case of Web apps (1) and Python (2) its free, Electron-based apps (3) would have to use a MIME-type database like mime-types if not using the Web API, same for C# MimeTypesMap - however it should be possible to interrogate OS mime-type database as well: (4) and (5)

I agree fully! I initially just added those in there as examples of what a GDD-Type could be.
We should definitely rework them

While "File path" is of broader range (it can be anything) I would limit the "Image file path" to the most common image file types png, tiff, targa and maybe bmp or svg. If one needs something else he could use the standard "File path" with the corresponding mime type. That would make the implementation of a UI simpler when one only needs images.


Use Read only mode setting from Code4i before opening files

Check the Code4i setting for Read only mode before opening members so the behavior is consistent between the Project Explorer and Object Browser views.

https://github.com/codefori/vscode-ibmi/issues/2097


Update 058-transactions.mdx

Clarify that using the interactiveTransaction Preview flag needs to be set. Per Issue https://github.com/prisma/prisma/issues/12867

Thanks @Jan and @millsp for your help here. Fixes https://github.com/prisma/prisma/issues/12867.


[ZEPPELIN-1605] zeppelin-interpreter: don't publish shaded JAR on maven central

What is this PR for?

Instead of creating fat jar for zeppelin-interpreter and add it to classpath, place zeppelin-interpreter.jar and dependencies under lib/interpreter directory and add this dir to classpath of zeppelin-server and interpreter. (removed maven-shade-plugin)
Exclude some transitive dependencies from zeppelin-zengine which cause conflicts with those of zeppelin-interpreter
Exclude configuration files(credential.json, notebook-authorization.json, shiro.ini) when create binary package.

What type of PR is it?
Improvement
What is the Jira issue?
ZEPPELIN-1605
How should this be tested?

Check if interpreter directory has created under zeppelin-distribution/target/zeppelin-0.7.0-SNAPSHOT/zeppelin-0.7.0-SNAPSHOT/
Test md interpreter works as expected after running below command:

$ mvn clean package -DskipTests -Pbuild-distr
$ cd zeppelin-distribution/target/zeppelin-0.7.0-SNAPSHOT/zeppelin-0.7.0-SNAPSHOT
$ ./bin/zeppelin-daemon.sh start

Check if md intepreter process has zeppelin-distribution/target/zeppelin-0.7.0-SNAPSHOT/zeppelin-0.7.0-SNAPSHOT/lib/interpreter/* in it's classpath.

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

@minahlee Looks great to me!
Could you please rebase on latest master?
I assume that for testing, it should be enough to build mvn clean package -Pbuild-distr -DskipTests and make sure Zeppelin run from zeppelin-distribution/target is able to execute a paragraph, or is there a better way?

@bzz Thank you for review, I just rebased. And yes, the way you described is correct way to test this PR, I updated it in description.

Sounds awesome, thank you!
Let's merge then, if there is no further discussion.