Warning: You may need an appropriate loader to handle this file type.

hi folks! I am getting 6 big scary yellow warnings all of this nature when trying to use the graphiql React component.. how do i silence this please?
WARNING in ./~/graphql-language-service-interface/dist/getOutline.js.flow
Module parse failed: ROUTE_TO_ABOVEMENTIONED_FILE Unexpected token (11:12)
You may need an appropriate loader to handle this file type.
|  */
|
| import type {
|   Outline,
|   TextToken,
 @ ./~/graphql-language-service-interface/dist ^.*$
 @ ./~/graphql-language-service-interface/dist/GraphQLLanguageService.js
 @ ./~/graphql-language-service-interface/dist/index.js
 @ ./~/codemirror-graphql/hint.js
 @ ./~/graphiql/dist/components/QueryEditor.js
 @ ./~/graphiql/dist/components/GraphiQL.js
 @ ./~/graphiql/dist/index.js
 @ ./client/components/graphql.js
 @ ./client/components/user-home.js
 @ ./client/components/index.js
 @ ./client/routes.js
 @ ./client/index.js

Hello @sw-yx ,
Any news on this? I am getting the same warning...

As a temporary solution I ended up installing ignore-loader and adding the following to my webpack config:
{ test: /\.flow$/, loader: 'ignore-loader' }

no news, sorry. i just kept going because i had some time pressure. thanks very much for the tip @levindixon

This fix for this issue is to have a Webpack Loader configured to strip flow types:
npm install remove-flow-types-loader

      {
        test: /\.js/, // assuming the files are named .js.flow
        enforce: 'pre',
        use: ['remove-flow-types-loader']
      },

Here in the future, I adapted @levindixon's solution into
{ test: /\.flow$/, use: 'null-loader' }

after yarn add --dev null-loader-ing.
I don't totally understand why this doesn't destroy it, but I'm using this in a devteam-facing server anyway.

Here in the future, I adapted @levindixon's solution into
{ test: /\.flow$/, use: 'null-loader' }

after yarn add --dev null-loader-ing.
I don't totally understand why this doesn't destroy it, but I'm using this in a devteam-facing server anyway.

This is very annoying as it completely spams the output when building my app - serching for meaningful output is made nearly impossible :-(

Seems related to https://github.com/graphql/graphiql/issues/882

Since https://github.com/graphql/graphiql/commit/36ed6695ce2b3f2608a0a679d12df64ed7a9b2bb, temporary solutions based on flow types doesn't work anymore...
Now we have warning on .ts, .ts.map and .js.map files. 😞
New possible solution:
{
  test : /\.(ts|ts.map|js.map)$/,
  include : [".node_modules/graphql-language-service-interface"],
  use : "ignore-loader"
}

@Gautierrr @sw-yx  @aperkaz  fyi this should be resolved as of 0.17.0, sorry forgot to deduplicate these many issues! all of them should be resolved including the typescript ones. you can follow the webpack example make sure to have the suggested babel config though!
if you still are having issues with 0.17.0 please re open.

@acao can you update the link to your webpack example?


Load GLX dynamically with GLAD

Depends on #68372 and needs #68587 to pass CI.
This is accomplished through a dedicated glx.h file, which is a GLAD-generated header-only GLX loader.
I chose to use an header-only loader due to it being way easier to embed only in the X11 folder, making it neatly self-contained. Note that I had to put this header into a thirdparty folder to avoid the static checks from choaking on it.
This is another step towards a nice Wayland/X11 interoperation.

This seems good to me. I like the idea of dynamically loading GLX, and if we can do it through GLAD all the better. I have no experience dynamically loading GLX for OpenGL support so I'm unaware of any potential pitfalls. In your investigations, does it look like we can dynamically load everything as you have done here and then carry on with business as usual?
Also, I assume the end goal here is to select between EGL and GLX at runtime based on some runtime factors, is that correct?

How come there is both thirdparty/glad/glx.h and thirdparty/glad/glad/glx.h?

Thanks!


vendoring of dependencies

We should introduce a mechanism for controlling the versions of or external dependencies.

I think our options are, based on popularity:

https://github.com/tools/godep
https://github.com/Masterminds/glide

Any suggestions? I've used glide before and I think it's newer than godeps. Godeps versions before go 1.5 when there was no vendoring, but this doesn't affect us.

I also see this two options.
We had some issues with glide in the last project, but I do not have any experience with godeps.
So, from my point: feel free to choose one.

I will evaluate Godeps.


at Sm.rejectStartPromise (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:254981)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:255541)
at t.n (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700797)
at t.__tryOrUnsub (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:701037)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700930)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699446)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699145)
at ChildProcess.<anonymous> (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1800927)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:538:35)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)] {

category: 'jupyterconnection'
}
warn 07:56:05.062: Kernel Error, context = start [Er [Error]: Jupyter server crashed. Unable to connect.
Error code from Jupyter: 1
/opt/anaconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/brandonl/projects/Hoeffding Tree' instead of '"/Users/brandonl/projects/Hoeffding Tree"' if you require traitlets >=5.
warn(
[W 2023-02-09 07:56:04.976 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.976 LabApp] 'config_file' was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose.
[W 2023-02-09 07:56:04.976 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.977 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.977 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2023-02-09 07:56:04.981 LabApp] JupyterLab extension loaded from /opt/anaconda3/lib/python3.9/site-packages/jupyterlab
[I 2023-02-09 07:56:04.981 LabApp] JupyterLab application directory is /opt/anaconda3/share/jupyter/lab
Traceback (most recent call last):
File "/opt/anaconda3/bin/jupyter-notebook", line 11, in
sys.exit(main())

File "/opt/anaconda3/lib/python3.9/site-packages/jupyter_core/application.py", line 269, in launch_instance
return super().launch_instance(argv=argv, **kwargs)

File "/opt/anaconda3/lib/python3.9/site-packages/traitlets/config/application.py", line 846, in launch_instance
app.start()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 2319, in start
success = self._bind_http_server()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 1794, in _bind_http_server
return self._bind_http_server_unix() if self.sock else self._bind_http_server_tcp()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 1820, in _bind_http_server_tcp
self.http_server.listen(port, self.ip)

File "/opt/anaconda3/lib/python3.9/site-packages/tornado/tcpserver.py", line 151, in listen
sockets = bind_sockets(port, address=address)

File "/opt/anaconda3/lib/python3.9/site-packages/tornado/netutil.py", line 161, in bind_sockets
sock.bind(sockaddr)

OSError: [Errno 49] Can't assign requested address
at Sm.rejectStartPromise (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:254981)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:255541)
at t.n (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700797)
at t.__tryOrUnsub (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:701037)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700930)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699446)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699145)
at ChildProcess.<anonymous> (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1800927)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:538:35)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)] {

category: 'jupyterconnection'
}
debug 07:56:05.063: Create activated Env, Class name = tc (started execution), Arg 1: {"interpreter":{"id":"/opt/anaconda3/bin/python","sysPrefix":"/opt/anaconda3","envPath":{"$mid":1,"fsPath":"/opt/anaconda3","path":"/opt/anaconda3","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/anaconda3","path":"/opt/anaconda3","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/anaconda3/bin/python","external":"file:///opt/anaconda3/bin/python","path":"/opt/anaconda3/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":13,"raw":"3.9.13 (main, Aug 25 2022, 18:29:29) \n[Clang 12.0.0 ]"}},"allowEnvironmentFetchExceptions":true}
debug 07:56:05.063: Getting activated env variables, Class name = ps (started execution), Arg 1: undefined, Arg 2: Uri:/opt/anaconda3/bin/python, Arg 3: true
debug 07:56:05.063: Getting activated env variables impl, Class name = ps (started execution), Arg 1: undefined, Arg 2: Uri:/opt/anaconda3/bin/python
debug 07:56:05.063: Getting activated env variables from Python, Class name = ps (started execution), Arg 1: undefined, Arg 2: Uri:/opt/anaconda3/bin/python
debug 07:56:05.063: Get Custom Env Variables, Class name = bc (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 07:56:05.063: Cached data exists getEnvironmentVariables,
debug 07:56:05.064: Get Custom Env Variables, Class name = bc, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 07:56:05.064: Got env vars with python /opt/anaconda3/bin/python, with env var count 57 and custom env var count 0 in 1ms
debug 07:56:05.064: Getting activated env variables from Python, Class name = ps, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/opt/anaconda3/bin/python
debug 07:56:05.064: Got env vars with python /opt/anaconda3/bin/python in 1ms with 57 variables
debug 07:56:05.064: Getting activated env variables impl, Class name = ps, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/opt/anaconda3/bin/python
debug 07:56:05.064: Getting activated env variables, Class name = ps, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: Uri:/opt/anaconda3/bin/python, Arg 3: true
debug 07:56:05.064: Create activated Env, Class name = tc, completed in 1ms, has a truthy return value, Arg 1: {"interpreter":{"id":"/opt/anaconda3/bin/python","sysPrefix":"/opt/anaconda3","envPath":{"$mid":1,"fsPath":"/opt/anaconda3","path":"/opt/anaconda3","scheme":"file"},"displayPath":{"$mid":1,"fsPath":"/opt/anaconda3","path":"/opt/anaconda3","scheme":"file"},"envName":"base","uri":{"$mid":1,"fsPath":"/opt/anaconda3/bin/python","external":"file:///opt/anaconda3/bin/python","path":"/opt/anaconda3/bin/python","scheme":"file"},"displayName":"base","envType":"Conda","version":{"major":3,"minor":9,"patch":13,"raw":"3.9.13 (main, Aug 25 2022, 18:29:29) \n[Clang 12.0.0 ]"}},"allowEnvironmentFetchExceptions":true}
info 07:56:05.068: Process Execution: > /opt/anaconda3/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"

/opt/anaconda3/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
debug 07:56:05.219: Checking if product is installed, Class name = qd, completed in 156ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
debug 07:56:05.220: Are Dependencies Installed, Class name = Su, completed in 157ms, has a truthy return value, Arg 1: ".jvsc74a57bd040d3a090f54c6569ab1632332b64b2c03c39dcf918b08424e98f38b5ae0af88f./opt/anaconda3/python./opt/anaconda3/python.-m#ipykernel_launcher", Arg 2: undefined, Arg 3: true, Return Value: true
info 07:56:05.221: Dispose Kernel '/Users/brandonl/projects/Hoeffding Tree/incremental_training.ipynb' associated with '/Users/brandonl/projects/Hoeffding Tree/incremental_training.ipynb'
debug 07:56:05.222: Kernel got disposed, hence there is no longer a kernel associated with /Users/brandonl/projects/Hoeffding Tree/incremental_training.ipynb
error 07:56:05.223: Error in execution [Er [Error]: Jupyter server crashed. Unable to connect.
Error code from Jupyter: 1
/opt/anaconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/brandonl/projects/Hoeffding Tree' instead of '"/Users/brandonl/projects/Hoeffding Tree"' if you require traitlets >=5.
warn(

[W 2023-02-09 07:56:04.976 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.976 LabApp] 'config_file' was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose.
[W 2023-02-09 07:56:04.976 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.977 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.977 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2023-02-09 07:56:04.981 LabApp] JupyterLab extension loaded from /opt/anaconda3/lib/python3.9/site-packages/jupyterlab
[I 2023-02-09 07:56:04.981 LabApp] JupyterLab application directory is /opt/anaconda3/share/jupyter/lab
Traceback (most recent call last):
File "/opt/anaconda3/bin/jupyter-notebook", line 11, in
sys.exit(main())

File "/opt/anaconda3/lib/python3.9/site-packages/jupyter_core/application.py", line 269, in launch_instance
return super().launch_instance(argv=argv, **kwargs)

File "/opt/anaconda3/lib/python3.9/site-packages/traitlets/config/application.py", line 846, in launch_instance
app.start()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 2319, in start
success = self._bind_http_server()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 1794, in _bind_http_server
return self._bind_http_server_unix() if self.sock else self._bind_http_server_tcp()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 1820, in _bind_http_server_tcp
self.http_server.listen(port, self.ip)

File "/opt/anaconda3/lib/python3.9/site-packages/tornado/tcpserver.py", line 151, in listen
sockets = bind_sockets(port, address=address)

File "/opt/anaconda3/lib/python3.9/site-packages/tornado/netutil.py", line 161, in bind_sockets
sock.bind(sockaddr)

OSError: [Errno 49] Can't assign requested address
at Sm.rejectStartPromise (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:254981)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:255541)
at t.n (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700797)
at t.__tryOrUnsub (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:701037)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700930)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699446)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699145)
at ChildProcess.<anonymous> (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1800927)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:538:35)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)] {

category: 'jupyterconnection'
}
debug 07:56:05.223: Start cell 1 execution @ undefined
error 07:56:05.223: Error in execution (get message for cell) [Er [Error]: Jupyter server crashed. Unable to connect.
Error code from Jupyter: 1
/opt/anaconda3/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/Users/brandonl/projects/Hoeffding Tree' instead of '"/Users/brandonl/projects/Hoeffding Tree"' if you require traitlets >=5.
warn(
[W 2023-02-09 07:56:04.976 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.976 LabApp] 'config_file' was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose.
[W 2023-02-09 07:56:04.976 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.977 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-09 07:56:04.977 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2023-02-09 07:56:04.981 LabApp] JupyterLab extension loaded from /opt/anaconda3/lib/python3.9/site-packages/jupyterlab
[I 2023-02-09 07:56:04.981 LabApp] JupyterLab application directory is /opt/anaconda3/share/jupyter/lab
Traceback (most recent call last):
File "/opt/anaconda3/bin/jupyter-notebook", line 11, in
sys.exit(main())

File "/opt/anaconda3/lib/python3.9/site-packages/jupyter_core/application.py", line 269, in launch_instance
return super().launch_instance(argv=argv, **kwargs)

File "/opt/anaconda3/lib/python3.9/site-packages/traitlets/config/application.py", line 846, in launch_instance
app.start()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 2319, in start
success = self._bind_http_server()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 1794, in _bind_http_server
return self._bind_http_server_unix() if self.sock else self._bind_http_server_tcp()

File "/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 1820, in _bind_http_server_tcp
self.http_server.listen(port, self.ip)

File "/opt/anaconda3/lib/python3.9/site-packages/tornado/tcpserver.py", line 151, in listen
sockets = bind_sockets(port, address=address)

File "/opt/anaconda3/lib/python3.9/site-packages/tornado/netutil.py", line 161, in bind_sockets
sock.bind(sockaddr)

OSError: [Errno 49] Can't assign requested address
at Sm.rejectStartPromise (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:254981)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:255541)
at t.n (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700797)
at t.__tryOrUnsub (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:701037)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:700930)
at t._complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699446)
at t.complete (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:699145)
at ChildProcess.<anonymous> (/Users/brandonl/.vscode/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1800927)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:538:35)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)] {

category: 'jupyterconnection'
}
debug 07:56:05.238: End cell 1 execution @ undefined, started @ undefined, elapsed time = 0s
debug 07:56:05.238: VSCodeNotebookController::handleExecution, Class name = _v, completed in 1929ms, has a falsy return value
debug 07:56:43.869: notebook communications already initialized for editor /Users/brandonl/projects/Hoeffding Tree/incremental_training.ipynb

@DonJayamanne  Hi Don, I finally got it to work. I don't know if this had something to do with older version of python, but this is what i did.

I cleaned up the host file to make sure that localhost is not pointing to multiple ip addresses
I ran this command to reflect what's in the hosts file. sudo killall -HUP mDNSResponder
I restarted the Jupyter Notebook both from command prompt and VScode and worked cleanly

I am using pre-released version, but I will be testing the released version as well.
Thanks for all your help! All the attempts were worth it! BTW, for people who migrate their old mac to new mac with M2 chip, please be aware that you will need to reinstall anaconda with ARM version, otherwise, your package manager will not work correctly. The new version still has bugs, but it's better that you have the right sw installed for the right system

i have this problem too

Failed to start the Kernel.
Jupyter server crashed. Unable to connect.
Error code from Jupyter: 1

@wangshaolong123 please could you try installing the latest pre-release version of the Jupyter extension and let me know how that goes.
If the problem still presists, then please do create a new issue.


The last --jobserver-auth flag should be used

The first --jobserver-auth it finds is used, instead of the last like the Make manual asks:

Be aware that the MAKEFLAGS variable may contain multiple instances of the --jobserver-auth= option. Only the last instance is relevant.

$ echo 'fn main() {}' | MAKEFLAGS='--jobserver-auth= --jobserver-auth=3,4' rustc -
warning: failed to connect to jobserver from environment variable `MAKEFLAGS="--jobserver-auth= --jobserver-auth=3,4"`: cannot parse jobserver environment variable value: expected `fifo:PATH` or `R,W`, found ``
  |
  = note: the build environment is likely misconfigured

From https://github.com/rust-lang/rust/issues/120515.

Link to that paragraph
This is definitely a bug in the implementation and jobserver should try its best following how GNU make works.
The question is whether this is a breaking change needing a major version bump. Personally I don't think so. Having it in a major version bump will introduce much more inconsistency.

Does jobserver need to do the same for --jobserver-fds and uses the last instance of it?
If both --jobserver-fds and --jobserver-auth is present, which one shall we use?
Shall we just try both?

Good question!
According to this announcement, --jobserver-fds was something internally used by make itself before made public.
There is no reason both of them are present. And to me, it seems better for --jobserver-auth to take precedence over the other.

Thanks!


scene spec not returning height & width

Description of the problem this pull request fixes
I noticed this happening in the UI when I added a new group to the scene and decided to investigate:

Turns out that the way the signals were added to the scene in the reducer was breaking setting the width/height.
I removed that and also updated the scene action and reducer (and tests) to let you initialize with new properties.  It currently wouldn't let you do that.
I also added a test to make sure that height and width always returned for scene when exporting.

You can see a tiny jump because of the padding in the scene, but it's not as drastic as it was before.
This PR includes:

[x] Tests

The reducers were implemented as they were because the scene's init method has always initialized and bound to the vis_height and vis_width signals; if I'm reading this correctly, we're no longer associating the scene with the vis height and width signals, so it's not clear how to change the scene's dimensions as a whole. I'd be curious for more information on the specific issue in the reducer that was causing the large jumps, out of curiosity.

the vis_height and vis_width signals never existed on the vega view when you would initialize the scene though doing it like that.

oh wait I KNOW WHAT'S UP.

the vis_height and vis_width signals never existed on the vega view when you would initialize the scene though doing it like that.

Just discussed in slack w/ @deathbearbrown, and confirmed her suspicion: the bug originated because I altered the export code to run AFTER we destroy the scene, but the Scene's .export method tries to use sg.get to read the width/height off of vega. Switching those accessors to point at the store instead should resolve the issue.

Ok this is all linted and updated and stuff. I removed sg from Scene.js and am using the store. :)  Added the scene parts back to the reducer.
I have a better idea about what still needs doing. Thank you KAdam for letting me ramble at you.

Merged via the command line as 760dd5f.


Turn "Spec" into a section instead of a direct link

The new section contains a link to all the versions of the specification (v1
only for now), and a list of HEPs in consideration for the upcoming version.

:+1:

:+1:


https release timeline

Hi,
As you know, Postmark is deprecating http api endpoints. I saw that you already have updated the code here https://github.com/ActiveCampaign/postmark-rails/commit/c96a57984a9b80bda4a7603019fc2e03e0be6e8e
but I was wondering when you will release the ruby gem so we can update
Thanks

Hello @yazdan,
Sorry for the late reply! 🙇
postmark-rails relies on postmark-gem, which switched to using SSL by default since version 1.3.1, quite some time ago.
If you're on a semi-recent version of that gem and have no custom configuration, ie something like this:
config.action_mailer.postmark_settings = {   secure: false # disables SSL }

...then in theory you should be using https already.
Let me know if that's not the case and I can help trying to debug!

@balvig Thanks for your answer,
I checked our code and it is using not latest but pretty recent version of postmark-gem.
I will investigate more and will reopen this issue if I found any.
Thanks


server error after update to HA 2022.2.1

After update to version 2022.2.1 I get the following error: "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble". Till this update everything was fine.
trying to reinstall I get exactly the same error. Has something changed with the update?
Any idea how to solve this?

Duplicate of https://github.com/leikoilja/ha-google-home/issues/453.


Required assert should only check if value is defined

I think that the assert is doing more than it should. This shouldn't be invalid:
validator.validate({
  foobar: [],
  foobiz: ''
}, {
  foobar: [
    new Assert().Required(),
    new Assert().InstanceOf(Array)
  ],
  foobiz: [
    new Assert().Required()
  ]
});

@guillaumepotier WDYT? Currently I'm overriding the assert but if you agree I can create a PR.

Those look quite valid, if you need to specify a length, maybe you should check Length() too, which works for strings and arrays.


Shortcut to read file

Originally posted by @breautek in https://github.com/apache/cordova-plugin-file/issues/426#issuecomment-1386050453
@breautek why reading a file with this plugin needs to be so painful ;) ?
Can't we have a shortcut, such as in NodeJS, simply readFile
I propose the creation of this shortcut to read a file (with Promises)
export function readFile (path, options) {
  options = options || {}
  return new Promise(function (resolve, reject) {
    window.resolveLocalFileSystemURL(path, (fileEntry) => {
      fileEntry.file((file) => {
        const reader = new FileReader()
        reader.onloadend = () => {
          resolve(reader.result)
        }

        switch (options.format) {
          case 'arrayBuffer':
            reader.readAsArrayBuffer(file)
            break
          case 'binaryString':
            reader.readAsBinaryString(file)
            break
          case 'dataURL':
            reader.readAsDataURL(file)
            break
          default:
            reader.readAsText(file)
        }

        reader.onerror = () => {
          reject(Error(`Error occurred reading file: ${path}`))
        }
      })
    }, (error) => {
      reject(Error('resolve error', error))
    })
  })
}

We would use it for example like this
readFile(cordova.file.applicationDirectory + 'www/json/anomalies.json')
  .then((res) => {
     console.log(res)
  }).catch((err) => {
     console.error(err)
  })

@breautek why reading a file with this plugin needs to be so painful ;) ?

The plugins that Apache maintains for the most part aims to follow the W3C spec, so that (in theory) once the spec is implemented by the actual browser/webview, the plugin can simply be removed and the code will continue to work. We don't necessary choose/design the API ourselves. Most of this stems from the aim to "cease to exist" as PhoneGap used to put it.
But I do agree, the W3C spec API is garbage and that's probably why the spec has been discontinued. With that being said, I don't foresee this plugin's API changing though. At least not until W3C has a new spec that replaces the one this plugin is based on, which afaik does not exists.
Abstractions can be made to hide the meat of the filesystem API by creating utility classes/methods like your example, but I think that belongs in the community. If the plugin added those APIs, it will be very difficult to remove or potentially change in the future, should a new W3C spec be introduced.

Abstractions can be made to hide the meat of the filesystem API by creating utility classes/methods like your example, but I think that belongs in the community. If the plugin added those APIs, it will be very difficult to remove or potentially change in the future, should a new W3C spec be introduced.

But don't you agree that these abstraction layers serve exactly to maintain the API stable over the time as W3C spec change, since the end user would be faced only with a readFile(path) function?
Yes, it would demand more maintenance, and that would be a problem, I agree

But don't you agree that these abstraction layers serve exactly to maintain the API stable over the time as W3C spec change, since the end user would be faced only with a readFile(path) function?

This is before my involvement with Apache Cordova but from what I understand, all the Apache plugins were built to "cease to exists" which is why they were created as closely to W3C spec as possible. Many of these plugins were deprecated/discontinued because the webview caught up and these APIs were available. So adding any API that is not  part of the spec would mean giving the user opportunity to rely on something potentially won't be replaced by a native webview implementation. As a result, adding "custom" APIs goes against the "cease to exist" mantra that Apache Cordova/PhoneGap had.
This is why I said abstractions or providing an alternate API probably belongs in the third-party community space.
To be clear, I'm not an authoritative figure here. I'm just simply stating what the Apache Cordova community used to do and describing how adding custom APIs doesn't fit in that mantra. To get a broader feel for whether the community supports deviating from W3C spec APIs, for the purposes of adding utility methods, a vote thread could be raised in the mailing list. Personally, I'd probably vote +1.

just a further question @breautek , since XHR requests are blocked with AndroidInsecureFileModeEnabled disabled, how do we download now files from the web to the FS or as dataURL? I was using a function taken from this cordova blog post but it doesn't seem to work anymore, as I am getting CORS issues. But it was working before the new releases of cordova (<=9).

@breautek  I saw now your reply on other thread.

Because this was becoming off topic I opened an issue accordingly
https://github.com/apache/cordova-android/issues/1549


Proprietary license files

My question is related to licensing.
Most of the repository is under Apache-2.0 open source license, however, the files below has a proprietary license.
../utils/generateExamples.py
../tests/js/common/aql/aql-arangosearch-offset-info-community.js
../tests/IResearch/IResearchFilterMinHashMatchTest.cpp
../tests/IResearch/IResearchFilterNestedTest.cpp
../arangod/IResearch/IResearchDataStoreMeta.h
Is this expected? Can they be modified to be Apache-2.0 also or Do I need to get a proprietary license instead in order to use the DB?

@johan-rodriguez : I guess that the bottommost 4 of the 5 files you listed can be offered under an Apache 2.0 license. From my understanding, the wrong license header text has been used for these. But it has to be confirmed with colleagues first. I will ping them in our Slack to sort it out.
Cannot say much about the Python file yet, but would think it could be relicensed.

Fixed via https://github.com/arangodb/arangodb/pull/17437.

Thank you guys


Add CodeQL scan to PR workflow

Describe the solution you'd like
I'd like the CodeQL scanner to run for both push and PR workflows. We will be able to see results for the PR before merging.
Additional context
Currently, we are running CodeQL for JS and Python at the beginning of the push workflow.

Working well. Thank you.


PEP support via peppy and eido.

This PR introduces support for PEPs as a way of configuring a workflow.
Integration works by simply writing
pepfile: "pep/config.yaml"
pepschema: "workflow/schemas/pep.yaml"

TODO

[ ] add eido and peppy to conda-forge
[ ] add testcase

cc @nsheff

Hi, looks great -- anything you need from me?

cc @vreuter and @stolarczyk

eido and peppy are now on conda-forge as requested.
https://anaconda.org/conda-forge/eido
https://anaconda.org/conda-forge/peppy

Hi Johannes, just wanted to check in on this and see what you think

Finally done @nsheff. Once tests pass, I'll merge this.


Not logging all noHL tags for all categories in script log.

Hi Everyone,
Note I'm bad at explaining stuff so hope you understand...
I updated to the latest version with the noHL update, upon adding all my categories to the nohardlink section. I ran a dry run and noticed that only one category would get tagged e.g Movies... even though I had multiple category's setup... but upon removing the --dry-run parameter and letting it actually run it worked with all category's.
So it seems like the script is working but just not logging the activity for all category's

Fixed in latest development


[Bug] :

Device information

Aniyomi version: <IP_ADDRESS>
Android version: 11

Source information

Name: Gogoanime
Extension version: 12.41

Steps to reproduce

Choose any of the latest airing anime (ex: Tomodachi game)
Press download episode.

Expected behavior
Episode downloaded
Actual behavior
Nothing happened. Red exclamation mark shows up. And when checking the download tab, it's possible to resume which if done so nothing happens.
Other details
Older shows like shakugan no Shana downloaded no problem.
Also the previous update with the gogostream quality didn't have these issues.

Issue seems to be fixed so will close this


DefaultRoot

Duplicate of #25 because I think it's a really good feature.
I think, it's been a good feature, to add a config parameter, called default root.
In that line u can set the directory.
For example, i made a symlink near the index.php. I want only list this folder. And if i can set that, that would be great :D

Unfortunately configuring a different "base" directory is not currently possible. At the moment the Directory Lister code and files to be listed must be in the same folder.
This is due to the way Directory Lister handles (or rather doesn't handle) file access. Directory Lister only lists the files. When it comes to accessing (i.e. downloading) those files it defers to the web server to handle. While Directory Lister could list files outside of the web server's root folder the web server would not be able to access those files for download.
Someday in the future we may add file handling to Directory Lister which would allow this to be implemented but for now it's not in scope.

Unfortunately configuring a different "base" directory is not currently possible. At the moment the Directory Lister code and files to be listed must be in the same folder.
This is due to the way Directory Lister handles (or rather doesn't handle) file access. Directory Lister only lists the files. When it comes to accessing (i.e. downloading) those files it defers to the web server to handle. While Directory Lister could list files outside of the web server's root folder the web server would not be able to access those files for download.
Someday in the future we may add file handling to Directory Lister which would allow this to be implemented but for now it's not in scope.


Implementation of decoding and compilation of tableswitch opcodes

Because the BytecodeGenerator is missing support for ConstRegs,
this implementation is using TempRegs to substitute for now.

Hi @commonlisp, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

lgtm


gperftools and mercury interaction

Describe the bug
mercury's progress engine gets terribly confused when google perftools loaded
To Reproduce
Steps to reproduce the behavior:
export CPUPROFILE=/gpfs/alpine/scratch/robl/csc332/testing/ior.prof
mpiexec -f clients -launcher ssh -prepend-rank -ppn $((22)) -n $((CLIENTS*10)) --env LD_PRELOAD=$(spack location -i gperftools)/lib/libprofiler.so ${WORKDIR}/./src/ior

this mpi program fails with the following error stack:
[0] # HG -- Error -- /tmp/robl/spack-stage/spack-stage-mercury-2.0.0rc2-uqqexcg5hwzwcdi5vaiinswfegc7mura/spack-src/src/mercury_core.c:3814
[0]  # hg_core_progress(): Invalid type of poll event (0)
[0] # HG -- Error -- /tmp/robl/spack-stage/spack-stage-mercury-2.0.0rc2-uqqexcg5hwzwcdi5vaiinswfegc7mura/spack-src/src/mercury_core.c:4994
[0]  # HG_Core_progress(): Could not make progress
[0] # HG -- Error -- /tmp/robl/spack-stage/spack-stage-mercury-2.0.0rc2-uqqexcg5hwzwcdi5vaiinswfegc7mura/spack-src/src/mercury.c:1996
[0]  # HG_Progress(): Could not make progress on context (HG_INVALID_ARG)
[0] WARNING: unexpected return code (11) from HG_Progress()

I know i've used the google perftools before but it has been a while.  I don't know yet if this is summit specific.
Expected behavior
Was hoping to collect performance profiles for a mochi service
Platform (please complete the following information):

ORNL Summit machine
gcc-9.1
ofi+vferbs
libfabric-1.11.0

Additional context
Add any other context about the problem here.

@roblatham00 This was fixed with latest release with #392. You're not supposed to use rc2 anymore :)


include system startup scripts

Interim until I can get system packages built

systemd?
freebsd rc.d?
what else?


Update admin-guide.mdx

fix commands for running RPC node
add steps to fix 'SSL required' in tutorial

Hi @leonmak! Thanks for the contribution. We'll get it reviewed asap!

Hi @leonmak! Just popping in to see if you're able to make the suggested changes? Thank you!

@briwylde08 sry I forgot about this, made the changes


Use more robust way of detecting image type

In two instances (dietpi, tegra) the image is detected by checking hostname. This is fragile as it breaks when the user sets his own hostname. It'd be better to detect it using some other way.

@openoms can you maybe take a look?

In two instances (dietpi, tegra) the image is detected by checking hostname. This is fragile as it breaks when the user sets his own hostname. It'd be better to detect it using some other way.

Relevant code from build_sdcard.sh:
echo "Detect Base Image ..."
baseImage="?"
isDietPi=$(uname -n | grep -c 'DietPi')
isRaspbian=$(cat /etc/os-release 2>/dev/null | grep -c 'Raspbian')
isArmbian=$(cat /etc/os-release 2>/dev/null | grep -c 'Debian')
isUbuntu=$(cat /etc/os-release 2>/dev/null | grep -c 'Ubuntu')
isNvidia=$(uname -a | grep -c 'tegra')

To detect the Nvidia Jetson Nano image we rely on the CPU chipset name being unique, see: https://github.com/openoms/raspiblitz/pull/50#issuecomment-497263480. This allows us to make a specific change during build only relevant to the factory supplied image to that SBC: https://github.com/openoms/raspiblitz/pull/50 . I don`t think we need to change that until a test on a Jetson Nano fails. It does not affect other builds and difficult to cheat.
Regarding the DietPi builds I am not planning to test more, more favour of Armbian now. As I have not seen anyone using it we could remove it, but can`t see any harm leaving it in either as an experimental option.
Detecting by the hostname would only be be an issue if someone changes the hostname after burning a new SD with a custom image before running the build_sdcard.sh script. Changing the hostname afterwards does not trigger this script. Suggestions to detect the DietPi image in a more robust way are welcome.

Pls close this, Openoms explained above.

Ah, I lost notification for this one.

we rely on the CPU chipset name being unique,

That makes sense, the linked issue suggests that -tegra is added to kernel release, so maybe use -r instead of -a to be more specific. (Not that I expect anyone to name their device tegra, but it's one char change to eliminate the risk.)

leaving it in either as an experimental option.

Should be documented that it's experimental

if someone changes the hostname after burning a new SD

Whatever can fail will fail, I've seen various weird things. :)

@Kixunil Thanks for responding.

That makes sense, the linked issue suggests that -tegra is added to kernel release, so maybe use -r instead of -a to be more specific. (Not that I expect anyone to name their device tegra, but it's one char change to eliminate the risk.)

If it narrows down the possibility of error, should be done also.

Should be documented that it's experimental

Yes, it is lacking information about being experimental. As much as I would like to edit FAQ and README, Im waiting for the wiki to be able to organize more.


PayloadTooLargeError - Conversations stop being saved past a certain point.

When your conversation goes on for a long time. Eventually you start getting an error in the command prompt and your chatlog no longer saves any further messages.
Here's the full error message:
PayloadTooLargeError: request entity too large
at readStream (C:\TavernAI--1.2.5\node_modules\raw-body\index.js:156:17)
at getRawBody (C:\node_modules\raw-body\index.js:109:12)
at read (C:\TavernAI--1.2.5\node_modules\body-parser\lib\read.js:79:3)
at jsonParser (C:\TavernAI--1.2.5\node_modules\body-parser\lib\types\json.js:135:5)
at Layer.handle [as handle_request] (C:\TavernAI--1.2.5\node_modules\express\lib\router\layer.js:95:5)
at next (C:\TavernAI--1.2.5\node_modules\express\lib\router\route.js:144:13)
at Route.dispatch (C:\TavernAI--1.2.5\node_modules\express\lib\router\route.js:114:3)
at Layer.handle [as handle_request] (C:\TavernAI--1.2.5\node_modules\express\lib\router\layer.js:95:5)
at C:\TavernAI--1.2.5\ode_modules\express\lib\router\index.js:284:15
at Function.process_params (C:\TavernAI--1.2.5\node_modules\express\lib\router\index.js:346:12)
The only way to fix this currently is to go and manually delete parts of the chatlog to shorten the conversation so it can continue saving them.

What is the chat file size?

100KB

I can confirm this issue... conversations won't save for some reason. My chat file size is 672KB

I opened up a PR at #24 that addresses this issue, hopefully maintainer can review it soon

Temporary solution, I leave the topic open.

Same here at about 100kb


refactor: simplify virtual:client-references

Cleaning up some old approach, which is already replaced in Vite 6 version https://github.com/hi-ogawa/vite-environment-examples/tree/main/examples/react-server

#351  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


RHEL/CentOS 7 Fix for Let’s Encrypt Change

For TLS certificates issued by Let’s Encrypt, the root certificate (DST Root CA X3) in the default chain expires on September 30, 2021. Due to their unique approach, the expired certificate will continue to be part of the certificate chain till 2024. This affects OpenSSL 1.0.2k on RHEL/CentOS 7 servers, and will result in applications/tools failing to establish TLS/HTTPS connections with a certificate has expired message.


Added UTF8 encoding to process start information for rust tool

Racer, rustc and cargo use UTF8 console output. Fix some problem with non ASCII path to tools.

Yep, this seems like the right thing to do. Thanks! But could you please also set the StandardErrorEncoding to UTF8 where RedirectStandardError is enabled?


Add error code 0x800706d9

@j-martens
#holdoff

@jimmart-dev Can you let us know whether the PR still under hold-off? Thanks.
cc @tiburd

Sent email to @j-martens

Closed based on response from Josée M.


Fix incorrect compiler warning from CMake when building tests with Clang on Linux

Ok, thanks. I must have fixed this some time ago.


qemu: Ensure error output is written to log with debug=true

If launching qemu fails and debug output is enabled, read the content of
qemu.log and write it into the runtime log.
Fixes: #2042
Signed-off-by: Jan Schintag<EMAIL_ADDRESS>

/test-ubuntu

it's duplicated with https://github.com/kata-containers/runtime/pull/2055

Hmm #2055 does look nicer


Make it possible to add new span attributes through Otel-Collector

Fixes https://github.com/gitpod-io/observability/issues/308

Summary
Essentially this PR splits the creation of the variable ConfigMapData into multiple small functions.
While building the processor configuration, it will check if the installer config asks for extra span attributes:

No extra attributes means that the processor configuration will be empty
If there is extra attributes to be added, the processor configuration will exist.

How to test
You can open a workspace from this PR, then play around with the file installer/examples/full-config.yaml by adding or removing fields to tracing.extraSpanAttributes then running:
cd installer
make generate-full

This command will generate the file installer/monitoring-satellite.yml, and you'll notice that Otel-collector's configmap will be written as expected

👋 @gitpod-io/platform -- I'm merging this one because we need to update previews with the extra attributes 🙂


Account Balances and Nonces are not updating in real time

Seems strange, the data is being sent up in batches from the TestRPC service...

Fixed in cb6337c


20230519 fixes

update sessions: policy_4 to policy4
update sessions: policy_6 to policy6
update sessions: add DELETE operation support
fix several invalid requests fired off from the UX during operations
fix manually updated / added sessions not showing in peering list
remove old session cruft
fix peering list session create / delete bugs

Codecov Report

Merging #58 (b9d1a2b) into prep-release (b7ece19) will increase coverage by 0.13%.
The diff coverage is 1.78%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@               Coverage Diff                @@
##           prep-release      #58      +/-   ##
================================================
+ Coverage         25.72%   25.85%   +0.13%
================================================
  Files                71       71
  Lines              3985     3961      -24
================================================
- Hits               1025     1024       -1
+ Misses             2960     2937      -23

Impacted Files
Coverage Δ

src/django_peerctl/rest/serializers/peerctl.py
0.00% <0.00%> (ø)

src/django_peerctl/rest/views/peerctl.py
0.00% <0.00%> (ø)

src/django_peerctl/models/peerctl.py
45.87% <9.09%> (-0.36%)
:arrow_down:

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


Automated cherry pick of #10867: fix(region): avoid network create failed when vpc is ok but wire not sync

Cherry pick of #10867 on release/3.7.
#10867: fix(region): avoid network create failed when vpc is ok but wire not sync

Codecov Report

Merging #10868 (857cc0d) into release/3.7 (0ff3997) will decrease coverage by 0.40%.
The diff coverage is 1.14%.

@@               Coverage Diff               @@
##           release/3.7   #10868      +/-   ##
===============================================
- Coverage         5.98%    5.57%   -0.41%
===============================================
  Files              848      518     -330
  Lines           131795    90236   -41559
===============================================
- Hits              7887     5034    -2853
+ Misses          123206    84801   -38405
+ Partials           702      401     -301

Flag
Coverage Δ

aFlag
5.57% <1.14%> (-0.41%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apis/const.go
0.00% <0.00%> (ø)

pkg/apis/input.go
0.00% <ø> (ø)

pkg/apis/list.go
0.00% <ø> (ø)

pkg/appsrv/appsrv.go
44.32% <0.00%> (-4.35%)
:arrow_down:

pkg/baremetal/tasks/baseprepare.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/ipmiprobe.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/stop.go
0.00% <0.00%> (ø)

pkg/cloudcommon/notifyclient/events.go
0.00% <ø> (ø)

pkg/cloudcommon/notifyclient/notify.go
0.72% <0.00%> (-0.45%)
:arrow_down:

... and 464 more

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 99994d9...857cc0d. Read the comment docs.


Open new tabs on top (vertical tabs)

I would like the capability to toggle whether new tabs are opened on the top/bottom of my vertical tabs.
current

existing tab
existing tab
new tab

suggested

new tab
existing tab
existing tab

Hello. Just to double-check, because this isn't clear to me: is this about the Edge browser tabs, or about the tool tabs within DevTools?

This question is related to the Edge browser tabs.

Ah ok, in that case you're not in the right place. This repository is for DevTools, which is a built-in tool within Edge, for developers.
For any feedback regarding the browser itself, please use the browser feedback tool instead, here's how:

Click Settings and more (the ... button in the top-right corner of the browser).
Click Help and feedback.
Click Send feedback.

Thank you for your understanding.


Refactoring MetadataParameters to BTreemap and enable user-defined MetadataParameters

This PR makes it possible to have user-defined metadata by changing metadataparameters into a btreemap that user can modify.
This is required as after investigation, it's really hard to create StructArray of different size fields without copy.
This makes it more simple for user to pass metadata single value within an input event.
This also makes it a lot more simple for us to manage metadata as we can in the future easily add metadata fields.

FYI, this is not adding breaking change except for getting open_telemetry in rust. Going from:
let string_otel_context = metadata.parameters.open_telemetry_context.to_string();
let string_otel_context = metadata.open_telemetry_context();

Just realised that I still need to update the README of nodes and rewrite dora-rerun to take advantage of the webcam additional metadata information.

@phil-opp , feel free to not review in details implementation of each nodes, as it can be a lot to review and I don't know if a thorough review is required as we are still churning through the code in quite a fast pace.
But I would love to have you're feedback on changing MetadataParameters from a struct to a BTreeMap.

@phil-opp  , ok I will try to make that easy.

Ok, so after investigating it seems that adding the metadata, will make it very hard in readibility as everything will be nested in arrays, and this recursively in case of nested data.
I think that for the sake of usability, I will keep the implementation as is for now. And we can revisit nesting everything into an Apache Arrow array in the future if the API make it more attractive.
I can also add the metadata within dora-record for now.


remove version number in folder name

In a recent commit, the version number has been specified at the top-level folder as "TransiEnt 2.0.2-dev". It should be considered to keep the file system consistent across different version numbers. Changing file paths in the future could break some code.
Instead of specifying version numbers in the file system, release tags or the ReadMe file can be used for version specification.

Thank you sebglom for your feedback. You are right. I will consider it!


Update Thanos compactor backlog document to prevent accidental data loss

Is your proposal related to a problem?

When running compactor to work through a backlog we lost data for certain time range. I was following this official Thanos documentation about handling compactor backlog but ended up loosing some of the data. After going through the Thanos compactor codebase I was able to understand why the data loss happened. You can find more details here https://github.com/thanos-io/thanos/discussions/6293. Thankfully I was running it only for a relatively small period and also the oldest data so the impact is limited.
I appears the safest option should be to disable retention while working through backlogs by running compactors for fixed shorter time range. Otherwise data might get deleted like my case. Also, I am still not sure how to run the fixed range compactors in parallel since each might end up with blocks that are not fully downsampled in its tail, depending on the time range and how compaction merged the blocks. For example, if i had run 2 compactors in parallel for 2 consecutive time range (with retention increased as stated) they might end up with 0 or 5 min resolution block(s) in its tail. How can I ensure they are safely downsampled without data loss. Not sure if this is even possible since the head of 2nd compactor-range would have produced a 14 day 1h downsampled block already and merging this tail block(s) from 1st compactor-range would increase the block range.
Describe the solution you'd like

It would be great to have this knowledge documented  to help users in future and avoid accidental data loss. Also have more information about how we can safely run multiple compactors for non-overlapping time range in parallel and still have data compacted and downsampled properly without any data loss.
Describe alternatives you've considered

I could post a PR updating the docs, but my knowledge of how compaction works is limited and hence would be great if someone more familiar with the compactor can update the docs with the nuances.
Additional context

Thanos version: v0.29.0

Thanks for the callout @v1jayr. One more clarification question here:
When you were following the doc to work through the backlog, what operations did you take and it ended up losing data?
It is not very clear to me why this issue happened. Is it because the retention time you set is short for blocks so they got deleted before they are able to be compacted into 1h downsample blocks?

This is the retention config for the compactor I ran.
      --retention.resolution-raw=30d
      --retention.resolution-5m=30d
      --retention.resolution-1h=3y

As you can see raw and 5m gets deleted after 30 days and I was compacting data between 5/12/2022-7/01/2022. Since the last 8 days of data was not compacted into 10 day block 1h downsampling got skipped. 5m blocks were generated for this time range though. When retention logic was ran, it ended up deleting all the raw and 5m blocks and with that I lost the data from 5/26/2022-01/07/2022.
In the end there was 1h blocks for the following time period:

05/12 - 05/26
05/26 - 06/09
06/09 - 06/23

And I lost data for 06/23 - 06/31. Let me know if you need any other information.
PS: Thank you for writing that doc in the first place. It was hugely helpful in troubleshooting the issue with Compactor and coming up possible solutions.

Is it because the retention time you set is short for blocks so they got deleted before they are able to be compacted into 1h downsample blocks?

Yes. But that was the case for all the data. Based on my reading of the compactor codebase, the downsampling to 1h happens successfully in spite of 5m and raw blocks are past retention period. This is because retention logic is not run until both the downsample pass is complete. The issue I had was compaction did not produce 10day block for the last "period" due to maxTime in compactor. So downsample 2nd pass skipped the blocks and completed.


setCustomHeader

Hi Samir, thx for this new great option.
I've seen if mode is not set in date-time-picker allways returns default option.

Yes you are right, setCustomHeader depends on mode to display selected time, if no mode is selected it displays default format. so you can use three of this options to set mode 'date,date-time, time'

Great! Thx


PhotoPost by source url don't get saved in "queued" state

Hey. I am not sure what I am doing wrong here. Everything works fine except that my posts are getting saved in a published state instead of queued. No exceptions are thrown.
This is my method.
public void postImage(String imageSource, String text) throws IOException {
  try {
			PhotoPost post = clientToPostWith.newPost(
					blogname,
					PhotoPost.class);
			post.setCaption(text);
			post.setState("queued");
			post.setPhoto(new Photo(imageSource));
			post.save();
			System.out.println(post.getState());
			System.out.println(clientToPostWith.blogPost(blogname, post.getId()).getState());
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		}
	}
}

The output is:
queued
published

setState("draft")

and
setState("private")
and of course
setState("published")
do what they should do. The posts end up being a draft, private or published but never queued which, coincidentally, is the only state I am interested in :(

Interesting. I do pretty much the same and it works fine for me. In fact when testing, I post to the queue, then in "production" I post to "published". There are a few differences though. I just reviewed where I create the post and I use:
PhotosetPost psp = jClient.newPost(blogname, PhotosetPost.class);

The only difference, supposedly, between PhotoPost and a PhotosetPost is that with a PhotosetPost you can post more than one photo. But the differences in the classes is that Photoset just extends the PhotoPost with three additional interfaces: addPhoto, addSource, addData.
In my case the PhotosetPost is surrounded by a try/catch but I catch all exceptions, i.e.:
PhotosetPost psp;
try {
    psp = jClient.newPost(blogname, PhotosetPost.class);
 } catch (Exception e){
  ...

and the save is surrounded by the try catch as follows:
try {
    psp.save();
} catch (IOException e) {
    ...
}
catch (JumblrException j) {
    ...
}

in my case though this is done because the creation and adding of fields and the final saving is done in different parts of the code.
it shouldn't make any difference, but does it work with a PhotosetPost?

The location of the exceptions shouldn't make a difference really as they don't get thrown but you said so yourself. :)
I tried your suggestion but sadly, the symptoms remain the same. Any post where the state is set to "queue" goes online as "published".
Here is the code at the moment with your suggestion:
	public Poster() {
		clientToPostWith = new JumblrClient(CONSUMER_KEY, CONSUMER_SECRET);
		clientToPostWith.setToken(OAUTH_TOKEN, OAUTH_TOKEN_SECRET);

		blogname = clientToPostWith.user().getName();
	}

	public void postImage(String imageSource, String text) throws IOException {
		try {
			PhotosetPost post = clientToPostWith.newPost(
					blogname,
					PhotosetPost.class);
			post.setCaption(text);
			post.setState("queued");
			post.addSource(imageSource);
			post.save();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		}
	}

I included the constructor in case I do something wrong there. But authentication, connection etc doesn't seem to be an issue. It is really curious.

OK, Just a really, really stupid, non technical, question here. How many entries do you currently have in your Tumblr Queue?

47 which I pushed over there by hand from my drafts

@Linus12 can I ask you, what version of Java you are using? And I assume you're using jumblr release 0.11?

@Tickeldi currently using Java version: 1.8.0_73
As for Jumblr, I pulled down the current master source, which includes 0.11 plus a few additional fixes (like #80 and it's duplicate #79). I then made the changes as specified in my three pull requests (#71, #74, and #85). I then compile it into a .jar file that I use on my projects. Hopefully, sometime soon, version 12 will be released with at least these changes in it and I won't have to do this anymore.
But changes I made shouldn't have any affect on the state of a post.
Have you tried debugging and verifying a) the actual state just prior to the save, as well as the return response from the save? I had to do this to figure out some obscure error/warning messages that were never returned by Jumblr (or were so obfuscated that the actual error was "lost in translation").

I'm using java version "1.8.0_74" on linux. I'm also using gson 2.5 but this shouldn't have an influence on jumblr really.
I tried debugging this yes and as far as I can follow the code the request is built just fine with "state=queued". I don't really understand the oauth step where the request gets translated into some kind of bytecode but I can't imagine that any of this contains the reason for the strange behaviour I am experiencing (can't be sure though). The response of a try run I just made was {"meta":{"status":201,"msg":"Created"},"response":{"id":139820754791}}. What I'll do right now is creating a minimal project containing just my problem with hardcoded values (not the token and secrets but everything else) and upload it to github. If that yields another result I'll have to have a look at my setup. If it doesn't maybe you or someone else can try to run it as well and see what happens.

Here. https://github.com/Tickeldi/jumblrError. Libraries are included.
One class, one method, a main in Poster.java. It will create a post, write the local and remote state of it to stdout and delete the post again.
For me the output is
'''
Lokal state: queued
Remote state: published
'''

Can you try setting the state to queue instead of queued?
According to the API docs for the state field:

The state of the post. Specify one of the following:  published, draft, queue, private

Thanks.  Firstly, I oriented myself at the actual tumblr api, thinking that the states would be the same here:

States are published, queued, draft and private

And I did not look closely enough at the api-docs. Also I am sure I tried this before and it didn't work. Maybe I did something else wrong at that time because NOW it WORKS.
THANK YOU

No worries, I'm glad it works for you now!


Error: Accessing PropTypes via the main React package is deprecated

Trying to get this set up for the first time, running into this warning:
bundle.js:1008 Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
Error location in code (when viewed in Chrome Console):
RouterToUrlQuery.propTypes = {
  children: _react.PropTypes.node
};

Dependency slice:
  "dependencies": {
    "history": "^4.6.1",
    "react": "^15.5.4",
    "react-url-query": "^1.1.1",
    "redux": "^3.6.0",
    "typescript": "^2.2.2",
    "webpack": "^2.4.1",
  }

Which is weird, since the Redux example seems to run fine. Any ideas?
If it helps, here's the link to the branch: https://github.com/ExpeditionRPG/expedition-cards/tree/history

+1

Fixed in 1.1.2

Thank you! :)

I am still getting the error. from file addUrlProps.js I am on version 1.1.3

Sorry, I missed a couple imports. Should be fixed now in 1.1.4.

I must say you have some serious response time ;)


Docs.MS Release Updates for azure-storage-file-datalake

Update docs metadata and targeting for release of azure-storage-file-datalake

Docs Build status updates of commit 53b8d53:
:clock10: Full build: the average full build time is 97 min(s) 49 sec(s), this is based on the last 823 build(s) for this repository.

Docs Build status updates of commit 53b8d53:
:warning: Validation status: warnings

File
Status
Preview URL
Details

legacy/docs-ref-autogen/overview/EventHubs/Client.yml
:warning:Warning
View (azure-java-legacy)
Details

docs-ref-services/storage-file-datalake-readme-pre.md
:white_check_mark:Succeeded
View (azure-java-stable) View (azure-java-preview) View (azure-java-legacy)

package.json
:white_check_mark:Succeeded

legacy/docs-ref-autogen/overview/EventHubs/Client.yml

[Warning-DuplicateUids] Uid(azure.java.sdk.landingpage.services.eventhub.Client) has already been defined in docs-ref-services/messaging-eventhubs-readme.md.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Support for vlan translation

Issue Type

[X] Template enhancement
[ ] Role enhancement
[ ] Documentation enhancement (avd.sh)

Ability to support overlapping vlans from customers in the same device using vlan translation with EVPN.
Vlan translation gives the user the ability to map packets from one vlan to another internal vlan (only for tagged frames) rewriting the VID field. Then,  this internal vlan can be mapped to a VXLAN Virtual Network Identifier (VNI) thus enabling overlapping customer vlans to participate in different VXLAN segments.
interface Ethernet20/1
   switchport mode trunk
   switchport vlan translation c_vlan internal_vlan1
   switchport vlan translation c_vlan internal_vlan2

Describe the solution you'd like
Support this natively on the SERVERS.yml file.
Describe alternatives you've considered
We can today do the following configuration as a workaround using "raw_eos_cli"
  server01:
    rack: RackA
    adapters:
      - type: nic
        server_ports: [Eth0, Eth1]
        switch_ports: [Ethernet20/1, Ethernet20/1]
        switches: [CL-1, CL-2]
        profile: Util_server
        port_channel:
          description: PortChanne1
          mode: active
          short_esi: 0011:1100:0001
          raw_eos_cli:
            switchport vlan translation 10 20

            switchport vlan translation 11 21

Thanks Claus. I missed that was supported, as you said maybe at some point its good to have in eos_designs but great if this is available already via eos_cli_config_gen:
vlan_translations:
      - from: < list of vlans as string (only one vlan if direction is "both") >
        to: < vlan_id >

https://avd.sh/en/releases-v3.x.x/roles/eos_cli_config_gen/index.html
thanks

Hi David you can try the below:
server01:
  rack: RackA
  adapters:
    - type: nic
      server_ports: [Eth0, Eth1]
      switch_ports: [Ethernet20/1, Ethernet20/1]
      switches: [CL-1, CL-2]
      profile: Util_server
      structured_config:
        vlan_translations:
          - from: < list of vlans as string (only one vlan if direction is "both") >
            to: < vlan_id >

Hi Tony,
Structured config works for me thanks. However i tried some configuration like this:
          structured_config:
            vlan_translations:
               - from: 10,11,12
                 to: 13,14,15

And CLI config generated with AVD is the following with a single command for all mappings:
   switchport vlan translation 10,11,12 13,14,15

That syntax though does not seem correct, at least im trying it on T3. And also the Arista configuration guide seems to expect a 1:1 mapping and a single link command:
https://www.arista.com/en/um-eos/eos-virtual-lans-vlans#xx1262637
switch(config)#interface ethernet 5
switch(config-if-Et5)#switchport vlan translation 50 60
switch(config-if-Et5)#switchport vlan translation 61 71
switch(config-if-Et5)#switchport vlan translation 62 72

Not sure if this is a bug or some other platform supports that syntax. is there any way to generate the single vlan translation commands?
thks

Because your direction is both. Just use one vlan at once instead of a list.
structured_config:
  vlan_translations:
     - from: 10
       to: 13
     - from: 11
       to: 14
     - from: 12
       to: 15

Sorry i missed we could specify mutliple statements within vlan_translations. perfect that worked now


Error creating instance

Nov  2 11:07:01 sf-2 ERROR sf-queues-1635811616.4654198-4eqjToav750MAaEq[3000162] [Exception] Ignored error in sf-queues: stat: path should be string, bytes, os.PathLike or integer, not NoneTy
pe
Traceback (most recent call last):
  File "/srv/shakenfist/venv/lib/python3.9/site-packages/shakenfist/daemons/queues.py", line 111, in handle
    instance_start(inst, task.network())
  File "/srv/shakenfist/venv/lib/python3.9/site-packages/shakenfist/daemons/queues.py", line 314, in instance_start
    inst.create(iface_uuids, lock=lock)
  File "/srv/shakenfist/venv/lib/python3.9/site-packages/shakenfist/instance.py", line 444, in create
    self._configure_block_devices(lock)
  File "/srv/shakenfist/venv/lib/python3.9/site-packages/shakenfist/instance.py", line 634, in _configure_block_devices
    util_image.create_cow([lock], cached_image_path,
  File "/srv/shakenfist/venv/lib/python3.9/site-packages/shakenfist/util/image.py", line 65, in create_cow
    info = identify(cache_file)
  File "/srv/shakenfist/venv/lib/python3.9/site-packages/shakenfist/util/image.py", line 22, in identify
    if not os.path.exists(path):
  File "/usr/lib/python3.9/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Nov  2 11:07:01 sf-2 INFO sf-queues-1635811616.4654198-4eqjToav750MAaEq[3000162] enqueue_instance_error; error=Failed queue task: stat: path should be string, bytes, os.PathLike or integer, not NoneType; instance=577d3a0a-54ca-4ff5-a62b-df0e9db836cc

This seems to be a race with the new image cache cleaner, where:
cached_image_path = util_general.file_permutation_exists(
                            os.path.join(config.STORAGE_PATH,
                                         'image_cache', disk['blob_uuid']),
                            ['iso', 'qcow2'])

Returns None indicating the file is no longer in the image cache and we don't check for that (and also shouldn't be deleting things from the cache that we're about to use).

I think this is resolved now.


Update the links and cross references in the Users' Guides for LISF 7.3 release

There are still a few broken links in the Users' Guides.  I am asking the lab to help me correct them.  I will fix those in a subsequent pull request.


Observer property pass

Pass property name as third argument in observer callback. It's very useful to reuse observer logic when we know the name of changed property.

I signed it!

Polymer 2 does not have this atm, WDYT @kevinpschaaf @sorvell @azakus ?

This can be implemented in Polymer 2by overriding _propertiesChanged which provides a bag of changedProps that contain the property names and its new values.


Bugs konnection not update type connection

When I try open wifi first time it given correct wifi type.But, when i try off wifi and try to get back this function still return wifi type.
Below here my sample code:
class ConnectionNetworkChecker : NetworkChecker {
    private val konnection = Konnection.createInstance(true)

    override  fun isInternetAvailable(): Boolean {
        return when(konnection.getCurrentNetworkConnection()){
            NetworkConnection.WIFI, NetworkConnection.MOBILE, NetworkConnection.ETHERNET -> true
            else-> false
        }
    }
}

interface NetworkChecker {
    fun isInternetAvailable(): Boolean
}

Note: I do this in kotlin multiplatform. Both ios and android not showing correct result type connection.

@magnumrocha any update on my issue?

@hafiz013 thank you for your feedback.
I've just tested the scenario you described, and the Konnection library works fine.
Check the attached video.
https://github.com/user-attachments/assets/bbd1696c-db37-45c0-a657-313c0548cac9
Can you share more details about your Issue?


Grouping items in dropdown / autocomplete components

Describe the feature
It would be nice to have an option to group dropdown / autocomplete options together. For example, see:
https://mantine.dev/core/multi-select/#group-items

Thanks for the suggestion — this is roughly on the roadmap, but I've made it more explicitly so by broadening the title of #426 to include dropdowns specifically. I'll close this in favor of that one.
Thanks for the suggestion 👍


ISSUE-946: cleanup openssl s_server processes after CI test

LGTM.
I would just change the commit message to
Fixes #946: cleanup openssl s_server processes after CI test


esbuild not found

windows, on both my main vault with lots of plugins and a fresh one with just BRAT.

looks like you were working on this recently? seems like your fix didnt take. obsidian-dev-utils loads fine if i do that manually.

there are two repos named "obsidian-dev-utils" and i seem to have tried the wrong one (https://github.com/RyotaUshio/obsidian-dev-utils/), ill try yours now.

ah, confusingly that one is a valid plugin and yours isnt.

Fixed in https://github.com/mnaoumov/obsidian-fix-require-modules/releases/tag/5.0.3

@taygetea you mentioned you tried to do something with obsidian-dev-utils. Why? What made you think it's the problem?

on a brief skim of this code i guessed it might also break if esbuild was having some systemwide issue. i dont have much experience with the js ecosystem but did some messy exploratory stuff with a big project a few days ago and was a little worried i had broken something on my system.


Sync user followers

This is kind of a sanity check on this.
Still work to do on the kinesis client so it works with just being passed conceptIds but would like to get feedback on WIP.

@leggsimon @dapenguin subject to your reviews the work on syncUserFollwers should be good to go. Futher to our conversation re email-notifications I've left the requests to kinesis as is.

@leggsimon @dapenguin think I've covered all the PR comments raised but would you guys mind casting your eyes over this one last time.

@dapenguin @simonplend would one be happy to to approve this PR?

@Thurst-ft Think you've got the wrong Simon :smile:


Code analysis data and repo is not showing in hygieia dashboard

Hi
Can anyone help for hygieia setup with jenkins
Build and Deploy data is showing but code analysis and repo data is not  showing
Please find the attachment of the error of Hygieia Dashboard,
@rvema could you please help me for this

No one responding hence closing the issue


Generic errors raised in places making them harder to handle.

There are several places that raise a generic Exception. This is generally considered bad practice because it makes handling errors more difficult. For example in BaseDendriteBrowser:
        if not dendrite_api_key or dendrite_api_key == "":
            dendrite_api_key = os.environ.get("DENDRITE_API_KEY", "")
            if not dendrite_api_key or dendrite_api_key == "":
                raise Exception("Dendrite API key is required to use DendriteBrowser")

        if not anthropic_api_key or anthropic_api_key == "":
            anthropic_api_key = os.environ.get("ANTHROPIC_API_KEY", "")
            if anthropic_api_key == "":
                raise Exception("Anthropic API key is required to use DendriteBrowser")

        if not openai_api_key or openai_api_key == "":
            openai_api_key = os.environ.get("OPENAI_API_KEY", "")
            if not openai_api_key or openai_api_key == "":
                raise Exception("OpenAI API key is required to use DendriteBrowser")

In order to handle this you would have to catch all exceptions, inspect them, then re-raise if it isn't the exception you are wanting to handle.

Thanks for the issue! We're working on replacing them with our own Exceptions. Should be completed in the coming week


keep-alive by default

i want to keep-alive requests with flask apps, but actually, i send some requests in a tcp stream, it closed http connection,not tcp connection soon. so i want to know flask keep-alive time ,(like nginx keep-alive time can config by myself, only in conf writes like : keep-alive: 300s). is by default?

Please ask support questions on IRC or Stack Overflow.


Timeline reports wrong numbers when zooming out

From this comment by  by @jenga5:
The timeline plugin reports the wrong numbers if you zoom in like 10x and then try to go back. It works fine zooming in, but zooming back out seems to be the problem. (and this was on only a 4 min audio file)

I couldn't reproduce it.


Introduce the global instance pattern

Describe the change
Introduces the global instance pattern, discussed a few weeks ago in this thread and prototyped in this gist. Multiple Strings::Inflection::Inflector instances can be defined, each with their own isolated configuration. Strings::Inflection delegates to an internal global instance.
Why are we doing this?
This change continues to support the current api, which is arguably more convenient for most needs. But it does this within an architecture that's flexible for more complex use-cases.
Benefits
It makes it possible to have multiple inflectors with different configurations.
Drawbacks
The global instance architecture is more complex, particularly for gem maintainers.
Requirements
Put an X between brackets on each line if you have done the item:
[x] Tests written & passing locally?
[x] Code style checked?
[x] Rebased with master branch?
[] Documentation updated?

@piotrmurach I'd like your input on this approach. If you want to adopt it, I could use your input on how best to document the delegators in Strings::Inflection. I can take a stab at updating the README with details on how to use instances directly and why you'd want to.

Nice one! I agree 💯 with this approach for all the strings components. I applied this pattern(modified version) to strings-numeral gem already. It uses initialize for configuration - please see.
My 'modified' version applied to this gem would look like this:
inflector = Strings::Inflection.new do |config|
   config.rule "ax", "axes"
   ...
end

What I like about it is:

It plays well with the idea of instance - no extra APIs to learn like configure
It doesn't create a deep nesting of modules/classes
It captures configuration into Configuration object that can be provided to Term
It keeps concepts that users need to learn about to bear minimum.

One worry I have about the Strings::Inflection::Inflector is how it would work with other gems naming. Strings::Case::Caser/Casing, Strings::Numeral::?? Suddenly, there may be the computer science hardest problem at our hands 😄
It's a delicate balance between user ergonomics and code design. I really do agonise over things like this 😅 Can you see any drawbacks with the 'modified' approach?
What's your take? I mean whatever we decide I'd like this to be consistent across all the strings components.

Nice, I like your suggestion. It would still be good to expose configure on the instance, since configuration might not always be possible at the time of initialization. We could do this by:

Exposing configuration through a reader on the instance.
Defining a configure method on the instance.

Of these, option 2 feels like a better design. What do you think?
By the way, I'd be happy to replace this PR with the final approach once it's worked out.

The option 2 feels like the right choice. I'd even go as far as to say that this should be the only way to configure the instance. For some reason, I feel that many ways to do the same thing create complexity. Shall we stick with only configure?

Supporting configure only would be my first choice. It's a bit surprising that config would be yielded to the block passed to new (I would expect the instance itself).

Closing this in favor of the approach discussed above. Will open a new PR in the coming days.


Add Symfony 7.0 compatibility

This seems to be the only change needed to let it run under Symfony 7.0
Declaration of Sourceability\Instrumentation\Bundle\DependencyInjection\Configuration::getConfigTreeBuilder() must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder(): Symfony\Component\Config\Definition\Builder\TreeBuilder

I assume Symfony 7.0 needs to be added to the suggestions in the composer.json as well. Do you need it somewhere else as well? Maybe for testing?

Thank you! Tagged 1.0.4

Thank you for merging :)


duplicated methods to remove overlay from map

Hi, I'm just thinking there's two methods which seems having the same functionality.
Those are overlay.setMap() and map.removeOverlay(overlay). To remove overlay from the map, we can choose one of the methods. and in that case, we can simply use setMap() as when we add the overlay to the map.
Could you tell me what is the advantage of having two methods? and what is the difference between two of them?
Thanks,

The difference between the two is simply that map.addOverlay()/removeOverlay() keeps a collection of overlays of the map in map.getOverlays(), whereas overlays added/removed with overlay.setMap() do not go into that collection.

That is inner logic. But, on the screen, both looks the same. what can be difference by putting into the collection?

Just your convenience/preference. Choose whatever you prefer.

map.getOverlays() returns the collection, so if you use setMap directly, your overlay will not be included. Also collections are observable, so you can add event listeners to them, and you can also itererate through them with forEach() etc. OTOH, you may well not need/use these options, and in this case using setMap is probably slightly more efficient.

the same btw applies to controls too

Thanks, @probins @ahocevar


Objects are not referenced

The attributes of objects used in responses (and everywhere in the interface description) are directly copy-pasted without using reference to the object. References are used only when pointing from an object definition to another definition.
Desired solution
references should be used in Swagger in all places, where they were used in Api Blueprint
Example Api Blueprint
...

Response 200 (application/json)

Attributes (object)

segment (SEGMENT) - One segment.
segmentsArray (array[SEGMENT], fixed-type) - Array of segments.
...

--- Data Structures
--- PLAN (object)

segment (SEGMENT) - One segment.
segmentsArray (array[SEGMENT], fixed-type) - Array of segments.

--- SEGMENT (object)

attr1
attr2
attr3

Example generated Swagger
get:
  responses:
    '200':
      description: OK
      headers: {}
      examples:
        application/json:
          segment:
            attr1: ''
            attr2: ''
            attr3: ''
          segmentsArray:
            - attr1: ''
              attr2: ''
              attr3: ''
      schema:
        type: object
        properties:
          segment:
            type: object
            properties:
              attr1:
                type: string
              attr2:
                type: string
              attr3:
                type: string
            description: One segment.
          segmentsArray:
            type: array
            items:
              type: object
              properties:
                attr1:
                  type: string
                attr2:
                  type: string
                attr3:
                  type: string
            description: Array of segments.
  summary: Get Plans of People
  description: xyz
  tags:
    - People
  parameters:
    - name: dateFrom
      in: query
      description: Date from.
      required: false
      x-example: '2018-08-01'
      type: string
    - name: dateTo
      in: query
      description: Date to.
      required: false
      x-example: '2018-08-30'
      type: string
  produces:
    - application/json

definitions:
Collection of Plans of People: {}
PLAN:
type: object
properties:
segment:
type: SEGMENT
segmentsArray:
type: array
items:
$ref: '#/definitions/SEGMENT'
SEGMENT:
type: object
properties:
attr1:
type: string
attr2:
type: string
attr3:
type: string

Same as #33.
OK, I will add a flag to change behavior.

Thank you.

Added --prefer-reference option at v1.4.0.
Thanks!


Set instancing flags when using GPUParticles in OpenGL renderer

Fixes: https://github.com/godotengine/godot/issues/72847
https://github.com/godotengine/godot/pull/72681 partially fixed #72847, but it missed setting the flags for GPUParticles. This PR adds the flags.
GPUParticles always read color and custom_data from the particle buffer, so the flags always need to be set

Thanks!


Renderer does not work anymore with arcade 2.7.xdev

Due to some changes within arcade it looks that the IMGUI renderer has some problems with viewport and rendering.
Screenshot

Requirements
pip install arcade==2.7.1.dev5 arcade-imgui

Example code
import arcade
import imgui
from arcade_imgui import ArcadeRenderer

class ImageInfo(arcade.Window):

    def __init__(self):
        super().__init__(800, 600, "UI Gallery", resizable=True)

        imgui.create_context()
        self.renderer = ArcadeRenderer(self)

    def on_draw(self):
        self.clear()

        imgui.new_frame()

        imgui.show_demo_window(False)

        imgui.render()
        self.renderer.render(imgui.get_draw_data())

if __name__ == '__main__':
    window = ImageInfo()
    arcade.run()

Hi,  I just updated the repo to arcade 2.7.1.dev5
I'm not having any issues running your example on Windows 11/RTX2060.
The problem your experiencing looks like a clipping issue inside ImGui.
Can you clone/update this repo and run the example and let me know what happens?
I put it in examples/basic.py
Thanks

This is realted to pixel ratio. Retina has 4 pixels per viweport coordiante, It could be something I broke in arcade as well.
The way it works now: Arcade will detect the current pixel ratio and adjust the viewport and scissor box automatically. Externally you only need to deal with "window coordiantes".
Seeing only 1/4th of the screen being covered here it seems like a viewport thing?

That makes sense, I opened it on a 4k screen.

Same result with the version from main branch

I will boot up the old mac

That makes sense to me looking at the image.  Nice work @einarf.  I wish I could help but I don't have a Mac

I'll figure it out. I see that the viewport drops down to 800 x 600 after a couple of frames, so I need a bit more time to hunt down this issue. There is a scissor box being set by arcade-imgui I also need to tweak. We should use the ctx.scissor value unstead.

@eruvanos can you try master branch now? I think I fixed it.

Yay @einarf , our savior!  Works on my machine, anxious to hear from @eruvanos.
So that was it?  Just the scissors?  I was sure it had something to do with self.io.display_fb_scale also

Works again <3 Thank you!


Vagrant box does not come with precompiled crystal

Attempting to compile crystal in any of the vagrant boxes gives this error
bin/crystal: line 10: crystal: command not found
Should the latest crystal binary be included as part of the provisioning?

Yes. The Vagrant files are a bit outdated. Previously we used them to generate crystal binaries for linux by cross compiling, but now we have another (better) way to do it, so we don't use Vagrant at all now.

I just updated (93aa54e) the Vagrantfile so it should work out of the box.


Enable auto port discovery for PU's started with apoctl.

…code to merge UID along with normal process
Description
Changes proposed in this pull request.
Test plan
Outline the test plan used to test this change before merging it.


Add waiting time for reset settings

bootstrap will wait 2 sec.
at that time if user input R1, henkaku settings will clear, otherwise
just continue
if exceed waiting time, just continue automatically
Related #49
Implement #48

Looks good, did you test it?

yes. tested. :)


[Feature]: increase the thickness of the scroll bar for the widget table

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Some users find it difficult to use the horizontal scroll bar in a widget table because it is thinner than the classic scroll bars seen on the Internet.
Why should this be worked on?
it will be more convenient for users to access information in a widget table.

Hi @Nikhil-Nandagopal, I’d like to work on this issue. Could you please assign it to me?

Hi @ambati-vedapriya. Thank you for your interest in contributing. We have marked some issues with Inviting contribution label we would appreciate it if you could take a look at those, if possible.
Feel free to use this link: https://github.com/appsmithorg/appsmith/issues?q=is:open+is:issue+label:"Inviting+Contribution"
If you still want to work on this, let us know the solution you plan to implement, keeping in mind that we follow a specific design system and need to maintain consistency with it.


libwebp: 1.3.1 -> 1.3.2

Description of changes
follow-up to https://github.com/NixOS/nixpkgs/pull/254775
fixes CVE-2023-4863, which allows us to drop the patch
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Thank you!

Can you take care of backporting this to 23.05 as well? (I don't think the auto-backport will apply cleanly)


Stop LinkExtraction when MaxDepth is reached

Hello,
I am using the Norconex collector 2.8.0 to crawl web sites.
I need to optimize the processing time, for that I 've override the LinkExtractorStage by adding a simple test before link extraction to not extract link if the page is already at max depth :

    @Override
    public boolean executeStage(HttpImporterPipelineContext ctx) {
        String reference = ctx.getCrawlData().getReference();

        int depth = ctx.getCrawlData().getDepth();
        int maxdepth = ctx.getConfig().getMaxDepth();

        if (depth == maxdepth) {
            LOG.debug("Max depth reached ; do not extract link");
            return true;
        }

I think sometimes it's useful to always extract link and then rejected them if they are too deep, but for my case it's useless.
I wonder if it's possible to add a new feature in  HttpCrawlerConfig to avoid link extraction when max depth is reached.
Thanks for your job !

Not a bad idea! :-)  Marking it as a feature request.

@essiembre I think 8045d19 solves this, however was removed from #718

Both solutions in this ticket and in #718 were applying their logic to end extraction AFTER the extraction was actually performed, so no processing was saved.  The only effect was to prevent extracted URLs from being queued, but that part is already handled by the queue pipeline so it also had no effect.
The only benefit I can see of having a configurable option to stop the link extraction stage prematurely is to save the extraction process itself.
For that reason, I instead created a new option called keepMaxDepthLinks in a new 2.x snapshot I just released.  By default, the crawler will no longer store/extract URLs on pages having reached the specified max depth (if any).  Set this new flag to true to keep the former behavior.  This new logic takes place BEFORE extraction actually happens.
This new configuration option has no effect on crawler using the default "unlimited" max depth (-1),
This I think addresses this feature request and #718.  Give it a try and please confirm.

Hi Pascal,
I test this new option (keepMaxDepthLinks) and it do perfectly the job, less logs, less content in CrawlDataStore , quickly finished crawl execution and time saving for next executions.
Thanks a lot.


Who can i aktivate the Graphs? and where can i switch on MLT bye piaware?

Hello. i have yesterysay install adsb-receiver for fr24 and flightaware.
I have 2 problems.

On my installation, the Graphs, https://camo.githubusercontent.com/5641b935c447ddb28ade377546df2a7e75339497/687474703a2f2f6173736574732e6a61636f6277616c6c2e6e6574646e612d63646e2e636f6d2f616473622d72656365697665725f6c6976655f64756d70313039302e706e67
are missing.
Where can i switch on MLT on piaware?
I have a pi2.
greetz conan

You should be able to change the map displayed on dump190-mutability by clicking the light blue icon like the one located in the corner of the screenshot you linked. If you are running dump1090-fa and I remeber right the icon should be about the same but smaller.

You can turn on PiAware MLAT by visiting their website and turning it on in your receiver profile.

My problem was that the install.php has created a buggy mysql database and so the protal does not even start. With an older install.php I have created a running mysql database (/var/www/html/data/portal.sqlite) and copied them in purely. Dan ran the kommplette Protal, I could not say that it was because.

i have found ist, my error, im sorry.

I apologize for my bad English. I speak German and used Google Translate.

Not a problem no reason to appologize.
@vitaliy-sk posted a fix for SQLite installation I merged into the master branch today. Apparently something was messed up with the v2.6.2 SQLite option causing headaches. This might have been the problem you ran into.


attendance marking system using face recognition and OpenCV

would like to propose an program in python that will train from a dataset using openCV and while using a webcam or any picture if the program recognises it the attendance will be marked in a .txt file.
as a participant for GSSOC'21 and would love to work on this
please assign me this issue
[GSSOC'21] - LABEL

Hey @akshitagupta15june, I'm Vishal Patil and I would like to work on this issue under GSSoC'21. It'll be great if you assign this to me as well so that I can contribute to this along with @harshsinha03.
Thanks!

hi if i will assign to two then there will be two pr and there can be conflict.

hi if i will assign to two then there will be two pr and there can be conflict.

I and @harshsinha03 can work together dividing the work among ourselves if @harshsinha03 is fine with that. We will try to first merge our code and then make a single PR.
Thanks.

Hello, I am a GSSOC'21 participant and would like to contribute to this project.