Turbo-stream link with GET request being interpreted as HTTP request in turbo-ios

I have a link_to that is setup with data: { turbo_stream: true } (and the appropriate route and turbo_stream.erb file) that works properly as a TURBO_STREAM in the browser. When I trigger this link from a Turbo-iOS app, it's being interpreted as a normal HTTP request. If I change the route and link to a POST method, it works properly in both the browser and Turbo-iOS app.
Steps to reproduce:

Create a .turbo_stream.erb view file with a turbo_stream action and corresponding get route
Add a link_to on a different view to link to this path and include data: { turbo_stream: true } in the link
Observe that clicking the link produces a TURBO_STREAM response in the rails console when visiting from browser but produces an HTTP response when visiting and clicking from a Turbo-iOS app
Change the above mentioned route to use post and add data: { 'turbo-method' => :post } to the link_to
Observe that clicking the link now produces a TURBO_STREAM response on both web browsers and Turbo-iOS apps

I've stumbled on the similar issue recently and I did some digging around:
Turbo Stream request vs Normal HTTP request
Just to be on the same page I wanna mention that Turbo Stream request is a request that contains text/vnd.turbo-stream.html in HTTP Header Accept. This type is registered in turbo-rails so we can do format.turbo_stream in our controllers. Normal HTTP request does not contain text/vnd.turbo-stream.html in HTTP Header Accept.
The problem
The problem I've stumbled upon was, that when a link was navigated from Turbo-iOS app I was getting HTTP 406 Not Acceptable response. This was because the controller was coded to only render in turbo_stream format and would fail with ActionController::UnknownFormat if turbo_stream was not part of HTTP Accept.
The link was rendered as <a> tag with data-turbo-stream="true".  It was performing a GET request.
Somewhere deep in the Turbo code there's a check that checks if the link that is being clicked contains attribute data-turbo-method and if it's not present the turbo will stop handling that visit here inside the FormLinkClickObserver.
Turbo Session instantiates 2 ClickLinkObservers:

:one: One thorough FormLinkClickObserver which is instantiated here that had delegate of that FormClickObserver
:two: And another one directly in Session with delegate of Session

Since the first one 1⃣  already decided not to handle this click event the second one 2⃣ kicks in. The second ClickLinkObserver passes the check here because the delegate is now Session and Session#willFollowLinkToLocation does not check for data-turbo-method. Then it calls  Session's followedLinkToLocation which eventually calls adapter.visitProposedToLocation.
Now here there's a difference between Web and Native. In web that adapter is instance of BrowserAdapter which properly implements turbo-stream response type (text/vnd.turbo-stream.html) in Accept HTTP header, but in Native the adapter (in case of iOS) is TurboNative which ends up sending a message inside the Swift code which takes over the navigation. And that WebViewBridge does not seem to implement turbo-stream response type in Accept HTTP header. Note that the acceptsStreamResponse option is being recognised properly in JS and is being passed with the message inside the options hash but the bridge does not do anything with this information.
Conclusion
I've managed to "fix" it for my usecase by adding data-turbo-method="GET" to my <a> tag. This way the visit is handled inside the JS and does not hit the Swift code. This way I could stay with GET request and I didn't have to use POST request. But it feels more like a workaround. I'm wondering if there's a reason why turbo-ios (and probably also turbo-android) does not implement this or if it's just a bug.

@tulak You're my saviour, thank you so much!

@tulak Thank you very much for this detailed explanation! I was quite confused about this behaviour, your explanation helped!

@joemasilotti: I appreciate your description and workaround, buy why close this? It's a bug if the native adapter doesn't work like the web. I had to go deep to find this ticket. I'm very glad you found a workaround because that looks like it took forever to figure out. I'd keep this open.

I agree with @dginsburg. This issue does not seems to be resolved. Just today our development team managed to deploy a code change that used just the data-turbo-stream attribute according to the documentation (without the workaround). It passed all our integration tests and manual testing in web. But it caused a bug in native apps due to the above-mentioned difference of BrowserAdapter and TurboNative adapter. I think the turbo adapters (Web, iOS, Android) should all implement the same functionality.

I implemented support for streams in turbo-ios and it's working in our app. I also added what's necessary in the demo project but haven't tested it. I'll eventually submit a PR but don't know when I'll get to that.
https://github.com/hotwired/turbo-ios/compare/main...higher-pixels:turbo-ios:stream


fix: actions and accessorType is untyped when using nuxtServerInit()

Here's the reproduction link: https://codesandbox.io/s/elated-ives-x1hzb?file=/store/index.ts
Take a look at /store/index.ts file:

When i'm trying to use $accessor inside nuxtServerInit() then i'm gettin error about actions and accessorType - "
implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."
Actually what i'm trying to achieve here, is to fetch data, then commit it:
    async nuxtServerInit(_vuexContext, nuxtContext: Context) {
      const data = await nuxtContext.app.$api.calc.getOffers()
      const offers = data.bundles
      const services = data.services
      const selectedInternet = offers[0].selected
      nuxtContext.app.$accessor.calculator.setInternet(
        offers[0].availableBundles[selectedInternet]
      )
    },

Also what's the purpose of _vuexContext if we're using $accessor?

Just make sure to type the return type of the action that uses the accessor. This works fine:
    async nuxtServerInit(_vuexContext, nuxtContext: Context): Promise<void> {
      console.log(nuxtContext.app.$accessor.fullEmail);
    }


Fixes #745

If it's tested to work, it can be merged.

thank you so much, yes this works on nixos

Thanks @valkenburg-prevue-ch, good catch!


Unable to use Copilot Chat

Copilot Chat Extension Version: v1.246.0
VS Code Version: 1.95.3
OS Version: Windows 11 Pro 64-bit (10.0, build 22631)
Logs: 2024-11-28 09:28:29.632 [info] Using the Electron fetcher.
2024-11-28 09:28:29.633 [info] Initializing Git extension service.
2024-11-28 09:28:29.633 [info] Successfully activated the vscode.git extension.
2024-11-28 09:28:29.633 [info] Enablement state of the vscode.git extension: true.
2024-11-28 09:28:29.633 [info] Successfully registered Git commit message provider.
2024-11-28 09:28:29.633 [info] Logged in as PD0A6174_ebazy1
2024-11-28 09:28:30.425 [info] Got Copilot token for PD0A6174_ebazy1
2024-11-28 09:28:31.115 [info] copilot token chat_enabled: true, sku: copilot_standalone_seat
2024-11-28 09:28:31.119 [info] GitHub.vscode-pull-request-github extension is not yet activated.
2024-11-28 09:28:31.151 [info] Registering default platform agent...
2024-11-28 09:28:31.275 [info] Fetched model metadata in 835ms e17d074c-bf9c-4de5-befe-cfd3cffc1137
2024-11-28 09:28:31.345 [error] SyntaxError: Unexpected token '<', ")
at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)
at successSteps (node:internal/deps/undici/undici:5470:27)
at fullyReadBody (node:internal/deps/undici/undici:4381:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at consumeBody (node:internal/deps/undici/undici:5479:7)
at Wm._fetchModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:17431): Failed to fetch models (e17d074c-bf9c-4de5-befe-cfd3cffc1137)
2024-11-28 09:28:31.345 [info] activationBlocker from 'languageModelAccess' took for 1817ms
2024-11-28 09:28:31.541 [warning] Invalid remote agent response: This browser does not support iframe.</htm (SyntaxError: Unexpected token '<', ")
at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)
at successSteps (node:internal/deps/undici/undici:5470:27)
at fullyReadBody (node:internal/deps/undici/undici:4381:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at consumeBody (node:internal/deps/undici/undici:5479:7)
at Wm._fetchModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:17431): Failed to fetch models (f5fdc78c-4988-4e9a-ba30-18e2454727a4)
2024-11-28 09:28:54.151 [info] Using the Electron fetcher.
2024-11-28 09:28:54.151 [info] Initializing Git extension service.
2024-11-28 09:28:54.418 [info] Logged in as PD0A6174_ebazy1
2024-11-28 09:28:55.279 [info] Successfully activated the vscode.git extension.
2024-11-28 09:28:55.279 [info] Enablement state of the vscode.git extension: true.
2024-11-28 09:28:55.279 [info] Successfully registered Git commit message provider.
2024-11-28 09:28:55.606 [info] Got Copilot token for PD0A6174_ebazy1
2024-11-28 09:28:55.838 [info] copilot token chat_enabled: true, sku: copilot_standalone_seat
2024-11-28 09:28:55.838 [info] GitHub.vscode-pull-request-github extension is not yet activated.
2024-11-28 09:28:55.886 [info] Registering default platform agent...
2024-11-28 09:28:58.194 [info] Fetched model metadata in 2562ms 25f7d60e-e5ed-43fb-b6d6-61910ac7d60b
2024-11-28 09:28:58.209 [error] SyntaxError: Unexpected token '<', ")
at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)
at successSteps (node:internal/deps/undici/undici:5470:27)
at fullyReadBody (node:internal/deps/undici/undici:4381:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at consumeBody (node:internal/deps/undici/undici:5479:7)
at Wm._fetchModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:17431): Failed to fetch models (25f7d60e-e5ed-43fb-b6d6-61910ac7d60b)
2024-11-28 09:28:58.210 [info] activationBlocker from 'languageModelAccess' took for 4084ms
2024-11-28 09:28:58.215 [warning] Invalid remote agent response: This browser does not support iframe.</htm (SyntaxError: Unexpected token '<', ")
at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)
at successSteps (node:internal/deps/undici/undici:5470:27)
at fullyReadBody (node:internal/deps/undici/undici:4381:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at consumeBody (node:internal/deps/undici/undici:5479:7)
at Wm._fetchModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:17431)
at Wm.getChatModelFromFamily (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:15511)
at l2.getChatEndpoint (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:20787)
at t (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:628:825)
at fE._registerLanguageModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:628:1810)
at async Promise.all (index 0): Failed to fetch models (248958d4-918c-45d5-b499-92a119ad4ae6)
2024-11-28 09:31:51.620 [info] Using the Electron fetcher.
2024-11-28 09:31:51.620 [info] Initializing Git extension service.
2024-11-28 09:31:51.620 [info] Successfully activated the vscode.git extension.
2024-11-28 09:31:51.620 [info] Enablement state of the vscode.git extension: true.
2024-11-28 09:31:51.620 [info] Successfully registered Git commit message provider.
2024-11-28 09:31:51.629 [info] Logged in as PD0A6174_ebazy1
2024-11-28 09:31:52.622 [info] Got Copilot token for PD0A6174_ebazy1
2024-11-28 09:31:52.671 [info] copilot token chat_enabled: true, sku: copilot_standalone_seat
2024-11-28 09:31:52.671 [info] GitHub.vscode-pull-request-github extension is not yet activated.
2024-11-28 09:31:52.692 [info] Registering default platform agent...
2024-11-28 09:31:53.077 [info] Fetched model metadata in 446ms 6842c28c-1758-4984-b6c3-a3abe773ae97
2024-11-28 09:31:53.079 [error] SyntaxError: Unexpected token '<', ")
at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)
at successSteps (node:internal/deps/undici/undici:5470:27)
at fullyReadBody (node:internal/deps/undici/undici:4381:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at consumeBody (node:internal/deps/undici/undici:5479:7)
at Wm._fetchModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:17431): Failed to fetch models (6842c28c-1758-4984-b6c3-a3abe773ae97)
2024-11-28 09:31:53.080 [info] activationBlocker from 'languageModelAccess' took for 1627ms
2024-11-28 09:31:53.083 [warning] Invalid remote agent response: This browser does not support iframe.</htm (SyntaxError: Unexpected token '<', ")
at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)
at successSteps (node:internal/deps/undici/undici:5470:27)
at fullyReadBody (node:internal/deps/undici/undici:4381:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at consumeBody (node:internal/deps/undici/undici:5479:7)
at Wm._fetchModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:17431)
at Wm.getChatModelFromFamily (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:15511)
at l2.getChatEndpoint (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:1773:20787)
at t (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:628:825)
at fE._registerLanguageModels (c:\Users\pd0a6174.vscode\extensions\github.copilot-chat-0.22.4\dist\extension.js:628:1810)
at async Promise.all (index 0): Failed to fetch models (ac236d54-bb95-4427-b1cd-0000ca1ca02b)

Steps to Reproduce:
The copilot account is provided by company and running on virtual machine with most of the domain blocked. Which domain need to be unlocked in order for the Copilot chat to be used by both VS Code and Intellij Idea?

When opening Copilot Chat Extension on VS CODE

not working on my m1 macbook either, i click on the copilot icon, the chat box on the right side isn't showing up, working fine on my ubuntu though @mjbvz

Here's a screen record. When I am clicking on open chat, nothing is happening
https://www.loom.com/share/ff324a902f62485f81a0b0216142ed8b?sid=31ce29af-6749-48b7-994d-a2ed827dd9b8

@lramos15 thanks working now, after installing that extension manually


Files do have null ports.

Fixes: https://github.com/ada-url/ada/issues/42

@lemire Can you also add a test case for parsing a file path with a port?

@anonrig Test added.


Gogs merge: fix #1112

(cherry picked from commit 35be8741c4523206aa3bff4aad1dda23847b381e)

It seems there is no changes except version number.

https://github.com/gogits/gogs/commit/35be8741c4523206aa3bff4aad1dda23847b381e That should be the fix

Gitea has fixed this issue. So we are no need to merge this.


[BUG] - UI issues in 0.4.1 version on Windows 10

termscp is unusable since the 0.4.1 version compiled and used under Windows 10.
Some texts are written outside of the log window and disrupt completly the UI.

I've tested the Windows version before the release, but I'm unable to see any of the issues you described. Could you please be more precise of the issues you're having? Could you post a screenshot please?

Pure-FTPd under Ubuntu and termscp under Windows 10:
The bug happens just after the connection to the server.
Some texts are written under the log frame (which disrupt the UI)
true;Some(Directory(FsDirectory { name: "Files", abs_path: "/home/user1/Files/", last_change_time: SystemTime { intervals:<PHONE_NUMBER>00000000 }, last_access_time: SystemTime { intervals:<PHONE_NUMBER>00000000 }, creation_time: SystemTime { intervals:<PHONE_NUMBER>00000000 }, readonly: false, symlink: None, user: Some(0), group: None, unix_pex: Some((7, 7, 7)) })) tr> 2021-04-12T21:00:00+04:00 [INFO ]: Established connection with '<IP_ADDRESS>': "220 This is a private system - No anonymous login"                                                                                _time: SystemTime { intervals:<PHONE_NUMBER>00000000 }, readonly: false, symlink: None, user: Some(0), group: None, unix_pex: Some((7, 7, 7)) }))
I can still browse the directories but it gets even worse and more text is added at the bottom...
Everything return to normal after the deconnection.

Damn, I'm really sorry, there was a debugging print on stderr in the ftp file transfer. This was causing the issue only in Windows when connected to a Linux FTP server.
I'm going to release a patch this evening CEST to fix the issue.

Issues solved in 0.4.2, which has just been released.


ReadMe files update

Updating English, Persian, and Chinese ReadMe files in order to make them clear for users and fixing grammatically incorrect sentences and broken URLs.

Updating English, Persian, and Chinese ReadMe files in order to make them clear for users and fixing grammatically incorrect sentences and broken URLs.

Thanks for contribution.
It's done!

My pleasure,
Thank you for your great and useful script.


When can orientation Markers Tools be used in version 3.x

Because of the cornerstone. resize () method, we upgraded the version to 3.x, but unfortunately orientationMarkersTools disappeared.

@chenxxcc, I responded to a previous issue you created here: https://github.com/cornerstonejs/cornerstoneTools/issues/967
We are more than happy to accept and review a PR to add orientation markers, but to the best of my knowledge, it is not on any core team member's roadmap to add this functionality in the near future. If you need immediate assistance, I recommend reaching out to a consultant.


Create git-like CLI

Would be great if this came with (or maybe someone made a new repo for) a git-like CLI. NodeOS is in desperate need of something like this! (nodeos/nodeos#67)

We've definitely talked about this and I think it's a great idea.
I do think though it's out of scope for NodeGit. However, NodeGit would be a solid back-end for such an implementation though.

Node.js packages can work both as libraries and binaries due to the bin field, so a CLI command that delegates all its functionality to the library would be possible...

@piranna I don't think any of us want to write it.  If someone else writes it and PRs, we can discuss it for real then.

Yeah, I'd be down to help maintain it, or even help write it, but I wouldn't want to be the sole source of it.

Hi, I made a start with a JavaScript API for NodeGit inspired by git cli / https://git-scm.com/. Trying to not use too many dependencies and keep it simple.  Any feedback is highly appreciated https://www.npmjs.com/package/nodegit-kit
There is a other modules on npm https://www.npmjs.com/browse/keyword/nodegit too, maybe we could join effort?

@tylerl0706 has been working on a Node.js git client to allow to use git repositories on NodeOS, maybe you would be interested to contact him to join efforts :-)

ty


Side loaded extensions don't prompt when outdated.

VSCode Version:1.3.1, 1.4.0-insiders
OS Version:Windows 10

Steps to Reproduce:

Download ESLint extension version 0.10.17 using URL: https://dbaeumer.gallery.vsassets.io/_apis/public/gallery/publisher/dbaeumer/extension/vscode-eslint/0.10.17/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage
Rename .zip to .vsix and install the .vsix with File > Open File...
Restart VS Code and check that installed version is 0.10.17.  The current Marketplace version is 0.10.18 so should be prompted to update.  Check Show Outdated Extensions, nothing.

This also happens if you side load 0.10.18 and then change the version to 0.10.17.  VS Code doesn't detect the extension as outdated.
If you install 0.10.18 from Extension view, and change the version number to 0.10.17, it will be detected as outdated.

When an extension is side loaded, the __metadata field in package.json is null.
If installed through VS Code Extension view:
	"__metadata": {
		"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
		"publisherId": "29859a75-d81b-4f0e-8578-2c80ecee6f99",
		"publisherDisplayName": "Dirk Baeumer"
	}

side loaded:
"__metadata": null

Yeah, this is as designed. Side loaded extensions are not linked to the marketplace.


Clojure set ns to current file doesn't work with buffers in /tmp/

If I'm in a clojure project and I use acid.nvim to go to the definition of a library's function it will open that function's file in a temporary directory like /tmp/random-id/the-lib/misc.clj
When using iron.nvim's <leader>sn to make the repl's namespace match that /tmp/random-id... buffer's namespace I get (in-ns misc) instead of  the expected (in-ns the-lib.misc)
Fixing this will allow one to more easily change the definition of a lib's function during exploratory development; something that is possible in emacs development flows

Unfortunately, the problem might be on acid instead, since, when acid is present, iron delegates the task:
https://github.com/BurningEther/iron.nvim/blob/master/rplugin/python3/iron/repls/clojure/utils.py#L9.
I'll make sure the problem indeed not here, but I'd bet its not.
Cheers


Remove uncessary function calls

Avoid a call to the internal factory function if there is nothing to destructure.

Thanks, that's cleaner ✨


Add zynq docs

This PR adds docs for the zybo board.
They include:

example for the counter on zybo
SD card preparation for the zynq ARM core booting process
Bitstream loading through U-boot

This PR also contains a small fix to the readme collector script that enables to have special tags in the examples READMEs. For instance external references, as well as text modification (italic, bold) were not allowed.

Docs generated by this PR: https://symbiflow-examples--102.org.readthedocs.build/en/102/

@acomodi I also think that we want to have the fixes to the jinja templates as a separate PR


icerpc-csharp/slice files updated by #3806 and #3808

The icerpc-csharp/slice subtree was updated directly by PRs #3806 and #3808 (my PRs), when the correct procedure is to update the files in icerpc-slice first.

Updated the subtree by executing
git subtree push --prefix=slice git@github.com:icerpc/icerpc-slice.git main

From icerpc-csharp


[FLINK-5041] Savepoint backwards compatibility 1.1 -> 1.2

This PR implements sub-issues [FLINK-5042] and [FLINK-5043] of [FLINK-5041].
[FLINK-5042] : Backwards compatibility for savepoints is implemented by reintroducing some older classes from 1.1 that have been removed/replaced/changed in 1.2. All such classes are moved to a different packet prefixed as org.apache.flink.migration, while their class names remain unchanged. With MigrationInstantiationUtil a special deserialization facility is provided that allows to load Java serialized objects of classes from 1.1. The idea is to redirect their fully qualified classname to their new location in org.apache.flink.migration. This is done through a modified ObjectInputStream. All state meta structures and handles are then converted to 1.2.
[FLINK-5043] : Introduced code in the keyed state backends ensures backwards compatibility by translating states from the old backends based on Heap, Filesystem, and RocksDB.

R please @aljoscha @StephanEwen or who else is interested in taking a look into this.

Thanks a lot for the review, I addressed the comments (except for some tests which will still follow in a different commit). Looking for approval on the changes/rebase and somebody to merge this. Could you help me on this @uce ?

@StefanRRichter ist there already an issue for adding a very elaborate test for this that restores from a Flink 1.1 savepoint? If not, could you please create one.
Very good work, by the way! 👍 😃

Thanks @aljoscha ! I will talk with @twalthr about this today and will create a JIRA after we agreed upon the scope and way of testing this. Expect a JIRA later today.


Editing lovelace YAML as suggested in doc: "Unable to parse YAML: YAMLException: duplicated mapping key"

Hi, the doc (https://github.com/danielwelch/hassio-zigbee2mqtt) suggests this:

And add something like the following to your lovelace YAML file (if using YAML mode):

type: entities
entities:
  - entity: input_boolean.zigbee_permit_join
  - entity: timer.zigbee_permit_join
  - entity: sensor.bridge_state
show_header_toggle: false
title: Zigbee

But I can't save the lovelace YAML file because of this error:
https://i.imgur.com/L1EHuBK.png
Could you please tell me how to solve it?
Thanks for your kind help :-)
**zigbee2mqtt add-on version: 1.6.0
**Operating environment (HassOS, Virtual Machine, Device/platform running Hass.io):Hass.io running on a Raspbian with docker-ce
Your entire configuration from the frontend (with sensitive fields redacted):
{
  "data_path": "/share/zigbee2mqtt",
  "devices": "devices.yaml",
  "groups": "groups.yaml",
  "homeassistant": true,
  "permit_join": true,
  "mqtt": {
    "base_topic": "zigbee2mqtt",
    "server": "mqtt://core-mosquitto:1883",
    "user": "****",
    "password": "*******"
  },
  "serial": {
    "port": "/dev/ttyACM0"
  },
  "advanced": {
    "pan_id": 6754,
    "channel": 11,
    "network_key": [
      1,
      3,
      5,
      7,
      9,
      11,
      13,
      15,
      0,
      2,
      4,
      6,
      8,
      10,
      12,
      13
    ],
    "availability_blacklist": []
  },
  "ban": [],
  "whitelist": [],
  "queue": {}
}

Your logs from Hass.io
zigbee2mqtt:info 11/1/2019, 10:59:11 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:01:51 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:04:31 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:07:11 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:09:51 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:12:31 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:15:11 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:17:51 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:20:31 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:23:11 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:25:51 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:28:31 PM Successfully reenabled joining
zigbee2mqtt:info 11/1/2019, 11:31:11 PM Successfully reenabled joining

This isn’t related to the add-on and looks like a basic yaml syntax issue. From the screenshot, it looks like you define title twice at the same level. Whenever you have an issue like this, try just copying your YAML into an online parser/linter. There’s plenty online.

Same error, how to fix?
title: HomeBox
views:
  - path: default_view
    title: Home
    badges:
      - entity: binary_sensor.updater
      - entity: person.dmitrii
      - entity: sun.sun
    cards: []

type: entities
entities:
  - entity: input_boolean.zigbee_permit_join
  - entity: timer.zigbee_permit_join
  - entity: sensor.bridge_state
show_header_toggle: false
title: Zigbee


Implement Login Steam API

Implement API in order to login with Steam.
Docs: https://learn.microsoft.com/en-us/rest/api/playfab/client/authentication/login-with-steam?view=playfab-rest

[x] Implement new request

[ ] Update documentation

[x] Add example with a Steam Auth Session Ticket

[ ] Add example with a Steam Auth Ticket for Web API

Additional notes:

Don't forget to cancel Steam Auth Tickets in the examples.

Perhaps it would make sense to create a separate package for this, as there are hard dependencies on GodotSteam?

GodotSteam is not required in order to login into PlayFab with Steam. Only string and bools are needed. I just use GodotSteam to do my tests easily (I don't want to do my own wrapper 😄) and give an example for other developers.

I see, I just figured it might be cool to add a package that wraps what you get from GodotSteam!

Hmm, I don't know. I used a "wrapper" in my test that I will show in the documentation.
Making a package for that is maybe over-engineered. Furthermore, GodotSteam or the SteamSDK (C++) is very big (auth, leadeboard, pvp, ...) and contains many subtleties that developers should be aware (session begin / end, auth create / cancel, ...)

Implemented with #132


Add kubeproxy unit tests

See individual commits.

It looks great Tom, It would be amazing if we were able to contribute those fake wrappers to the netlink library itself "upstream"ier %)

Thanks for reviewing.  Yeah I could look into contributing it to netlink.


How to save automated task as a app ?

I want like to know if there is any way that I can save a task as a app ? Basically I am trying to simplify a task for a old lady but is to complicated for her to open Power Automator and start the task manually every single time. How can I save it as a app or icon or something that when doble clicked to performed the task?

Instant flows can be used enable your scenario. All the person would need to do is to tap a button and the flow runs. Also, you may consider creating a scheduled flow as well. This way, the flow runs without any interaction from a human.


“RuntimeError: cuda runtime error (59) : device-side assert triggered” in scatter_ function

❓ Questions & Help

Dear author,
When I use PyG for point cloud segmentation with my own code, there is an error come out as follows:
x = scatter_(name, x[col], row)   File "/home/yangfei/.conda/envs/geometric/lib/python3.7/site-packages/torch_geometric/utils/scatter.py", line 28, in scatter_     out = op(src, index, 0, None, dim_size, fill_value)   File "/home/yangfei/.conda/envs/geometric/lib/python3.7/site-packages/torch_scatter/max.py", line 106, in scatter_max     src, out, index, dim = gen(src, index, dim, out, dim_size, fill_value)   File "/home/yangfei/.conda/envs/geometric/lib/python3.7/site-packages/torch_scatter/utils/gen.py", line 22, in gen     dim_size = maybe_dim_size(index, dim_size)   File "/home/yangfei/.conda/envs/geometric/lib/python3.7/site-packages/torch_scatter/utils/gen.py", line 7, in maybe_dim_size     return index.max().item() + 1 if index.numel() > 0 else 0 RuntimeError: cuda runtime error (59) : device-side assert triggered at /opt/conda/conda-bld/pytorch_1556653215914/work/aten/src/THC/THCReduceAll.cuh:327
The whole function which causes this error is as follows:
def fps_pooling(name, pos, x, edge_attr, batch=None, k=32, r=0.5):     assert name in ['max', 'mean', 'add']     idx = fps(pos, batch, ratio=r)     row, col = knn(pos, pos[idx], k, batch, batch[idx])     x = scatter_(name, x[col], row)     pos, edge_attr, batch = pos[idx], edge_attr[idx], batch[idx]     return pos, x, edge_attr, batch
This error doesn't come out all the time. It occurs after some training epochs so that I can not the root reason which causes this error.
The environment is
Ubuntu 16.04
python 3.7
cuda 10
torch 1.1
torch_geometric 1.3.1 which is already up to date
If you can provide me some clues about this problem. I'll appreciate it. Thank you!

@rusty1s I have found the root reason that causes this error. An array in my code is out of range. Thanks anyway!


Trouble getting specific videos to download

I am running into speed issues when downloading from Daily motion (takes more than 22 minutes to download a 22 minute video).
My attempt to deal with this? Download multiple files at once, in the background.
To do that, I tried to get the URL's from the individual files.
# Fetch three episode URL's as a test
keybounceMBP:Mlp michael$ youtube-dl --playlist-end 3 -g http://www.dailymotion.com/user/MLPFiMVideos/1
https://www.dailymotion.com/cdn/H264-848x480/video/x4084fl.mp4?auth=1459390611-2562-p541qh0n-87f5e7c75849dad5bb17738787d583f7
https://www.dailymotion.com/cdn/H264-848x480/video/x407ywo.mp4?auth=1459390619-2562-p58jnguq-cb7d9ec8c4093d5897f6dd6fafe0216b
https://www.dailymotion.com/cdn/H264-848x480/video/x3gfaow.mp4?auth=1459390627-2562-w92bt2zy-22a8bcf37a4eb65e60b2718212ba6c28

# Try to grab the first one
keybounceMBP:Mlp michael$ youtube-dl 'https://www.dailymotion.com/cdn/H264-848x480/video/x4084fl.mp4?auth=1459390611-2562-p541qh0n-87f5e7c75849dad5bb17738787d583f7'
[dailymotion:user] cdn: Downloading webpage
[download] Downloading playlist: cdn
[dailymotion:user] cdn: Downloading page 1
[dailymotion:user] playlist cdn: Downloading 8 videos
[download] Downloading video 1 of 8
[dailymotion] x40g88f: Downloading webpage
[dailymotion] x40g88f: Downloading m3u8 information
^C
ERROR: Interrupted by user
keybounceMBP:Mlp michael$

Note that even though it was given a single video URL, with the authorization cookie, it winds up downloading a generic page's playlist.
The goal was to do something like
youtube-dl -g | xargs -1 youtube-dl {} &
to download each file in the background, at the same time.
(Since that did not work, the next choice, obviously, is to let it run overnight :-).

It's not intended to be used for final URLs this way - use regular downloader on the final URL.


About.html changes

There was a double body tag issue at the file bottom

This should be merged ASAP

prerelease


[Operational Policies] Usage of To header mediation policy

Description:
The expectation of setting the To header is to change the endpoint dynamically. The policy works fine with dynamic endpoints. But listing this as a default policy is misleading and the user might get confused about its actual usage.

Valid use case hence moving.


[tool_crash] FileSystemException: Cannot open file, OS Error: The system cannot find the file specified., errno = 2

Command
flutter doctor

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: The system cannot find the file specified.
, errno = 2
#0      _File.throwIfError (dart:io/file_impl.dart:675:7)
#1      _File.openSync (dart:io/file_impl.dart:490:5)
#2      _File.writeAsBytesSync (dart:io/file_impl.dart:644:31)
#3      _File.writeAsStringSync (dart:io/file_impl.dart:668:5)
#4      ForwardingFile.writeAsStringSync (package:file/src/forwarding/forwarding_file.dart:150:16)
#5      ErrorHandlingFile.writeAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:266:22)
#6      _runSync (package:flutter_tools/src/base/error_handling_io.dart:587:14)
#7      ErrorHandlingFile.writeAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:265:5)
#8      Cache.setStampFor (package:flutter_tools/src/cache.dart:673:35)
#9      VersionCheckStamp.store (package:flutter_tools/src/version.dart:798:30)
#10     FlutterVersion._getLatestAvailableFlutterDate (package:flutter_tools/src/version.dart:338:31)
<asynchronous suspension>
#11     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart:285:47)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:335:11)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#17     main (package:flutter_tools/executable.dart:93:3)

[✓] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.19045.4412], locale en-US)
    • Flutter version 3.22.0 on channel stable at C:\Users\USER\OneDrive\Documents\FlutterDev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (11 days ago), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\USER\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2023.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)

[✓] VS Code (version 1.89.1)
    • VS Code at C:\Users\USER\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.88.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.4412]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 124.0.6367.203
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 125.0.2535.51

[!] Network resources
    ✗ A network error occurred while checking "https://pub.dev/": Failed host lookup: 'pub.dev'
    ✗ A network error occurred while checking "https://storage.googleapis.com/": Failed host lookup: 'storage.googleapis.com'
    ✗ A network error occurred while checking "https://maven.google.com/": Failed host lookup: 'maven.google.com'
    ✗ A network error occurred while checking "https://cocoapods.org/": Failed host lookup: 'cocoapods.org'
    ✗ A network error occurred while checking "https://github.com/": Failed host lookup: 'github.com'

! Doctor found issues in 2 categories.

Flutter Application Metadata
No pubspec in working directory.

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


Import Task failed: 'UnboundLocalError: local variable 'source' referenced before assignment'

hi,  i am trying to import a task with a zip file, which have the files : annotations.json, task.json, data*.png, manifest.jsonl ;
but i hit this error:
Error: Request failed with status code 500. "UnboundLocalError: local variable 'source' referenced before assignment\n".

check the detail docker logs :
2021-09-03 08:00:01,197 DEBG 'rqworker_default_0' stderr output:
[2021-09-03 08:00:01,196] INFO cvat.server: create task #19

2021-09-03 08:00:01,197 DEBG 'rqworker_default_0' stderr output:
INFO - 2021-09-03 08:00:01,196 - task - create task #19

2021-09-03 08:00:01,243 DEBG 'rqworker_default_0' stderr output:
[2021-09-03 08:00:01,242] INFO cvat.server: Found frames 111 for Data #19

2021-09-03 08:00:01,243 DEBG 'rqworker_default_0' stderr output:
INFO - 2021-09-03 08:00:01,242 - task - Found frames 111 for Data #19

2021-09-03 08:00:01,243 DEBG 'rqworker_default_0' stderr output:
[2021-09-03 08:00:01,243] INFO cvat.server: New segment for task #19: start_frame = 0,             stop_frame = 30

2021-09-03 08:00:01,243 DEBG 'rqworker_default_0' stderr output:
INFO - 2021-09-03 08:00:01,243 - task - New segment for task #19: start_frame = 0,             stop_frame = 30

2021-09-03 08:00:01,247 DEBG 'rqworker_default_0' stderr output:
[2021-09-03 08:00:01,247] INFO cvat.server: New segment for task #19: start_frame = 31,             stop_frame = 61

2021-09-03 08:00:01,247 DEBG 'rqworker_default_0' stderr output:
INFO - 2021-09-03 08:00:01,247 - task - New segment for task #19: start_frame = 31,             stop_frame = 61

2021-09-03 08:00:01,249 DEBG 'rqworker_default_0' stderr output:
[2021-09-03 08:00:01,248] INFO cvat.server: New segment for task #19: start_frame = 62,             stop_frame = 92

2021-09-03 08:00:01,249 DEBG 'rqworker_default_0' stderr output:
INFO - 2021-09-03 08:00:01,248 - task - New segment for task #19: start_frame = 62,             stop_frame = 92

2021-09-03 08:00:01,250 DEBG 'rqworker_default_0' stderr output:
[2021-09-03 08:00:01,250] INFO cvat.server: New segment for task #19: start_frame = 93,             stop_frame = 110

2021-09-03 08:00:01,251 DEBG 'rqworker_default_0' stderr output:
INFO - 2021-09-03 08:00:01,250 - task - New segment for task #19: start_frame = 93,             stop_frame = 110

2021-09-03 08:00:01,279 DEBG 'rqworker_default_0' stderr output:
DEBUG - 2021-09-03 08:00:01,279 - worker - Handling failed execution of job admin@/api/v1/tasks/063fbeb2-2cef-4eef-a5ab-5c1c2d37c742/import

2021-09-03 08:00:01,280 DEBG 'rqworker_default_0' stderr output:
ERROR - 2021-09-03 08:00:01,280 - worker - Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/backup.py", line 549, in import_task
    db_task = task_importer.import_task()
  File "/home/django/cvat/apps/engine/backup.py", line 542, in import_task
    self._import_annotations()
  File "/home/django/cvat/apps/engine/backup.py", line 538, in _import_annotations
    self._create_annotations(db_job, annotations)
  File "/home/django/cvat/apps/engine/backup.py", line 428, in _create_annotations
    self._prepare_annotations(annotations, self._labels_mapping)
  File "/home/django/cvat/apps/engine/backup.py", line 133, in _prepare_annotations
    label = _update_label(tag)
  File "/home/django/cvat/apps/engine/backup.py", line 128, in _update_label
    shape[dest] = label_mapping[source]['value']
UnboundLocalError: local variable 'source' referenced before assignment
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/backup.py", line 549, in import_task
    db_task = task_importer.import_task()
  File "/home/django/cvat/apps/engine/backup.py", line 542, in import_task
    self._import_annotations()
  File "/home/django/cvat/apps/engine/backup.py", line 538, in _import_annotations
    self._create_annotations(db_job, annotations)
  File "/home/django/cvat/apps/engine/backup.py", line 428, in _create_annotations
    self._prepare_annotations(annotations, self._labels_mapping)
  File "/home/django/cvat/apps/engine/backup.py", line 133, in _prepare_annotations
    label = _update_label(tag)
  File "/home/django/cvat/apps/engine/backup.py", line 128, in _update_label
    shape[dest] = label_mapping[source]['value']
UnboundLocalError: local variable 'source' referenced before assignment

could someone give me some tips that more more detail information ?

Not sure it is still relevant. Let's close it for now. If somebody can reproduce it in newest version, please, reopen


Support defining  [lang] attribute BCP 47 code separately

Version
nuxt-i18n: 6.13.0-beta.0
nuxt: 2.12.2
Nuxt configuration
mode:

[x] universal
[ ] spa

Nuxt-i18n configuration
If relevant, please include the configuration you are using for this module.
For example:

		[
			'nuxt-i18n',
			{
				seo: false,
				lazy: true,
				langDir: 'lang/',
				defaultLocale: 'en',
				locales: [
					{
						code: 'en',
						file: 'en-US.js',
						iso: 'en_US'
					},
					{
						code: 'da',
						file: 'da-DK.js',
						iso: 'da_DK'
					}
				],

What is Expected?
 (the `code` parameter of `locales`)
What is actually happening?
 (the `iso` parameter of `locales`)
https://web.dev/html-lang-valid/?utm_source=lighthouse&utm_medium=lr

I haven't dug too much into it but I think that, while the standards for ISO codes (ISO 639-1 + optional ISO 3166-1) and lang attribute (BCP 47) are different, typically ISO codes should not be invalid in the context of the lang attribute. I think your values for iso are actually invalid as those suppose to have a dash, not underscore in them (see locales documentation at https://nuxt-community.github.io/nuxt-i18n/options-reference.html).
Using code wouldn't be correct as that one doesn't follow any standard and can be arbitrary chosen by the user. It can be just a', b, c` if user chooses so.
So while using ISO codes might not be ideal, it should not be invalid.
I'd have to study BCP 47 spec to see what is the ideal value to use and maybe introduce new property for it.

I see - it seems as though the list is here: http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - and I don't find either da-DK or en-US

Also from: https://www.w3.org/International/articles/language-tags/#overview

The golden rule when creating language tags is to keep the tag as short as possible. Avoid region, script or other subtags except where they add useful distinguishing information. For instance, use ja for Japanese and not ja-JP, unless there is a particular reason that you need to say that this is Japanese as spoken in Japan, rather than elsewhere.

I see - it seems as though the list is here: http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - and I don't find either da-DK or en-US

I can see entries like these there:
Type: region
Subtag: DK
Description: Denmark
Added: 2005-10-16

Type: region
Subtag: US
Description: United States
Added: 2005-10-16

The golden rule when creating language tags is to keep the tag as short as possible.

Yes, as I said, it might not be ideal to use ISO code. Not invalid though.
I think that a new property would need to be introduced for this as it's hard to determine what's "useful". It depends on what languages are supported by the site.

i'm willing to work on it. @rchl do you mean introducing a lang property to be used if specified instead of seo for the lang attribute?

i'm willing to work on it. @rchl do you mean introducing a lang property to be used if specified instead of seo for the lang attribute?

i'm willing to work on it. @rchl do you mean introducing a lang property to be used if specified instead of seo for the lang attribute?

(You meant iso rather than seo)
Yes, but I feel the lang property is too likely to conflict with what people are using today. In fact, I use  lang in all my projects to denote the language of the locale (so for example using lang=es for both es-AR, es-CL and es-CO locales).
lang-bcp maybe?

i'm willing to work on it. @rchl do you mean introducing a lang property to be used if specified instead of seo for the lang attribute?

(You meant iso rather than seo)
Yes, but I feel the lang property is too likely to conflict with what people are using today. In fact, I use  lang in all my projects to denote the language of the locale (so for example using lang=es for both es-AR, es-CL and es-CO locales).
lang-bcp maybe?

Thinking more about it, I guess my lang value might be even correct for the lang HTML attribute and possibly better than using iso value.
I guess the big problem with those BCP47 codes is that they are fairly complex and it's not always easy to tell what's the best value to use. Not sure how many users will really benefit from it...

Thinking more about it, I guess my lang value might be even correct for the lang HTML attribute and possibly better than using iso value.
I guess the big problem with those BCP47 codes is that they are fairly complex and it's not always easy to tell what's the best value to use. Not sure how many users will really benefit from it...

hmm, the problem is that it depends on user and what he knows about codes or what's correct and what's not, but definitely adding lang attribute would be much better than lang-bcp i think, users can relate better to lang IMO.
and as far as lang wouldn't be a problem if used in the lang attr, the conflicts is rare. I'm just wondering if someone wants to use the iso not lang and lang is specified for any other reason, he has no choice.

hmm, the problem is that it depends on user and what he knows about codes or what's correct and what's not, but definitely adding lang attribute would be much better than lang-bcp i think, users can relate better to lang IMO.
and as far as lang wouldn't be a problem if used in the lang attr, the conflicts is rare. I'm just wondering if someone wants to use the iso not lang and lang is specified for any other reason, he has no choice.

Hmm, lang-bcp seems better also. After a bit of thinking, this's the current standard.
if someone doesn't know/care about the standard he can use it for specifying the lang normally.

Hmm, lang-bcp seems better also. After a bit of thinking, this's the current standard.
if someone doesn't know/care about the standard he can use it for specifying the lang normally.

Closing this as v7 is not being actively worked on (critical hotfixes only), if this still applies to v8 and later please open a new issue!


"floating" jitsi window is too small to display all buttons

Mattermost Version
5.26.2
Plugin Version
jitsi - 2.0.0
Describe the issue
The small "floating" jitsi window is too small to display all relevant buttons - at least in the German translation.
The maximize button is mashed up with the header.
The audio and video buttons are barely visible.
Server Error Logs
Google Chrome Error Logs
Screenshots

Additional context
Add any other context about the problem here.

@aaronrothschild any thoughts on how should we approach this?

@aaronrothschild any thoughts on how should we approach this?

It has actually become worse. Now there are no visible buttons except for copying the meeting link.

It has actually become worse. Now there are no visible buttons except for copying the meeting link.

Whenever is released the new version is going to have some extra space. But we have to talk with Jitsi people to make it work better in this kind of small windows. The styling depends on the Jitsi code, we started to add changes to make more responsive to small sizes, but there is still work needed.

Whenever is released the new version is going to have some extra space. But we have to talk with Jitsi people to make it work better in this kind of small windows. The styling depends on the Jitsi code, we started to add changes to make more responsive to small sizes, but there is still work needed.


neopixels: initialise variable may be out of scope in forever

https://pxt.microbit.org/39849-16350-37684-05329

adding item.rotate gives null

Start with this:
let item: neopixel.Strip = null
basic.showIcon(IconNames.Heart)
item = neopixel.create(DigitalPin.P0, 10, NeoPixelMode.RGB)
item.showRainbow(1, 360)

Add this:
basic.forever(() => {
    item.rotate(1)
})

Hmm... this works
let item = neopixel.create(DigitalPin.P0, 10, NeoPixelMode.RGB)
item.showRainbow(1, 360)

basic.forever(() => {
    item.rotate(1)
    item.show()
})

This works too:

let item: neopixel.Strip = null
item = neopixel.create(DigitalPin.P0, 10, NeoPixelMode.RGB)
item.showRainbow(1, 360)

basic.forever(() => {
    item.rotate(1)
    item.show()
})

I've narrowed it down. It's not to do with the neopixel:
let item: neopixel.Strip = null
basic.showIcon(IconNames.Heart)
item = neopixel.create(DigitalPin.P0, 10, NeoPixelMode.RGB)

causes the runtime error:
Program Error: sim error: getResume() not called

It was a bit funny y used show heart: one test was exactly with  show heart :)

Bug repros with this code
let item: string = null
basic.showIcon(IconNames.Heart)
item = null

Actually, this one looks like it depends on neopixel package. some runtime weirdness.

Oh, this is weird. I tried again and it didn't repro!

Yep: this is a tricky one to keep you up at night

It's likely a race condition between the main fiber and the fiber running the forever loop. Here is what is going on. The call to "basic.showIcon" introduces a preemption point, so the forever loop gets scheduled. It's a bug in your code! But we should give a better error message. This code should be fine:
let item = neopixel.create(DigitalPin.P0, 10, NeoPixelMode.RGB)
basic.showIcon(IconNames.Heart)
item.showRainbow(1, 360)

basic.forever(() => {
    item.rotate(1)
    item.show()
})

We should give better error message. Downgrading priority.

So basically, init neopixel as soon in the code as possible?
let item: neopixel.Strip = null
basic.forever(() => {
    item.rotate(1)
})
item = neopixel.create(DigitalPin.P0, 10, NeoPixelMode.RGB)
basic.showIcon(IconNames.Heart)
item.setPixelColor(0, neopixel.colors(NeoPixelColors.Red))

Yes. Even better, don't use null.
let item = neopixel.create(DigitalPin.P0, 10, NeoPixelMode.RGB)
basic.forever(() => {
    item.rotate(1)
    item.show()
})
basic.showIcon(IconNames.Heart)
item.setPixelColor(0, neopixel.colors(NeoPixelColors.Red))

To be fair, we introduce null when converting blocks to JS.

jep: the kids use blocks, and neopixels are fun


Issue using "castor start" on linux without php

the related file ".exe" seems to be missing.
I looked into the vendor directory and the jolicode/jolinotif package is missing. Also in the related composer.json is missing too.

Hi @nissim94, thanks for your issue.
Here, JoliNotif seems to fail retriving a binary that should be used on Windows but your issue is about Linux, so I guess you are running castor inside Windows WSL.
How did you install Castor?
In your case, you should run use the phar built for Windows, not a phar built for a Linux nor one of the statix binary built for Linux.

I looked into the vendor directory and the jolicode/jolinotif package is missing. Also in the related composer.json is missing too.

The vendor directory mentioned in the exception is the one inside the Castor project, not the vendor directory of your project, so nothing wrong here I guess

Hi @nissim94, thanks for your issue.
Here, JoliNotif seems to fail retriving a binary that should be used on Windows but your issue is about Linux, so I guess you are running castor inside Windows WSL.
How did you install Castor?
In your case, you should run use the phar built for Windows, not a phar built for a Linux nor one of the statix binary built for Linux.

its installed using this method : https://castor.jolicode.com/getting-started/installation/#binary-for-linux

What OS a you running?

Hi @nissim94, thanks for your issue.
Here, JoliNotif seems to fail retriving a binary that should be used on Windows but your issue is about Linux, so I guess you are running castor inside Windows WSL.
How did you install Castor?
In your case, you should run use the phar built for Windows, not a phar built for a Linux nor one of the statix binary built for Linux.

its installed using this method : https://castor.jolicode.com/getting-started/installation/#binary-for-linux under WSL container

What OS a you running?

running win 11 with WSL and ubuntu 22.04 as distro.

okay, so it looks like you ticket title is good enough.
As you are using windows, you cannot use the build for linux. You need the one for windows. See the documentation


Handling of version for release processing

Handling of version for release processing

Thanks @sebersole.
I've merged this upstream and the release works now.


Fails to push in the new staging url for the registry

I noticed that the registry was constantly failing to get the manifest of /v2/simcore/services/dynamic/s4l-stream/manifests/3.0.35

The image seemed to be missing, when @mguidon tried to push it back,  we noticed that the push registry.osparc-staging.io fails
docker push registry.osparc-staging.io/simcore/services/dynamic/s4l-stream:3.0.35
18aadbf436a4: Pushing [==================================================>]  10.75kB
5729f28ce5e1: Pushing [>                                                  ]    320kB/29.02MB
e335912578ab: Pushing [==================================================>]  5.761MB/5.761MB
2eee5cc41fa2: Pushing [>                                                  ]  529.4kB/213.8MB
c9f3f83feacf: Pushing [==================================================>]  4.608kB
93f3fb9ae4f6: Waiting
687167eaa546: Waiting
9d72957b2f37: Waiting
f06a9caa5d1b: Waiting
b49a9b9e42a4: Waiting
2c644864e4e1: Waiting
fbaa8e70f9f8: Waiting
954c82bdeb5f: Waiting
unauthorized: authentication required
make: *** [Makefile:148: publish-aws-staging] Error 1

Notice that the url is the new staging url. Using a push in registry.staging.osparc.io works
docker push registry.staging.osparc.io/simcore/services/dynamic/s4l-stream:3.0.35

It seems that the re-direction in place from the new to the old url of staging somehow loses the authentication!?
This is a problem detected some days ago. SEE
https://mattermost.speag.com/z43/pl/f9inrdyrq3rgpy8b86npgmnnuo
https://mattermost.speag.com/z43/pl/yxubc54pyf8s5chwn4rgq5motw

For docker and are two different registries. The DNS name resolves to the same IP, so the same machines, but for docker it looks like these are seperate registries. SO for me it seems reasonable that you have to login into both "registries" explicitly using docker login in order to push to both locations. Does it fix the issue if you explicitly run docker login against both DNS names of the registry?

Does it fix the issue if you explicitly run docker login against both DNS names of the registry?

no. that is what we tried. Did you try and got different outcome?

Graylog query to check if there are issues with unknown blobs container_name:/.*registry.*/ AND log_level:ERROR AND "blob unknown to registry"


fvntr: adding snap

Adding snap

✅ By submitting this PR, I have verified the following

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

cute!


Fail on duplicate work proof txs

Duplicate work proofs currently pass without making any changes to the state, which means they still get relayed and take up space in a block. They should explicitly error.
Note that this changes consensus-critical logic so it requires a soft fork.

Note that this changes consensus-critical logic so it requires a soft fork.

Actually, if implemented in CheckTx only, it can work just as a node policy. So blocks will still be accepted with duplicate txs, but nodes who have updated will not accept them into their mempool (and validators who have updated will not put them in new blocks).


add upload endpoint

Summary
part of #934
Details and comments

@akihikokuroda can we resolve conflicts caused by https://github.com/Qiskit-Extensions/quantum-serverless/pull/945 and we merge this too.


Immediate auto-close because of focus-out

If a click inside the dropdown closes it, the next click will open and close immediately the drawer.
This is because clicking on the toggle make the drawer lose the focus it got when we clicked on it.
Here is an example the reproduce the problem: https://ellie-app.com/9ZFb73C9Ja1/0
The only solution I found so far is to focus another node in the page when closing the dropdown on a click inside it. It makes the focus leave the drawer. But it is not very satisfying.
Any idea?

What browser are you testing this in? I tested the snippet you linked in Chrome as well as Firefox on MacOS and everything seems to work as intended.

I don't have the issue with Chromium.
I have it with FF 58.0.2 on linux (no extension).
Same with FF >= 51 (I tried almost every version from 45 to 58). So the issue appeared in firefox 51...


Game Over Screen

When the timer hits zero this screen should appear letting the player know that the game is over and asking if they want to play again.

she done


Not Compiling

Hi,
I am trying to compile the sketch to load it onto my Arduboy. I receive the following message when I try to compile:
Arduino: 1.6.4 (Mac OS X), Board: "Arduino Leonardo"

Ship.cpp: In member function 'SystemTarget Ship::TakeDamage(int, SystemTarget)':
Ship.cpp:66: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Crew:
          ^
Ship.cpp:70: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Hull:
          ^
Ship.cpp:73: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Weapons:
          ^
Ship.cpp:77: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Engines:
          ^
Ship.cpp:81: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Shields:
          ^
Ship.cpp: In member function 'void Ship::RepairSystem()':
Ship.cpp:265: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Crew:
          ^
Ship.cpp:275: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Hull:
          ^
Ship.cpp:285: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Weapons:
          ^
Ship.cpp:296: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Engines:
          ^
Ship.cpp:306: error: 'SystemTarget' is not a class or namespace
     case SystemTarget::Shields:
          ^
'SystemTarget' is not a class or namespace

I upgraded my version of the Arduino IDE to 1.6.9 and the issue was resolved.


Make leveling up faster

I have over 16,000 XP and I only reached level 5 instead of level greater than 10, so I adjusted the level formula to make leveling up faster.

thanks! seems like a good idea for the default.


Create ibspan.txt

Add Systems Research Institute Polish Academy of Sciences

@karwatka Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>Thank you!


syntax error when running the script as a cron job

Hi there, it's me again.
I tried to run the script as a cron job and found it returned me a syntax error.
Wondering if it requires some sort of compatbility to run it.
/home/"username"/unimus-backup-exporter-main/unimus-backup-exporter.sh: line 83: syntax error near unexpected token <' /home/"username"/unimus-backup-exporter-main/unimus-backup-exporter.sh: line 83:                            read -a value < <(echo $(jq -e ".data[$data] | .id, .address" <<< $contents))'
Below is the statement in the cron job.
0 0,8,16 * * * /home/"username"/unimus-backup-exporter-main/unimus-backup-exporter.sh

@Twooey is this due to the bug fixed in dbeb435d855a59cfd7d3ed506a774560dc65f985?

I don't believe so. I'm working on reproducing it.

@612wong  Could you try running the attached script?
unimus-backup-exporter.zip
.

@Twooey thanks for looking into this. I wanna close this issue because I have difficult to work on this integration with the Unimus we are running in the enterprise network.
Anyways, much appreciate for your attention and help over the past few weeks.


chore: set max txs in spam test

Please read contributing guidelines and remove this line.

#10717  👈 (View in Graphite)
master

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


Render the documentation with OpenGL primarily

Overview: What does this pull request change?

We have discussed this for quite a while, it's time to get to action: with this PR, the default renderer for the documentation is switched to OpenGL.

Motivation and Explanation: Why and how do your changes improve the library?

Links to added or changed documentation pages

https://manimce--1900.org.readthedocs.build/en/1900/ -- but don't expect to find something there any time soon. I fear that it will take some tinkering until we manage to produce a version that will actually deploy.
Depends on #1899.

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

I don't fully understand why RTD seems to be able to render quite a few of these examples via OpenGL at all, considering that there shouldn't be a virtual frame buffer available. However, while I can't reproduce the traceback
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/checkouts/1900/docs/source/manim_directive.py", line 250, in <lambda>
    run_time = timeit(lambda: exec("\n".join(code), globals()), number=1)
  File "<string>", line 58, in <module>
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/scene/scene.py", line 218, in render
    self.construct()
  File "<string>", line 44, in construct
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/scene/scene.py", line 880, in play
    self.renderer.play(self, *args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/utils/caching.py", line 58, in wrapper
    func(self, scene, *args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/renderer/cairo_renderer.py", line 46, in wrapper
    func(self, scene, *args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/renderer/opengl_renderer.py", line 382, in play
    scene.play_internal()
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/scene/scene.py", line 984, in play_internal
    self.renderer.render(self, t, self.moving_mobjects)
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/renderer/opengl_renderer.py", line 390, in render
    self.update_frame(scene)
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/renderer/opengl_renderer.py", line 410, in update_frame
    self.render_mobject(mobject)
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/renderer/opengl_renderer.py", line 303, in render_mobject
    shader_wrapper_list = mobject.get_shader_wrapper_list()
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/mobject/types/opengl_vectorized_mobject.py", line 1121, in get_shader_wrapper_list
    fill_shader_wrappers.append(submob.get_fill_shader_wrapper())
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/mobject/types/opengl_vectorized_mobject.py", line 1094, in get_fill_shader_wrapper
    vert_indices=self.get_triangulation(),
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/mobject/types/opengl_vectorized_mobject.py", line 1014, in get_triangulation
    earclip_triangulation(inner_verts, rings)
  File "/home/docs/checkouts/readthedocs.org/user_builds/manimce/envs/1900/lib/python3.8/site-packages/manim/utils/space_ops.py", line 720, in earclip_triangulation
    new_ring = next(filter(lambda ring: ring[0] <= j < ring[-1], detached_rings))
StopIteration

locally, it seems a bit odd that both cairo_renderer.py and opengl_renderer.py are visited. It's likely that just setting config.renderer doesn't do the correct thing yet.

As far as I know rendering an image with OpenGL doesn't work (I can't get it to work at least), could that be the problem?

We should probably tackle this problem after the refactoring of the OpenGL renderer


Firefox 96 publisher video failed.

Firefox 96 can play，can't publish video.
But Firefox 95 works well.

Can not send publish answer sdp with ssrc infos, or firefoxM96 will not work.


Jamie/2573 accordions for long service messages

:nut_and_bolt: Description: What code changed, and why?
We are attempting to make the outputs from health checks more scannable, so text should be sitting in an accordion if longer than around 140 characters.  This branch adds show more buttons to long health messages that can expand and collapse
:chains: Related Resources
https://github.com/chef/automate/pull/2572
https://github.com/chef/automate/issues/2554
:+1: Definition of Done
show more buttons are in place and toggling properly
:athletic_shoe: How to Build and Test the Change
build components/automate-ui-devproxy && start_all_services
source .studio/applications-service
applications_populate_database
make serve
navigate to https://a2-dev.test/applications/service-groups
toggle open various health messages on the right side of the screen
Verify Behavior:
Filter for service name: pos-terminal
There should be no "show more" buttons shown in any of the production environments
Filter for service name: nginx
the bldr-cache app in qa env shows messages of the maximum size. They wrap even without word breaks
:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

Unfortunately, I was not able to show any service groups or messages after applications_populate_database. Just got a message in the UI "Health check messages not available." Let me know if you have any ideas.

@msorens - Thanks for having a look.  I think I missed a step, so I added it in to the instructions above.  You may need to run source .studio/applications-service in hab studio prior to running applications_populate_database

Looking great! @SEAjamieD I love the sliding up and down animation you added for the transitional state.
I wonder if we could get rid of the blue box outline as the focus state once the button is clicked?

@apriofrost

I wonder if we could get rid of the blue box outline as the focus state once the button is clicked?

Generally its considered poor for accessibility to remove that blue focus outline (womp wommmp), so I don't recommend removing it.  however there are some alternative plans if you're open to that?

We could apply, across the whole application, that if a user is using the mouse, the focus ring doesn't show.  If the user if using the keyboard to navigate - we can make sure it does show.

We could style it, across the whole application, so that it at least looks nice.

We could do both 1 + 2 (you can see an example of this on www.zumiez.com).  When you are tabbing you'll see a styled focus ring, but if you touch the mouse while tabbing the ring will go away.

If you're really attached to removing it - we can do that, but it's a bad look for accessibility.  There's also lots of different options to styling the focus ring we can look into.

@SEAjamieD Hi Jamie! Thanks for the great suggestions. I talked to the UX team about it. Since this would be a global change, and we need more time to discuss the best approach for accessibility. I would suggest that we ignore this feedback for this issue for now.
I'll make another card after the UX team figure out a solution. Thank you again!


🔖(major) bump release to 6.0.0

Changed

CLI: mount local env_type directory if it exists
CLI: the new --extra-volume option allows to mount an extra volume in the arnold container
CLI: implement --k8s-domain option support

Fixed

Fix typos in setting names: withelist vs whitelist (BC)

Closed in favor of #596 (we had a chat about this: making a minor release is a better strategy than respecting semver stricto sensu).

Closed in favor of #596 (we had a chat about this: making a minor release is a better strategy than respecting semver stricto sensu).


Enhancement: "Run" markdown files and display the result in the object inspector

It would be great to generalize the functionality in the Run menu for "Running/Parsing" source files besides Python scripts.
I am finding myself more often than not, wanting to see how something written in markdown looks rendered, and since the Object Inspector seems to already provide for this functionality, we could make the "Run" behaviour/command more general so that for specific extensions, a behavior could be set.
For this sort of files and rst also, the Run (F5) would also be available, but instead of opening a python console it would render the result in the Object Inspector.

Yes, it would be really, really cool. But for this we would need to add a dependency in mistune and generalize how the Object Inspector works.

Is this something that you think would be better as a plugin as well? or is something that could belong to the core?
Is mistune currently being used?

We don't use mistune but IPython will since 3.0.
I don't know how this could be developed as a third-party plugin because
it tries to extend a core plugin. So it should belong to the core.
The problem I see with this approach is that we will (probably) need to
also extend our Projects support to cover documentation projects (like a
Sphinx or mkdocs project only). So things get tricky quite fast :-)
El 23/02/15 a las 10:11, Gonzalo Peña-Castellanos escribió:

Is this something that you think would be better as a plugin as well?
or is something that could belong to the core?
Is mistune currently being used?
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2192#issuecomment-75559252.

That is precisely my point, maybe Spyder should allow for plugins to extend the core of Spyder as well.
It would be too hard to handle all the possibilities that may arise from here. The basic core Widget (panel...) should handle the most important case. From then on any additional case should be extendable through a plugin. Lets say that my projects plugin handles Python Packages and thats it, we could have a public API for this specific widget so that it can be extended through a plugin that adds lets say, django, pelican etc. This way the core team would just try to have a simple and stable API to allow for extensions and specific packages can be developed separately on top of this API
In my view of things, plugin need not be a new an unrelated Panel/widget, there should be plugins that enhance the core plugins by extending their functionality.

You're right, that's the best approach in theory. In practice, I don't
even know where to start to make that a reality for all plugins (or at
least for the most important ones).
That would be a ton of work that we should carefully plan before
starting. But sure it'd be interesting to do not only for the Object
Inspector but also for the Editor and the Variable Explorer (for
starters :-)
El 23/02/15 a las 10:24, Gonzalo Peña-Castellanos escribió:

That is precisely my point, maybe Spyder should allow for plugins to
extend the core of Spyder as well.
It would be too hard to handle all the possibilities that may arise
from here. The basic core Widget (panel...) should handle the most
important case. From then on any additional case should be extendable
through a plugin. Lets say that my projects plugin handles Python
Packages and thats it, we could have a public API for this specific
widget so that it can be extended through a plugin that adds lets say,
django, pelican etc. This way the core team would just try to have a
simple and stable API to allow for extensions and specific packages
can be developed separately on top of this API
In my view of things, plugin need not be a new an unrelated
Panel/widget, there should be plugins that enhance the core plugins by
extending their functionality.
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/issues/2192#issuecomment-75563914.

"Nobody said it was easyyyyyyy...." haha
Not saying it has to be done at once and for all plugins, so we could use this as an opportunity to add the behavior (an extendable simple API) to the object inspector and see how it goes or could go for other plugins.
I already have in mind how to split the editor widget. The editor widget is hard wired for python so I want to split it into a base editor and a specific python on top of it. If this base widget is general enough it could handle a large number of use cases.
For instance.... spoiler ...crazy idea here....
With conda we will eventually be able to install R and R packages, we could have a basic Console Widget and a Basic Editor widget that is extended (with a plugin) to add support for the R console and R completion etc etc....

Starting with the Object Inspector for a public APi is a great idea because it's perhaps the easiest plugin.

It'd be really cool to adapt our Editor to work with R.

Ok, I haven't looked at the object inspector, so far, so I will take a look at it to get familiar with how it works and think of how it could be made extendable.

Now that I think about it, I guess you could draw the dots and lines (2 or 4 spaces) on top and not mess with 2 editors.

Ok I have been looking at the run thinguie in the editor plugin (never had before...) wow... that is a big monster :)!
I have some ideas but we need to figure out how these plugins (the installable ones I mean) should be incorporated. Should each dockwidget plugin has some machinery to look for plugins that extend its functionality? or should Spyder as a final step of setup go through all installed plugins and modify the core dockwidget plugins accordingly (depending if the plugin is enable or not)?
--- side note: the name plugins brings confusion, "Editor Plugin" is a core dockwidget, but we have also plugins to be installed eventually, but these words do not relate to each other ---
The first thing I think of changing with how it is currently set is, get rid of the is_python method in the sourcecode editor and replace it for a more global way (language agnostic) to get the filetype or the language and from that language a dictionary could hold all relevant actions for the language (for instance in the run menu). When a plugin is installed it could add actions to this dictionary (part of the public API) so that when the run menu is rendered it would adjust the actions (instead of graying them out), so if a markdown fie is open, only a Parse action (F5) would be seen instead of 7 grayed out actions. Instead if having a variable holding the RUN menu, we could have the variable hold a dictionary with base actions, and a set of actions defined for each language (that is added via a plugin)
A similar principle could hold for all the other menus, expect in menus that affect ALL types of files, the actions to add should be placed in a specific section only... as to not get an additional action below the Quit button in the File menu, which would make no sense!
To do this we should define some global constants to refer to the languages.... something  like:
spyder.constants.languages.PYTHON
spyder.constants.languages.MARKDOWN

The sourcecodeeditor should have then a method like...   get_language that would look if it is .md or .markdown... and return spyder.constants.languages.MARKDOWN
A similar principle could hold for all the other menus, expect in menus that affect ALL types of files, the actions to add should be placed in a specific section only... as to not get an additional action below the Quit button in the File menu, which would make no sense!
To do this we should define some global constants to refer to the languages.... something  like:
spyder.constants.languages.PYTHON
spyder.constants.languages.MARKDOWN
spyder.constants.languages.UNDEFINED

The sourcecodeeditor should have then a method like...   get_language that would look if it is .md or .markdown... and return spyder.constants.languages.MARKDOWN or spyder.constants.languages.UNDEFINED, in which case no special actions should be added (much like what happens now with any language besides python)
With all in place, then we could look at the object inspector, which actually would not need much change as the way I see it would just accept some input from a function render_this_html(self, html) tied to the added Parse action in the run menu. Also this plugin would have mistune as a dependency, and maybe a version of the Editor and Object Inspector Public API. If we have a version for the API of each dockwidget it would be easier to control changes per dockwidget plugin and also have checks to ensure that an installable plugin can work.
@ccordoba12  please let me know what you think, or any ideas to add on this.

I don't like too much your proposal. Why not go simple at first and just define a new run_markdown function, that would be called by F5 when the file type is markdown?
I mean, what else is needed to be added in the Run menu that justifies the type of abstraction you're suggesting?
Also pinging @blink1073 for his opinion because he has worked a lot with codeeditor too.

My proposal is aiming to have a more generic way of handling different language filetypes.
Adding a run_markdown  function in the object inspector is just what I propose, but I was suggesting trying to generalize the use plugins to extend functionality (in the editor in this case), otherwise we will keep adding special cases.
Also my proposal was to add this as an external plugin, to "ease the burden" on the core of Spyder, plus it can serve as an example for other plugins to be written.
Adding this sort of genericity will be needed for the sourcecode editor in order to implement language specific helper functions. I think in the medium and long term it is not sustainable to bundle everything inside the plugins with special cases is_makdown, is_python, is_python_like, is_cython, is_r etc etc etc...
Use cases:

C: Don't know, lets say you open a C file for a function you want to optimize... the run here would maybe add  options to point to a compiler.
Cython: Lets say we are running cython files, the Run menu could include something extra
R: the run would open an specific R console that would be another pluign lets say
HTML: the file could be rendered in a dedicated QWebkit? like what will be used for the notebooks editing?

About the use cases you propose:

C: It could be interesting, but more interesting would be to run Fortran files
Cython: Definitely, several people have been asking for it.
R:  With the new IPython kernel spec, it's possible to open an R console inside Spyder with an R kernel. Using it we can also create Ruby, Perl, FSharp, etc, etc, consoles.
HTML: Mmmh, that's what browsers are for ;-)

But as I see it, we don't need to go too deep refactoring code. The Run menu doesn't need to change, cells can continue working as expected. The real problem we need to solve before refactoring anything is define how to extend a core plugin by a third-party one. I think your proposal doesn't address that, and it's not clear to me how to do that either.

Fair enough I need to polish the details, but before anything, we need to address how Spyder will handle normal Plugins, how it will autodetect them and how they will be installed.
Do you have an idea on that already?

I think we just need to provide a way to extend plugins by name. For example, we allow other plugins to provide a "run" target tied to the run plugin.   We collect the extensions at startup, then if a file is opened, we check our list of registered extensions.  If one is available, the Run option becomes available, and the registered function is called when the user presses F5.

I think we could allow users to keep plugins and extensions in their ~/.spyder directory, similar to how IPython does it.

I think it would be better to make plugins pip/conda installable

The nice thing about the IPython way is that they are all in one place and not cluttering up site-packages.

How is that benefiting the end user?

Namespace and separation of concerns.  IPython extensions/kernels are still pip installable, they just get sent to the .ipython folder.

Ok, not sure about the details of where a package/plugin will get stored. I think that where they get stored is besides the point, as long as they can be installed via pip (or conda).
Maybe for us (developers) it is nicer to keep them in one place, that I agree, but for the end user will be irrelevant, so if the can be installed in  .spyder/plugins great!
@blink1073 , what do you think of reorganizing the editor so that there is a base editor and then language specific enhancements?

My opinion is that Spyder should be language agnostic as much as possible.   Even folks that primarily use Python also use C / Octave / Markdown / etc.  I agree your approach.  However, I think we should concentrate on the Scientific Python parts of that equation while allowing for outside contributions.

Good :)
Sorry what do you mean by this "concentrate on the Scientific Python parts of that equation" ?

Namely Python and Cython :)

ahhhhhhhh sure :)

Dont't forget Julia.

For Markdwn precisely, instead of having to run the file by F5 the preview could be shown in "realtime" (either on each file save or after series of keystrokes) in a specific dockwidget. If it's only one file the execution should be really fast.
Still for other languages a custom Run option would be great !
@ufechner7 I would love to use julia, but it uses fftw for its fft functions which is GPL :(

But as a plugin it would be still ok, no?

Editing markdown is a specific task so I wouldn't care having a specific dockwidget, especially if it's an external plugin. Reusing the object explorer is fine but it would have to get another name !

Well.. I think @ccordoba12 wanted to make it help center or something

About julia, I was talking about using it at work. This seem a very good language for scientific development but this license is a problem for me.
Intregration in spyder is fine as long as we don't ship the library itself.

I would love to have this for ReStructuredText in addition to Markdown.
What I currently do it write my rst in the docstring of a dummy function and then inspect it with Ctrl+I. After I'm done formatting, I'll copy the rst into my readme.rst file (or wherever) and be done.
The other way I'll write rst files is with restview - it opens up a localhost webserver and which renders the document, updating on manual refresh (and on document save, I think). Pretty nifty, and there's a similar things for Markdown mdview though I've never tried it.
Adding the ability to view formatted .md or .rst files would be very nice.
On a related note, I'd also like to be able to view the rendered module docstring, but I'll open up a separate issue for that.

For information I use ReText to edit Rest or markdown files. It can display a rendering in realtime.
The only limitation I found for my use is that it doesn"t understand the sphinx additions to rst.

I think we will add this as a native thing in spyder, so hopefully @Nodd wont need to go to ReText ;-)

I was just providing a possible alternative in the meantime, that's all !
I rarely edit rst files actually, these days I tend to create them automatically to show computation results (python powa!)

This is going to be done by spyder-reports, so closing.


Node.js is a run time environment of javascript not a web framework like express.js or django

Thanks for the interest! I mean Semla is a node.js based web framework :) Sorry the documentation is quite lacking so far

Oops, I thought the same!


Treat SSL_ERROR_SSL as EPIPE within SSLNetVC::load_buffer_and_write()

Compare to the SSLNetVC::ssl_read_from_net, it return SSL_READ_ERROR if sslErr is SSL_ERROR_SSL, but the SSLNetVC::load_buffer_and_write does not change the result (num_really_written).
This closes #2705.

Link to TS-4522, PR #701 and commit 40f07b5090493c811f56a3ab4a96d030b8ccb4d8

Cherry-picked to 7.1.2.


Configurable dump transaction

✓ Checklist:

[ ] This PR has been added to CHANGELOG.md (at the top of the list);
[ ] Tests for the changes have been added (for bug fixes / features);
[ ] Docs have been added / updated (for bug fixes / features).

Codecov Report

Merging #96 (92fde5b) into main (8477299) will decrease coverage by 0.72%.
The diff coverage is 21.27%.

:exclamation: Current head 92fde5b differs from pull request most recent head 4c8f6ea. Consider uploading reports for the commit 4c8f6ea to get more accurate results

@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
- Coverage   78.83%   78.11%   -0.73%
==========================================
  Files          49       50       +1
  Lines        2939     2979      +40
==========================================
+ Hits         2317     2327      +10
- Misses        622      652      +30

Impacted Files
Coverage Δ

cli/pg_datanymizer/src/app.rs
53.01% <0.00%> (-6.45%)
:arrow_down:

datanymizer_dumper/src/postgres/dumper.rs
22.22% <0.00%> (ø)

datanymizer_dumper/src/postgres/query_wrapper.rs
0.00% <0.00%> (ø)

cli/pg_datanymizer/src/options.rs
93.10% <100.00%> (+0.65%)
:arrow_up:

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 8477299...4c8f6ea. Read the comment docs.


access to filesystem? (logging)

I'm trying to use the file output, to do some debugging, but I cannot find out where the files are?
I guess its some  isolation between node-red and hassio?, so the files are inside an docker or something that makes them not available outside?

/share is available in node-red and the host.

ok, so I should be able to write directly to /share?, I tried to do /share/testfile.txt, but got nothing, or should I write in an subfolder inside the node-red folder?

ah, cool, it worked under a subfolder, thanks!


enhancement: choosing the install directory

As of today, it's not possible to change the install directory except from manually modifying the Makefile.
I propose to add the DESTDIR variable set with /usr/bin by default.
Therefore, to change it, a user will simply have to set the variable while calling make if he desires to.
Example :
make install DESTDIR="/home/user/.local/bin"

#4 is merged. Thanks for the PR!


Daisy UI Dropdown Bug

What version of million are you using?
2.6.0-beta.7
Are you using an SSR adapter? If so, which one?
Vercel
What package manager are you using?
npm
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
When I try combine daisyUI and Million js it doesn't have any problem only in the dropdown where the in built UI of daisyUI dropdown doesn't work.
What's the expected result?
The dropdown should work when I click the avatar and it should instantly work because it's a pre built UI
Link to Minimal Reproducible Example
N/A
Participation

[ ] I am willing to submit a pull request for this issue.

Hi @GabTheGreat25 👋, Can you provide a screenshot or the code of your dropdown implementation?

Hello @GabTheGreat25, It would be a big help if you can provide an image of the problem or the video.

@GabTheGreat25 are you still having some troubles?, there's something we can see in action?

Any updates @GabTheGreat25?

Hey all, the issue with dropdown is that each  that contains  created via million with  will be rendered as:

which is not supported  is not a native tag. I think this is again, blocking given #567


File not found

Hi,
When tried to execute helloworld page I got the following error:
Failed to load resource: net::ERR_FILE_NOT_FOUND (cesium.js) it is searching in source directory, but file is not available.
Kindly help me to resolve this issue.
Regards,
K.Jayakumar

For general questions like this, that are not bugs or feature requests etc. please post on the forum:
https://groups.google.com/forum/#!forum/cesium-dev
I'd be happy to take a look at it there!


The audit OpSec resource BIG LIST

This is a place to put all the travel and audit operational security links for auditors.

A decent article on travel operational security


Move logic to install K8s ServiceCatalog and OAB in a separate role

Feature request
Move logic to install K8s ServiceCatalog and OAB in a separate role
https://github.com/snowdrop/openshift-infra/blob/d3388ff8ad56f30e0341262481dfa8c1d6514bc2/ansible/playbook/roles/k8s_cluster/tasks/main.yml#L160-L176

#116391b1b74ae0e5b7f9c31cfbcd9af4f886267b


Mention that a breakpoint cannot be set on a declaration.

[Enter feedback here]
I received a notice from someone taking one of my courses that they could not set a breakpoint on this line of code:
public event EventHandler EnrollmentFull;
I explained that one cannot set a breakpoint on a declaration unless it's being assigned a value or has a getter/setters. I then went to this documentation to provide a reference to back up my statement, and was unable to find any information on this important point.
The docs say this:
"You can't set a breakpoint on the namespace or class declarations, or on the method signature."
Please consider adding variable declarations to this list.

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

ID: f9da322b-ed73-b3e4-6fa0-e0ebd4a7475c
Version Independent ID: dc0dbf50-e2e8-8dfc-0f0f-f0a86d31ea73
Content: Use breakpoints in the debugger - Visual Studio
Content Source: docs/debugger/using-breakpoints.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@DeborahK Thanks for the feedback. I'll plan to update the doc.

Updating doc. Fix should be live around 5 PM.

Was hoping for a bit more ... especially now reading this first paragraph:
You can set a breakpoint on any line of executable code. For example, in the following C# code, you could set a breakpoint on the variable declaration, the for loop, or any code inside the for loop. You can't set a breakpoint on declarations for a namespace, class, or variable, or on the method signature.
So we first say:  you could set a breakpoint on the variable declaration
Then say: You can't set a breakpoint on declarations for a namespace, class, or variable
If I were a beginner, I would be very confused by that?
Would it be possible to elaborate? And say when we can and when we cannot set a break point on a variable declaration?
Thank you!

You're right. I missed that first sentence. I'll look at this a bit closer.

I checked this. In the example, you can set the breakpoint because there's an assignment, so the line executes (you can pause on it while running code). You can't set a breakpoint on a variable declaration if there's no assignment. I'll edit this.

Updating. It should be live around 5 PM. Added the getter/setter info, too.


It resets while i lock workstation

It resets while i lock workstation
Fedora 37, Gnome 43.3, Wayland

True, normally Gnome extensions are disabled when the screen is locked.
How would you expect the stopwatch to behave in this situation?

if it still runs — it must count seconds when screen is locked.

For me it looks very similar to the output of the uptime command. There are some extensions displaying it, for instance Vitals can do that.
What would you say about the following scenario?

User starts a stopwatch
Screen is locked
Stopwatch paused and displayed on the lock screen
Screen unlocked
Stopwatch automatically resumes counting

Or maybe it would be more convenient, if timer remains paused at step #5? Then user might forget to resume.

I just search timer for encounter my "real" working time. But if there is no way to count seconds when screen is locked, it will acceptable for me, but only if last value will be saved.

Good to know that, thank you. Initially stopwatch was created to track my working time as well.

Alright, I've got your point and I agree with it.
Here is what I will do: timer will be paused when the screen is locked and will remain paused after unlocking. It will not reset automatically.

Yes, it works after restart Gnome session (re-login). And works as we decided above. Thank you!


Impro1122 threshold wxsymb fixes

Addresses #833
Fixes required for non-standard probability cube names ("in vicinity" and non-standard cloud area fraction) used in weather symbols code.
Testing separately via suite.  However suggest extension to weather symbols unit tests may be worth considering as follow-on, to cover more of these edge-type cases.
Testing:

[x] Ran tests and they passed OK
[ ] Added new tests for the new feature(s)

This doesn't quite work with non-standard cloud fraction names.  I'll need to push up some more changes, so will comment again when this is ready for review.

@cgsandford please see my review as that will tell you how to fix the problem.

@fionaRust Agreed on the CLI test inputs - assume just the weather code ones?  I'll make sure the location of the new input data is on the JIRA ticket.

I agree with CJ that this probably could be simplified by doing something like just using `find_threshold_coordinate" but this will probably involve a bit more rejigging in a different way, so I'm happy to leave it as it is.

Actually I was arguing the opposite, get rid of the use of find_threshold_coordinate as we already have the info we need from find_threshold_coordinate but it doesn't matter, the current version works and we can always refactor the code in the future.