Inspect with chrome as debugger result in ERR_FILE_NOT_FOUND

Acknowledgements

[X] I read the documentation and searched existing issues to avoid duplicates
[X] I understand this is a bug tracker and anything other than a proven bug will be closed
[X] I understand this is a free project and relies on community contributions
[X] I read and understood the Contribution guide

Minimal reproduction URL
https://github.com/TzeroOcne/tsx-issue
Problem & expected behavior (under 200 words)

What happened
I try to run tsx with --inspect by pnpm start:tsx
What I expected
I expect I can open debugger tool from browser and it will show the ts file that are beign debugged like the example when I use ts-node
Error stack trace
The error that I got from the debugger are this

Could not load content for file:///C:/Users/tzero/temp/tsx-test/src/C:\Users\tzero\temp\tsx-test\src\index.ts (System error: net::ERR_FILE_NOT_FOUND)

Documentation links
I don't think there is any documentation about inspect using chrome as debugger
Screenshots
This what I expect by using ts-node by running pnpm start:ts-node

But I got this with tsx by running pnpm start:tsx

Bugs are expected to be fixed by those affected by it

[X] I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

[ ] I'm willing to offer $10 for financial support

Thanks for the issue. Feel free to work on a PR!

I did some simple tests and found the difference on sourcemap
Take the following code as an example
// test.ts
setInterval(() => {
  debugger
  console.log("aaa");
}, 2000)

After executing the tsx --inspect ./test.ts command (tsx v4.19.1) , the sourcemap json is generated as follows
{
  "version": 3,
  "mappings": "AAAA,YAAY,IAAM,CAChB,SACA,QAAQ,IAAI,KAAK,CACnB,EAAG,GAAI",
  "names": [],
  "ignoreList": [],
  "sources": [
    "/home/debian/tsx-vs-ts-node-inspect/test.ts"
  ],
  "sourcesContent": [
    null
  ]
}

After executing the node --import ./ts-node-register.js --inspect ./test.ts command (ts-node v10.9.2), the sourcemap json is generated as follows
{
  "version": 3,
  "file": "/home/debian/tsx-vs-ts-node-inspect/test.ts",
  "sources": [
    "/home/debian/tsx-vs-ts-node-inspect/test.ts"
  ],
  "names": [],
  "mappings": "AAAA,WAAW,CAAC,GAAG,EAAE;IACf,QAAQ,CAAA;IACR,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACrB,CAAC,EAAE,IAAI,CAAC,CAAA",
  "sourcesContent": [
    "setInterval(() => {\n  debugger\n  console.log(\"aaa\");\n}, 2000)\n"
  ]
}

I think the problem may be caused by the missing attributes of file or sourcesContent in the sourcemap json generated by tsx

I've tweaked the tsx source code a little bit.
diff --git a/src/utils/transform/index.ts b/src/utils/transform/index.ts
index 8448df3..6e1b563 100644
--- a/src/utils/transform/index.ts
+++ b/src/utils/transform/index.ts
@@ -101,10 +101,14 @@ export const transform = async (
 ): Promise<Transformed> => {
        const esbuildOptions = {
                ...cacheConfig,
                format: 'esm',
                sourcefile: filePath,
+               // Reference
+               // https://github.com/evanw/esbuild/blob/d34e79e2a998c21bb71d57b92b0017ca11756912/lib/shared/types.ts#L16
+               // https://esbuild.github.io/api/#sources-content
+               sourcesContent: true,
                ...extendOptions,
        } as const;

        const hash = sha1([
                code,

After executing the ./dist/cli.mjs --inspect ./test.ts command, the sourcemap json is generated as follows:
{
  "version": 3,
  "mappings": "AAAA,YAAY,IAAM,CAChB,SACA,QAAQ,IAAI,KAAK,CACnB,EAAG,GAAI",
  "names": [],
  "ignoreList": [],
  "sources": [
    "/home/debian/projects/2024-daily/tsx-vs-ts-node-inspect/test2.ts"
  ],
  "sourcesContent": [
    "setInterval(() => {\n  debugger\n  console.log(\"aaa\");\n}, 2000)\n"
  ]
}

Then debugger in Chrome Dev Tools works.

While the problem is temporarily solved, the mechanics of how Chrome Dev Tools handles sourcemaps are still not particularly clear.

Thanks for investigating.
Would you be interested in opening a PR to handle that condition here?
https://github.com/privatenumber/tsx/blob/315d5f44f301424de595873f93c102a5c184ab46/src/utils/transform/get-esbuild-options.ts#L24
If the CLI flag is the only way to check if Node is in debugger mode, you can do something like this to check if the flag is passed in:
https://github.com/privatenumber/tsx/blob/315d5f44f301424de595873f93c102a5c184ab46/src/run.ts#L36

closed via https://github.com/privatenumber/tsx/pull/670


Definition File

Where is the definition file for typed-react? tsd query finds zero results.

It's in the repository itself. I recommend using tsd 0.6.0-beta.5

Note: TSD 0.6.1 has been released

Oh awesome!


get_xyz() returns wrong coordinates

I use 'get_xyz' function but the result coordinate is different from coordinate in 'https://sebastian-pagel.net/odrviewer/' .
How can i get world coordinate without error?

By default when loading the map it gets centered. To get the right world coordinate point you probably have to add OpenDriveMap::x_offs and y_offs.

closed due to inactivity


7249 Support inline value sets in UP Sender Transform schema

This PR makes changes to the initial valueset implementation and adds a unit test to verify the valuesets function as expected.
Test Steps:

Run the test transform with value set unit test and verify the result passes.

Changes

Adjust the conditions in which valuesets are evaluated.
Change the valueset value to be parsed as a string rather than a FHIRPath expression.
Ensure the original untransformed value is preserved if a valueset key is not matched.
Added unit testing for valueset.
Reorganized unit tests and adjusted existing tests to match expected behavior.
ktLint formatting updates unrelated to this story.

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[x] Added tests?

Linked Issues

#7249

I think it would be appropriate to create a user document for the valueset feature in general. For example, in your PR description, you have: Adjust the conditions in which valuesets are evaluated. Wouldn't it be nice if engagement team knew what these were without looking at code? We should document all configuration options, but as part of this ticket we can document "valuesets".
I propose you add the documentation to this PR for now, and then we can decide where to put it. Thoughts?

I think it would be appropriate to create user documentation for the valueset feature in general. For example, in your PR description, you have: Adjust the conditions in which valuesets are evaluated. Wouldn't it be nice if engagement team knew what these were without looking at code? We should document all configuration options, but as part of this ticket we can document "valuesets".
I propose you add the documentation to this PR for now, and then we can decide where to put it. Thoughts?

There is already some documentation I was working off of linked in the original issue. The link is here:
https://app.zenhub.com/files/304423150/d666073a-0d70-42dc-9779-82f163ae5593/download
I'll try to edit the PR description to be more clear.

To automatically close and issue when this PR is merged, you should update the description to this syntax:
- Fixes #7249
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

To automatically close and issue when this PR is merged, you should update the description to this syntax:
- Fixes #7249
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

We have been intentionally not doing this because we need the issue to go to Product Review rather than be closed automatically.

Where do we test that we can actually read and load the valueset from the FHIR transform file?

By FHIR transform file do you mean a sender schema? I think that piece relies on #8833.


Add support for whitelisting and blacklisting keys

Add .whitelist, .unwhitelist, .blacklist, .unblacklist functions to
RateLimit class
Add supporting Lua code to check for blacklisted/whitelisted keys
Add tests
Update readme
Update version

Also adds a test helper with cleanup that should be common to all tests.

lgtm


[Feature]: Operator can view basic performance metrics for Korifi controllers via Prometheus

Blockers/Dependencies
No response
Background
As a Korifi Operator
I want to scrape metrics from the Korifi controllers
So that I can monitor the performance of my system
For the scope of this story/epic, we will not add additional metrics to the controller-manager, or add a metrics endpoint to the API shim. We will wait to hear from consumers if such steps are necessary.
Acceptance Criteria
GIVEN a running Korifi installation
WHEN I install Prometheus on my cluster
AND I query controller_runtime_active_workers from the Prometheus server web UI
THEN I can see statistics for Korifi controllers have been scraped
AND I can see that statistics for the kpack-image-builder controller manager have been scraped
AND I can see that statistics for the statefulset-runner controller manager have been scraped
AND I can see that statistics for the job-task-runner controller manager have been scraped

Dev Notes
It appears that our controller manager is already serving metrics on the default port and path:
 root@korifi-controllers-controller-manager-85f564c6f6-jzhr6:/# curl localhost:8080/metrics
 # HELP controller_runtime_active_workers Number of currently used workers per controller
 # TYPE controller_runtime_active_workers gauge
 controller_runtime_active_workers \{controller="cfapp"} 0
 controller_runtime_active_workers\{controller="cfbuild"} 0

It seems likely that we only need to add the correct annotations on our pods so that Prometheus can find them. From observation, it appears that only the prometheus.io/scrape annotation is fully necessary since the defaults for path and port are already correct.
Alternately, the controller runtime creates prometheus monitor configuration that could be enabled by uncommenting the prometheus overlays in the default configuration. The downside to that approach however is that it uses a CRD which may not exist on non-prometheus clusters, so it might fail to install in that case. (This should be very easy to test.)

A/C passed


Exception thrown when importing playlist

2020-07-20 16:43:28,983 - WARNING - Found unknown fields received from API! Please copy warn message and send to https://bit.ly/3dsFxyH (github issue), thank you!
2020-07-20 16:43:28,987 - WARNING - Type: <class 'yandex_music.track.meta_data.MetaData'>; kwargs: {'version': 'Visit http://aniimlmusic.bandcamp.com'}
2020-07-20 16:43:28,992 - INFO - Importing track: ANIIML - SLAY!...
2020-07-20 16:43:29,191 - INFO - OK
2020-07-20 16:43:29,191 - INFO - Saving 1 tracks in playlist ANIIML - SLAY! (2018)...
2020-07-20 16:43:29,407 - INFO - OK
2020-07-20 16:43:29,641 - INFO - Importing playlist LEViT∆TE - Fatalism EP (2019)...
Traceback (most recent call last):
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.6/http/client.py", line 1356, in getresponse
    response.begin()
  File "/usr/lib/python3.6/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.6/http/client.py", line 276, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tu/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/tu/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.6/http/client.py", line 1356, in getresponse
    response.begin()
  File "/usr/lib/python3.6/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.6/http/client.py", line 276, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "importer.py", line 233, in <module>
    Importer(spotify_client_, yandex_client_, arguments.ignore).import_all()
  File "importer.py", line 190, in import_all
    item()
  File "importer.py", line 144, in import_playlists
    self.spotify_client.playlist_upload_cover_image(spotify_playlist_id, encode_file_base64(filename_jpg))
  File "/home/tu/.local/lib/python3.6/site-packages/spotipy/client.py", line 553, in playlist_upload_cover_image
    content_type="image/jpeg",
  File "/home/tu/.local/lib/python3.6/site-packages/spotipy/client.py", line 225, in _put
    return self._internal_call("PUT", url, payload, kwargs)
  File "/home/tu/.local/lib/python3.6/site-packages/spotipy/client.py", line 172, in _internal_call
    timeout=self.requests_timeout, **args
  File "/home/tu/.local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/tu/.local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/tu/.local/lib/python3.6/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))```

The same playlist as in the library issue?

The same playlist as in the library issue?

yes

OR may be this one: https://bit.ly/2E0yNuQ
Both playlists have uploaded tracks

Do playlists have custom covers or from tracks?

Do playlists have custom covers or from tracks?

custom

@glebliutsko cover download link is available. Size 1000x1000 exists

@glebliutsko  what's the move?

@vtuu can you check on another branch?


Song downloads without displaying a name

https://soundcloud.com/nickraymondg/slum-village-fall-in-love

Fixed


Unable to import SimpleClassifier from simple_learn.Classifiers

Describe the bug
Installed simple-learn. Tried importing SimpleClassifier from simple_learn.classifiers for trying the first SimpleLearn program.
Faced " No module named 'simple_learn.classifiers' " error.
To Reproduce
Steps to reproduce the behavior:

Run 'pip install simple-learn'
On the python console, Run 'from simple_learn.Classifiers import SimpleClassifier'

Expected behavior
Should have been able to import SimpleClassifier without any error message.
Screenshots
If applicable, add screenshots to help explain your problem.

Also, if you check the site packages/simple_learn folder, there is no Classifiers present.

Desktop (please complete the following information):

OS: [Windows 10]
Browser: [e.g. chrome, safari]
Version: [e.g. 0.0.1]

Additional context
Add any other context about the problem here.

Hi @mavismonica, thanks for bringing this to our attention. It seems to me that you are on an earlier version(0.0.1).  Can you try running the following command to upgrade simple-learn to the latest version and see if you get the same issue:
$ pip install simple-learn --upgrade

Hi @mavismonica, thanks for bringing this to our attention. It seems to me that you are on an earlier version(0.0.1).  Can you try running the following command to upgrade simple-learn to the latest version and see if you get the same issue:
$ pip install simple-learn --upgrade

I replicated the same behaviour. I believe I have the most up-to-date version of simple learn aswell.
Name: simple-learn
Version: 0.0.11
Summary: A python package to simplify data modeling.
Home-page: https://github.com/skekre98/simple_learn
Author: Sharvil Kekre
Author-email<EMAIL_ADDRESS>License: UNKNOWN

Here's the same error as @mavismonica
>>> from simple_learn.classifiers import SimpleClassifier
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'simple_learn.classifiers'

Additional context
I also tried it in the python shell and got the following. I might of gone off on a tangent for nothing so apologies if that's the case. However, what is the "clf" line meant to call to retrieve the json?  Also the clf.fit returns None, is it because the "str method" isn't returning the json? Again if I'm way off sorry. Just trying to learn and I'm finding this all rather interesting. I think this is a seperate issue aswell, as it's not a module error.
clf returns the object.
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf.fit(iris.data, iris.target)
>>> clf
<simple_learn.classifiers.simple_classifier.SimpleClassifier object at 0x000001C039DAB790>
>>>

clf_fit stores None but that makes sense as the fit method doesn't return anything in the code, is it meant to pass itself to the str method?
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf_fit = clf.fit(iris.data, iris.target)
>>> clf_fit
>>> print(clf_fit)
None

I replicated the same behaviour. I believe I have the most up-to-date version of simple learn aswell.
Name: simple-learn
Version: 0.0.11
Summary: A python package to simplify data modeling.
Home-page: https://github.com/skekre98/simple_learn
Author: Sharvil Kekre
Author-email<EMAIL_ADDRESS>License: UNKNOWN

Here's the same error as @mavismonica
>>> from simple_learn.classifiers import SimpleClassifier
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'simple_learn.classifiers'

Additional context
I also tried it in the python shell and got the following. I might of gone off on a tangent for nothing so apologies if that's the case. However, what is the "clf" line meant to call to retrieve the json?  Also the clf.fit returns None, is it because the "str method" isn't returning the json? Again if I'm way off sorry. Just trying to learn and I'm finding this all rather interesting. I think this is a seperate issue aswell, as it's not a module error.
clf returns the object.
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf.fit(iris.data, iris.target)
>>> clf
<simple_learn.classifiers.simple_classifier.SimpleClassifier object at 0x000001C039DAB790>
>>>

clf_fit stores None but that makes sense as the fit method doesn't return anything in the code, is it meant to pass itself to the str method?
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf_fit = clf.fit(iris.data, iris.target)
>>> clf_fit
>>> print(clf_fit)
None

@Turtle24 thanks for the additional info. I am able to reproduce the issue now:
Python 3.7.6 (default, Jan  8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from simple_learn.classifiers import SimpleClassifier
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'simple_learn.classifiers'

I'll mark this as a bug. Out of curiosity, how were you able to import SimpleClassifier here:
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf_fit = clf.fit(iris.data, iris.target)
>>> clf_fit
>>> print(clf_fit)
None

@Turtle24 thanks for the additional info. I am able to reproduce the issue now:
Python 3.7.6 (default, Jan  8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from simple_learn.classifiers import SimpleClassifier
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'simple_learn.classifiers'

I'll mark this as a bug. Out of curiosity, how were you able to import SimpleClassifier here:
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf_fit = clf.fit(iris.data, iris.target)
>>> clf_fit
>>> print(clf_fit)
None

I have fixed the import issue here: #47. However there is still the issue of the __str__ function not working correctly which can be handled in a separate PR as I believe it is a different issue. @Turtle24 would you mind opening a separate bug issue to elaborate on this for tracking purposes?

I have fixed the import issue here: #47. However there is still the issue of the __str__ function not working correctly which can be handled in a separate PR as I believe it is a different issue. @Turtle24 would you mind opening a separate bug issue to elaborate on this for tracking purposes?

@skekre98 it's a pleasure. I ran the python terminal from my simple_learn forked project.
PS C:\Users\Aidan\simple_learn> python
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from simple_learn.classifiers import SimpleClassifier
>>> clf = SimpleClassifier()
>>> print(clf)
{
    "Type": "Empty Model",
    "Training Duration": "Nones",
    "GridSearch Duration": "Nones",
    "Parameters": {},
    "Metrics": {}
}

Here's a better look at the issue, seems there's a TypeError causing trouble.
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf
<simple_learn.classifiers.simple_classifier.SimpleClassifier object at 0x000002039C23B790>
>>> print(clf)
{
    "Type": "Empty Model",
    "Training Duration": "Nones",
    "GridSearch Duration": "Nones",
    "Parameters": {},
    "Metrics": {}
}
>>> clf.fit(iris.data, iris.target)
>>> print(clf)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Aidan\simple_learn\simple_learn\classifiers\simple_classifier.py", line 85, in __str__
    return json.dumps(attr, indent=4)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\__init__.py", line 234, in dumps
    return cls(
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 201, in encode
    chunks = list(chunks)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 431, in _iterencode
    yield from _iterencode_dict(o, _current_indent_level)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 438, in _iterencode
    o = _default(o)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type int32 is not JSON serializable
>>>

Here's the proposed fix for the TypeError.
class npEncoder(json.JSONEncoder):
    def default(self, obj):
        if isinstance(obj, np.int32):
            return int(obj)
        return json.JSONEncoder.default(self, obj)
def __str__(self):
. . .
return json.dumps(attr, cls=npEncoder, indent=4)

Result:
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf.fit(iris.data, iris.target)
>>> print(clf)
{
    "Type": "KNeighborsClassifier",
    "Training Duration": "0.0s",
    "GridSearch Duration": "0.11002588272094727s",
    "Parameters": {
        "metric": "euclidean",
        "n_neighbors": 4,
        "weights": "uniform"
    },
    "Metrics": {
        "Training Accuracy": 0.9866666666666667,
        "Jaccard Score": 0.9245283018867925,
        "F1 Score": 0.96
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf.fit(iris.data, iris.target)
>>> print(clf)
{
    "Type": "KNeighborsClassifier",
    "Training Duration": "0.0s",
    "GridSearch Duration": "0.11002588272094727s",
    "Parameters": {
        "metric": "euclidean",
        "n_neighbors": 4,
        "weights": "uniform"
    },
    "Metrics": {
        "Training Accuracy": 0.9866666666666667,
        "Jaccard Score": 0.9245283018867925,
        "F1 Score": 0.96
    }
}

@skekre98 it's a pleasure. I ran the python terminal from my simple_learn forked project.
PS C:\Users\Aidan\simple_learn> python
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from simple_learn.classifiers import SimpleClassifier
>>> clf = SimpleClassifier()
>>> print(clf)
{
    "Type": "Empty Model",
    "Training Duration": "Nones",
    "GridSearch Duration": "Nones",
    "Parameters": {},
    "Metrics": {}
}

Here's a better look at the issue, seems there's a TypeError causing trouble.
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf
<simple_learn.classifiers.simple_classifier.SimpleClassifier object at 0x000002039C23B790>
>>> print(clf)
{
    "Type": "Empty Model",
    "Training Duration": "Nones",
    "GridSearch Duration": "Nones",
    "Parameters": {},
    "Metrics": {}
}
>>> clf.fit(iris.data, iris.target)
>>> print(clf)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Aidan\simple_learn\simple_learn\classifiers\simple_classifier.py", line 85, in __str__
    return json.dumps(attr, indent=4)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\__init__.py", line 234, in dumps
    return cls(
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 201, in encode
    chunks = list(chunks)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 431, in _iterencode
    yield from _iterencode_dict(o, _current_indent_level)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 438, in _iterencode
    o = _default(o)
  File "C:\Users\Aidan\AppData\Local\Programs\Python\Python38\lib\json\encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type int32 is not JSON serializable
>>>

Here's the proposed fix for the TypeError.
class npEncoder(json.JSONEncoder):
    def default(self, obj):
        if isinstance(obj, np.int32):
            return int(obj)
        return json.JSONEncoder.default(self, obj)
def __str__(self):
. . .
return json.dumps(attr, cls=npEncoder, indent=4)

Result:
>>> from sklearn.datasets import load_iris
>>> from simple_learn.classifiers import SimpleClassifier
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf.fit(iris.data, iris.target)
>>> print(clf)
{
    "Type": "KNeighborsClassifier",
    "Training Duration": "0.0s",
    "GridSearch Duration": "0.11002588272094727s",
    "Parameters": {
        "metric": "euclidean",
        "n_neighbors": 4,
        "weights": "uniform"
    },
    "Metrics": {
        "Training Accuracy": 0.9866666666666667,
        "Jaccard Score": 0.9245283018867925,
        "F1 Score": 0.96
>>> iris = load_iris()
>>> clf = SimpleClassifier()
>>> clf.fit(iris.data, iris.target)
>>> print(clf)
{
    "Type": "KNeighborsClassifier",
    "Training Duration": "0.0s",
    "GridSearch Duration": "0.11002588272094727s",
    "Parameters": {
        "metric": "euclidean",
        "n_neighbors": 4,
        "weights": "uniform"
    },
    "Metrics": {
        "Training Accuracy": 0.9866666666666667,
        "Jaccard Score": 0.9245283018867925,
        "F1 Score": 0.96
    }
}


Layout store, actions, and reducers

Provides the base scaffolding for the layout mechanism, including:

Layout store element to keep track of key aspects
Layout actions and reducers to handle adding, positioning, etc
Dropzones for adding next groups to a layout and positioning the accordinly

great work! my comments are pretty minor, so happy to do another pass later or for you to just address them and merge as you see fit


[Question]: PGVectorStore’s QueryResult always returns saved Node as TextNode. Is this intended?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi, I am running the "Joint tabular/semantic QA" example from the documentation, which creates two types of nodes. In this example, UnstructuredElementNodeParser creates IndexNode and TextNode, with IndexNode capturing the caption of tabular data and saving the TextNode's ID containing raw tabular data. Everything works fine without additional changes. However, when I add an external storage context (Postgres vector store for this case), IndexNode is not properly processed by RecursiveRetriever, since every retrieved nodes are TextNode.
I have found that the problem arises because when querying from PGVectorStore, it always returns nodes as TextNode. I assume other vector stores behave similarly, as the metadata_dict_to_node function from vector_stores.utils consistently returns TextNode.
I wonder if this behavior is intentional.
Also, if this behavior is intentional, what would be the best approach to persist IndexNode? I have considered using another storage method for IndexNode, but since it needs to be queried alongside other nodes, I have temporarily customized the PGVectorStore code for my needs.
Thank you!

Hey @pRivAte12, thanks for raising this. Looks like a bug. Will look into it for a fix soon!


GO:0001537 N-acetylgalactosamine 4-O-sulfotransferase activity with no cross reference

GO:0001537 N-acetylgalactosamine 4-O-sulfotransferase activity lacks EC/RHEA cross references.
There is no publication reference either. QuickGO term history says that this term was XREF to Reactome:R-HSA-3636919, which is about Carbohydrate sulfotransferase 14 (CHST14), "the transfer of sulfate to position 4 of N-acetylgalactosamine (GalNAc) residue of dermatan". Also, UniProt annotated CHST14 with EC:<IP_ADDRESS> dermatan 4-sulfotransferase, RHEA:48052
n 3'-phosphoadenylyl sulfate + dermatan = n adenosine 3',5'-bisphosphate + dermatan 4'-sulfate + n H(+)

Propose to rename GO:0001537 dermatan 4-sulfotransferase.

I think this can be closed?

Closed 5 days ago. Something hanging some where?


[EUWE] RBAC fixes

So this one needs a lot of testing. It's a backport of all the RBAC changes.
If we find any more RBAC issues that need fixing we will create new issues/BZs/PRs.
 Though given how large and invasive
these changes are, perhaps second or third opinion would be good here? @himdel or @skateman ?

These are huge amount of changes being backported to EUWE, i have done some testing of various UI screens by creating user with limited access to certain features, over all changes and testing results looks good.

@simaishi : I think we shall proceed.
True, this is complex, but it has been in master and fine for some time now.

@h-kataria, @mzazrivec : thank you for the testing!

👍


Feedback for “Q&A”

i havn t save configuration lama cleaner-wright-Something went wrong
Connection errored out.

error


Add checkboxes to modules, resources, and skills

WIP until #167 is merged into this branch.

@mattstauffer I merged in my branch so this is good to go when you're ready.


Consider making the allocator conform to the API in RFC1398?

See https://github.com/rust-lang/rfcs/blob/master/text/1398-kinds-of-allocators.md

If we do this, that means we'll already be compatible with Rust's custom allocator API when it lands in nightly Rust. We can also reuse code from the RFC.
Of course, the downside is that we'll have to maintain compatibility with an API that may change.

As of e22cc59, we're definitely doing this...


aws-iot-device-client: Fix PACKAGECONFIG[st]

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

Successfully created backport PR for kirkstone-next:

#10346

Successfully created backport PR for scarthgap-next:

#10347

Successfully created backport PR for styhead-next:

#10348


pass default http headers via metadata from api gateway

api gateway needs to pass via metadata kv ttp headers to underlining services.
Mostly this fields contains:

Host
X-Forwarded-Host
Forwarded
X-Forwarded-For
X-Forwarded-Proto
Authorization
Origin
Content-Type

it already filled in api/handler/rpc
may be in other handler this is not needed...

The helper method ctx.FromRequest deals with this

What we need is to set X-Forwarded headers because they don't normally exist

As i see now, this X-Forwarded stuff is not relevant for rpc handler. It always run as http handler and detect source ip is work for middleware. As it can be in X-Real-Ip or X-Forwarded-For or Forwarded and other cases.


Add classes BoundingBox3D and Point3D

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

66 of 66 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+19.6%) to 97.333%

Totals

Change from base Build<PHONE_NUMBER>:
19.6%

Covered Lines:
73

Relevant Lines:
75

💛  - Coveralls


renderFile() does not close AsciiDoc source file

From a Swing GUI application, I invoke something like
Asciidoctor.Factory.create().renderFile(new File("c:/tmp/test.ad"), new Options());

As long as the application is open, "c:/tmp/test.ad" cannot be deleted because Asciidoctor does not properly close the file. I am using AsciidoctorJ <IP_ADDRESS> with  JRuby 1.7.25.

Interesting!
AsciidoctorJ itself does not open the file but pass the abolute file name to Asciidoctor, which then consumes the file.
@mojavelinux Can you say sth to this issue?
Alternatively you could call Asciidoctor.render(Reader, Writer, Map<String,String>).
With this method the reader will be consumed in Java.
The method does not close the reader, but you have it in your hands to do it yourself.

Yes. As a workaround I currently read the whole file into a string and invoke convert().

I didn't realize ::File.new creates an open file object in Ruby (unlike Java where it's just a model object). That means we need to call .close on it if we instantiate it.
Can you file an issue in Asciidoctor core?

(Btw, you should be using convertFile, not renderFile).

@mojavelinux Thanks! Issue filed in Asciidoctor core:
https://github.com/asciidoctor/asciidoctor/issues/1897

Thanks!


Refactored reply structure to a RecordsRead

Currently the reply structure of a RecordsRead is quite messy: (duplicated properties, data stream nested in a message, inconsistent naming etc).
This is an attempt at cleaning it up with a flatter structure.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.72%. Comparing base (d667090) to head (c838763).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #817   +/-   ##
=======================================
  Coverage   98.72%   98.72%
=======================================
  Files          74       74
  Lines       11508    11509    +1
  Branches     1661     1661
=======================================
+ Hits        11361    11362    +1
  Misses        141      141
  Partials        6        6

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


Choice card disappear from UI in a loop case

Tested in QA env.
When there is a choice loop, after adding or deleting some sub-activity card, and then clicking on a choice card.
Instead of the sidebar shown, the choice card disappear, (and the deleted card shown again).
Refresh page can fix the problem and get correct result.
There are two scenarios to reproduce the problem.
Console shows error like below:

This issue has the same root cause as #687
Will test this card together when #687 is Done

Tested in qa-graph-poc.
Choice card disappear problem is not reproducible.

I noticed this error is still occuring in some special cases. When I tried to move the choice card in the screenshot I got this error because of the loop that I also have highlighted. This is process 3552 in POC DEV.

@QiJin-Bouvet Ready for test in poc dev

@nesadrian Please double check the process number.
Process 3552 in DEV doesn't show as the screenshot above.

Tested with process 3767 (Duplicate of 3522) in POC DEV env.
By moving the highlighted choice card:

no console error
no card disappear
all children nodes followed with correct structure

Can we close this issue?

I think so unless Adrian has more fix for it. What do you think? @nesadrian


feature: periodic resolving orchestration runtime

Description
Changes proposed in this pull request:

refactored for periodic resolution of runtime targets into runtime operations
.fix some mismatching data structure between KEB and CNS

/retest

/retest


Feature Request: add ability to rerun, cancel, and view more information for pull request checks

Issue Description
Type: feature request
Describe what happened (or what feature you want)
I'd like to be able to rerun and cancel pull request checks. It would also be nice to see more information about runs. The GitHub CLI provides those options, e.g.
gh run [rerun|cancel|view|watch] <run-id>

Describe what you expected to happen

New Octo command(s) that let you do things with pr checks. For example: Octo check rerun [run-id] [key=value]
Mappings for the checks window (opened via Octo pr checks) that let you rerun/cancel/view the check on the current line

How to reproduce it (as minimally and precisely as possible)
N/A
Tell us your environment
N/A
Anything else we need to know?
I'd like to work on this issue as long as it's something you'd accept into the code base. Let me know, thanks!

I wanted a way to manage runs from the terminal so I created gh-fzf in the meantime, which has a run command.


Added states for docker-volume-netshare.

Hello ,
I am sending this pull request for significant change in plugin architecture. This PR will solve two major issues:

States of the volumes:

If the plugin restarts then the previous version of plugin was not able to handle the state. The states of docker daemon and plugin were inconsistent. As I can see the few comments in issue either we can maintain the persistent storage to handle this or at the start of plugin we can let the plugin knows that the states are not consistent.
What I did here?
Before the plugin initialize all its component like volume driver etc. I am calling the docker daemon and getting the details about volumes. That I call activeConnections.
To know all these states present I initialized the MountManager and added the states into the memory of plugin.
2.NFS inconsistent connections:
While testing I observed if I remount the volume the connections were not increased. Also if you forcefully umount the volume and start container with same mount then previous version of plugin was increasing the number of connections with mount by 2.
That was the reason of unsual behaviour of unmounting the mounts. Also due to plugin is acting as the proxy and in mentioned scenario it is still assuming the connections are still there. It goes into inconsistent state.
This inconsistent connections leads problem with removal of docker volume. The current PR is solving this issue.
Also it is necessary to know docker perspective that docker will also assume the stopped containers using the volume.
Before the deleting plugin must check active connections and also references with stopped containers. If both are zero then it will be able to delete the volume.
As I am using the Docker Go Client, I introduced new flag to plugin for maintaining the version compatibility for the plugin.
This flag will set the DOCKER_API_VERSION which is required for Go client. By default it will use the lastest stable version. Currently it is 1.37.
Please review it.

Any author to review this Pull Request ??

@jakirpatel Sorry for the late response.  Didn't realize my Github messages were going into another inbox after recently making some adjustments for spam.
This looks great and your findings make sense.   Regarding the DOCKER_API_VERSION statement, does it require you to be on a min. version of Docker?  Wondering what version ranges this introduction supports?

@gondor
I have updated this pull request with one more change respect to NFS driver. While testing with mounting the NFS I observed that if mount itself returns the error then the plugin was not maintaining the consistent state.
We can get the mount error in following scenarios:

NFS server is down.
Mount timeout / retry fails.
No permission to mount the volume.
Typo / Wrong mount options.

In this scenarios, the plugin must maintain the consistent state. I imagine the states in docker daemon should be same as the states in the docker-volume-netshare.
This may be applicable for all drivers but I didn't get chance to review and modify it.

@gondor Do you get chance to view it ? :) please let me know.

@jakirpatel Everything looks great.  I don't have time to fully test, but will this introduce breaking changes for anyone uses the plugin out of the box and on > 1.12 of docker?  Just want to make sure we cover our basis.

@gondor This is the major change in terms of architecture perspective. I have tested it, But to make sure it will be really helpful if you have little time to perform the tests on all drivers. If you think there might be any suggestion or change required let me know as well.
I have fully tested it on NFS driver (in all scenarios). There are no major changes in other drivers.

@jakirpatel ok I'm good with that.  Went through everything again and left a comment related to the wrong import paths in a few files.

@gondor
Thanks for your comments. I have added that changes and also changed the documentation as well please let me know if this looks good.

@gondor
Good morning! Just following up with you if you get chance to view my Pull Request :)

@gondor Could you please review it again? I didnt heard from you :)

@gondor
Please let me know if you get the chance to review it. The merge may be important to keep my app updated with upstream.

@gondor
Is there any updates on my PR? I am using this now in production with NFS and seems working fine.

@gondor Waiting for your response.

I would need this patch to get my docker swarm to work on NFS.

@pharazon You can use it without patching it. Check my fork. I have added the changes there as well.


Embedder uses too many surfaces for platform views

Here is example application that has 4 platform views interleaved with Flutter content:

It uses a total of 5 surfaces, each one has size of entire window (because resizing surfaces is expensive). However there is no content directly painted over platform view so this entire scene could be rendered to the background surface and the end result would be same, saving 4 surfaces.
Another example - 4 platform views with Flutter content painted above the views:

This still uses 5 surfaces, but the same visual result can be represented by only two surfaces - content that is painted below platform views in first surface and content that is painted above platform views in second surface.
Same scene, painted with https://flutter.dev/go/optimized-platform-view-layers:
https://github.com/flutter/flutter/assets/96958/091da832-bfbc-44a2-8da5-d55d84024c96
Initially, there are two surface, but as they move to not paint over platform views, only one surface remains.

Won't this potentially create a lot of view allocation and destruction during animation?

Hi @knopp,
do you think that https://github.com/flutter/engine/pull/43301 could have a positive impact on https://github.com/flutter/flutter/issues/129632?

Hi @knopp,
do you think that flutter/engine#43301 could have a positive impact on #129632?

Unlikely, because iOS doesn't use the embedder API and the platform view implementation is very much different between these two. It might eventually get migrated to embedder API, which in my opinion should improve platform view performance quite a bit, but I'm not aware of any timeline for this.

@knopp Is this example available somewhere?  I have started work on platform views support for Wayland compositor on Linux, and this would be a great starting point.

@knopp Is this example available somewhere? I have started work on platform views support for Wayland compositor on Linux, and this would be a great starting point.

https://github.com/knopp/layer_playground
Might not be up-to-date with latest platform view API in Flutter though.

@knopp great thanks!

This fix removed the ability to use Opacity(...) on platform views, platform views are only displayed when opacity = 1 now and hidden otherwise.

I seem to be unable to reproduce this with layer_playground example:

(blue rectangles are platform views wrapped with 0.5 Opacity). So there must be some additional factor.


Error when running render.py

When I run render.py, the following error is reported.
Traceback (most recent call last):
File "/storage/public/home/2022032005/PycharmProject/VastGaussian-refactor/VastGaussian-refactor/render.py", line 85, in
render_sets(model.extract(args), args.load_iteration, pipeline.extract(args), args.skip_train, args.skip_test)
File "/storage/public/home/2022032005/PycharmProject/VastGaussian-refactor/VastGaussian-refactor/render.py", line 44, in render_sets
scene = Scene_Eval(dataset, gaussians, args.load_iteration)
File "/storage/public/home/2022032005/PycharmProject/VastGaussian-refactor/VastGaussian-refactor/scene/init.py", line 200, in init
scene_info = sceneLoadTypeCallbacks["ColmapEval"](args.source_path, args.images, args.man_trans, args.model_path)
File "/storage/public/home/2022032005/PycharmProject/VastGaussian-refactor/VastGaussian-refactor/scene/dataset_readers.py", line 386, in readColmapSceneInfoEval
nerf_normalization = getNerfppNorm(test_cam_infos)
File "/storage/public/home/2022032005/PycharmProject/VastGaussian-refactor/VastGaussian-refactor/scene/dataset_readers.py", line 63, in getNerfppNorm
center, diagonal = get_center_and_diag(cam_centers)
File "/storage/public/home/2022032005/PycharmProject/VastGaussian-refactor/VastGaussian-refactor/scene/dataset_readers.py", line 49, in get_center_and_diag
cam_centers = np.hstack(cam_centers)
File "/storage/public/home/2022032005/miniconda3/envs/cf_3dgs/lib/python3.10/site-packages/numpy/core/shape_base.py", line 359, in hstack
return _nx.concatenate(arrs, 1, dtype=dtype, casting=casting)
ValueError: need at least one array to concatenate
How can I solve it?

I set eval to True during training and render, and it doesn't report the above error when I run render.py.


Change default upload path

To keep the camupload folder cleaned up, let's have all cams upload to /camupload/picams/cameraname

done.


google_maps_flutter web V 0.5.27

Web compatibility is lit up (only as of this version) but it doesn't seem to work and there is no documentation referencing web setup.
Is this a misprint or is there support for flutter web in this version? Running in beta channel.
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v1.17.0-3.2.pre, on Microsoft Windows [Version 10.0.18363.778], locale en-CA)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 3.6)
[√] VS Code (version 1.43.0)
[√] Connected device (3 available)

• No issues found!

Hi @isaacolajos
can you please provide your flutter run --verbose
and your pubspec.yaml
or if possible a reproducible minimal code sample.
Thank you

Its running android no issue but when trying to run the maps screen on the web its white.
name: fact40
description: Factory 4.0
The following defines the version and build number for your application.
A version number is three numbers separated by dots, like 1.2.43
followed by an optional build number separated by a +.
Both the version and the builder number may be overridden in flutter
build by specifying --build-name and --build-number, respectively.
In Android, build-name is used as versionName while build-number used as versionCode.
Read more about Android versioning at https://developer.android.com/studio/publish/versioning
In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
Read more about iOS versioning at
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
path_provider: ^1.6.5
http: ^0.12.0
uuid: any
image_picker: ^0.6.0+15
xml: ^3.4.1
crypto: ^2.0.6
pointycastle: ^1.0.0-rc3
connectivity: ^0.4.5+1
charts_flutter: ^0.8.0
datetime_picker_formfield: ^0.1.7
image: ^2.0.5
photo_view: ^0.6.0
flutter_nfc_reader: ^0.1.0
device_id: ^0.2.0
location: ^2.3.5
firebase_ml_vision: 0.9.3+3
expressions: ^0.1.5
flutter_launcher_icons: any
hive: any
syncfusion_flutter_charts: ^18.1.45
rflutter_alert: ^1.0.3
file_picker: ^1.6.2
google_maps_flutter: ^0.5.27
flutter_webview_plugin: ^0.3.11
dev_dependencies:
flutter_test:
sdk: flutter
flutter_icons:
image_path: "images/icon.png"
android: true
ios: true
fonts:

family: Roboto
fonts:

asset: fonts/Roboto/Roboto-Regular.ttf

For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
assets:
- images/a1px.png
- images/splash.png
- images/logo.png
- images/icon.png
- images/logo-light.png
- images/poly_stock.jpg
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/#resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/#from-packages
To add custom fonts to your application, add a fonts section here,
in this "flutter" section. Each entry in this list should have a
"family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: Schyler
fonts:
- asset: fonts/Schyler-Regular.ttf
- asset: fonts/Schyler-Italic.ttf
style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700

For details regarding fonts from package dependencies,
see https://flutter.dev/custom-fonts/#from-packages
C:\Users\isaac\Documents\Developer\GitHub\core-client>flutter run --verbose
[  +63 ms] executing: [C:\Users\isaac\Documents\Developer\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +145 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +4 ms] e6b34c2b5c96bb95325269a29a84e83ed8909b5f
[   +2 ms] executing: [C:\Users\isaac\Documents\Developer\flutter\flutter/] git tag --contains HEAD
[ +629 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.17.0-3.4.pre
[  +28 ms] executing: [C:\Users\isaac\Documents\Developer\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +90 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/beta
[   +1 ms] executing: [C:\Users\isaac\Documents\Developer\flutter\flutter/] git ls-remote --get-url origin
[  +82 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +257 ms] executing: [C:\Users\isaac\Documents\Developer\flutter\flutter/] git rev-parse --abbrev-ref HEAD
[ +101 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +2 ms] beta
[ +116 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +12 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +55 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +103 ms] List of devices attached
[  +18 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +171 ms] More than one device connected; please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
[  +56 ms] Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.122
[   +4 ms] Web Server • web-server • web-javascript • Flutter Tools
[  +27 ms] "flutter run" took 715ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:336:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:702:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:619:33)

#4      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1184:13)
#7      _CustomZone.run (dart:async/zone.dart:1077:19)
#8      _runZoned (dart:async/zone.dart:1619:10)
#9      runZoned (dart:async/zone.dart:1539:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:609:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:339:21)

#14     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart)
#15     AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#16     _rootRun (dart:async/zone.dart:1184:13)
#17     _CustomZone.run (dart:async/zone.dart:1077:19)
#18     _runZoned (dart:async/zone.dart:1619:10)
#19     runZoned (dart:async/zone.dart:1539:10)
#20     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#21     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:288:19)
#22     CommandRunner.run. (package:args/command_runner.dart:112:25)
#23     new Future.sync (dart:async/future.dart:224:31)
#24     CommandRunner.run (package:args/command_runner.dart:112:14)
#25     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:231:18)
#26     run.. (package:flutter_tools/runner.dart:63:22)
#27     _rootRun (dart:async/zone.dart:1184:13)
#28     _CustomZone.run (dart:async/zone.dart:1077:19)
#29     _runZoned (dart:async/zone.dart:1619:10)
#30     runZonedGuarded (dart:async/zone.dart:1608:12)
#31     runZoned (dart:async/zone.dart:1536:12)
#32     run. (package:flutter_tools/runner.dart:61:18)

#33     run. (package:flutter_tools/runner.dart)
#34     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart:64:18)

#35     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart)
#36     AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#37     _rootRun (dart:async/zone.dart:1184:13)
#38     _CustomZone.run (dart:async/zone.dart:1077:19)
#39     _runZoned (dart:async/zone.dart:1619:10)
#40     runZoned (dart:async/zone.dart:1539:10)
#41     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#42     runInContext (package:flutter_tools/src/context_runner.dart:67:24)
#43     run (package:flutter_tools/runner.dart:48:10)
#44     main (package:flutter_tools/executable.dart:69:9)
#45     main (file:///C:/Users/isaac/Documents/Developer/flutter/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#46     _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32)
#47     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
C:\Users\isaac\Documents\Developer\GitHub\core-client>

Hi @isaacolajos
Looks like google_maps_flutter  isn't supported for web yet
Closing for #45292
Closing, as this isn't an issue with google_maps_flutter  itself,
if you disagree please write in the comments and I will reopen it
Thank you

The only reason I ask is because web is lit up of the official package page. Just may want to change that to avoid further confusion, thanks!

This code needs to be reverted. I pushed it by mistake, and it wasn't noticed in PR.
Thanks for reporting @isaacolajos !

Published version 0.5.27+1 that doesn't publicize web support.


Sensor patch - Polling & Update Value

In my testing the sensor can update more consistently in the background with this method. The polling time is configurable.

Submitting new PR


Write Permission Error

@AtroposOrbis This looks like your user id and group id do not match the dockers user & group id. Are you on windows? or linux?
If on linux when you run id -u the number it spits out should be the number you supply as an environment variable called PUID

When I updated the compose file and attempted another run, the same error occurred...

Originally posted by @AtroposOrbis in https://github.com/mbround18/valheim-docker/discussions/28#discussioncomment-360240

On your host what are the permissions of ./valheim/saves and ./valheim/server ? also as per my reply whats your user and group id? if they are not 1000 you need to supply them as environment variables.

So those are required now? In the documentation here (below) it says that they are not required.

Should I create the saves & server directories prior to running docker-compose up?

I should be more clear in the documentation, they are required if your user and group ID are not 1000.

@mbround18 I supplied the ID of 0/0 as I'm logged in as root. Alas, the error still occurs. Status code 8 still.

might I suggest you create a non root user, add them to the docker group, then run the docker compose as that user? It is a massive security risk to run as root.

might I suggest you create a non root user, add them to the docker group, then run the docker compose as that user? It is a massive security risk to run as root.

This is just a quick VPS so I wasn't looking to create something secure right now. Just to get the server running to verify that this container works. Does it require this step then? If so I'll try creating a user now....

Yesss!!! Lol this container is designed to be run on a non root user :P

T_T Alright. I'll get the commands in place and then post them here for you to hopefully add to the guide for others.

@mbround18 still getting the same error... :(

Is this steam user in the docker group? (In order to spin up the compose)
Sometimes docker compose has funky permissions and it's dependant on how you set it up. You can try, as the steam user, creating those directories on your host.

Is this steam user in the docker group? (In order to spin up the compose)
Sometimes docker compose has funky permissions and it's dependant on how you set it up. You can try, as the steam user, creating those directories on your host.

I did docker and then full perms and still no luck. I'll just going to nuke the vds and start from scratch today. -_-

Best of luck! Let me know how it goes


regolith install creates empty folders with remote filters names

After running regolith install with these filters, folders are created called templater & functioner

        "filters": [
          {
            "url": "github.com/Hatchibombotar/useful-regolith-filters//templater"
          },
          {
            "url": "github.com/Hatchibombotar/useful-regolith-filters//functioner"
          }
        ]

Both of these filters are node.js filters, the filters wtill work.

This occured because of the config.json changes, more specifically the adding of the dataPath property in profiles.


Filter feature

Follows https://github.com/solid/notifications-panel/blob/main/meetings/2023-02-02.md#add-ldn-channel-2023-ed to introduce a feature to allow fine-grained notification filtering, e.g., activity types, activities involving particular actors, tags.
It is based on a general requirement as suggested in https://github.com/solid/notifications-panel/issues/1#issue-489650894 :

Mechanism for actors to make a request to be notified about particular activities.

An example model is mentioned/proposed in https://github.com/solid/notifications/pull/147#issuecomment-1410518467 , where a filter property would have an object detailing the information to filter on:
{
    "filter": {
       "type": "Add",
       "actor": "https://csarven.ca/#i"
    }
}

And it is an easy jump to see how something like this can work too (if I'm not messing up the syntax here -- simplified here without JSON-LD context):
{
    "filter": {
       "id": {
         "type": "oa:Annotation",
         "oa:hasTarget": "https://csarven.ca/archives/linked-research-decentralised-web/ce36de40-64a7-4d57-a189-f47c364daa74#abstract",
         "dcterms:rights": "https://creativecommons.org/licenses/by/4.0/"
       },
       "type": "Add",
       "actor": "https://csarven.ca/#i"
    }
}

This is a general point about features: Could we move them out of the spec or at least to an appendix? This way we can release them independently of the main spec (and not tie it to milestones).

A milestone generally includes all kinds of new features, and so tied in that respect to a release.
I think it'd be important to keep the core features in the Notifications Protocol because they'd need to be supported by all implementations. Similar to e.g., subscription/channel data models. And features that are unique to notification-channel-types can be in their respective specifications, and so released independently. This was the approach for filter/activityType which originally proposed for LDNChannel2023, but then deemed to be useful for all notification-channel-types.
Having said that, whether a particular feature (for example filter) should be in 0.3 (or whenever ready) is something we can be flexible and decide.

Though simple filter object works in most cases, and are sufficient, it may be good to consider acp like matcher+policy mechanism.
That would allow us to express more general filter(-or-for-any-other) policy over a context composed of activity info, object info, etc. It may allow any-of/all-of/none-of combinatrics of simple match graphs. But whether such general and powerful mechanism is required is a question.

And to say, the above json-object is misleading. Why not type can have multiple objects if it is rdf-graph underhood?. In this way it is better to pindown semantics using turtle. And acp matchers seems and policy seems solves much of the semantics for me to express complex predicate graphs. It allows even custom extension points in most useful way.
For example, i want a server side robot be notified when ever operation is any of Add, Delete, Update on an object whose representation content-type(where-applied) is an image/*, so that it can proceed to manage associated iiif image tiles that it manages.

I'm not sure about the complexity and the actual use cases for different matchers / universal quantifiers. I'd strongly suggest that we solve the simple and most obvious use case first, and go from there, e.g.,:
Correct me if I'm wrong but I think what we have is "any of" as opposed to "all of" as the common use case. Depending on our perspective, I'm not sure if "all of" makes sense. That is, request to be notified about activities matching a particular shape (but not negation) - which may include any one or more AS2 Activities ( https://solid.github.io/notifications/protocol#notification-message-data-model ). To be absolutely clear, I can see a SubscriptionClient being interested in notifications about Add, Delete, Update, or Create, and so on.
"None of" may be generally useful to have, but I don't think it would cover common use cases.
Would it make sense to use a SHACL shape as the value of notify:filter? ( Possibly related: https://www.w3.org/TR/shacl-af/#node-expressions-filter-shape ?)


Trailing L on 0xFFFFFFFFFFFFFFFFL is no longer required

The trailing L is a syntax error in Python 3 and is no longer required in Python 2.
flake8 testing of https://github.com/daenerys-sre/source on Python 3.7.1
$ flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
./ida/idaapi.py:58:23: E999 SyntaxError: invalid syntax
    0xFFFFFFFFFFFFFFFFL if _currentProgram.getMinAddress().getPointerSize() == 8 else 0xFFFFFFFF,
                      ^
1     E999 SyntaxError: invalid syntax
1

Yeah, I was aiming for Python 2 because Ghidra has Jython 2.x

Thanks


Update the docs to mention @uirouter/angularjs

This is a:

[x] Bug Report

The documentation states that we should install angular 1.x library version with:
npm install --save angular-ui-router

But immediately after installing the following will be shown:
WARNING! this npm package "angular-ui-router" has been renamed to "@uirouter/angularjs".  Please update your package.json
See https://ui-router.github.io/blog/uirouter-scoped-packages/ for details.

It is about update in package.json
You need to replace
` "dependencies": {
"angular-ui-router": "latest",
"ui-router-visualizer": "latest",
}
by
"dependencies": {     "@uirouter/angularjs": "latest",     "@uirouter/visualizer": "latest",   }
`

Right... but the documentation still says to install angular-ui-router. The documentation needs to be updated, which is what @maciej-gurban is reporting.

Hi, I can't install ui router
➜  am-packages-manager git:(webpack) ✗ npm set registry https://registry.npmjs.org/
➜  am-packages-manager git:(webpack) ✗ npm i @uirouter/angularjs
npm ERR! code E404
npm ERR! 404 Not Found: @uirouter/angularjs@latest
npm ERR!      /Users/oscar/.npm/_logs/2017-08-09T22_23_39_739Z-debug.log
➜  am-packages-manager git:(webpack) ✗ cat /Users/oscar/.npm/_logs/2017-08-09T22_23_39_739Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'i',
1 verbose cli   '@uirouter/angularjs' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose npm-session ac8ed57655eb878a
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 404 https://registry.npmjs.org/@uirouter%2Fangularjs 1310ms
8 silly fetchPackageMetaData error for @uirouter/angularjs@latest 404 Not Found: @uirouter/angularjs@latest
9 verbose stack Error: 404 Not Found: @uirouter/angularjs@latest
9 verbose stack     at fetch.then.res (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js:41:19)
9 verbose stack     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
9 verbose stack     at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
9 verbose stack     at Promise._settlePromise (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
9 verbose stack     at Promise._settlePromise0 (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
9 verbose stack     at Promise._settlePromises (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18)
9 verbose stack     at Async._drainQueue (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16)
9 verbose stack     at Async._drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10)
9 verbose stack     at Immediate.Async.drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
9 verbose stack     at runCallback (timers.js:637:20)
9 verbose stack     at tryOnImmediate (timers.js:610:5)
9 verbose stack     at processImmediate [as _immediateCallback] (timers.js:582:5)
10 verbose cwd /Users/oscar/almundo/am-packages-manager
11 verbose Darwin 16.5.0
12 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "@uirouter/angularjs"
13 verbose node v6.9.1
14 verbose npm  v5.3.0
15 error code E404
16 error 404 Not Found: @uirouter/angularjs@latest
17 verbose exit [ 1, true ]


Automate releasing of new version

Description

Currently releasing a new version is a manual task, we can automate the task by using online available tools like https://goreleaser.com/.
Do not release every single commit (YET), either release by tags on master or on release branch (We can decide it by discussing here)
Automate release using CI/CD (Explore both Travis and Github Actions) - We can discuss which one to use by comparing both.

Acceptance Criteria

Able to release new version automatically
Distribute binary instead of zip files

Can I own this up?

@gopinath-langote What strategy are we going to follow for release?

@gopinath-langote There are no blockers. Thanks.

Hello @RajatVaryani – I just wanted to check the progress on the ticket.

@gopinath-langote Please make it open to the community. Won't be able to contribute.


Fix missing "currentNode" variable declaration in data structures linked list challenges (Portuguese)

Description
This PR fixes an issue where the currentNode variable in the following challenges is not declared before usage like it should be:

https://learn.freecodecamp.org/coding-interview-prep/data-structures/remove-elements-from-a-linked-list/
https://learn.freecodecamp.org/coding-interview-prep/data-structures/search-within-a-linked-list/
https://learn.freecodecamp.org/coding-interview-prep/data-structures/remove-elements-from-a-linked-list-by-index/
https://learn.freecodecamp.org/coding-interview-prep/data-structures/add-elements-at-a-specific-index-in-a-linked-list/
https://learn.freecodecamp.org/coding-interview-prep/data-structures/search-within-a-linked-list

Checklist

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Sibling PRs

Arabic: #35636
Chinese: #35637
English: #35638
Russian: #35640
Spanish: #35641

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


MH-13385: Simplify the configuration of the URL signing components

Instead of having to consecutively number certain configuration
properties, these changes allow you to specify them in a more free
form manner. This makes generating the corresponding files
automatically much simpler and also makes the manual editing process
less error prone.

Note that there are other configuration files using this pattern. I know of at least org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler.cfg and org.opencastproject.kernel.security.OAuthConsumerDetailsService.cfg.
Personally, I find the simplification visually more pleasing and yeah this probably makes it easer to generate configuration files. However, I'm not a fan of allowing arbitrary non-prefixed keys. What if GenericUrlSigningProvider suddenly gets additional configuration keys such as the LTI configuration? I would therefore suggest to add a common prefix to all dynamic keys to distinguish them from possible future configuration options.

@mtneug good point, I think I agree. I'll try to get that in soon-ish.
As for the other files: I think it should not be a problem to only address the files of one logical "feature group" in this PR; it does not really reduce consistency or something. But I will definitely try to take a look where else we could apply this, and maybe even how we can factor this out, so that we don't duplicate too much of this admittedly kind of awkward code.

@mtneug's suggestion should be implemented as well, now.

Not to be impatient here, but is there anything still blocking this? :sweat_smile:

Not that I can see, aside from me not having my signing keys on me. @mtneug, can you merge this when you get a chance? I'm afk until the 22nd or so.

@JulianKniephoff Would be nice if you could raise a PR that briefly notes that the URL signing configuration needs to be adapted. A first Adopter already ran into this: https://groups.google.com/a/opencast.org/forum/#!topic/users/hmArC_ylKik

@staubesv you mean something like #909? :wink:

@JulianKniephoff Yes, thanks!


Fix dab validate env_var parsing.

Why make this change?

Closes #2200, an issue with dab validate -c "path_to_config.json" where environment variable @env('ENV_VAR_NAME')  references are unresolved during config schema validation and schema validation always fails. The issue specifically calls out an error when an environment variable is used for the property database-type can't resolve an environment variable and properly set an enum value (mssql, pgsql, mysql, etc) for the property.

What is this change?

This change corrects how RuntimeConfigValidator::ValidateConfigSchema(...) resolves environment variables in the runtime config. The usage of string jsonData = runtimeConfig.ToJson(); converts the runtime config object (which already has environment variables resolved) into valid json which can then be validated against dab.draft.schema.json.

How was this tested?

[x] Integration Tests: added a test which exercises the code path that validates the dab runtime config against the dab json schema. By ensuring that no schema validation errors occur due to unresolved environment variables.

Sample Request(s)
Add the file launchSettings.json to src/Cli/Properties with the following contents:
{
  "profiles": {
    "start": {
      "commandName": "Project",
      "commandLineArgs": "start -c src\\Cli\\dab-config.json",
      "environmentVariables": {
        "DATABASE_TYPE": "mssql",
        "DATABASE_NAME": "<your DB name",
        "CONN_STRING": "<CONN_STRING>",
        "AUTH_METHOD": "Simulator",
        "PUB_ENT_SRC": "publishers"
      },
      "httpPort": 5002
    },
    "validate": {
      "commandName": "Project",
      "commandLineArgs": "validate -c src\\Cli\\dab-config.json",
      "environmentVariables": {
        "DATABASE_TYPE": "mssql",
        "DATABASE_NAME": "<your DB name>",
        "CONN_STRING": "<CONN_STRING>",
        "AUTH_METHOD": "Simulator",
        "PUB_ENT_SRC": "publishers"
      },
      "httpPort": 5002
    }
  }
}

and modify your dab-config.json to have the following contents (assumes that you've deployed the DAB test project's .sql script:
{
  "$schema": "https://github.com/Azure/data-api-builder/releases/download/v0.13.0-rc/dab.draft.schema.json",
  "data-source": {
    "database-type": "@env('DATABASE_TYPE')",
    "connection-string": "@env('CONN_STRING')"
  },
  "runtime": {
    "rest": {
      "enabled": true,
      "path": "/api"
    },
    "graphql": {
      "allow-introspection": true,
      "enabled": true,
      "path": "/graphql"
    },
    "host": {
      "mode": "development",
      "cors": {
        "origins": [
          "http://localhost:5000"
        ],
        "allow-credentials": false
      },
      "authentication": {
        "provider": "@env('AUTH_METHOD')"
      }
    }
  },
  "entities": {
    "Query": {
      "source": "books",
      "permissions": [
        {
          "role": "anonymous",
          "actions": [
            "read"
          ]
        }
      ],
      "graphql": {
        "type": {
          "singular": "ProductCatalogue",
          "plural": "ProductCatalogue"
        }
      }
    },
    "Product": {
      "source": "@env('PUB_ENT_SRC')",
      "permissions": [
        {
          "role": "authenticated",
          "actions": [
            "read",
            "delete",
            "update"
          ]
        }
      ]
    }
  }
}

/azp run

/azp run

/azp run


Platform error light.rpi_gpio_pwm - Integration 'rpi_gpio_pwm' not found

I am very new and I thought I didd everything as described... may be not.
my log:
2023-11-18 17:18:48.318 ERROR (SyncWorker_2) [homeassistant.loader] Error loading integration: rpi_gpio_pwm
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 867, in _resolve_integrations_from_root
integration = Integration.resolve_from_root(hass, root_module, domain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 573, in resolve_from_root
integration = cls(
^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 645, in init
_LOGGER.info("Loaded %s from %s", self.domain, pkg_path)
^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 660, in domain
return self.manifest["domain"]
~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'domain'
How can I fix that? Domain seems to be somewhere missing?
Thank you so much

It is a copy paste issue via windows sambashare.
It works if you first download and the copy it - don't use save as.


NFT fetch error handling

Added error handling when fetch happens. If the return URI is empty, we stop spinned and allow user to retry with a different tokenId.


Add support chrome parent overflow-y equals overlay

Good lib Gyes, thanks for work!
Need support of overflow "overlay" value for chrome.

Ah great catch! 👍

Has just been released in v2.0.1


cannot get github authorization

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
The GitHub authorization for draw.io is broken.
To Reproduce
Steps to reproduce the behavior:

Go to https://app.diagrams.net/
Click on Save diagrams to ... GitHub
Click on Open existing diagram
Click on Autothorize
See error (404)

Expected behavior
I should be able to use my github account to save and load my work.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 20.0.4

Desktop (please complete the following information):

OS: Linux
Browser: Chromium
Version: 102

I also encountered, seems to reopen once is OK.


How to limit access of service connection to selected YAML pipelines?

I created a separate YAML pipeline that is not triggered by CI/PR but has to be manually invoked by an authorized member. This pipeline uses a GitHub service connection with permissions that I want to restrict to be used only by this pipeline. How can I do that?
Currently, it looks like I can only use the "Allow all pipelines to use this connection" option. This is bad, since a malicious actor could edit one of the other PR-triggered YAML pipelines and use this "elevated" service connection very easily and do damage. EDIT: This would only work if "Make secrets available to builds of forks" is enabled (service connection is a secret, as I just found out), and by default it's disabled. So it looks like it's not a security issue in general.

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

ID: 72b90dd0-49f9-4ed4-3010-9a64dde6ae5a
Version Independent ID: 6e679d50-4e94-eee3-8793-af884cc909ca
Content: Service connections in Azure Pipelines and Team Foundation Server - Azure Pipelines
Content Source: docs/pipelines/library/service-endpoints.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

Support for limiting pipelines that can access the service connection is in the works.
Adding @ashokirla  for timelines.

We are shipping pipeline permissions for service connections as a preview feature along with new service connections UX. It will be available in 3 weeks from now.

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


The property setting in VisualState of Component is not be change when theme was changed

@adospace
Hi, thank you for your great work.
I am facing a problem. Is this a bug?
I ask for your help.
Describe the bug
The property setting in VisualState of Component is not be change when theme was changed.
To Reproduce
Sample code:
// in AppTheme.cs

// define some colors
public static class Dark
{
    public static Color Primary = Palettes.Primary80;
    public static Color OnPrimary = Palettes.Primary20;
}
public static class Light
{
    public static Color Primary = Palettes.Primary60;
    public static Color OnPrimary = Palettes.Primary100;
}

// define Schemes
public static Color Primary => IsDarkTheme ? Dark.Primary : Light.Primary;
public static Color OnPrimary => IsDarkTheme ? Dark.OnPrimary : Light.OnPrimary;

protected override void OnApply()
{
    ButtonStyles.Default = _ => _
        .TextColor(Scheme.OnPrimary)
        .FontSize(14)
        .BorderWidth(0)
        .CornerRadius(100)
        .MinimumHeightRequest(44)
        .MinimumWidthRequest(44)
        .Padding(24, 11)
        .VisualState(nameof(CommonStates), CommonStates.Normal, MauiControls.Button.BackgroundColorProperty, Scheme.Primary)
        .VisualState(nameof(CommonStates), "Pressed", MauiControls.Button.BackgroundColorProperty, Scheme.Primary.AddLuminosity(-0.1f))
        ;

// in Component
override VisualNode Render()
    => ContentPage(
        Button("button")
    )

Expected behavior
The property such as BackgroundColor setting in VisualState will be change when theme was changed.
Smartphone (please complete the following information):

Device: Emulator and Pixel7
OS: Android 13 or 14 (I tested)

Additional context
Properties based on the theme when the app is launched will be reflected, but if the theme is changed after launch, the properties will not change.
This is also true for hot reloading.

Hi, how do you change the theme from code or from the OS settings page?

@adospace
I changed the theme from the OS setting page.

Fixed in 2.0.48

Thank you so much!!


Add keys to v-for declarations

@subdavis please take a look and let me know if the key I supplied for these v-for declarations are truly unique.

@waxlamp yeah they are.
I neglected to add the keys here because those lists are static, but I should have.  Thanks!


Hover effect missing in a button

Hover effect is missing in Become a partner button
Animal images and about us in background is not aligned properly
I Would like to fix them ....

Hello @anuragverma108
Assign this issue to me so that I can do my contribution and add more features , Kindly assign so that I can make my first hacktoberfest contribution 😊


Is it possible to use this in vscode?

I was thinking it might be useful if this could be used with vscode as an extension. Either way fantastic work this is extremely interesting.

Thanks! The code implements bindings for the Monaco editor, which is behind VS Code too. My current interest with this is currently focused more on the web, so I do not have any immediate plans for this - but I'll be happy to help if this is something you'd be interested in doing :-)
(Although I'll be on holidays for the next two weeks...)


Update stoatLordCardStuff.js

Should fix some of the issues present sorry if this fucks over anything

Already made the change just didn't commit or push it. But no this doesn't fix the problem


BlurredBackgroundView never removed from view heirarchy

In BlurDialogEngine.onDismiss(), the blurred background view's visibility is set to View.GONE and the reference is nulled, however it's still part of the view heirarchy.
Next time you show the dialog, a new ImageView is added to the container activity's decor view.
If you put a breakpoint in PhoneWindow.addContentView(), you can see that mContentParent's child count increases steadily each time you open a dialog.
You can fix it doing something like this:
    public void onDismiss() {
        //remove blurred background and clear memory, could be null if dismissed before blur effect
        //processing ends
        if (mBlurredBackgroundView != null) {
            ViewGroup parentGroup = (ViewGroup)mBlurredBackgroundView.getParent();
            if (parentGroup != null) {
              parentGroup.removeView(mBlurredBackgroundView);
            }
            mBlurredBackgroundView = null;
        }

        //cancel async task
        mBluringTask.cancel(true);
        mBluringTask = null;
    }

Hi @jacobtabak
Again, thanks a lot for your feedback (=
I never went so far in view heirarchy and I'm very grateful for having taught me something that I would probably never learn by myself!
Thanks to your feedback, I tried to understand a little bit more what realy does setVisibility(View.GONE) and in fact, it does not remove the view from the view heirarchy at all.
I will merge your pull request asap :D
One more time, a huge thanks for your very interesting feedback


Add a custom Credo configuration file

This is based on Ecto's configuration and tweaks a number of defaults
rules to be more lenient than the stock configuration.

Ebert has finished reviewing this Pull Request and has found:

3 fixed issues! 🎉

You can see more details about this review at https://ebertapp.io/github/pinterest/elixir-thrift/pulls/75.

Coverage remained the same at 99.296% when pulling 954eeb1f0383806fc10ce38efb47e9e9c2e26ef4 on jparise:credo-config into 230106baa8e30880318892e3ef7c608c1843b177 on pinterest:master.