Caching routes when using closures and using the missing model behaviour

Laravel Version: 8.39.0
PHP Version: 8.0.5

I have the following route definition:
$route->get('/{model}', fn (Model $model) => view('something', compact('model'))->middleware(...)->name('name')->missing(fn () => redirect()->route('home'));

When the model is missing and the routes are not cached, all works ok, and the browser is redirected to the home route (/). However, when php artisan route:cache is ran, it results in the following error:
Illuminate\Routing\RouteFileRegistrar::{closure}(): Argument #1 ($model) must be of type App\Models\Model, Illuminate\Http\Request given

It appears to only happen when using the ->missing() behaviour.

I am unable to recreate this using the following route:

I've had a play and it looks like if the route closure is using arrow functions that it results in the error. If you update your example to does it break? I'm happy to re-write mine (or move them into controllers) but might be something to look into (if you're able to reproduce).
Route::get('/users/{user}', fn (User $user) => $user)->missing(fn () => redirect('https://laravel.com'));

Thanks

Hey @timrspratt
There was a similar issue not long ago and I was playing around to try finding the error then. Can't remember now which issue number it was.
From my assessment back then - and I tried again with your code sample - the issue seems to be the way closures are serialized. Their serialized form keeps a reference to the line numbers of their start and end lines and source file.
On your example both closures (arrow functions) start and end on the same line, therefore it seems when unserializing the closure passed to the ->missing()  method, Laravel actually tries to execute the one passed as the route resolver as both closures start and end at the same line.
My guess is that this is a limitation on the underlying library used for closure serialization. If you try breaking lines like this:
Route::get('/users/{user}', fn (User $user) => $user)
    ->missing(fn () => redirect('https://laravel.com'));

Both cases works (existing user, and user not found).
As an evidence of this behavior you can try this using regular closures:
Route::get('/users/{user}', function (User $user) { return $user; })->missing(function () { return redirect('https://laravel.com'); });

Which is valid PHP, albeit not very common code-style, you will see this:

Existing user: works
User not found: error

Which seems to be the same behavior you opened this issue for.
Again, I think this is a limitation on how closure serialization works.
One solution would be adding a note into the docs to warn about this limitation (if the limitation is confirmed, I don't know a lot about the library used for serialization).
Another solution would be erroring when two cached closures have overlapping start and end lines, so the developer is aware.
If this is actually a limitation, my shot would be adding a warning to the docs, as this is easy to solve and maintaining the code to detect conflicts for this could add a lot of complexity.
Hope this helps.

@rodrigopedra thanks, this makes total sense thinking about it! I can confirm that putting them on new lines works as expected.
I was trying to be clean with my route definitions on one line, but with this in mind I'll reconsider and go about it the conventional approach (I never normally bother caching routes anyway, there aren't that many 🙈).
Thanks for the assistance with this, apologies @taylorotwell for taking your time.


Enable retry for customizable http methods

Describe the feature
The docs state the following:

Default for retry is 1 retry, except for POST, PUT, PATCH and DELETE methods where ofetch does not retry.

Why does retry only work for GET? 🤔
There are plenty of cases where a retry with the other methods would be useful.
I often use POST requests to send params in the body instead of path / query params, especially when there are a lot of them.
So far I am using the auto retry feature in order to resend the same request with an updated auth token in the header. But this is useless for me if I am limited to GET requests.
Maybe UseFetchOptions can be extended with an array of the methods to be retried?
retryStatusCodes: [GET, POST]
While I am at it, why not make the retry logic accessible to the user, like Axios? It was possible to resend the very same request inside of an interceptor:
const originalRequestConfig = error.config;
// [...] Update the headers
return $axios.request(originalRequestConfig);

👋
Additional information

[x] Would you be willing to help implement this feature?

Because a retry for a POST request could have unwanted consequences.
Think of an API endpoint sending a 500 after submitting your data to the database.
With retry, you'd accidentally spam the DB 😋

Thanks for describing your issue @TimGuendel. As @manniL explained, the default behavior of retry is to support for non-idempotent requests that have no payload.
I think it is fair to ask supporting retry for other methods as long as once clearly knows it is fully safe to do so.
I have rechecked implementation and if you manually set retry option to a number like ofetch('/url', { method: 'POST', retry: 5 ]) ofetch still allows retrying would it solve your problem?
Adding a new option also works but the idea of unjs tools and ofetch is to be as minimal as possible. That's why adding this option is good idea if probably there is no alternative.

retry just do retry thing is good, why add custom behavior in it? I don't like the concept of resetful, many open platforms actually support both get and post, without restrictions, may I ask your honor, how to deal with this?

a function only does one thing, retry is retry, why mix in other logic
do not add any custom behavior, if you have to add, then you need to add the corresponding undo method

@TimGuendel Have you read my comments? It is as simple as setting retry: 3 to enable for all methods :)

@TimGuendel It is as simple as setting retry: 3 to enable for all methods :)

I did - but it is too late now 😬Maybe the docs should be updated to reflect this behavior? So far, it says:

Default for retry is 1 retry, except for POST, PUT, PATCH and DELETE methods where ofetch does not retry.

👋

Looks like 3 is the lucky number.


Improve Treesitter heading highlighting for Markdown

I was a bit confused why #161 seemed to have disappared, but you mentioned having force pushed in a discussion thread, so I'm assuming it's because of that. Resubmitting the same change again, and hopefully it will stick this time. 😄

Ugh, sorry about that. I appreciate you making the change again 💜

Sorry it may be caused by me force pushing at some point—https://github.com/rose-pine/neovim/discussions/162#discussioncomment-6138987

No worries, it worked! Thanks a lot!


CLI tool for v0.8.5 no longer accepts input via pipes

In versions prior to v0.8.5, piping input into the CLI tool would allow for the input to be evaluated. Starting in v0.8.5, this behavior has changed, and I could not find any documentation indicating that this was an intentional change.
Expected result:
$ echo "3 + 1" | yaegi
4

Got:
$ echo "3 + 1" | yaegi
// no output

I observed this behavior after using both official (via GitHub releases) and self-built binaries from v0.8.4 and v0.8.5 in Linux amd64 and Darwin amd64.

The input is still evaluated, but silently.The previous behavior will be restored soon. In the meantime, you can run:
$ echo 'println(3 + 1)' | yaegi
4

I see, thanks.


Images are repeated within ssl-transfer/caltech101-splits/train.txt file.

Images are repeated within ssl-transfer/caltech101-splits/train.txt  file. For example: example-1, example-2, example-3 and there are many more. Total unique element in the txt file is 2416 instead of 3060.

Thank you for spotting this! It's been fixed now and there are 2416 elements.


[4.0.0-rc.0][DOC] ion-tab still in doc

Bug Report
Ionic version:

[x] 4.x
Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

Ionic info:

insert the output from ionic info here

The first exemple still features  on https://beta.ionicframework.com/docs/api/tabs and my understanding is that it has been removed.
While I'm at it, it's unclear to me how to create tabs without using router, we used to have tabs holding the content, I'm not sure how we should do it now.
EDIT : related to https://github.com/ionic-team/ionic/issues/16796 I guess, depending on the status of this one my issue can be closed if not relevant.

THere is a difference between @ionic/core (used in vanilla javascript projects) and @ionic/angular. So ion-tab still exist, but not in Angular.
There is an information when you want to use it with Angular -> https://beta.ionicframework.com/docs/api/tabs/#angular-router-integration


issue with payment

Error something went wrong

Can you tell I'm detail how you got this?

Can you tell I'm detail how you got this?
after add the pin in gpay this error comes

Can you tell I'm detail how you got this?

even there is no error in logs as well

Which upi you are using. You are sending to merchant upi right?

gpay and yes i am sending merchant upi

Which upi you are using. You are sending to merchant upi right?

also there is no error like maximum limit exceeded that things only come if we pay to personal upi right

If you are facing issue in gpay then may be parameters you are sending is wrong or it may be from gpay. Can you give more information how you are sending. Dummy one?

FlutterPayUpiManager.startPayment(
paymentApp: selectedApp.app!,
payeeVpa: "",
payeeName: "testing",
transactionId: "1234567",
payeeMerchantCode: "1234",
description: 'testing dharmik',
amount: "10",
response: (UpiResponse response, String amount) {
_showTransactionDetailsDialog(response, amount);
},
error: (e) {
_showRoundedDialog(context, e.toString());
});  i have removed the payeVpa because i cant disclose it

If you are facing issue in gpay then may be parameters you are sending is wrong or it may be from gpay. Can you give more information how you are sending. Dummy one?

all things are working like opening gpay,pay button only issue i am facing is that when i add my gpay pin to pay that error pops up

List androidUpiList = await FlutterPayUpiManager.getListOfAndroidUpiApps();
// Choose an app for payment
UpiApp selectedApp = androidUpiList[0];
print(selectedApp);// You can implement your own logic to choose the app

@San23042001 try with different transaction id for each transaction i faced same issue and it fixed


Update webserver/ui cwl dependency check to python 3

Bug Report
Expected behaviour
We have 2 places where we hardcode the python dependency for cwltool. In the webservice its in CWLToolWrapper.java and for the UI in downloadcliclient.component.ts. This should be set to python3 for 1.7.0
Actual behaviour
Currently set to python 2, but I don't think it actually stops anything if not python2 (might just check if  python2 is installed, not  if default  python)
Environment (Browser or OS and Dockstore version)
API - 1.7.0-rc.2
UI - 2.4.0-rc.2
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.8
┆Sprint: Seabright Sprint 26 Abalone
┆Issue Number: DOCK-998

This is grabbing the list of dependencies and then checking on specifically cwltool and schema-salad, which are the same between python 2 and 3. So this had no real effect, looks like the same for the GUI

So is this ticket just changing it to 3 in all places it occurs, even though it has no real impact?

Also note that CWLToolWrapper.java is now in the Dockstore client.

I think the idea is one should enter the onboarding wizard and exit with an install of the dockstore cli using cwltool using Python 3. However, it looks like above when I tried it, the specific version of cwltool and schema-salad used was the same for both python 2 and python 3, so watch out for that

Ok I see. Do you mean it seems like we don't have to update the requirements.txt with newer versions of schema salad and what not?

In September, I think I was under that impression.
Now with Python 2 officially dead, it might be a good idea to spin up a Ubuntu VM, explicitly delete all of Python 2, and see whether installing a CLI, launching a workflow works all via Python 3.


Add ability to set queue/subscription to ReceiveDisabled (and SendDisabled)

It would be very handy to be able to set a queue to ReceiveDisabled from the ServiceBusExplorer. If the SendDisabled state is also added, a queue can be set to any state from within the SB Explorer.

Hi @rob-hendrickx-c4t can you please clarify your request eventually with some pictures? Thanks

Hi @rob-hendrickx-c4t can you please clarify your request eventually with some pictures? Thanks

Sure thing.
As you may know, an entity in ServiceBus can have different states as described here: https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.entitystatus?view=azure-dotnet. Currently, the ServiceBusExplorer allows the user to enable/disable a queue or topic subscription.
In our usage of Azure Service Bus, we sometimes set an entity to the status ReceiveDisabled, so we can keep posting messages on a queue/topic, but pause the receiver for a while. It would be handy to be able to do this from within the ServiceBus explorer. Therefor, I request to replace the following actions:

Enable queue
Disable queue
Enable subscription
Disable subscription

with the Change status action, which could open a popup with a dropdown with following values:

Enabled
Disabled
ReceiveDisabled
SendDisabled
.
(With exception of the status that's currently set of course).

This would look somewhat like the below:

Let me know if you have any additional questions.


delete button on the result page？

https://github.com/alefragnani/vscode-bookmarks
Is it possible to add a delete button on the result page?
The screenshot is from the BOOKMARK extension.

Actually, I also wanted to add this feature!!!

I have just added this feature, now you can update your extension and have a try😎

seems like it's not working on my end. 😭

It might be useful to restart vscode

still not work.
Can the logs be output to VSCODE's OUTPUT?   I'd like to check the logs.

2024-05-27 20:23:05.783 [info] Extension host with pid 222174 started 2024-05-27 20:23:05.800 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/679b43345d427f53f44cb8aec58b6fbc/vscode.lock': Lock acquired. 2024-05-27 20:23:05.950 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2024-05-27 20:23:05.952 [info] ExtensionService#_doActivateExtension mechatroner.rainbow-csv, startup: false, activationEvent: 'onLanguage:plaintext' 2024-05-27 20:23:05.954 [info] ExtensionService#_doActivateExtension golang.go, startup: false, activationEvent: 'onLanguage:go' 2024-05-27 20:23:06.252 [info] ExtensionService#_doActivateExtension vscode.tunnel-forwarding, startup: false, activationEvent: 'onTunnel' 2024-05-27 20:23:06.960 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git 2024-05-27 20:23:06.962 [info] ExtensionService#_doActivateExtension redhat.vscode-yaml, startup: true, activationEvent: '*', root cause: 42Crunch.vscode-openapi 2024-05-27 20:23:06.963 [info] ExtensionService#_doActivateExtension hansu.git-graph-2, startup: true, activationEvent: '*' 2024-05-27 20:23:06.963 [info] ExtensionService#_doActivateExtension outofsync42.select-compare-tabs, startup: true, activationEvent: '*' 2024-05-27 20:23:07.350 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*' 2024-05-27 20:23:07.351 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' 2024-05-27 20:23:08.078 [info] ExtensionService#_doActivateExtension 42Crunch.vscode-openapi, startup: true, activationEvent: '*' 2024-05-27 20:23:09.304 [info] Eager extensions activated 2024-05-27 20:23:09.304 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:09.305 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:09.305 [info] ExtensionService#_doActivateExtension eamodio.gitlens, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:09.306 [info] ExtensionService#_doActivateExtension GitHub.copilot, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:09.306 [info] ExtensionService#_doActivateExtension GitHub.copilot-chat, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:09.306 [info] ExtensionService#_doActivateExtension happiness86.vscode-references-plus, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:09.317 [info] ExtensionService#_doActivateExtension maptz.regionfolder, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:12.463 [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github, startup: false, activationEvent: 'onStartupFinished' 2024-05-27 20:23:12.859 [warning] [redhat.vscode-yaml] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[yaml]', provide the URI of a resource or 'null' for any resource. 2024-05-27 20:23:12.900 [warning] [redhat.vscode-yaml] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[yaml]', provide the URI of a resource or 'null' for any resource. 2024-05-27 20:23:14.131 [error] [golang.go] provider FAILED 2024-05-27 20:23:14.143 [error] Error: semantictokens are disabled     at handleResponse (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8606:40)     at handleMessage (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8416:11)     at processMessageQueue (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8431:13)     at Immediate.<anonymous> (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8407:11)     at processImmediate (node:internal/timers:476:21) 2024-05-27 20:23:15.045 [error] [golang.go] provider FAILED 2024-05-27 20:23:15.045 [error] Error: semantictokens are disabled     at handleResponse (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8606:40)     at handleMessage (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8416:11)     at processMessageQueue (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8431:13)     at Immediate.<anonymous> (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8407:11)     at processImmediate (node:internal/timers:476:21) 2024-05-27 20:23:32.875 [error] [golang.go] provider FAILED 2024-05-27 20:23:32.877 [error] Error: semantictokens are disabled     at handleResponse (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8606:40)     at handleMessage (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8416:11)     at processMessageQueue (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8431:13)     at Immediate.<anonymous> (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8407:11)     at processImmediate (node:internal/timers:476:21) 2024-05-27 20:24:22.765 [error] [golang.go] provider FAILED 2024-05-27 20:24:22.767 [error] Error: semantictokens are disabled     at handleResponse (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8606:40)     at handleMessage (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8416:11)     at processMessageQueue (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8431:13)     at Immediate.<anonymous> (/root/.vscode-server/extensions/golang.go-0.41.2/dist/goMain.js:8407:11)     at processImmediate (node:internal/timers:476:21)
is this help?
btw,i use vscode with wsl2.

It looks nothing wrong with the extension. Have you updated the extension to v0.0.9 and reopened vscode?
RP works perfect on my end.

2024-05-27 20:44:40.847 [error] TypeError: Cannot read properties of undefined (reading 'id')
    at /root/.vscode-server/extensions/happiness86.vscode-references-plus-0.0.9/dist/index.js:184:36
    at d.h (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:141:140094)
    at d.$executeContributedCommand (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:141:140954)
    at u.S (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:150:10829)
    at u.Q (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:150:10595)
    at u.M (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:150:9685)
    at u.L (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:150:8903)
    at f.value (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:150:7567)
    at n.y (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
    at n.fire (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
    at o.fire (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:103:14039)
    at f.value (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:171:7903)
    at n.y (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
    at n.fire (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
    at o.fire (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:103:14039)
    at d.z (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:103:17104)
    at f.value (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:103:15556)
    at n.y (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
    at n.fire (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
    at f.acceptChunk (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:103:11813)
    at f.value (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:103:11100)
    at n.y (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
    at n.fire (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
    at n.z (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:168:19527)
    at n.acceptFrame (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:168:19333)
    at i.n (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:168:17832)
    at /root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:168:15052
    at Socket.E (/root/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/out/vs/workbench/api/node/extensionHostProcess.js:168:12957)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Socket.Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) references-plus.deleteEntry {"value":"happiness86.vscode-references-plus","_lower":"happiness86.vscode-references-plus"}

now get this.
I'm not sure if it's related to my use of WSL.
I've tested it in a Windows environment and there's no problem, but when I operate through the extension into WSL, the delete button cannot be activated.

and this

I'm sorry that I don't have a wsl2 environment. It seems that the error is caused by the version I have just published.

I will try to solve this problem, but i can't promise that😅

I tried it on my home computer and it's working fine now.
Please allow me to test it on the company's computer tomorrow.
However, there's one thing, currently, using my home computer, Only the delete buttons for the two results at the bottom are functional, the delete buttons for the two collapsible items at the top are not responding.

I tried it on my home computer(also wsl) and it's working fine now.
Please allow me to test it on the company's computer tomorrow.
However, there's one thing, currently, using my home computer, Only the delete buttons for the two results at the bottom are functional, the delete buttons for the two collapsible items at the top are not responding.

I have noticed this problem too.I will fix it today and release a new version.

I switched to a different WSL distribution, and now it's working properly.
ubuntu 22.04 -> ubuntu 24.04

I think I've found the problem.
The path of my project's directory contains an underscore (_).
I've tested a few projects, and if the project's file path contains an underscore, the delete button cannot be used.
If I remove this underscore, I can delete normally.
I've tested it, and this issue also occurs on WINDOWS.

I think I've found the problem. The path of my project's directory contains an underscore (_)

I've published a new version to fixed this error. This error is caused by unique id of tree node . I simply use underscore(_) to generate id. This is my fault, thank you so much to help me find this error.

May I ask, did you keep this blank space for the convenience of viewing the code hierarchy?
Have you considered creating a switch to control the display of this blank space?

Have you considered creating a switch to control the display of this blank space?

Actually, I didn't think too much when I created  this tool. I just didn't handle the blank space.
This is a good advice. And I will also add some other configuration, such as maximum items in result view.

if I have time, I'll try to tweak the UI with chatgpt to make it more consistent with the overall VS Code UI, and submit a PR.


CV class: docs? Non-public?

https://github.com/adafruit/Adafruit_CircuitPython_EMC2101/blob/3ae2a7c162a4047ecb0ae55db0adef3d78c84c6d/adafruit_emc2101.py#L206
This shows up in the docs, but the actual "constants" being defined don't. Am I correct in thinking this is basically a "fancy Enum" class? Any way to get the constants defined within to show up in docs https://circuitpython.readthedocs.io/projects/emc2101/en/latest/api.html#adafruit_emc2101.CV  short of manually documenting them? Can we just remove this class from the public interface entirely? I don't imagine library users are meant to use it directly.

Ya, I think you can hide it with "_".

Solved by #15 . Closing. Thanks


Zend\Log should provide a priority check

Creating log messages can be expensive (e.g. if you dump state via json_encode or print_r). It should thus be possible to ask the logger if a given priority has a chance to go through the chain (without being filtered).
This is a common pattern for logging to remove the performance penalty of logging.

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


"Trouble with Safari Extension on MacOS (M1): Requesting Easy Setup Guide"

User is struggling to capture a webpage using the Safari extension on MacOS (M1) and is looking for an easy setup guide.

Summarized feedback from<EMAIL_ADDRESS>
User is struggling to capture a webpage using the Safari extension on MacOS (M1) and is looking for an easy setup guide.


Unusual behaviour with no_auto_bright=True

I have encountered a weird brightness issue for some of images. Find images here.
If I process the pair of images from CAME****.raf the resulting images (that I save or view with openCV) have the same apparent brightness (which I can confirm looking at histograms of them with matplotlib).
However if I do the same with the pair of images from CAMD****.raf one of the images comes out brighter.
sample code for processing:
import rawpy
path = 'CAM*****.raf'
with rawpy.imread(path) as raw:

    rgb = raw.postprocess(no_auto_bright=True, no_auto_scale=False,gamma=(1, 1), output_bps=16, user_wb=[809.0, 302.0, 374.0, 0.0], use_auto_wb=False, use_camera_wb=False)

If set no_auto_bright=False the problem disappears, but I need to have any auto brightening disabled for processing across lots of images.
Also should mention that I have checked this on multiple cameras and can confirm that the problem doesn't arise when viewing the raw images in another software such as lightroom or google drive (as can be seen in the link).
This maybe could be something specific with the file but I'm not sure.

Incase anyone comes across a similair behavious, this is caused the normalisation used when saving the processed RAW data into an image file or array. The behaviour was just dependant on no_auto_bright and not caused by it.


Add options to show all/with votes/and without votes on head-to-head tab

Filter the displayed head-to-heads by voting status:

Useful for:

Providing your own human ratings on only head-to-heads that don't already have them
Reviewing ratings submitted by judges on a subset of all head-to-heads

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

Project coverage is 96.90%. Comparing base (55ecdce) to head (b5b7de8).

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk      #60   +/-   ##
=======================================
  Coverage   96.90%   96.90%
=======================================
  Files          30       30
  Lines        1291     1291
=======================================
  Hits         1251     1251
  Misses         40       40

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


Resize Image too cool!

OMG I know this is not a BUG or REPORT post but I gotta let the team behind this knows that this extensions works very wonderful. Tried upload a JPG image of 787kB and after a refresh it resize the size to a freaking 13kB! That's a massive reduction of pixel as well as sizes. I wonder what happens if I reupload all my WEBP format.

@Starscream9559 glad you're enjoying it!  Thanks for giving extensions a try on Day 1!


Remove uses of deprecated function string.substr()

There are multiple calls to this deprecated function in the codebase.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr

I highly doubt this function will ever be removed and it is way simpler on the eye than String#substring.
For example, this is using so much more code for the end argument calculations:
https://github.com/playcanvas/engine/blob/18479af56d93eeceaa062d06a78e44c179d31039/src/core/string.js#L69-L70
Compared how it would be written via String#substr:
    const first  = string.substr(index    , 2);
    const second = string.substr(index + 2, 2);

So why even remove it? I would rather replace substring with substr and add a polyfill if it ever were deleted (which would break like every 2nd website and make browsers/engines alienate their users).
To get rid of this obtrusive deprecation warning you can simply add e.g. substr.d.ts in the root dir:
interface String {
    /**
     * Gets a substring beginning at the specified location and having the specified length.
     * @param from The starting position of the desired substring. The index of the first character in the string is zero.
     * @param length The number of characters to include in the returned substring.
     */
     substr(from: number, length?: number): string;
}

You're right that substr is never likely to be removed from browsers. However, I don't feel that the additional characters required to switch to substring are significant. And for the price of that, we don't need to mess around with hacking .d.ts files or polyfills. So yeah, I'd just recommend we make the switch at some point. Obviously, this is kinda low priority! 😄


Add support for MQLight monitoring

I'd like to add support for the MQLight npm module.
The data produced would be:
Event: 'mqlight'
Emitted when a MQLight message is sent or received.

data (Object) the data from the MQLight event:
time (Number) the time in milliseconds when the MQLight event occurred. This can be converted to a Date using new Date(data.time)
clientid (String) the id of the client
data (String) the data sent if a 'send' or 'message', undefined for other calls.  Truncated if longer than 25 characters.
method (String) the name of the call or event (will be one of 'send' or 'message')
topic (String) the topic on which a message is sent/received
qos (Number) the QoS level for a 'send' call, undefined if not set
duration (Number) the time taken in milliseconds.

@sjanuary What's the approach for tuncating messages? Do we just cut off at 25 characters? (ie, is there a way to know its truncated rather than just happens to be 25 characters?)

If the message length is greater than 25 characters then it is truncated to 22 characters and an ellipsis ("...") is appended to show that it has been truncated.


Add instrumentation for mixpanel

@twblack88 to provide events desired
all implemented and hooked up / tested

Closed by https://github.com/shapeshift/og/pull/22


How to make spaces display a wider width

I think this is determined by fontFamily.

I think this is determined by fontFamily.

thx


[Bug] can not change issue body (of migrated issue)

Gitea Version: current
If you migrate a repository from github with issues.
you can not change body of an issue - eaven if you are instance admin

ugh good find, added PR to fix


Google play warning update SDK version

Report
Plugin Version
react-native 0.59.9
react-native-appsflyer 1.4.7
On what Platform are you having the issue?
Android Google play
What did you do?
npm install and manual link
What did you expect to happen?
upgrade SDK
What happened instead?
Received a Google play warning  to upgrade SDK
Please provide any other relevant information.

@JinYuSha0 The AppsFlyer SDK in the latest version of the plugin is v4.10.2, so by installing the latest version, you will be complainant with the warning from Google.

@wesfieldj the latest version is 1.4.7 and it seems @JinYuSha0 has it installed, right?
I'm wondering if there is something more to do than just install the module? 🙂

@rborn There is nothing else that needs to be done. Just install the latest version (1.4.7).

@rborn I just used initSdk and trackEvent APIs, and i already have the feature to collect IMEI, so i don't have to worry about anything?

@JinYuSha0 if you don't use AppsFlyer setImeiData it should be fine I think

@rborn @wesfieldj
Thank you both!, close.


Feature clustering model

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Please provide enough information so that others can review your pull request:

Add clustering model with KMeans algorithm.
Add configuration settings for this algorithm.

Explain the details for making this change. What existing problem does the pull request solve?
It was suggested to try clustering to identify the customer's kludge characteristics. The kmeans algorithm was used with a breakdown into 3 clusters. Which showed accuracy slightly more linear regression, but at the same time higher speed of operation.
Closing issues
Closes #42

This pull request is now managed with CodeReviewHub. Refresh.


Not escaped user input

Supplying a string containing single quotes to the description field prompt resulted in a SyntaxError in the generated setup.py
setup(name=name,
    version=version,
    description='A 'test' description',
   ...

Hi @lalstef,
This looks like a dupe of #775, which was handled / fixed in the cookiecutter template in question


get negative 0 result

Describe the bug
the result for 0 is "-0"

To Reproduce
have no error
Expected behavior
result is "0" and not "-0"
Desktop (please complete the following information):

OS: linux mint

Additional context
vs code terminal

this is intended, because the result of this stats are the pseudo note that will be subtract to the true result of your project.
but if you have no coding style error, 0 will be subtract (so -0)


Remove canTransitionFrom override from Material/CupertinoPageRoute

Related Issues
Fixes #44864
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

cc @xster @LongCatIsLooong

@AlexVincent525 thank you for the pull request! Could you add a widget test in packages/flutter/test/material/page_test.dart, to verify #44864 is indeed fixed by this PR? For example you could verify that the initial MaterialPageRoute's title widget shifts to the left when a new page route is pushed.

Closed due to conflict proposal between me and @Vadaski .


Add example for Function Call with streaming

Just like examples/function-call but using streaming call.
Note: There is open PR at the moment but no way to test it #83

@64bit going to try to tackle this issue first.
I've been skimming the codebase and also the OpenAPI spec. Just curious (and this might help me understand the codebase better) - what was the main design and considerations you took while developing this library to use the OpenAI API? Did you mostly use the OpenAPI spec or look at the design of their official python library?

The primary source was OpenAPI spec and async-stripe was source of inspiration, you might find evolution of this library if you look at early commits. When I started I couldnt find good resources to generate code from spec, and json spec is not always up to date, sometimes has human errors. Moreover there are complex situations like streaming where an input field like "stream": true determines SSE response.
So I decided to build this library with hand instead of relying on auto generation (although auto generation would be ideal for Rust in long term) because my focus was on correctness, auto retries on rate limit and full API coverage - all the things to make library production ready.
I had skimmed through the offcial python library too, and then went with spec as source of truth and grouping ("images", "fine-tunes" etc.) based on OpenAPI spec + RESTful spec.

resolved  in #90


Update branding

Whilst some brand customisations have been implemented already Imperial has since updated its branding materials so this needs to be revised.

Attaching some of the new branding logos (Blue, Black, and White versions) as they may be in accessible from the Imperial website

See the following item for Imperial new logos:
https://github.com/ImperialCollegeLondon/fair-data-repository/issues/49

Closing this; superseded by #49


How to config appropriately for VLP-16 laser in indoor case?

Hello,
I tried to use a Velodyne VLP-16 laser (I tried to modify cartographer_ros’s configuration file so that I can use a Velodyne VLP-16 laser to collect points) and a IMU to generate indoor 3D pointcloud, then get a precise indoor map with google cartographer. However I always got a set of clutter points and the process of showing cloudpoints on the screen is very slow.
The pointcloud are as below:

And I can’t get apparent trajectory map on these grids.
My related configuration files：
backpack_3d.urdf:
<robot name="cartographer_backpack_cnu_2d">
  <material name="orange">
    <color rgba="1.0 0.5 0.2 1" />
  </material>
  <material name="gray">
    <color rgba="0.2 0.2 0.2 1" />
  </material>
  <material name="green">
    <color rgba="0.2 0.4 0.2 1" />
  </material>

  <link name="imu_link">
    <visual>
      <origin xyz="0.0 0.0 0.0" />
      <geometry>
        <box size="0.06 0.04 0.02" />
      </geometry>
      <material name="orange" />
    </visual>
  </link>

  <link name="horizontal_laser_link">
    <visual>
      <origin xyz="0.0 0.0 0.0" />
      <geometry>
        <cylinder length="0.09" radius="0.03" />
      </geometry>
      <material name="gray" />
    </visual>
  </link>

  <link name="vertical_laser_link">
    <visual>
      <origin xyz="0.0 0.0 0.0" />
      <geometry>
        <cylinder length="0.09" radius="0.03" />
      </geometry>
      <material name="gray" />
    </visual>
  </link>

  <link name="base_link" />

  <joint name="imu_link_joint" type="fixed">
    <parent link="base_link" />
    <child link="imu_link" />
    <origin xyz="-0.04 0.0315 0.016" rpy="0 0 0" />
  </joint>

  <joint name="horizontal_laser_joint" type="fixed">
    <parent link="base_link" />
    <child link="horizontal_laser_link" />
    <origin xyz="-0.0495 0.1695 0.081" rpy="1.57 0 0" />
  </joint>

  <joint name="vertical_laser_link_joint" type="fixed">
    <parent link="base_link" />
    <child link="vertical_laser_link" />
    <origin rpy="1.57 -1.57 0" xyz="-0.14 0.241 0.037" />
  </joint>

</robot>

backpack_3d.lua:
include "map_builder.lua"

options = {
  map_builder = MAP_BUILDER,
  map_frame = "map",
  tracking_frame = "base_link",
  published_frame = "base_link",
  odom_frame = "odom",
  provide_odom_frame = true,
  use_odometry_data = false,
  use_constant_odometry_variance = false,
  constant_odometry_translational_variance = 0.,
  constant_odometry_rotational_variance = 0.,
  use_horizontal_laser = false,
  use_horizontal_multi_echo_laser = false,
  horizontal_laser_min_range = 0.,
  horizontal_laser_max_range = 30.,
  horizontal_laser_missing_echo_ray_length = 5.,
  num_lasers_3d = 1,
  lookup_transform_timeout_sec = 0.2,
  submap_publish_period_sec = 0.3,
  pose_publish_period_sec = 5e-3,
}

TRAJECTORY_BUILDER_3D.scans_per_accumulation = 80

MAP_BUILDER.use_trajectory_builder_3d = true
MAP_BUILDER.num_background_threads = 7
MAP_BUILDER.sparse_pose_graph.optimization_problem.huber_scale = 5e2
MAP_BUILDER.sparse_pose_graph.optimize_every_n_scans = 320
MAP_BUILDER.sparse_pose_graph.constraint_builder.sampling_ratio = 0.03
MAP_BUILDER.sparse_pose_graph.optimization_problem.ceres_solver_options.max_num_iterations = 10
-- Reuse the coarser 3D voxel filter to speed up the computation of loop closure
-- constraints.
MAP_BUILDER.sparse_pose_graph.constraint_builder.adaptive_voxel_filter = TRAJECTORY_BUILDER_3D.high_resolution_adaptive_voxel_filter
MAP_BUILDER.sparse_pose_graph.constraint_builder.min_score = 0.62
MAP_BUILDER.sparse_pose_graph.constraint_builder.log_matches = true

return options

My dataset:
Bag file

TRAJECTORY_BUILDER_3D.scans_per_accumulation = 80

Is this correct? If your laser gives you full revolutions (which is likely if you did not change it), you accumulate full 80 revolutions into one cloud before scan matching. See this FAQ entry for more information.
Also note: on the second picture you can see that the tiny opening angle of the VLP16 is not ideal for full 3D slamming (which you are trying to do): nothing constraints this point cloud is z-direction, i.e. it will likely drift in Z. You will likely require a second sensor to constrain you in the up down direction, but maybe (depending on the features of your environment) it works.
Let me know if you require further assistance.

My dataset
Bag file
(PS:The Laser frequency is 10Hz)

Today I record a set of data to test 3D slamming with a VLP-16 Laser , and the link is as below:
My dataset
(Note:My laser frequency is 10Hz)
However I can't get ideal matching results, according to your advice.  Could you help me to test this data?
Thanks a lot.

Please provide a link to a cartographer_ros fork that contains your configuration files and launch files.

My fork link is: https://github.com/luoxiaoliaolan/cartographer_ros
The launch file is: demo_backpack_my_3d.launch
Thanks

I only had a quick look at your data, but there is obvious things wrong here that you need to fix:

As mentioned above, your scans_per_accumulation should be 1 since you did not subdivide your point cloud. This is obvious by just trying this setting out.
 Please fix them and read through past closed issues labeled 'tuning'. If you still have issues then, please open a new bug.


Teams Hello World Sample not running in Desktop App

Hi,
Maybe this is the wrong repo, but Maybe you can help me.
I'm trying to get my Teams App up running in the desktop app.
I can deploy it, I can uplaod it and in the web app it's running fine.
But in the desktop app my custom tabs aren't showing content (they are there, but empty).
I started from the hello world sample and just changed some page and the js to load one specific tab instead of configuring it.
If you can give me some info, that would be awesome.
thanks.

@PascalS86, Do you mean app is working fine in Teams web client and same app is not working on Teams Desktop client?
Please check your ngrok, if you are getting any error message when on desktop client

Hi,
thanks for the info.
Yes, it's working fine in the web client but not in the desktop client.
But ngrok is not getting an error.
Is there something special about the manifest, I have to consider setting it up?
{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.6/MicrosoftTeams.schema.json",
    "manifestVersion": "1.6",
    "version": "1.0.0",
    "showLoadingIndicator": false,
    "id": "[valid id]",
    "packageName": "[PackageName]",
  "developer": {
    "name": "[Name]",
    "websiteUrl": "[websiteUrl]",
    "privacyUrl": "[privacyUrl]",
    "termsOfUseUrl": "[termsOfUseUrl]"
  },
    "icons": {
        "color": "color.png",
        "outline": "outline.png"
    },
  "name": {
    "short": "[Company].Teams.Demo",
    "full": "[Company].Teams.Demo"
  },
    "description": {
        "short": "short",
        "full": "This sample app provides a very simple app. You can extend this to add more content and capabilities."
    },
    "accentColor": "#60A18E",
    "configurableTabs": [
      {
        "configurationUrl": "https://13556140.ngrok.io/configure",
        "canUpdateConfiguration": true,
        "scopes": [
          "team"
        ]
      }
    ],
    "staticTabs": [
      {
        "entityId": "[Company].Teams.Demo",
        "name": "Demo Tab",
        "contentUrl": "https://13556140.ngrok.io/",
        "scopes": [
          "personal"
        ]
      }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
  "validDomains": [
    "13556140.ngrok.io"
  ]
}

just to clairify, the square brakekts are just placeholders :)

Try this manifest json
{   "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",   "manifestVersion": "1.5",   "version": "1.0.0",   "id": "6afb1380-xxx-xxxx-xxxx-dd3286344xxx",   "packageName": "com.contoso.helloworld",   "developer": {     "name": "Contoso",     "websiteUrl": "https://www.yourcompanydomain.com",     "privacyUrl": "https://www.yourcompanydomain.com/privacy",     "termsOfUseUrl": "https://www.yourcompanydomain.com/termsofuse"   },   "name": {     "short": "App name",     "full": "App full name"   },   "description": {     "short": "App description",     "full": "App full description."   },   "icons": {     "outline": "outline.png",     "color": "logo.png"   },   "accentColor": "#60A18E",   "staticTabs": [     {       "entityId": "entitiyID",       "name": "TabName",       "contentUrl": "https://yourdomain.com",       "websiteUrl": "https://yourdomain.com",       "scopes": [         "personal"       ]     }   ],   "bots": [     {       "botId": "6afb1380-xxx-xxxx-xxxx-dd3286344xxx",       "scopes": [         "team",         "groupchat"       ]     }   ],   "composeExtensions": [     {       "botId": "6afb1380-xxx-xxxx-xxxx-dd3286344xxx",       "canUpdateConfiguration": false,       "commands": [         {           "id": "you_ID",           "description": "description",           "title": "Title",           "type": "action",           "initialRun": false,           "context": [ "message" ],           "fetchTask": true,           "parameters": [             {               "name": "Name",               "title": "Title",               "description": "To Do Title"             }           ]         }       ]     }   ],   "permissions": [     "identity",     "messageTeamMembers"   ],   "validDomains": [ "*.ngrok.io" ] }

Ok thanks, I'll give it a try.
But isn't that an older version of the schema?

Hi, this doesn't solve the problem.
In VS 2019 I can debug my teams app, when I call it from the web client. but it's not hitting the breakpoints or logs.
Still I don't get an error in the eventlog or in ngrok or in my service.
Do I need a specific version of the desktop client? or is there anything else?

Ok, I figured it out.
It was certificate problem. I didn't use localhost for debugging, I used my hostname. and for that, the certificate wasn't valid.  I changed that and I also add a website url (but I'm sure, that's not necessary). And voila, it's running and showing up


fix(installer): When unpacking use tmp dir in the installer's install path

What does this PR do?
Don't use /tmp to extract OCI packages. As it may not be in the same partition as /opt/datadog-packages this can cause issues when moving the extracted packages (can't move between partitions, and copying / deleting is hard as we need to handle symlinks, hardlinks, ownerships & permissions).
Thus in this PR we extract in a temp dir in /opt/datadog-packages.
Motivation
Working on all setups
Additional Notes
N/A
Possible Drawbacks / Trade-offs
Size at extract could be an issue, but we have mitigations in place to check size beforehand
Describe how to test/QA your changes
A test will be added in system tests, so no need for manual QA.

/merge


Documentation

Enhance readme description

How to deploy the scripts in the container
Logging and log files location
JSON response format

Consider https://github.com/servicecatalog/oscm-app-shell/files/2662650/Rules.that.must.be.met.during.creating.new.script.docx


How can I make DocZ more printer friendly?

How can I make my DocZ project printer friendly?
Description
Hello, I recently started a small project using DocZ as the framework. I wanted to know if there is a way to achieve a nicer layout of my DocZ project when I go to print it (ctrl + p). Right now, the navigation bar on the side and top header bar appear in the print preview, but it would be nice to remove those and simply print off the content inside the main view of the DocZ site.
Can this be done? I tried searching around in the documentation, but I had no luck. Thanks in advance!

Should be easy to override any styling with a print media query
@media print {
  /* All your print styles go here */
  #header, #footer, #nav { display: none !important; }
}


Improve app bootstrapping

Currently the user has to create a page, and pass it to nativescript-vue. It seems unnecessary, since it could just be wrapped in <page></page> tags.
Figure out a way to automatically create a Navigation entry, and navigate!
Ideally an app would consist of a main.js file with something like:
const Vue = require('nativescript-vue')
const MainPage = require('./MainPage.js')

const vm = new Vue({
    ...MainPage // or just define everything here
}).$mount()

And MainPage.js:
export default {
    template: `
        <page>
            <stack-layout>
                Hello world
            </stack-layout>
        </page>
    `
}

This has been done in 0d56d21ebee6a2cd41227d01586ef3c218e34e76


Wrong button type for timer setting

You used a RadioButton instead of a CheckBox for the timer option, so we can't turn it back off unless we edit the LSL file in a text editor and change OutputTimer from True to False.

Fixed in 492324abcca6a66aa3e746d180ccf0761b2a2d69, but not yet built/compiled and released.


Investigate and fix tabIndex adding cause and behaviour

Investigate and fix tabIndex adding cause and behaviour

Unsure if this was resolved, closing anyway


More correct http statuses in the README.md

I mean I guess it is true that the status codes between 200 and 400 would be ‘good’ … but if you are in control of your backend you would know what valid statuses it would reply with and in this case it would only ever reply with 200 if it's healthy… (In some ways it's safer to treat unexpected statuses as errors on the front end, even if they're technically valid HTTP status codes because you may want to have different behaviour)
In any case if you wanted to have such a broad check for “ok” statuses I think if (response.ok) { would be a better check …
I think I will close this without change but if you disagree please let me know.


Displaying last characters of a string in text area on overflow

Hi,
Is there any property/way to display last characters of a string in text area on overflow ? for example "old text should not be displayed only the newer should". So I want to make the text in bold to be visible based on the width.
Thanks,
Venkata Narni

Hi @vnarni
The available overflow options allow you to modify text at the end of the string but not the beginning.
example
documentation
Best regards

Adding to that, best way is just to manually check size of input string and determine the final output.
If you still have any further questions, please reopen.


Next Class not working anymore

The problem
Hi,
the next class property isn't working anymore, I think the teacher has screewed it up with an problematic entry. I get this error message in the log files:
[webuntis] {'jsonrpc': '2.0', 'id': '2023-05-31 10:04:54.013452', 'error': {'message': 'startDate and endDate are not within a single school year.', 'code': -8507}}
Version of Home Assistant?
2023.5.4
What type of installation are you running?
Home Assistant OS
Version of WebUntis
v0.5.4
Last working WebUntis version
No response
Traceback/Error logs
[webuntis] {'jsonrpc': '2.0', 'id': '2023-05-31 10:04:54.013452', 'error': {'message': 'startDate and endDate are not within a single school year.', 'code': -8507}}
Additional information
No response

Could you please confirm if the issue has been resolved in v0.5.5? If it is resolved, please close the issue. If the issue is still occurring, provide additional logs for further investigation.

Working with the new fix. Great, thank you


Idle inhibit deactivates after waybar is closed, while previously activated

Regression?
Yes
System Info and Version
Hyprland, built from branch main at commit e4d09aa3a9de9a9e71c10bf4b6800585b3db9a4c  (sessionLock: focus lock on creation based on mouse position (6658)).
Date: Wed Jun 26 00:22:38 2024
Tag: v0.41.2-5-ge4d09aa3, commits: 4891
flags: (if any)
System Information:
System name: Linux
Node name: devpc
Release: 6.9.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000
GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
csgo-vulkan-fix by Vaxry ver 1.2
hyprexpo by Vaxry ver 1.0
======Config-Start======
Config File: /home/vic/.config/hypr/hyprland.conf: Read Succeeded
Description
I like to have idle inhibit activated & sometimes, waybar closed. It worked.  Now when I killall waybar, hypridle activates hyrlock anyways.
How to reproduce
Have idle inhibit enabled in waybar
Killall waybar
Doesn't inhibit
Crash reports, logs, images, videos
No response

if waybar is dead how do you want it to idle inhibit?
I'd say this works as intended?

Okay.
Is it possible to have the ability hide waybar?

I also kill waybar to hide it, and would like it to remember the current idle_inhibit state.

pkill -SIGUSR1 waybar
the previous behavior was invalid. This will not be reverted

killall hypridle it is


BucketsApi->createBucket returns 400 bad request

Hi,
I tried to call the POST buckets endpoint following the documentation's example.
Calling createBucket results in a 400 bad request. I guess it is missing some required parameters. PostBucketsPayload only contains bucket_key, policy_key, and allow. However, according to the api reference authId and access are also required. I tried going to the source code but did not find out if the library adds these paremeters anywhere else automatically.
Edit: Seem like these paremters are only required for elements of the allow array but not the allow array is optional. So that shouldn't be the problem.
$forgeBucketsApi = new Autodesk\Forge\Client\Api\BucketsApi($forgeAuth);

$post_buckets = new \Autodesk\Forge\Client\Model\PostBucketsPayload();// \Autodesk\Forge\Client\Model\PostBucketsPayload | Body Structure
$post_buckets->setPolicyKey(\Autodesk\Forge\Client\Model\PostBucketsPayload::POLICY_KEY_PERSISTENT);
$post_buckets->setBucketKey(\Autodesk\Auth\Configuration::getDefaultConfiguration()->getClientId() . "-" . $projekt_id);
$is_valid = $post_buckets->valid();
$x_ads_region = "EMEA"; // string | The region where the bucket resides Acceptable values: `US`, `EMEA` Default is `US`

try {
    $result = $forgeBucketsApi->createBucket($post_buckets, $x_ads_region);
    return $result;
} catch (Exception $e) {
    echo 'Exception when calling BucketsApi->createBucket: ', $e->getMessage(), PHP_EOL;
    // Todo: proper error handling
}

Does anyone know what I did wrong or if it is indeed an error, any workaround?
Best regards,
Dominik

The bucket key has to be all lower case. The client id contains some upper case letters though so I had to make the id all lower case.
$post_buckets->setBucketKey(strtolower(\Autodesk\Auth\Configuration::getDefaultConfiguration()->getClientId() . "-" . $projekt_id));


Allow "title" mec to affect location-based inventories

The dInventory.title mechanism does not change the title of placed chests' inventories. The<EMAIL_ADDRESS>tag seems to be able to read the title though.
Relevant method: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Nameable.html#setCustomName-java.lang.String-
Relevant class that inherits the interface that the above method is in: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/Chest.html

Can chest blocks be named (in minecraft itself)?

Yes they can. A renamed chest will make the block inventory adopt the display name of the chest item. The specific vanilla NBT tag used is "CustomName", which (in 1.13.2) is a JSON text component.


Conversation state listening while speaking

Can we change the bot state to be listening as well while the bot is speaking?

Please help @palafranchise  @jpeddicord

Hi rahulsinghthakur,
This example has a simple Conversation state machine which transitions from speaking to listening on onPlaybackComplete and elicit conversation states. But you don't have to use the Conversation abstraction. You can use the Audio control directly to achieve the behavior you're looking for.
Andrew

Can you please elaborate on how to use audio control while the bot is speaking and change the state as soon as a person speaks anything?

The audio control is a lower level API. If you want to manage your own conversation state you can start/stop recording at any time. You'll need to have a strategy for silence detection or take explicit customer input to determine when to stop recording. It may be challenging to record audio input while playing back audio if your audio output and input aren't isolated. It could work with headphones and a separate mic. Using your laptop mic and speakers would pose challenges around recording the active playback along with the customer input.

I was thinking of implementing a code where if a person says something we can just stop the bot playback and change the state to listening, But I am unable to write the code logic on how to know if a person is saying something or not.

@palafranchise we can make use of wake words like stop or okay to stop the flow of lex bot playback but even to do that I have to change the state to listening and I am unable to write any condition for checking the users voice input.

Ah I see. This example is not a wake word solution--it's example of how to capture an audio device, record audio, convert the audio into a format that Lex will recognize, and play the response. It manages a conversation with a Lex bot to completion. If you want to support wake words, or interrupt the conversation with a wake word, you'll need to create some additional functionality. The audio control API would be useful for you when creating your own wake word support but you'd need to create your own wake word detection logic. One simple way to manage a conversation and handle wake words is to have two separate processes. Here's an example (although not browser based): https://aws.amazon.com/blogs/machine-learning/build-a-voice-kit-with-amazon-lex-and-a-raspberry-pi/


Update CRI-O and Kubernetes to v1.32

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Update the docs to reflect to use the latest version. Also bump the k8s CI version.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

/approve
/lgtm


Error when creating new post

Hi,
When creating a new blog post I am noticing a core error here. The blog post image shows from teh previous article and once saved in the database it show 0 as the ID
Would this be an issue with the code to add a new post or with the database itself?

Could not reproduce


PhantomJS rewriting URL in backgroundImage property to local file system

I am using PhantomJS to do some rewriting of HTML. I'm adding a background-image property to an element. But when I write out the resulting DOM, the URL has been rewritten to a local URL. I've boiled this down to the following test case:
JS
var page = require('webpage').create();
page.open("test.html",function(){
    setTimeout(function(){
        page.evaluate(function(){
            document.getElementById("test").style.backgroundImage="url(test.png)";
        });
        console.log(page.content);
        phantom.exit();
   },1000);
});

HTML

Output
$ phantomjs test.js

UPDATE

The problem remains if you specify ./test.png or //test.png. However, http://example.com/test.png is left unchanged, as might be expected.
If this HTML document is opened in Chrome, and the background-image property added to the div element in the style inspector, the URL is unmodified, whether the document is inspected in the Elements tab in devtools, or via document.body.innerHTML displayed in the console, or copying the HTML.

Obviously, I don't want this URL to be rewritten in this fashion, and I don't understand why PhantomJS feels the need to do this. Ideas?
[cross-post of StackOverflow question]

Same problem in v2.5.0 beta (downloaded from https://bitbucket.org/ariya/phantomjs/downloads/)


boards: Enable thread local storage for some config

Summary
to improve the ci coverage
Impact
Minor
Testing
Pass CI

Please fix build errors


Best Practice for ContextualSaveBar w/ Package: React-Form

I've been struggling to figure out how to properly reset the ContextualSaveBar on successful form submission when using @Shopify/react-form.
Currently, after returning a successful response within onSubmit, dity seems to still be true causing the ContextualSaveBar to not disappear.
import { useForm, useField, submitFail, submitSuccess, useReset } from '@shopify/react-form';

const Index = () => {
  const { fields, submit, submitting, dirty, reset, submitErrors } = useForm({
    fields: {
      privateKey: useField(''),
    },
    async onSubmit(form) {
      const remoteErrors = []; // your API call goes here

      // API call

        if (remoteErrors.length > 0) {
          return submitFail(remoteErrors);
        }

        return submitSuccess();
    },
  });

  const contextBar = dirty ? (
    <ContextualSaveBar
      alignContentFlush
      message="Unsaved changes"
      saveAction={{
        onAction: submit,
        loading: submitting,
        disabled: false,
      }}
      discardAction={{
        onAction: reset,
      }}
    />
  ) : null;

How are we supposed to update the fields/reset dirty on a successful form submission? I can call reset() which hides the ContextualSaveBar but then it also obviously resets all form fields to the original values when the page loaded. Not sure what I'm missing.

Also just realized I'm seeing a field value set as an object with a property of value:
 const privateKey = useField({
    value: fieldValues.privateKey,
  });

making me do privateKey.value.value

I'm seeing the same issue here...

This is one way of making this happen.
It make use of the fact the value you pass into the useField is the default value use against the new value for dirty comparison.
The assumption being you have some kind of user input that will change to the new value once
import React from "react";
import {
  AppProvider,
  ContextualSaveBar,
  Frame,
  Page,
  TextField,
  Layout
} from "@shopify/polaris";
import {
  useForm,
  useField,
  submitFail,
  submitSuccess
} from "@shopify/react-form";

export default function App() {
  const [privateKeyDefaultValue, setPrivateKeyDefaultValue] = React.useState(
    "default"
  );
  const { fields, submit, submitting, dirty, reset } = useForm({
    fields: {
      privateKey: useField(privateKeyDefaultValue)
    },
    async onSubmit(form) {
      const remoteErrors = []; // your API call goes here

      // API call
      setPrivateKeyDefaultValue(fields.privateKey.value);

      if (remoteErrors.length > 0) {
        return submitFail(remoteErrors);
      }

      return submitSuccess();
    }
  });

  const contextBar = dirty ? (
    <ContextualSaveBar
      alignContentFlush
      message="Unsaved changes"
      saveAction={{
        onAction: submit,
        loading: submitting,
        disabled: false
      }}
      discardAction={{
        onAction: reset
      }}
    />
  ) : null;
  return (
    <div style={{ height: "250px" }}>
      <AppProvider
        theme={{
          logo: {
            width: 124,
            contextualSaveBarSource:
              "https://cdn.shopify.com/s/files/1/0446/6937/files/jaded-pixel-logo-gray.svg?6215648040070010999"
          }
        }}
        i18n={{
          Polaris: {
            Frame: {
              skipToContent: "Skip to content"
            },
            ContextualSaveBar: {
              save: "Save",
              discard: "Discard"
            }
          }
        }}
      >
        <Frame>
          <Page>
            {contextBar}
            <Layout>
              <Layout.Section>
                <TextField
                  value={fields.privateKey.value}
                  onChange={fields.privateKey.onChange}
                />
              </Layout.Section>
            </Layout>
          </Page>
        </Frame>
      </AppProvider>
    </div>
  );
}

You can see it in the code sandbox here


Eye Pinch Ray

Summary
Add EyePinch ray to Hand Rays, and eye & hip positions to inferred body positions
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[x] Pair review with a member of the QA team.
[x] Add any release testing considerations to the MR for the next release.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[x] Code reviewed.
[x] Non-code assets e.g. Unity assets/scenes reviewed.
[x] Checked and agree with release testing considerations added to MR for the next release.

Closes JIRA Issue
If this MR closes any JIRA issues list them below in the form Closes PROJECT-#

@MattGrayUL if you're happy the below functionality has been delivered and can be enabled/disable where appropriate, and whether relative position of hip and eye are good then i'm also happy with this.
Option to see hip pos in debug visuals
Add eye positions to inferred body positions
Option to see eye pos in debug visuals
Add Eye Pinch ray
Eye pinch ray works by casting a ray out from  [left/right] eye and through the [left/right] pinch point (delete left/right as appropriate per hand)
Add Eye Pinch Ray to example scene
Add “dot renderer” which renders a dot where the ray collides with an object, or n meters away when not colliding
Coming out of preview I'd like to see how this worked against different headsets and runtimes.


Rotation not working correctly in dev version

Describe the bug
Using alt shift drag to rotate the view in the dev version is also panning the map instead of simply rotating around the view center.
To Reproduce
Open https://openlayers.org/en/latest/examples/simple.html zoom in 2 levels to avoid any conflict with multiWorld: false and use alt shift drag to rotate.  The view rotates around the center as expected.  Resetting the rotation restores the view to its original setting.
Repeat with https://openlayers.org/en/master/examples/simple.htm  The view rotates apparently around a random position as it also pans.  Resetting the rotation does not restore the view to its original position.
Expected behavior
alt shift drag should not pan the view.

Thanks for reporting this @mike-000. 2cac6c4f39521470a899f1c6338aa47baea05392 is the first bad commit:
commit 2cac6c4f39521470a899f1c6338aa47baea05392
Author: Andreas Hocevar<EMAIL_ADDRESS>Date:   Wed Jun 3 12:29:37 2020 +0200

    Re-enable onFocusOnly option for interaction defaults

Looking into a fix now.


⚠ Processors has degraded performance

In 7ad9b2c, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 92 ms

Resolved: Processors performance has improved in c161dd0.


Mutliplexed WebSocket - No data after "subscribe-ack"

The following subscription is accepted {"type": "subscribe","topic": "**"} and returns a "subscribe-ack" response, but then receives no events.  {"type": "subscribe","topic":"*/*/*/*"} works, so I know there is data coming into the system.

Tested this against beta.4.  Using ** now works correctly.  But the following syntax is accepted {"type":"subscribe","topic":"**/currentTemperature"} and returns a "subscribe-ack", but never receives any events.
    wscat -c ws://zetta-v1-beta.herokuapp.com/events
    connected (press CTRL+C to quit)
    > {"type":"subscribe","topic":"**/currentTemperature"}
      < {"type":"subscribe-ack","timestamp":1447164172056,"topic":"**/currentTemperature","subscriptionId":1}
      disconnected
      %


[bug] sometimes there will be panic

Caused by racy condition.

Minimal Reproduction
rule:
  matches: accessor-name
utils:
  accessor-name:
    matches: member-name
    regex: whatever
  member-name:
    kind: identifier

The probabilistic crash is caused by HashMap's order. More specifically, the order of rules in utils has impact of building.

Global utils are not handled now. Need to do that in a separate commit.


Compatibility with android 13+

Hi,
Does this code even work in Android 13?
    } else {
      directory = await getExternalStorageDirectory();
    }

in Logexporter. As we know Android 13 won't allow access to external storage

Reference: https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE

I didn't test it so I don't know if it works for Android 13+. You can check it and let me know then.

I didn't test it so I don't know if it works for Android 13+. You can check it and let me know then.

It is not working in android 13. We can use document directory instead.


Can I get job information after LogSentMessage event fired?

Laravel Version: 5.4.2
PHP Version: 7
Database Driver & Version: SQL Server 2012

Description:
I use queue to send email.
After mail is sent, SentMessage event is fired.
The question is that can I get the job information from the MessageSent event?
I know there is another way to get the job information, which is in the Queue::failing and Queue::after event. Just wondering that whether it is also possible to get the job information in this MessageSent event if using queue to send mails.
Another thought is that usually we send emails and store them in the database at the same time.Therefore if there is a way or trigger to let the user log all emails to the database, that would be good. Thanks.

Please ask on the forums, we keep this repo for bug reporting only.


VR Redundant State not accurate for Single Virtual Router

ISSUE TYPE

Improvement Request

COMPONENT NAME

Virtual Router

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

In our Cloudstack, we have some networks using a mix of

Redundant Virtual Router
Single Virtual Router

As long as we have 1 Redundant Virtual Router, then the Virtual Router page (Under Infrastructure) displays the column 'Redundant State'.
When viewing the 'Redundant State', RVRs will get either the displays (Primary/Backup) -> This is correct.
However, Single VRs will always show as 'Unkown'.
This makes it very difficult to keep track. In the event the RVR really goes into an 'Unkown' state, it would be incredibly difficult to identify.
Would like to request, that if its a single VR, then display:

Redundant State: SingleRouter

This will avoid confusion and improve admin experience.

STEPS TO REPRODUCE

1. Create 1 VPC with Single Router
2. Create 1 VPC with Redundant Virtual Router
3. Go to 'Virtual Router' page (Under Infrastructure)
4. Observer the 'Redundant State' Field in the table.

EXPECTED RESULTS

Display 'Redundant State' for Single Virtual Router more accurately

ACTUAL RESULTS

'Redundant State' for Single Virtual Router is always set to 'Unkown'

it could be simple UI change,  the domainrouterresponse already has the following values


Snapcraft: Update Ruby example to use core22

Update the following how-to guide to use core22 (or core24):
https://snapcraft.io/docs/ruby-applications
Background
Snapcraft's platform quickstart how-to guides help snap developers create a first snap with their chosen framework or development environment. Many of these guides become out of date and need to be revised. Specifically, they may need to be updated to address the following:

update the core snap to the latest supported (such as from core18 to core22)
an updated core will typically require changes to the associated plugin
replace an inappropriate or no longer relevant example

Prerequisites
You will need some experience building snaps, and some knowledge of the target framework or development environment.
See also Contribute to our documentation.

Hi @degville - I don't have experience with snaps; but I'm willing to learn. If there's no rush, please assign this to me.

Hello @pgfaller! Thanks so much for asking - no experience is necessary, and I'll help in any way I can if you have questions. I'll assign the task to you now. A good place to start is with the snap building tutorial: https://snapcraft.io/docs/create-a-new-snap. If you encounter any problems, let me know and we can update the docs. Also let me know if you'd prefer the Ruby text to be within this repository (rather than on the forum).

Hi @degville - any idea where I can find the source for the old (core18) ruby plugin? No luck finding it in GitHub ...

Hi @degville - I'm running into many obstacles with this:

there's no Ruby plugin for core22 - and local plugins are not supported with the latest snapcraft
trying to use plugin:nil and overrides gets me part of the way; but Ruby can't find gems
can't find a way to set environment variables in the built snap
Any pointers where to look next?

Hi @pgfaller. Sorry for the long delay getting back to you on these. I'll be more responsive from now on. And I'm sorry about the unknown status of the Ruby plugin - this was something I hadn't originally considered. Thanks for putting so much effort into this.
I should try this myself first, but it does seem a snap developer has had some success pulling Ruby in as a standard snap dependency, and building from there with some workarounds. I might give this a go, rather than waste any more of your time, but it may be a way to help Ruby developers build snaps even when the plugin is no longer developed.
Something like this may work, but I should really give it a go myself. I'll look into it and get back to you, but this is what I'm currently thinking.

Hi @degville - any idea where I can find the source for the old (core18) ruby plugin? No luck finding it in GitHub ...

I think it's in the legacy version here: https://github.com/canonical/snapcraft/blob/legacy/snapcraft/plugins/ruby.py

Hi @degville - I've tried the approaches that you linked to; but without success. Trying to use the Ruby snap as base led quickly to dependency hell. What I don't find in the Snap documentation is a detailed description of what happens in each stage - like what gets copied/linked where; what the final stage and prime directories should end up with; what the eventual runtime environment looks like. Does such documentation exist?

Thanks so much for looking into this so deeply, and I'm sorry that's such a bad experience. The closes we have on documenting the runtime environment being built within the snap is probably Iterate over a build. With a clean build, you can run (for example), snapcraft prime --shell to drop you into the snap build environment just before the prime stage.
I really don't want to waste any more of your time on this, as it doesn't seem fair when there's a chance it may come to nothing. I will try to build something myself and share it with you, but I'm also happy to hear what you think may be the best way forward here. Essentially we're working around Ruby being no longer, which doesn't seem like a good use of your time.

OK - I'll set this aside for now, and take a look at the Qt5/KDE example instead.

@degville Can this be closed off?

Thanks, @pgfaller. Closing.


NTR: amplicon sequencing

NTR: amplicon sequencing
Defn: Amplicon sequencing is a highly targeted approach that enables researchers to analyze genetic variation in specific genomic regions. The ultra-deep sequencing of PCR products (amplicons) allows efficient variant identification and characterization (Source: Illumina https://emea.illumina.com/techniques/sequencing/dna-sequencing/targeted-resequencing/amplicon-sequencing.html)
Subclass_of: DNA sequencing
I noticed that amplicon sequencing exists in EFO: http://www.ebi.ac.uk/efo/EFO_0003747
This would be a good one to import, perhaps?

Discussed on the 2020-01-13 OBI developer call.
OBI does not import terms directly from EFO -- it usually works the other way around. OBI can add a new term.
The EFO definition is simple but seems good: "An assay in which a DNA or RNA input molecule amplified by PCR is sequenced."
We think that OBI the parent would be the more general 'sequencing assay'. This term belongs in our assays.tsv template file.
Is there a methods paper we could cite for this assay? PubMed or Wikipedia would be better for our purposes than Illumina.

Hello,
@nsuvarnaiari and I would like to check on the progress of this term as we have a need for such a term in our work.
Here is a slight tweak of the suggested definition from EFO:
"A sequencing assay in which a DNA or RNA input molecule is amplified by PCR and the product sequenced."
Two papers you could cite are:
PMID:29628929 - which uses the technique for genotyping
PMID:31450270 - which uses the technique for microbiome analysis
Is there anything else this term needs?
Thanks,
Michelle

The amplicon term will be made as defined above.
We will make NTR '16S ribosomal gene sequencing' an asserted child of this term. We will make 16S an inferred child of '|taxonomic diversity assessment by targeted gene survey'

'amplicon sequencing assay' http://purl.obolibrary.org/obo/OBI_0002767


the name "rete-element" has already been used with this registry

I've migrated the project I'm working on to use angular-render-plugin instead of vuejs. I've been able to get everything running but have one problem I can't seem to solve.
I have everything related to retejs in it's own angular module, which is imported into other modules in the project. Because the custom element is created in the ReteModule constructor:
export class ReteModule {
  constructor(injector: Injector) { // StaticInjectorError due to 'npm link'
    const CustomElement = createCustomElement(CustomComponent, { injector });
    customElements.define('rete-element', CustomElement);
  }
}

it gets ran for each time the shared module is loaded. When the ReteModule is loaded twice in the same application it throws the error:
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "rete-element" has already been used with this registry
    at CustomElementRegistry.target.<computed> [as define] (zone-evergreen.js:2161)
    at new ReteModule (rete-angular-render-plugin.js:251)

I'm don't want to refactor the entire application to only import ReteModule from AppModule but am not sure how else to solve it?
Can we check if the custom element is already created and only attempt to create it once?

I had the same problem, fixed it by getting latest and fixing it myself. Since multiple people are going to have it I made a pull request
https://github.com/retejs/angular-render-plugin/pull/15

hi, any news about this?

@sirmmo for now it would be best to download the project and use my pull request and build from there. Then you won't receive this error

Sorry, I forgot about this issue. I merge the PR soon

https://www.npmjs.com/package/rete-angular-render-plugin/v/0.2.2


Switch to smaller docker image

The Epinio server uses the epinio-base image, however we don't need any of the installed tools.
We could switch to distroless or "from scratch" and reduce the image size by about 200mb (260mb vs 60mb).
This is a good cleanup, because we don't need to build and maintain the base image anymore.

epinio-server listens on port 80, image needs root
patch script for CI needs to be adapted
talks to k8s, does SSL work?
same image in CI as in release

There is a SLE BCI minimal image that might work as well.
Does epinio-server need to listen on port 80 or could that change to 8080? It would be nice if we could run without root.

Some statistics regarding size:
docker image inspect registry.suse.com/bci/bci-minimal --format='{{.Size}}'  |  numfmt --to=iec
43M
docker image inspect alpine --format='{{.Size}}'  |  numfmt --to=iec
5.4M
docker image inspect busybox --format='{{.Size}}'  |  numfmt --to=iec
1.2M


feat(MessageSend): add flags

https://discord.com/developers/docs/resources/channel#create-message

Thanks for your contribution!


Build Failure GHCJS 8.8

Hello!
I just build ghcjs 8.8 from source and I'm trying to build a library dependent on MMorph.
Cabal errors with:
Configuring library for mmorph-1.1.3..
Preprocessing library for mmorph-1.1.3..
Building library for mmorph-1.1.3..
[1 of 2] Compiling Control.Monad.Morph ( src/Control/Monad/Morph.hs, dist/build/Control/Monad/Morph.js_o )

src/Control/Monad/Morph.hs:80:1: warning: [-Wdeprecations]
    Module ‘Control.Monad.Trans.Error’ is deprecated:
      Use Control.Monad.Trans.Except instead
   |
80 | import qualified Control.Monad.Trans.Error         as E
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/Monad/Morph.hs:83:1: warning: [-Wdeprecations]
    Module ‘Control.Monad.Trans.List’ is deprecated:
      This transformer is invalid on most monads
   |
83 | import qualified Control.Monad.Trans.List          as L
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Control/Monad/Morph.hs:119:20: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ErrorT’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
119 | instance MFunctor (E.ErrorT e) where
    |                    ^^^^^^^^

src/Control/Monad/Morph.hs:120:19: warning: [-Wdeprecations]
    In the use of data constructor ‘ErrorT’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
120 |     hoist nat m = E.ErrorT (nat (E.runErrorT m))
    |                   ^^^^^^^^

src/Control/Monad/Morph.hs:120:34: warning: [-Wdeprecations]
    In the use of ‘runErrorT’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
120 |     hoist nat m = E.ErrorT (nat (E.runErrorT m))
    |                                  ^^^^^^^^^^^

src/Control/Monad/Morph.hs:128:19: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
128 | instance MFunctor L.ListT where
    |                   ^^^^^^^

src/Control/Monad/Morph.hs:129:19: warning: [-Wdeprecations]
    In the use of data constructor ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
129 |     hoist nat m = L.ListT (nat (L.runListT m))
    |                   ^^^^^^^

src/Control/Monad/Morph.hs:129:33: warning: [-Wdeprecations]
    In the use of ‘runListT’ (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
129 |     hoist nat m = L.ListT (nat (L.runListT m))
    |                                 ^^^^^^^^^^

src/Control/Monad/Morph.hs:240:11: warning: [-Wdeprecations]
    In the use of type constructor or class ‘Error’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
240 | instance (E.Error e) => MMonad (E.ErrorT e) where
    |           ^^^^^^^

src/Control/Monad/Morph.hs:240:33: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ErrorT’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
240 | instance (E.Error e) => MMonad (E.ErrorT e) where
    |                                 ^^^^^^^^

src/Control/Monad/Morph.hs:241:17: warning: [-Wdeprecations]
    In the use of data constructor ‘ErrorT’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
241 |     embed f m = E.ErrorT (do
    |                 ^^^^^^^^

src/Control/Monad/Morph.hs:242:14: warning: [-Wdeprecations]
    In the use of ‘runErrorT’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
242 |         x <- E.runErrorT (f (E.runErrorT m))
    |              ^^^^^^^^^^^

src/Control/Monad/Morph.hs:242:30: warning: [-Wdeprecations]
    In the use of ‘runErrorT’
    (imported from Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
    |
242 |         x <- E.runErrorT (f (E.runErrorT m))
    |                              ^^^^^^^^^^^

src/Control/Monad/Morph.hs:259:17: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
259 | instance MMonad L.ListT where
    |                 ^^^^^^^

src/Control/Monad/Morph.hs:260:17: warning: [-Wdeprecations]
    In the use of data constructor ‘ListT’
    (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
260 |     embed f m = L.ListT (do
    |                 ^^^^^^^

src/Control/Monad/Morph.hs:261:14: warning: [-Wdeprecations]
    In the use of ‘runListT’ (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
261 |         x <- L.runListT (f (L.runListT m))
    |              ^^^^^^^^^^

src/Control/Monad/Morph.hs:261:29: warning: [-Wdeprecations]
    In the use of ‘runListT’ (imported from Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
261 |         x <- L.runListT (f (L.runListT m))
    |                             ^^^^^^^^^^
[2 of 2] Compiling Control.Monad.Trans.Compose ( src/Control/Monad/Trans/Compose.hs, dist/build/Control/Monad/Trans/Compose.js_o )

src/Control/Monad/Trans/Compose.hs:77:5: error:
    ‘fail’ is not a (visible) method of class ‘Monad’
   |
77 |     fail e   = ComposeT (Prelude.fail e)
   |     ^^^^
cabal: Failed to build mmorph-1.1.3 (which is required by lucid-2.9.12). See
the build log above for details.

I think it has something to do with this?
All the best
James

I believe #52 will fix the problem.  Could you test your build against that?

I believe #52 will fix the problem.  Could you test your build against that?

That fixes the issue!
grand job!

That fixes the issue!
grand job!


Bottle Framework - test app

[x] add static files
[x] add dynamic routing ?? (I did not notice any solution in doc - quick search) Dynamic routes are known also as wildcards - dynamically changing routes - match more than one URL
[x] add cycle and structured links

Looks like dynamic routing works similarly to Flask: https://bottlepy.org/docs/dev/routing.html

I supposed problem's occured because it depends on location where app has activated.
Attribute root is changing by that.

Route to image can be different from path in func static_files. But freezeyt freezing to path which read in URL.

❓ Do we want to add tox to requirements-dev.txt ? ❓

This looks good, but is still marked as work in progress. Do you want to make any other changes?

This looks good, but is still marked as work in progress. Do you want to make any other changes?

No, I have not noticed

Great! Thank you!


[5.8] Stores the request instance

If we store the request instance then we can access methods and properties in the transform method.
Otherwise the only way to access the Request within the transform() method seems to be using the request() helper or an equivalent.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Bring back reference doc for built-in GLSL functions/uniforms/constants/etc

Just for those useful to post-processing.
Let's use @private (if it doesn't just work out of the box already) for the others.

See https://github.com/AnalyticalGraphicsInc/cesium/pull/5615#discussion_r165761023


Combine schemas

Should make using the schema easier and it's not large enough for this to make it any less readable.

👍


Hi i have a small question about the finetune dataset for code summarization

I realize the CodeT5 have already saw the code-comment from CodeSerachNet as its input and output in the pretraining process as mentioned in the papaer "Specifically, we regard the NL→PL generation and PL→NL generation as dual tasks and simultaneously optimize the model on them."
And the model used code-comment from CodeSerachNet again to finetune the  code summarization task, won't it be a problem( as the model has already saw the data )?
i'm a new hand to DL so please forgive me if this's a stupid question Orz

Hi, the training set of the code summarization task with CodeSearchNet is a subset of the pre-training data, which simply follows what previous work (CodeBERT/GraphCodeBERT) did. And the bimodal dual generation aims to explore whether explicitly modeling the bidirectional conversion between NL-PL benefits different downstream tasks. We find it indeed improves the performance for code summarization and the effects are similar to multi-task learning.


More dramatic logging

Please add ‘FATAL ERROR:’ in front of fatal errors to make them easier to find in the logs. In this case, the issue is missing image data for Harbor:  https://app.netlify.com/sites/interactive-landscape/deploys/5a91cfcda6188f5d187824d0

Kamino closed and cloned this issue to cncf/landscape


Dashboard

First version of dashboard template. Data currently manually added, will be auto generated with unpack-script.

Early, manual dashboard draft no longer relevant...


python: fixing @oogle.com snip file error

A funny error caused by incorrect usage of @ character in the snip file.

Codecov Report

Merging #2103 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2103   +/-   ##
=========================================
  Coverage     86.77%   86.77%
  Complexity     5000     5000
=========================================
  Files           450      450
  Lines         19829    19829
  Branches       2095     2095
=========================================
  Hits          17206    17206
  Misses         1904     1904
  Partials        719      719

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 a4305b7...f0598d7. Read the comment docs.


How to send custom sensor data in Azure Iot SDK for C sample file variable telementry_payload[[128].

Hello Team ,
I am using newly release https://github.com/Azure/azure-sdk-for-c-arduino/blob/main/examples/Azure_IoT_Hub_ESP32/readme.md
Got success with connection and data sending on azure which was default data in sample example But
Can you please help me, how to embedded my custom sensor data in Azure SDK for C IotHub Arduino Sample example for esp32 file name (Azure_IoT_Hub_ESP32.ino) in telemetry_payload[128] variable , i tried multiple thing but not sure how to insert my data in that variable to send to IoThub .

Why is this not a Bug or a feature Request?
A clear explanation of why is this not a bug or a feature request?
Answer :
This is not a bug or Feature Request since i got success in sample code running in my device . this is just a technical support request.
Setup (please complete the following information if applicable):

OS: [Windows 10]

IDE: [e.g. Ardunio IDE 1.8.13]

Version of the Library used : Azure Sdk for C version 1.0.0.beta.3

[x] Query Added - Yes

[x] Setup information Added -Yes

Hi @sushil25
I would recommend using either the span APIs that we have to populate buffers of raw data or using our JSON APIs to create JSON payloads.
Note that from a high level, spans are just buffer pointers with a size associated with it. So we bundle a pointer with size to make it easier to pass around to other API calls.
Span APIs
JSON APIs

Going to go ahead and close for inactivity. Please let us know if you would like it reopened.


OIDC Conformance, RS256 Support, SSO redirect to HLP

Added support to be able to turn on the OIDC Conformance flag
Validating the id_token when it comes back now
Support RS256 for the ID token
With redirect on login, need to override the redirect on logout
With OIDC conformance need to be able to fetch identities from the
management API

I don't like using the id_token to pass to the management API, but the access token wasn't working, even when using OIDC Conformant.  I'm thinking there must be a better way though...

@glena can you give me a once over on the last couple of changes.

LGTM


Button href is always #, in 4.4.0

The bug
Using this template:
<mj-button background-color="transparent" border="1px solid #1e8044" align="right" color="#1e8044" font-weight="bold" href="#" font-size="16px" href="${link}">Read this article</mj-button>

I get this output:

              Read this article

The same link value is used in an adjacent mjml element (twice), and works fine.
Rendered using
mjml2html(stuff)

from mjml
Expected behavior
Button should render with proper link value.
MJML environment (please complete the following information):

OS: MacOS
MJML Version: 4.4.0 (just installed the latest 5 minutes prior to posting)
Node.js 11.0.0

Email sending environment(for rendering issues):
MailChimp
Affected email clients (for rendering issues):
Everything, it shows up in the MailChimp render

You have two href attribute on your button, is it intended ?

On 18 Jul 2019, at 11:59, Paul Grieselhuber<EMAIL_ADDRESS>wrote:
The bug
Using this template:
Read this article
I get this output:

              Read this article

The same link value is used in an adjacent mjml element (twice), and works fine.
Rendered using
mjml2html(stuff)
from mjml
Expected behavior
Button should render with proper link value.
MJML environment (please complete the following information):
OS: MacOS
MJML Version: 4.4.0 (just installed the latest 5 minutes prior to posting)
Node.js 11.0.0
Email sending environment(for rendering issues):
MailChimp
Affected email clients (for rendering issues):
Everything, it shows up in the MailChimp render
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ug, nope. 🤦♂  Thanks!