Unable to delete ProductOption

When I try to delete a ProductOption programmatically, I get the following error:
Lunar\Models\ProductOption::Spatie\MediaLibrary\{closure}(): Argument #1 ($model) must be of type Spatie\MediaLibrary\HasMedia, Lunar\Models\ProductOption given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php on line 421
This is because the ProductOption model uses the Lunar\Base\Traits\HasMedia trait, which in turn uses the Spatie\MediaLibrary\InteractsWithMedia trait.
The InteractsWithMedia trait adds the following event listener:
public static function bootInteractsWithMedia()
{
    static::deleting(function (HasMedia $model) {
        ...
    });
}

However, this typehinted HasMedia interface refers to the Spatie\MediaLibrary\HasMedia interface, which is unrelated to the Lunar\Base\Traits\HasMedia trait, resulting in the error.
I think the solution would be to havbe every model that uses the Lunar\Base\Traits\HasMedia trait implement the Spatie\MediaLibrary\HasMedia interface. Currently the only model that seems to do so is the Product model

Lunar version: 0.1.5
Laravel Version: 9.47.0
PHP Version: 8.2.0
Database Driver & Version: MySQL 8.0

Hi @tvlokven this should be resolved in 0.2


Use go-sqlcmd for script action

Reverts some of the changes from #99 where the old sqlcmd calls were replaced by a tedious direct query. The query is changed back to use go-sqlcmd.

The PR checks were passing, but I think I bombarded the server with too many requests, not some fail. I'll re-run all the checks later today or tomorrow.

how similar to an ADO task is a Github action? Would there be any chance to share code for both purposes?

how similar to an ADO task is a Github action? Would there be any chance to share code for both purposes?

That would be nice! Actions use Github Toolkit as the framework, while it looks like ADO uses azure-pipelines-task-lib. I'm not familiar with custom ADO tasks at all, but it looks like both are on Node.js, so I imagine we can share some code by exporting modules, and hooking them up with the framework in the main function.


[Text Field] Validity pseudo classes should apply styling

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
MUI should style form inputs on the :invalid and :valid pseudo classes, similar to how bootstrap works for form validation: https://getbootstrap.com/docs/4.6/components/forms/#validation.
This way, I can use the native html form validation and things just work.
Examples 🌈
E.g., if I have any rendered input under the hood with props like <input type="text" pattern="[0-9]*" required/>, any time the value changes to an empty value or a non number, it will be marked as :invalid. This should auto-style the input into the error state as described here. Bonus points if you could also set custom validity messages on props that in turn calls setCustomValidity(message).
Motivation 🔦
Without this feature, I'm stuck doing manual form validation. That is, I am required to have some function onValidate that will check the form input validity and toggle the error property. If MUI worked this way, I could just use all native html input validation properties and things would just work.

Is the MUI team working on this perspective or any future scope related to this idea?
There is so much validation element in this scope.
https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation#using_built-in_form_validation
The material icon will show according to the data entire into it:
https://formvalidation.io/guide/examples/using-material-design-icons/
cc:@oliviertassinari


Add client type field in GenerateClientTokenOptions interface

Support to generate MQTT JWT Token for Azure WebPubSub. Essentially we need to identify if clients want to establish a default WebPubSub connection or an MQTT connection, then we will generate the Client Connection URL for them accordingly.

Example Client URL for:

Default Connection: wss://exampleHost.com/client/hubs/exampleHub
MQTT Connection: wss://exampleHost.com/clients/mqtt/hubs/exampleHub

Upgrade API version to '2024-01-01'
Add tests to get MQTT Token

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/web-pubsub

@xirzec Hi Jeff, could you help review the PR as well as the APIview? Thanks!

Hi maorleger, could you take a look at the PR again? Thank you


Dismissing a review causes reviewed event to be in dismissed state

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/developers/webhooks-and-events/events/issue-event-types#reviewed
What changes are you suggesting?
Ideally change the behavior of the API to keep the state of the original review. Currently the state of the review is dismissed which is not a valid value in the enum. It is really important to keep the state of the original review somewhere, so we can see what happened.
Additional information
To reproduce:

Review a PR
Have the author dismiss the review

The reviewed event is now in dismissed state instead of it's original review state
Content plan here

@taylorhakes Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

@taylorhakes - Just for clarification, are you requesting a change in the documentation over dismissing a review? Or is this a request to update the behavior of the API?

Hey @cmwilson21. I am requesting both. The immediate fix is to document this behavior in  the docs. It would be amazing to fix this behavior to show the original review state, but I don’t know how much work that would be because the code isn’t open source.

Thanks for clarifying @taylorhakes! We can take a look at the documentation side. For the feature feedback, it would be best to leave that over in the communities feedback discussions.
We will check it out from the docs side of things. Thanks again for raising an issue! 💛

Thanks for this issue! You or anyone else is welcome to open a PR to update the docs to reflect that the dismissed state exists.

Opensorce/runpandora/yh5aitec

Hi! I'd like to work on this. I'm not clear on what excactly needs to be changed. I'm just starting with open source so any help would be great:)

@taylorhakes Sorry for the confusion - stalebot closed this one out when it shouldn't have been closed. Reopening and will triage your PR 👍

ในวันที่ อ. 15 ส.ค. 2023 14:22 น. Ben Ahmady @.***>
เขียนว่า:

Closed #20216 https://github.com/github/docs/issues/20216 as completed
via #27446 https://github.com/github/docs/pull/27446.
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/20216#event-10094410596, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7CM5LZ2ISZEFXDUDRWAFYDXVMPTPANCNFSM57ZOXF3A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Wiki typos

Hi,
in the Consumer wiki this snippet doesn't compile
val consumer = KafkaConsumer(
    Conf(new StringDeserializer(), new StringDeserializer(), bootstrapServers = "localhost:9092")
)

because groupId is missing
val consumer = KafkaConsumer(
    Conf(new StringDeserializer(), new StringDeserializer(), bootstrapServers = "localhost:9092", groupId = "group")
  )

and the Testkit wiki, probably due to a bad space, is not properly formatted

In the client test your are not using kafkaServer.produce and kafkaServer.consume for example here, is there a specific reason?
I've had also issues consuming using the recommended
public ConsumerRecords<K, V> poll(final Duration timeout)
while it works fine with with the @Deprecated consumer.poll as you did in your example, have you experienced similar problem?
I'm currently working on a presentation and I created few examples with your library.
Thanks

Thanks ill update this, thanks.

Updated


fix: Stock items that do not have locations set raising errors

This PR adds a mitigation for stock items that do not have a location set.
Currently behaviour is to surface the exception thrown due to access to an attribute on an object that is None

We should probably also look at how stock items without locations affect the other tabs, but for now I'll merge this fix for the part searcher.

@j-huff I did not manage to provoke errors in other sections but I am sure I have overlooked some

@j-huff I did not manage to provoke errors in other sections but I am sure I have overlooked some

Interesting, for me the app crashes in both other tabs when I scan an item without a location. For it to crash in the check-in items tab, a default location has to be set for the part, otherwise the typical "no default location" message is displayed.
Made an issue for it: #7


Remote job broken

This is what I get running remote job.
DEBUG: Master receives task request tasks midway2 2a016bcec560ce2d49e8502ca2820b1a b0afded81f11c72624a67f4d45acfcbc f0190e387c35b914327a350d5865b1f6 fc84f836cd4c7bd84c10cf73265850f6 4cc73e41f0785a19edd5e44e40108f7d 00b671fcb24dc370289c6ce2d10624ab 02f9fb611ba9b619ae6f72e175de20f2 5f4bdd0d4112b9d65657f2ec4a55db43 fc898f50fb3a545b9db2196ab28a6c05 90003f7a50e12491aef83776d7f083d3 9f33a37f50bd39e65a6fa1895043ba21 165347e70df2dfad15333a8f47e4b67a a1dbaa479723ff2c0d2c467ac1cc399d 2280b287361feb8d20dbbf3b5408435e 81df3f354fd6b1dde288a81b260a958c ef319d9fe7589e5c6d5b8eb5b80635b8 508c0b24553ac41effc377195bc0bcbe 3570e1e7a2e7532dc80c556e116950af 337a5aed49a05ef46a20be861abf6b19 726586b3c1505b2fb38c7a0710200c24 bbedbb31e2ca2a0f2cdd9308a543ac8e fdd2e35cd7ad4e2d1c3641eb98d834ee d209ecb748d9b9acbe055120e334b15a ed64a7b5b1d698b3c2c739a269481414 b66bbd629acc852dfb782489323be792 19a74c0f4dba542d1a88a243d640d70d c2db27d21e605495c86dee64f0cf6b32 1b7fb2a583ffaec77124510ec4d872cb 97d55e88062166852c863098666a1951 c5691a695a251b2712f4d51af2568e64 a41f043a992a218a107a82cb19739593 41b338c4845b0bcf267adce79531c2b8 27b8b1f91d875c2662b68b0e552fe0ed 7e3bcdd00cb70599a8665851455f1395 ee8dcea6dfd1f30a3a3a9ef9dbc4df68 87337074b7443f05a0866231801aacff d418b160207c40aabe19582f404a8b51 c32e6c8082d86497c1646048ad04bfd1
DEBUG: Executing command ssh -q<EMAIL_ADDRESS>-p 22 "bash --login -c '[ -d /home/gaow/GIT/github/admix-phase ] || mkdir -p /home/gaow/GIT/github/admix-phase; cd /home/gaow/GIT/github/admix-phase && sos status  -v 2  --start-time '"
TRACE: Step becomes task_pending
TRACE: Start submitting 2a016bcec560ce2d49e8502ca2820b1a (status: pending)
TRACE: Start submitting b0afded81f11c72624a67f4d45acfcbc (status: pending)
TRACE: Start submitting f0190e387c35b914327a350d5865b1f6 (status: pending)
TRACE: Start submitting fc84f836cd4c7bd84c10cf73265850f6 (status: pending)
TRACE: Start submitting 4cc73e41f0785a19edd5e44e40108f7d (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting 00b671fcb24dc370289c6ce2d10624ab (status: pending)
TRACE: Start submitting 02f9fb611ba9b619ae6f72e175de20f2 (status: pending)
TRACE: Start submitting 5f4bdd0d4112b9d65657f2ec4a55db43 (status: pending)
TRACE: Start submitting fc898f50fb3a545b9db2196ab28a6c05 (status: pending)
TRACE: Start submitting 90003f7a50e12491aef83776d7f083d3 (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting 9f33a37f50bd39e65a6fa1895043ba21 (status: pending)
TRACE: Start submitting 165347e70df2dfad15333a8f47e4b67a (status: pending)
TRACE: Start submitting a1dbaa479723ff2c0d2c467ac1cc399d (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting 2280b287361feb8d20dbbf3b5408435e (status: pending)
TRACE: Start submitting 81df3f354fd6b1dde288a81b260a958c (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting ef319d9fe7589e5c6d5b8eb5b80635b8 (status: pending)
TRACE: Start submitting 508c0b24553ac41effc377195bc0bcbe (status: pending)
TRACE: Start submitting 3570e1e7a2e7532dc80c556e116950af (status: pending)
TRACE: Start submitting 337a5aed49a05ef46a20be861abf6b19 (status: pending)
TRACE: Start submitting 726586b3c1505b2fb38c7a0710200c24 (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting bbedbb31e2ca2a0f2cdd9308a543ac8e (status: pending)
TRACE: Start submitting fdd2e35cd7ad4e2d1c3641eb98d834ee (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting d209ecb748d9b9acbe055120e334b15a (status: pending)
TRACE: Start submitting ed64a7b5b1d698b3c2c739a269481414 (status: pending)
TRACE: Start submitting b66bbd629acc852dfb782489323be792 (status: pending)
TRACE: Start submitting 19a74c0f4dba542d1a88a243d640d70d (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting c2db27d21e605495c86dee64f0cf6b32 (status: pending)
TRACE: Start submitting 1b7fb2a583ffaec77124510ec4d872cb (status: pending)
TRACE: Start submitting 97d55e88062166852c863098666a1951 (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting c5691a695a251b2712f4d51af2568e64 (status: pending)
TRACE: Start submitting a41f043a992a218a107a82cb19739593 (status: pending)
TRACE: Start submitting 41b338c4845b0bcf267adce79531c2b8 (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting 27b8b1f91d875c2662b68b0e552fe0ed (status: pending)
TRACE: Start submitting 7e3bcdd00cb70599a8665851455f1395 (status: pending)
TRACE: Start submitting ee8dcea6dfd1f30a3a3a9ef9dbc4df68 (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
TRACE: Start submitting 87337074b7443f05a0866231801aacff (status: pending)
TRACE: Start submitting d418b160207c40aabe19582f404a8b51 (status: pending)
TRACE: Start submitting c32e6c8082d86497c1646048ad04bfd1 (status: pending)
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
ERROR: '<' not supported between instances of 'int' and 'str'
DEBUG: scp -P 22 -p -q gaow@midway.rcc.uchicago.edu:.sos/tasks/2a016bcec560ce2d49e8502ca2820b1a.* /home/gaow/.sos/tasks
scp: .sos/tasks/2a016bcec560ce2d49e8502ca2820b1a.*: No such file or directory
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
Traceback (most recent call last):
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/__main__.py", line 350, in cmd_run
    executor.run(args.__targets__, mode='dryrun' if args.dryrun else 'run')
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/sos_executor.py", line 1056, in run
    raise e
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/sos_executor.py", line 900, in run
    task_status = proc[2]._host.retrieve_results(proc[2]._pending_tasks)
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/hosts.py", line 879, in retrieve_results
    return {task: self._host_agent.receive_result(task) for task in tasks}
  File "/home/gaow/Public/miniconda3/lib/python3.6/site-packages/sos-<IP_ADDRESS>-py3.6.egg/sos/hosts.py", line 879, in <dictcomp>
    return {task: self._host_agent.receive_result(task) for task in tasks}
RuntimeError: Failed to retrieve result of job 2a016bcec560ce2d49e8502ca2820b1a from midway2 with cmd
scp -P 22 -p -q gaow@midway.rcc.uchicago.edu:.sos/tasks/2a016bcec560ce2d49e8502ca2820b1a.* /home/gaow/.sos/tasks
ERROR: Failed to retrieve result of job 2a016bcec560ce2d49e8502ca2820b1a from midway2 with cmd
scp -P 22 -p -q gaow@midway.rcc.uchicago.edu:.sos/tasks/2a016bcec560ce2d49e8502ca2820b1a.* /home/gaow/.sos/tasks

I think the same script has always worked. Maybe something is broken lately.

Try to identify the problem. Do you see the < error when you execute the command with sos execute -q?

No, it seems Ok with that command.

The message is a bit strange because there is no indication of what fails... as other messages usually say ... failed: message.

I fixed all tests in Travis CI and could not find this one, so it might be script or server configuration specific. Please send me your script and hosts.yml (via private email if you prefer) so that I can try to reproduce it.


chore(main): release 1.4.1

:robot: I have created a release beep boop
1.4.1 (2024-03-26)
Bug Fixes

version: Updating the way version files are created (#14) (e4b03ee)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/CoreySpohn/lod_unit/releases/tag/v1.4.1 :sunflower:


multi description support

impl #139
multi description support, using
 as spliter

Codecov Report

Merging #219 into master will decrease coverage by 0.16%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #219      +/-   ##
==========================================
- Coverage   88.43%   88.27%   -0.17%
==========================================
  Files           5        5
  Lines        1029     1032       +3
==========================================
+ Hits          910      911       +1
- Misses         75       76       +1
- Partials       44       45       +1

Impacted Files
Coverage Δ

operation.go
87.73% <50%> (-0.39%)
:arrow_down:

Continue to review full report at Codecov.

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

Using
 as spliter it not good approach, please read the next line if it's also a @description.

@easonlin404 I think checking has none empty previous is fine. reading next line may not work if:
// @Description hello1
// @Tags groupA
// @Description hello2

@easonlin404 can this be merged?

@pei0804 what's your thought on this?

https://github.com/swaggo/swag/pull/219#issuecomment-426457416
If it already exists, can not you add it?

@elvizlai  After reviewed this change, LGTM. Can you help add tests for it?

@easonlin404 test case added, but oops, ci's golint itself failed. maybe re-run it later.

@easonlin404 can this be merged now?

Thanks for your contribution.

how do we use it in the end?
// @Description  new line
or
// @Description line 1
// @Description line 2?

@lfaoro please use:
// @description line 1
// @description line 2

@easonlin404 multiline doesn't work for me
I'm using swag version v1.3.2 - I guess this change is not released yet

@easonlin404 actually I found the problem, there's a typo in the latest released tag v.1.4.0 should be v1.4.0 the extra dot there screws go mod up as it is not a valid semver tag.

@lfaoro ok, I will bump to the correct version, sorry for your inconvenience.

awesome, lemme try if @description works now for multiline

@easonlin404 multiple @description keys doesn't work in v1.4.0 only using the  key on 1 @description element works for multiline

I have the same issue: #276


Add Swift package manifest

The podspec uses the module name AuthorizeNetAccept, whereas the Xcode project uses AcceptSDK. I wasn't sure which to use, so I went with AcceptSDK for now. Let me know if that's incorrect!


@kanaabe => Be defensive about artworks without artists

Fixes https://github.com/artsy/force/issues/145

Failed test looks unrelated. Rebuilding


Support for Linux

Summary
What: Find and get the chrome path for linux, and add it to the HeadlessBrowser constructor logic

I believe it's /usr/bin/google-chrome


Image out of valid range for the first iteration of PGD attack

Hi,
I noticed that the image which is fed to the model to obtain the gradients for the first iteration of the PGD attack is not clipped to be in the valid image range.
Here, random noise is added to the original image and the resulting image is directly fed to the network for the first iteration without clipping.

Oh, you are right. Just fixed it. This doesn't really affect our results since clipping just makes the attack weaker. Thanks for noticing!

Actually, it does make it stronger albeit very marginally. Because the image is not in the valid pixel range, the gradients for the first iteration might not be very meaningful.
I did verify the attack results both with and without clipping for the adversarially trained model on CIFAR10.
The white-box attack accuracy dropped very slightly from 48.16% to 48.09%. I didn't actually verify the numbers across multiple-restarts though.


Create Baseline Repo Discoverability Page

Create Baseline Repo Discoverability Page - similar to dotabap.org
Author(s)
Ryan Fleischmann @fleischr
Description
Create a simple web UI to browse and discover different github projects implementing the Baseline standard
Motivation
As the Baseline ecosystem matures, it becomes increasingly difficult to keep all the Baseline examples inside one repo (e.g. eea-oasis/baseline). It can create issues with dependencies to any old/outdated references. Different projects within that same repo may also have conflicting dependencies that make sharing all the contributions under one repo not always the best idea.
Other than reducing friction in maintenance of the Baseline standard repo - A web resource that organizes N-number of github repos implementing Baseline can help new and existing contributors to Baseline discover and seamlessly organize components for implementing Baseline. It could be an easier way for non-technical people to learn about projects using the standard.
Maintenance of what lands into this curated webUI list could still be governed through the maintainers group through PRs to list. Maintainers could enforce certain requirements prior to adding the repo to the UI (e.g. add a "how this implements Baseline", up to date install instructions etc).  Certain repos could also be visually marked identifying "verified" baseline implementations that have passed use of test harness and/or Maintainers & TSC in-depth review.
Creating simple, non-invasive, and discoverable ways to implement and contribute to Baseline will help our open source community and effort grow. This discoverability page ought to help in that goal.
Proposal
Fork the WebUI and other components used by dotabap.org to create a Baseline Repo Discoverability Page. Elsewise create a similar web page area on the Baseline website

Core Devs 10/17/22 Meeting:

Overall it's a good idea to have a better UI for baseline tools
TSC / Oasis need to discuss the details here (can only open source repos be listed here? will this be a manual place to maintain alongside the BRI folders/'get baselined' site?)

Unless there's someone else interested in this - I would like to withdraw this BLIP for now. I don't think I'll have time to prioritize this or work with the TSC/maintainers with it.


Attach UiaRenderer and Fire Selection Changed Events

Summary of the Pull Request
I recommend looking at this PR by commit.
This PR makes use of the UiaRenderer by attaching it to the TerminalControl and setting up selectionChanged events for accessibility.
References
#2447
PR Checklist

[x] Closes none
[x] CLA signed.
[x] ~Tests added/passed~
[x] ~Requires documentation to be updated~

Detailed Description of the Pull Request / Additional comments
Commit 1: attaching the UiaRenderer
The uiaRenderer is treated very similarly to the dxRenderer. We have a unique_ptr ref to it in the TermControl. This gets populated when the TermControlAutomationPeer is created (thus enabling accessibility).
To prevent every TermControl from sending signals simultaneously, we specifically only enable whichever one is in an active pane.
The UiaRenderer needs to send encoded events to the automation provider (in this case, TermControlAutomationPeer). We needed our own automation events so that we can reuse this model for ConHost. This is the purpose of IUiaEventDispatcher.
We need a dispatcher for the UiaRenderer. Otherwise, we would do a lot of work to find out when to fire an event, but we wouldn't have a way of doing that.
Commit 2: hooking up selection events
This provides a little bit of polish to hooking it up before. Primarily to actually make it work. This includes returning S_FALSE instead of E_NOTIMPL.
The main thing here really is just how to detect if a selection has changed. This also shows how clean adding more events will be in the future!
Validation Steps Performed

Launch Windows Terminal
Launch Narrator (WIN+CTRL+Enter)

Scenario 1: cell selection
click on a cell with text in it
Narrator should read it out
Scenario 2a: expand selection
Click on a cell with text in it and drag it over more text (extending the selection)
Narrator shouild read the first cell, then read either...

the entire selection
what was appended to the selection
(this is still unclear to me when it does which one)

Scenario 2b: reduce selection
Make a selection of an entire word (i.e.: "Powershell")
Reduce the selection to the first character
Narrator should read what got unselected
Scenario 3: Double click
double click on a word
Narrator should read the entire selection
Scenario 4: Triple click
Triple click on a line
Narrator should read the entire selection

/azp run

Whoops. That last commit was intended for the other branch... but eh. It's all going to the same place anyways.

/azp run


Consistent GitHub API Error Despite GitHub Status Page Reporting No Issues

GW2AM has been reporting GitHub API errors for me over the last few days. I've yet to get a successful start. The last time it worked for me was about a month ago.
Each time, GitHub's status page reports no issues: https://www.githubstatus.com/

I've also verified that it's not any firewall/DNS blocking: I've whitelisted the application everywhere.
Any ideas?

I've tried this again three times today and got the error each time. Then I tried running it as administrator and it worked 🤷♂. I don't know if that will bork the game or addons, but 🤞.

I had the same issue after trying unistall d9d12pxy. Impossible to do it with GW2AM so i unstalled it manualy.
Then i got the bug with Github API.
I tried to run as administrator but same issue
So i opened config.text in GW2AM folder and changed true by false for d9d12pxy.
After that, no bug anymore, work fine now !
I hope this will help people and devs.


chore: Sentry Integration for Nitro

See https://linear.app/janai/issue/JAN-1113/sentry-integration-into-inference-backend
[ ] Please migrate to Zenhub/Github Issues

a logging platform should be decided later on


fix: Vehicle Position Timestamp

use parse_datetime for the vehicle position timestamp/parktime.

Tested and working.


New wikis without JS are not shown in pages

Steps
curl a wiki page that has been edited in the last week
Expected
The wiki text will appear in the HTML that is received
Actual
Wiki text is not on the page
We are currently returning data in the html for pages that are older than the recent one-page wiki updates. However, newer pages are not getting that data. So we need to ensure that the raw markdown is sent and shown with the page and replaced with the rendered version when the JS finishes loading. Not doing so will affect SEO of those wiki pages.
Along with that, a webtest should be added to verify that the behavior is correct.

Fixed by #2141


Update to LTS-15 and GHC 8.8

8.10 is out, seems good to not stay too far behind.
Mostly minor changes and fixing new import warnings. Slightly more major
changes:

Hedgehog has changed some stuff. In particular filter is a bit
strange now. I think that means we should change some things, but I just
switched to using a slightly different function which I think does the
right thing.
Language feature warnings/errors now propagate from inside splices to
the code that uses them. In practice, this means that our Plutus Tx
splices started asking for TypeApplications. I refactored them to use
Proxy instead to avoid this.

There are a lot of ordering changes. I may investigate these, but I
think they're mostly due to things moving module inside GHC.

The build page is showing an error: https://hydra.iohk.io/jobset/Cardano/plutus-pr-1944#tabs-errors

Yeah, I'm working on it.

Can confirm, HIE still works (but you'll have to create your own 8.3.3 file). But when compiling with stack, it only works with LANG=en_US.UTF-8, but not with LANG=en_GB.UTF-8.
With en_GB.UTF-8:
all tests
  example programs:                                  OK
  parser round-trip:                                 OK (2.81s)
      language-plutus-core-test: <stdout>: commitBuffer: invalid argument (invalid character)

Hmm, I can't reproduce the locale issue with cabal, can you?

 I'm inclined to chalk this up to a Stack  bug.

FYI, I just tried this in WSL and it worked fine, no problems at all.

Okay, let's go with this.


update Suggestion::isVisible method to not log irrelevant reasons and not return false when root slot is present

this reverts Suggestion's visibility back to pre- #3294 #3299

And they do! Thanks Maria!


Add ability to search modules

Hi @Luky72069!
Thanks for your help 😄 On the module listing page for Onramp (seen here), we'd like for users to have the ability to search for modules by name. The search bar can live just above the list of modules. Here's some additional info to help you get started:

For styling, we use TailwindCSS
You may be able to easily implement this functionality using AlpineJS (which is already included in the codebase) and fuse.js, which is a light-weight library for adding fuzzy search capabilities to an application.

Hi @Luky72069 👋🏾!
Is there anything we can assist here with on this issue?

Hello @TammyTee .
I created pull request. Can you look at it ?


Unable to delete file object from S3

Hi,
I am trying to delete a file object from S3. I had uploaded the same using this module. But when i try to
delete I get an error.
Code :
   S3.delete(path,function(error,response){
   if(error){console.log(error)};
   else { console.log(response)}
});```

Error:
Exception while invoking method '_s3_delete' TypeError: Object #<Object> has no method 'deleteFile'
   at [object Object].Meteor.methods._s3_delete (packages/lepozepo:s3/server/delete_object.coffee:10:11)
   at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1599:1)
   at packages/ddp/livedata_server.js:648:1
   at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
   at packages/ddp/livedata_server.js:647:1
   at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
   at [object Object]._.extend.protocol_handlers.method (packages/ddp/livedata_server.js:646:1)
   at packages/ddp/livedata_server.js:546:1

The file is present in the above location. Please clarify.

Thanks in Advance.

There might be something strange on your S3.config that's making knox fail. I'll review the code when I get a chance. It would be useful if you did a console.log(S3.knox) just to see if the object exists. If it does not then I need to put an error handler there. Are uploads working?

Hi,
Thanks for the quick response. I did a console.log(S3.knox) . It is undefined throughout the code flow. But I am able to upload files to S3 without any issues.
My S3 config is present in server.js inside a Meteor.startup block .
S3.config = {
key: mys3key,
secret: mys3secret,
bucket: mys3bucket,
region: mys3region
};
Thanks

@Lepozepo Same error here. Any ideas? S3.knox is defined but S3.knox.deleteFile is not.

Maybe the new import/export stuff is messing things up. Try S3 = require("lepozepo:s3") I think that should work.

Remove the below code from meteor.startup block:
S3.config = {
key: mys3key,
secret: mys3secret,
bucket: mys3bucket,
region: mys3region
};

it worked for me :)

I'm having this issue too - my s3 config is outside the startup block, anyone had any luck with it?


shell can't start without the readline library

When I try starting the shell from the command line I get the warning:
WARNING: ontospy shell can't without the readline library.`
I had thought the readline dependency was removed in a previous version. I am using Python 3.6.6 and ontospy v<IP_ADDRESS> on macOS Mojave.

Correct, the shell relies on readline.
In past I made this feature optional, that's all (see https://github.com/lambdamusic/Ontospy/pull/22).
NOTE It'd be nice to remove this dependency (eg in favor of Python Prompt Toolkit) but no time for doing this at the moment (help wanted!).


TargetFrameworkVersion

Hi,
Is it possible to change the TargetFrameworkVersion from 4.7.2 to 4.5.2? With the change the NuGet package can be used from 15.6 ESAPI version.
Regards,
Peter

Hey Peter,
I wrote the code to use 4.7.2 to ensure it could be used for both v15.6 and v16.1 of Eclipse. I currently use the nuget package (with 4.7.2) in my vmat tbi and vmat csi autoplanning code (https://github.com/esimiele/VMAT-TBI-CSI), which was developed on v15.6 of Eclipse. If you use the nuget package, just make sure the .net framework version used in all projects that reference it is 4.7.2, otherwise it visual studio will throw errors. Otherwise, feel free to clone this repo, manually include it in your project, and change the .net framework version (this repo should be the same as the nuget package).
Let me know if that fixes it.
Thanks!
Eric

Since I haven't heard from you, I'm assuming you were able to resolve the issue. If not, feel free to shoot me a message and I'll re-open this issue.


Docker build with Julia 1.11 is slow

docker build . --target reefguide-src -t reefguide_1_10 --no-cache
Julia 1.10 build took 5m22s
Julia 1.11 build took 18m22s
Toward the end of the 1.11 build, these warnings are printed for every package. (not in 1.10)

Warning: Module StaticArrays with build ID ffffffff-ffff-ffff-0000-46a203311587 is missing from the cache.
This may mean StaticArrays [90137ffa-7385-5640-81b9-e52037218182] does not support precompilation but is imported by a module that does.

Fix this issue and update containers to use Julia 1.11

Fixed on 47584a2
Optimised Docker build time from 18m to 8.17m by precompiling MKL_jll and IntelOpenMP artifacts, resolving warnings and reducing startup load, and added gdal-bin, libgdal-dev, and libfftw3-dev for required geospatial dependencies


Added pipeline for phishing website detection

Related Issues or bug

Info about Issue or bug

Fixes: #668
Proposed Changes
Additions:

Training Notebook
Url feature extraction code
Testing Notebook
Dataset
Trained Model
Readme.md

Additional Info

Anything related Issues

Screenshots

Original
Updated

original screenshot
**updated screenshot **

https://github.com/user-attachments/assets/b18ed58b-fa2a-4c8d-96dd-c6969cd34def

@UppuluriKalyani, in addition to model training, I’ve added URL feature extraction code that gathers both dynamic and static data from URLs. Could you please reconsider the assigned label?

@DarshAgrawal14 your total score from my repo??

@DarshAgrawal14 your total score from my repo??

190


Button.cs ButtonState is incorrect

Overview
This is HoloLens-only issue.
Button.cs has separate states to signify when the button has been focussed and unfocussed with the user's hand(s) raised and ready or lowered. However, these states are unpredictable and quickly fall out of sync with the user's true hand state.
Expected Behavior

Hand down, not looking at button, ButtonState = Observation
Hand down, looking at button, ButtonState = ObservationTargeted
Hand ready, looking at button, ButtonState = Targeted
Hand down, looking at button, ButtonState = ObservationTargeted
Hand down, not looking at button, ButtonState = Observation

Actual Behavior

Hand down, not looking at button, ButtonState = Observation
Hand down, looking at button, ButtonState = ObservationTargeted
Hand ready, looking at button, ButtonState = Targeted
Hand down, looking at button, ButtonState = Targeted
Hand down, not looking at button, ButtonState = Interactive

From here it is not possible to get back to Observation or ObservationTargeted states.
Steps to reproduce

Open an empty scene and from the MRTK menu do 'apply mixed reality project settings' and 'apply mixed reality scene settings'
Create a cube in the scene and drag on the Button.cs script from MRTK
Hit run and go through the expected behaviour steps outlined above, observing the 'button state' property on the button component.

Unity Editor Version
Unity 2017.3.1p3
Mixed Reality Toolkit Release Version
2<IP_ADDRESS>

Confirmed this behavior in the may18_dev branch. Looking into a fix

Just a note that my confirmation was in editor.

This was released in the 2<IP_ADDRESS> release candidate


Reorder maven repositories list to give priority to Maven local

Purpose
Reorder maven repositories list to give priority to Maven local

Codecov Report

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

@@            Coverage Diff            @@
##             master   #15518   +/-   ##
=========================================
  Coverage     35.61%   35.61%
  Complexity     5275     5275
=========================================
  Files          1055     1055
  Lines         44361    44361
  Branches       7800     7800
=========================================
  Hits          15797    15797
  Misses        25693    25693
  Partials       2871     2871

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 1fe0874...d85debd. Read the comment docs.


Ticket Filter CRUD

Feature Summary
We need to build out CRUD functionality for filters as well as improve/expand upon how we create and update filters in osTicket.
Intended Outcome of the feature
We will have freshly designed and optimized functionality for creating/updating filters.
How will it work once completed?
Once completed, we will be able to add, delete, update, enable, and disable filters.
Questions we need to answer

What functionality will be different from what we have now?

Filter Rules:

[x] Fetch help topics from backend rather than having to use id
[ ] Add Department to rule options
[ ] Regex validation

What will the UI look like?
How will we fetch fields for the rules?

User
Ticket
Organization
Custom Forms (Tickets)
Help Topic
Department
Email Metadata

Files we need to add/modify

Laravel:

Filter Controller
Filter Request
Model

Filter
Filter Rule
Filter Action

routes/api.php

React (js/modules/filter)

Components

FilterForm.js

Pages

Add

Index.js
Page.js

List

Index.js
Page.js

Edit

Index.js
Page.js

Filter.js
Routes.js

tests/Feature

FilterControllerTest.php


Create student.txt

Student mails are like<EMAIL_ADDRESS>and apparently I need to add a folder for it to be recognized. Teachers do have @zadkine.nl mails, zo there's no need to remove the other file.
Here's the information I provided for the previous commit again:
For some reason my school and another one in the region have moved all technics-related courses to a shared website.
The IT-related courses can be found here: https://www.deheldenvantechniek.nl/opleidingenoverzicht?f[0]=sm_og_group_ref%3Anode%3A357#results
This is the one I'm doing right now: https://www.deheldenvantechniek.nl/it-online/opleiding/applicatie-en-mediaontwikkelaar

@Oxyh Thank you for the request. In fact. zadkine.nl domain is already added to the repository (see #1783), and all its subdomains are automatically included into the repository. Thus, you don't need to add any subdomains manually. You can request your license right now with any email in zadkine.nl domain or any of its subdomains. I am closing this PR with no merging.


Tests: lib: gui: lvgl: test causes a Kernel Panic on stm32h747i_disco_m7

Describe the bug
Tests/lib/gui/lvgl test does not run on stm32h747i_disco_m7, & possibly other platforms as well, & causes a kernel panic. LittleFS appears to be the cause (as seen in the console output below).

target platform: tested on stm32h747i_disco_m7
Attempted workaround: update LittleFS to 2.8.1 using PR 65414
Still don't know if it's a regression

To Reproduce
Steps to reproduce the behavior:

cd ~/zephyrproject/zephyr
west build -p always -b stm32h747i_disco_m7 tests/lib/gui/lvgl -DSHIELD="st_b_lcd40_dsi1_mb1166"
west flash

Expected behavior
Random noise on the screen
Impact
Cannot run test
Logs and console output
I: Reading SFDP
I: qspi-nor-flash-1@0: SFDP v 1.6 AP ff with 2 PH
I: PH0: ff00 rev 1.6: 16 DW @ 30
I: Reading SFDP
I: qspi-nor-flash-1@0: 64 MiBy flash
I: Flash - address mode: 4B
I: Quad read mode 4 instr [0x6b] supported
I: Quad read mode 7 instr [0xeb] supported
I: Quad read mode 7 instr [0xeb] will be used
I: QE requirement mode: 0
I: Quad mode enabled
I: PH1: ff84 rev 1.0: 2 DW @ 80
*** Booting Zephyr OS build zephyr-v3.5.0-4181-g4204ca9bcb3f ***
Running TESTSUITE lvgl_fs
===================================================================
I: LittleFS version 2.5, disk version 2.0
I: FS at flash-controller@52002000:0xff800 is 0 0x20000-byte blocks with 512 cycle
I: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
ASSERTION FAIL [block_count != 0] @ WEST_TOPDIR/zephyr/subsys/fs/littlefs_fs.c:813
E: r0/a1:  0x00000004  r1/a2:  0x0000032d  r2/a3:  0x40011000
E: r3/a4:  0x08037ec9 r12/ip:  0x00000000 r14/lr:  0x0800276f
E:  xpsr:  0x61000000
E: Faulting instruction address (r15/pc): 0x080270e4
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x24004670 (main)
E: Halting system

Environment:

OS: Linux
Toolchain: Zephyr SDK 0.16.3
Commit SHA: main branch, 4204ca9bcb3f675a0e63f647931ffe2c4b515729

Additional context
None for now

By:
I: FS at flash-controller@52002000:0xff800 is 0 0x20000-byte blocks with 512 cycle

it seems that there are 0 blocks of 128k. Is the partition properly configured?


Back gesture in the video demo's full display mode doesn't work

It's a normal non-dialog modal page that has the back arrow but back swipes don't work.

Seems like this has been since fixed


Very slow video performance

Hi,
I succesfully installed in my own VPS a version of cloud-game.
From a functional point of view, everything seems to work right, but the performance of the videostream makes the emulation unplayable.
Audio is smooth and responsive, but video halts constantly. Video works during 2-3 seconds, halts but audio and emulation goes ahead, Video catchs ups after severe frameskipping.
I've tried cloudretro.io and work great, with the same game (NES Contra in this case).
Some extra info:
C:\Users\anton>ping cloudretro.io

Haciendo ping a cloudretro.io [<IP_ADDRESS>] con 32 bytes de datos:
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=167ms TTL=47
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=167ms TTL=47
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=166ms TTL=47
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=168ms TTL=47

Estadísticas de ping para <IP_ADDRESS>:
    Paquetes: enviados = 4, recibidos = 4, perdidos = 0
    (0% perdidos),
Tiempos aproximados de ida y vuelta en milisegundos:
    **Mínimo = 166ms, Máximo = 168ms, Media = 167ms**

C:\Users\anton>ping <IP_ADDRESS> (-----> my VPS)

Haciendo ping a <IP_ADDRESS> con 32 bytes de datos:
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=33ms TTL=57
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=38ms TTL=57
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=32ms TTL=57
Respuesta desde <IP_ADDRESS>: bytes=32 tiempo=32ms TTL=57

Estadísticas de ping para <IP_ADDRESS>:
    Paquetes: enviados = 4, recibidos = 4, perdidos = 0
    (0% perdidos),
Tiempos aproximados de ida y vuelta en milisegundos:
    **Mínimo = 32ms, Máximo = 38ms, Media = 33ms**

my VPS seems to deal with things properly:

2 vCORES using 15% of capacity in worst scenario
800 kbps on network bandwith consumption when playing

Any clue on where to try to find the source of my problem?
Kind Regards

Your machine configuration looks enough. Where does your server locate? I would suggest your server is as closer to you as possible.

Hi again,
I'm in Spain an my VPS server where my copy of cloud-game is installed is also in Spain. Ping from my client machine to my VPS is in the range of 30ms.
From my client computer to cloudretro.io itself the ping jumps to near 170ms.
Point is that the 170ms ping version of cloud-game (cloudretro.io) works great and is responsible from my client machine and my VPS with 30ms Ping has a severe (video) lag as described previously. Seems that something in wrong somewere in my deploy and I need to tackle this somehow. Both tests has been done with the same machine, same browser (Brave) only a tab apart.
Any suggestion on logs or reports to look at would it be great finding my way on this.
Thanks a lot for your support

Hi again, I've been taking a look into WebRTC Internals and here is the shape of framesReceived:

As you can see the 60fps flow is being interrupted and falls to zero many times, this is what from an user point of view experiences: video stops but audio and emulation goes on normally.
When accessing to cloudretro.io, from the same browser/machine this is how stats compare:

In this case, everything is working fine without freeze count
Kind Regards

oh interesting graph. It may be because of the bandwidth limit of your VPS. What is your VPS, can you try digital ocean?

Hard to tell.
@indie-cloud, could you try my contra with the latest master snapshot, if it runs well? This' Oracle free tier VPS.

oh interesting graph. It may be because of the bandwidth limit of your VPS. What is your VPS, can you try with Digital Ocean?
Btw, is your laptop under any VPN?

HI, there is no VPN in my connection, the connection is direct from my hot to the VPS

iperf3 -u -c

Hi @sergystepanov . Thanks for your support.
Answers to the question:

Your Contra deployment (on Oracle VPS) generates the same behaviour I'm experiencing, with my own VPS with a ping in the 40ms and frameskipping 1 or <1.
Regards

@indie-cloud, this is interesting. I'm not experiencing such severe frame drops playing on my server or iperf packet drops at all.
Regarding iperf results, could you please re-run the test on my server for a longer period, e.g. 1 minute (-t param in seconds):
iperf3.exe -t 60 -u -V -c <IP_ADDRESS>

And could you try to switch the video codec on your server to vp8? From h264 to vpx.
https://github.com/giongto35/cloud-game/blob/12312edd03653d3827ff433df9e2577f19caafa7/configs/config.yaml#L186
Also it will be useful if you could attach the full webrtc log like I described here https://github.com/giongto35/cloud-game/issues/334#issuecomment-888456492

I've run a couple of test using lperf3 both in Windows and Ubuntu (VM over Windows) pointing to your server with these results:
Windows:
C:\Program Files\iperf-3.1.3-win64>iperf3.exe -t 60 -u -V -c <IP_ADDRESS>
iperf 3.1.3
CYGWIN_NT-10.0 DESKTOP-AM9A5N4 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64
Time: Sun, 15 Aug 2021 14:26:40 GMT
Connecting to host <IP_ADDRESS>, port 5201
      Cookie: DESKTOP-AM9A5N4.1629037600.313853.02
[  4] local <IP_ADDRESS> port 63694 connected to <IP_ADDRESS> port 5201
Starting Test: protocol: UDP, 1 streams, 8192 byte blocks, omitting 0 seconds, 60 second test
[ ID] Interval           Transfer     Bandwidth       Total Datagrams
[  4]   0.00-1.00   sec   144 KBytes  1.18 Mbits/sec  18
[  4]   1.00-2.00   sec   120 KBytes   984 Kbits/sec  15
[  4]   2.00-3.00   sec   120 KBytes   982 Kbits/sec  15
[  4]   3.00-4.00   sec   128 KBytes  1.05 Mbits/sec  16
[  4]   4.00-5.00   sec   128 KBytes  1.05 Mbits/sec  16
[  4]   5.00-6.00   sec   128 KBytes  1.05 Mbits/sec  16
[  4]   6.00-7.00   sec   136 KBytes  1.11 Mbits/sec  17
[  4]   7.00-8.00   sec   120 KBytes   984 Kbits/sec  15
[  4]   8.00-9.00   sec   128 KBytes  1.05 Mbits/sec  16
[  4]   9.00-10.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  10.00-11.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  11.00-12.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  12.00-13.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  13.00-14.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  14.00-15.00  sec   112 KBytes   918 Kbits/sec  14
[  4]  15.00-16.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  16.00-17.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  17.00-18.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  18.00-19.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  19.00-20.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  20.00-21.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  21.00-22.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  22.00-23.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  23.00-24.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  24.00-25.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  25.00-26.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  26.00-27.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  27.00-28.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  28.00-29.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  29.00-30.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  30.00-31.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  31.00-32.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  32.00-33.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  33.00-34.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  34.00-35.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  35.00-36.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  36.00-37.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  37.00-38.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  38.00-39.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  39.00-40.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  40.00-41.00  sec   120 KBytes   984 Kbits/sec  15
[  4]  41.00-42.00  sec   144 KBytes  1.18 Mbits/sec  18
[  4]  42.00-43.00  sec   112 KBytes   917 Kbits/sec  14
[  4]  43.00-44.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  44.00-45.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  45.00-46.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  46.00-47.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  47.00-48.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  48.00-49.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  49.00-50.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  50.00-51.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  51.00-52.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  52.00-53.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  53.00-54.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  54.00-55.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  55.00-56.00  sec   136 KBytes  1.11 Mbits/sec  17
[  4]  56.00-57.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  57.00-58.00  sec   120 KBytes   983 Kbits/sec  15
[  4]  58.00-59.00  sec   128 KBytes  1.05 Mbits/sec  16
[  4]  59.00-60.00  sec   128 KBytes  1.05 Mbits/sec  16
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total Datagrams
[  4]   0.00-60.00  sec  7.50 MBytes  1.05 Mbits/sec  1.756 ms  94/959 (9.8%)
[  4] Sent 959 datagrams
CPU Utilization: local/sender 0.7% (0.3%u/0.5%s), remote/receiver 0.0% (0.0%u/0.0%s)

iperf Done.

 Summary Results:
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-60.00  sec  7.50 MBytes  1.05 Mbits/sec  0.000 ms  0/5387 (0%)  sender
[  5]   0.00-60.08  sec  7.12 MBytes   994 Kbits/sec  1.435 ms  275/5386 (5.1%)  receiver
CPU Utilization: local/sender 17.8% (0.0%u/17.7%s), remote/receiver 0.0% (0.0%u/0.0%s)

iperf Done.

Hi again @sergystepanov
Find attached the dump file for the webrtc session:
webrtc_internals_dump.txt
This traces comes from VPX codec. From an user point of view, the game is more playable than in h.264 because frameskip is perceived as less severe, but you will see in traces that this keeps happening.
In sumary, moving from h.264-> to vpx doesn't solve the problem, mitigates it from user point ov view but logs keeps showing freezeCount over time.
btw, my vps can be found in indie-cloud.com:8000
thanks a lot!!!

Strange. 😕 at least I can see the stable rate of video frames from the server.
But you still have some pretty noticeable packet losses in the rtc stats. On top of that, there are strange packet bursts.

This could be related to Pion WebRTC lib. Between master branch and cloudretro.io a year difference in Go libs updates.
I'll try to look into some stuff later when I finish the new deployment tasks.

@sergystepanov your deployment seems fine to me, seems smooth

@indie-cloud Can you setup your VPS again. I will try yours too to see if it has slow video performance

Hi @giongto35 , my VPS is live again at indie-cloud.com:8000.
As a wrap-up of the issue:

My VPS has ping in the range of 30ms, with reasonable iperf3 values but frameskipping is taking place, both in h.264 and vpx codecs. However vpx codec shows a better behaviour on end user side, making things more or less playable vs h.264 that is unplayable

@sergystepanov 's Oracle VPS shows the very same wrong behaviour on my end, with slightly slower ping (in the range of 40ms)

cloud-retro.com works from my side despite the high ping in the range of 170ms there is some lack of responsiveness in the controls (I believe due to ping) but no perceived frameskipping (nor in the webinternals stats)

Thanks a lot @giongto35 and @sergystepanov for your support

Just tried a bit to play in indie-cloud and it was flawless except for one initial glitch.
This' how it should look like, but in your case, you have progressive packet losses and it seems this happens on your client. (first - mine, second - yours)

@indie-cloud, could you try a different ISP, maybe on a different device? 3/4/5G network from a smartphone?
I lowered the h264 codec's decoding complexity on my VPS, you can try it also how it runs for you.
I guess, something isn't right with your client network. Right now no idea why considering cloudretro.io's normal behavior.

indie-cloud.com:8000 works perfect for me as well. Good thing is that your host is still playable to other people.
So yeah, I think maybe it's your network as well. Trying with 3/4/5G can help.
But it's interesting that the current CloudRetro behaves differently :-?. @sergystepanov is working on deploying a new version to CloudRetro, we can try again.

Hi!
I've changed the ISP and the way of connection. Now I've tried with new ISP + Ethernet (previously WiFi) and everything works flawlessly.
The ping is in the range of 10ms and there is not frame skipping.
I will close this issue


temporary fix for chef-server tests

This pins us to my branch with a fix until that fix is merged and
released upstream.
We can revert when
https://github.com/chef-cookbooks/audit/pull/388
is merged
Signed-off-by: Steven Danna<EMAIL_ADDRESS>

Looks like we got out a fix for this very quickly so we shouldn't need this.


publications for pombemine

I can't remember the route forr publications-> intermine, but I don't think we  should  export the
"
the "wrong organism" or "loaded in error" publications

Can you give me some examples to look at?  We're supposed to be exporting the same data and publications as on the web site.

I saw publication PMID:1 and some other non pombe papers when I filtered on papers from PomBase

I saw publication PMID:1 and some other non pombe papers when I filtered on papers from PomBase

That's odd.  I've just checked the main JSON file we export from Chado for InterMine and PMID:1 isn't there.
I tracked down a few entities in PombeMine with that publication attached.  For example:
http://pombemine.rahtiapp.fi/pombemine/report/ProteinDomain/6060554
That's from the "InterPro data set".  I don't understand that one.
Here's a query with some others:
<query model="genomic" view="Publication.pubMedId Publication.meshTerms.name Publication.entities.dataSets.name" constraintLogic="(A)" sortOrder="">
   <constraint path="Publication.pubMedId" value="1" op="=" code="A"/>
   <constraint path="Publication.entities" type="ProteinDomain"/>
</query>

I wonder if it is just an out of date version of the publication import in the Mine?

Maybe that particular publication is coming from somewhere else.I am surer that yesterday I filtered on "source" pombase. However today I cannot see a way to do that?  (perhaps I was doing it a different way) Maybe we can look at this later?

See
https://github.com/intermine/pombemine/issues/33#issuecomment-1135510323

Maybe we can look at this later?

Yep!
There's also a publication page for PMID:1 - http://pombemine.rahtiapp.fi/pombemine/report/Publication/6033710

Actually that could be me. I just checked and PMID:2 was currently "curatable"
I should stop  playing with non-curatable papers in. the curation tool.
Do we export out publication 'tags' ? this would be useful to query on curatable papers! or methods/review/biotechnology  papers etc

Do we export out publication 'tags'

Do you mean triage status?  We store that in Chado.

Ha, ha, https://www.ebi.ac.uk/interpro/entry/InterPro/IPR028931/
will report to. InterPRO (they probably do the same as us!)

Yes, is that tag in the PombeMine export. It  would make useful queries (Probably only fo me!)

Yes, is that tag in the PombeMine export. It would make useful queries (Probably only fo me!)

It's a JSON file of genes and transcripts.  There's nothing much else in it.  We only export a list of references for each gene in the file, as PMIDs and GO_REFs.  There isn't really any place we could add fields for publications.  We'd need a new JSON file with publication details to export the triage status.

Should we close this?  It sounds like there isn't time to add new data to PombeMine.


mAP

按照提供的预训练模型和数据集跑出的mAP特别低，我完全是按照指引的步骤运行的。还有就是OXford数据集的指标部分，一直报找不到gt文件，换成绝对路径也不行。请问是哪里出了问题吗
``[LoadFeature]: loading feature from /home/ubuntu/CBIR/PyRetri/data/features/caltech/query01/part_0.json...
[LoadFeature] Success, total 4310 images,
feature names: dict_keys(['pool5_GeM'])
[LoadFeature]: loading feature from /home/ubuntu/CBIR/PyRetri/data/features/caltech/gallery01/part_0.json...
[LoadFeature] Success, total 4367 images,
feature names: dict_keys(['pool5_GeM'])
[LoadFeature] Success, total 4367 images,
feature names: dict_keys(['pool5_GeM'])
--------------- Retrieval Evaluation ------------
mAP: 1.1
R@1: 0.0        R@2: 0.1        R@4: 0.1        R@8: 0.3

The same for me!!
The result of mAP is low...Any questions?
$ python main/index.py -cfg configs/oxford.yaml
[LoadFeature]: loading feature from data/features/oxford/query/part_0.json...
[LoadFeature] Success, total 55 images,
feature names: dict_keys(['pool5_GAP'])
[LoadFeature]: loading feature from data/features/oxford/gallery/part_0.json...
[LoadFeature]: loading feature from data/features/oxford/gallery/part_1.json...
[LoadFeature] Success, total 5063 images,
feature names: dict_keys(['pool5_GAP'])
[LoadFeature]: loading feature from data/features/oxford/gallery/part_0.json...
[LoadFeature]: loading feature from data/features/oxford/gallery/part_1.json...
[LoadFeature]: loading feature from data/features/oxford/query/part_0.json...
[LoadFeature] Success, total 5118 images,
feature names: dict_keys(['pool5_GAP'])
--------------- Retrieval Evaluation ------------
mAP: 1.2
R@1: 0.0	R@2: 0.0	R@4: 3.6	R@8: 5.5

Do you use the right pre-trained model?

Do you use the right pre-trained model?

Do you use the right pre-trained model?

Thank you for your reminder！now, the result is consistent with the presentation！

can I know how do you solve this problem?


ParHIP using excessive memory

I am trying to use ParHIP as part of a large CFD code as an alternative to ParMETIS. The graph I want to partition is 28M vertices and 55M edges - this is a medium sized graph for our application.
I'd like to run the overall simulation on several thousand cores, but unfortunately when using ParHIP the simulation runs out of memory very quickly - I have 128 cores and 256GB RAM per node. I narrowed the issue down to ParHIP itself - I dumped the graph to file and checked with graphchecker which tells me the graph itself is ok.
I ran a test, scaling ParHIP from 1 to 128 cores, partitioning into 128 parts each time, and measuring the memory high watermark:

I am using the options --k=128 --preconfiguration=fastmesh. The last datapoint (128 cores) is missing because ParHIP runs out of memory.
Is this expected behaviour? Ideally we would like to be able partition "online" on the same number of cores that we run our simulation on, however I am now wondering if that is not how we are supposed to use ParHIP and whether we will need to partition offline only (something we will implement as well, but we really want both options).
Any guidance would be much appreciated.

Hi,
I first come across the memory use issue using the ParHIP interface and tracking it down to the library rather than our code. However the "high watermark" test above was done using the standalone binary:
for N in 1 2 4 8 16 32 64 128
do
   srun -n $N --distribution=block:cyclic --hint=nomultithread parhip ./cam28m.graph --k=128 --preconfiguration=fastmesh
done

In this case, the binary was buit with HPE/Cray Clang++ and MPICH, however I've also reproduced the issue locally with Intel 2021 versions of C++ and MPI.
The output of a working core count is
running collective dummy operations took 0.00126004
took 1.33578
n:28093557 m: 111769122
log> ghost edges 0.0613001
log> local edges 0.9387
upper bound on blocks 226065
log>=====================================
log>============AND WE R DONE============
log>=====================================
log>total partitioning time elapsed 86.4238
log>final edge cut 804805
log>final balance 1.02997

but when it runs out of memory this is the output:

yes that would certainly help. Do you have the same issue with for example random geometric graphs from the 10th DIMACS implementation challenge -- https://www.cc.gatech.edu/dimacs10/archive/random.shtml? This would help to see in advance if this is something related to your instance. My best guess right now is that for some reason coarsening appears to be broken for you graph. I can certainly check, when I have your graph and see if I can reproduce the error on my system.
Best
Christian

and did you try other configurations? e.g. fastsocial?

I have shared a download link with you via email, it should be with you shortly.
I am currently running a test with "fastsocial", which at first glance appears to not suffer from the same memory usage issue, but I will check properly once the whole test has finished.

Ok, I've completed the test using fastsocial instead of fastmesh - it's vastly improved, in both memory usage and runtime:

I reproduced the problem with fastmesh on my system. I am investigating, but I may only find time next week to look into it.
Best
Christian

There's no particular rush as I now have a workaround - thanks for pointing it out. Just in case you are interested, I compared the time and memory usage of all 6 modes using 64 cores

As you can see, all the mesh modes display the same behaviour.

Hi,
so I figured it out already. In the fastmesh, we are limiting cluster sizes during coarsening using a cluster coarsening factor 20000. (line 137 of parallel/parallel_src/parse_parameters.h). That means clusters (if you know the coarsening algorithms that we are using) can only grow to blocksize/20000 nodes. If the graph is ``small'' then the graph is not coarsened at all since the clusters can not grow. On the coarsest level the graph is replicated among all PEs (hence the large memory footprint). This is fine for fastsocial as the coarsening factor is 16, and hence the coarsest level in the hierarchy is very small. I will come up with a more proper parameter for meshes next week.
Hope this helps!
Christian

I issued a quick fix. This should work now, could you please try?
Thanks!
Christian

Thanks for the quick work - I'll add the fix and test. Will let you know how it goes as soon as I can!

I have now tested the fix - in terms of performance it is now getting very close to fastsocial (~11s vs ~4s on 128 cores ) and memory usage is much better. However it still high enough on large core counts that a simulation using 4 or more nodes would likely OOM (I have not tested this, merely projecting upwards)

Thx for testing! I would suggest you use fastsocial atm, the only different parameter is the cluster coarsening factor and a lower one seems to work much better for you.
Best
Christian

Great - thank you very much for the quick help & fix. :-)


ctrlp-funky quickfix show ale error

I enable the ale check when start vim, but if open ctrlp-funky to find python function, the quickfix show the flake8 error, I don't want to check the quickfix, but i can't find the option

Thank you

I have got it.
autocmd BufEnter ControlP let b:ale_enabled = 0
Thank tacahiroy
https://github.com/tacahiroy/ctrlp-funky/issues/109
Thank you.

I'll leave this open for now. It might be possible disable ALE for that plugin's windows automatically.

I have added a check now for skipping ctrlp-funky windows by checking the statusline. It might help a little. If not, others can use the code above.

ok, thank you.


Layouts don't update when initially loaded

Did you solved it?

Yeah, if you just want to fix the layout issue, the only code changes you need are here: https://github.com/Cristian006/swipeable-view-stack/commit/fc7c70eb57ccf2610cdb2427e6b28145118eb7cb

Awesome, thank you!


Update cats-effect, cats-effect-laws, ... to 3.3.5 in series/0.23

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws
org.typelevel:cats-effect-std
org.typelevel:cats-effect-testkit

from 3.3.4 to 3.3.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.3.4).
You might want to review and update them manually.
website/src/hugo/content/changelog.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

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

And that ClientTimeoutSuite had been going so well.


Route Model Binding Issue on null parameters with Request

Laravel Version: 9.13.0
PHP Version: 8.1.6
Database Driver & Version: MariaDB 10

Description:
When you have an optional parameter in a route, like this
Route::get('/user/{user?}', [UserController::class, 'index']);
Route Model Binding in the Controller returns an instance of the Model $user when using the following method signature
public function index(User $user = null, Request $request)
which should be null.
When setting the request argument before $user, $user is returning null, as expected
public function index(Request $request, User $user = null)
This behaviour differs from Laravel 8. I have found nothing mentioning this in the upgrade guide or in the documentation.
Steps To Reproduce:

You can test this in a blank laravel 9 installation

Hey @fabianschoepgens. You should not put parameters with defaults before parameters without. The behavior you were previously using was never supported.

@driesvints You're right, but in the documentation its always at the end. Well there is no example for null parameters though.


CV does not generate

Describe the bug
Running the generate-pdf command runs indefinitely.
To Reproduce
Steps to reproduce the behavior:
Execute npm run generate-pdf

<EMAIL_ADDRESS>generate-pdf
ts-node scripts/generate-pdf.ts

D:\Repositories\Portfolio\pages\node_modules\puppeteer-core\src\util\Deferred.ts:34
this.reject(new TimeoutError(opts.message));
^
TimeoutError: Navigation timeout of 30000 ms exceeded
at Timeout. (D:\Repositories\Portfolio\pages\node_modules\puppeteer-core\src\util\Deferred.ts:34:25)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
Expected behavior
The command finishes and cv generated.
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
0.3.0
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @GurdipS5 I was not able to reproduce this error. Could you please provide the exact versions of node and npm you are using?

Hi,
NPM is 9.6.7
Nodejs is 18.17.0
On Sun, Jun 23, 2024 at 4:20 PM Marcin Woś @.***> wrote:

Hi @GurdipS5 https://github.com/GurdipS5 I was not able to reproduce
this error. Could you please provide the exact versions of node and npm you
are using?
—
Reply to this email directly, view it on GitHub
https://github.com/KonradSzwarc/devscard/issues/245#issuecomment-2185038913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU2JXHB25NE5DZGPLNWESXLZI3RVVAVCNFSM6AAAAABJBKCQESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGAZTQOJRGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

What's your setup?
On Mon, Jun 24, 2024 at 4:26 PM Gurdip sira @.***> wrote:

Hi,
NPM is 9.6.7
Nodejs is 18.17.0
On Sun, Jun 23, 2024 at 4:20 PM Marcin Woś @.***>
wrote:

Hi @GurdipS5 https://github.com/GurdipS5 I was not able to reproduce
this error. Could you please provide the exact versions of node and npm you
are using?
—
Reply to this email directly, view it on GitHub
https://github.com/KonradSzwarc/devscard/issues/245#issuecomment-2185038913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU2JXHB25NE5DZGPLNWESXLZI3RVVAVCNFSM6AAAAABJBKCQESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGAZTQOJRGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Most testing/ development was done on Mac. I can confirm it also does work on WSL/Ubuntu. On Windows I am able to reproduce the error but it is very inconsistent, sometimes it works and generates PDF, sometime it doesn't :confused:. I checked couple of nodejs version and this issue seems to be present in all recent versions. I figured the problem must be with how child process is spawned in nodejs on Windows but I am kinda stuck there.

I tried this on wsl but no luck. Going to setup a Linux teamcity agent so
the build/this command can run successfully on there.
I love the template though!
On Tue, Jul 9, 2024 at 7:59 PM Marcin Woś @.***> wrote:

Most testing/ development was done on Mac. I can confirm it also does work
on WSL/Ubuntu. On Windows I am able to reproduce the error but it is very
inconsistent, sometimes it works and generates PDF, sometime it doesn't 😕.
I checked couple of nodejs version and this issue seems to be present in
all recent versions. I figured the problem must be with how child process
is spawned in nodejs on Windows but I am kinda stuck there.
—
Reply to this email directly, view it on GitHub
https://github.com/KonradSzwarc/devscard/issues/245#issuecomment-2218431411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU2JXHGWSKGTFQJXRAXVB53ZLQXHVAVCNFSM6AAAAABJBKCQESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGQZTCNBRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Bugfix-877 Frame Alignment issues

Fixes #877
fixes #909
I provided read access to this package for @subdavis  and @marySalvi :

https://viame.kitware.com/api/v1/item/61200b0a81830b81d0a57332/download
This package includes a good60fps.mp4 file which contains corrected frames and a bad60fps.mp4 and bad60fps.mov files.
All files have burnt in frame numbers and timestamps.  The included ReadMe.txt has the ffmpeg command to burn those in on other files if you want to.
The index.html file will load up the good and bad mp4 files and allow you to advance through them frame by frame to show the behavior of DIVE and how it is offset between the two files.

The process for the fix requires reading in the ffprobe for duplicate best_effort_timestamp_time within the first 5 seconds of the video.  If there are duplicate frames it will then do a secondary process of encoding the video with -ss 0 in an attempt to fix the audio alignment problem.
NOTE:  Main issue is that before and after the fix the ffprobe best_effort_timestamp_time outputs look identical so I have no way to check from the command line if the fix worked.
Testing procedure:
I provided both a good and bad 60fps files so it would be easier to upload the bad60fps.mp4 and set the frame rate to 60fps.  In that instance one frame click forward should equal one frame on the burnt in video frame counter.
Notes about implementation:
Tried to move all of this extra logic into separate files to not pollute existing items.
On Desktop Check Media needs to do the ffprobe because we refrain from checking properly encoded mp4 videos.  This is why I specifically included a bad60fps.mp4 so you can test desktop importing and that it will kick off the job.

This should be updated and working properly.  Let me know if you're not a fan of the stdout on web for the ffprobe frame time call, it can be directed to a temp file instead.
On ubuntu I'm noticing that the openFromDisk mimetype filter doesn't seem to work on .MOV files but it looks like it does on windows.

I've tested pretty extensively and I'm fine with it.  Don't mind the verbose output.  If it overflows, we handle that.


SAML Service Provider Identity

Original report: https://forum.mattermost.org/t/saml-service-provider-identity/9488
When configuring SAML, one of the steps is to configure the identity provider with the service provider identity URL or URI. Normally this would be done using the SP URL or some other unique ID. However, Mattermost has coded theirs to use the Identity Provider request URL. This is incorrect as if every SP did this the IDP would have no way of telling them apart.
This can be seen here in step 8 https://docs.mattermost.com/deployment/sso-saml-adfs.html. This link refers to the “relying party trust identifier” and links it to begin synonymous with the “identity provider issuer url” but these are two very different things. It is actually synonymous with the service provider identity as service provider and relying party are interchangeable references.
This value should be a unique SP value not the value of the IDP. e.g. https://mattermost.example.com/login/sso/saml or urn:federation:mattermost.

Thanks, @amyblais. I've checked in with the Enterprise team to find out what the next steps are.

It turns this doesn't seem to be a documentation issue after all, but probably a code bug. I'll see if Enterprise team responds or if support team can step in.

Is there any progress on this potential bug? Thanks.

Latest update is that we are getting additional information from the reporter https://forum.mattermost.org/t/saml-service-provider-identity/9488/4.


Task is not executed as async.

Hello I'm using your package to implement async tasks.The basic idea is that I'm giving the option to the admin from the dashboard to create a post with some related videos. The videos are stored on the server but when he creates the post I want to move the videos that he selected to another platform and after the upload finish to save the response on a table with a foreign key of the post ID.
My problem is that instead of saving the post and then create an async task to upload the video on the platform it keeps wait for the video to be uploaded and then to refresh the page.
Here is my code
function init_async_task() {
	if (!class_exists('Upload_Videos_Async', false)) {
		new Upload_Videos_Async(WP_Async_Task::LOGGED_IN);
	}
}

add_action('plugins_loaded', 'init_async_task');
add_action('wp_async_save_post', 'move_videos_to_platform', 10, 2);
function move_videos_to_platform($id) {
//upload here the videos
}

class Upload_Videos_Async extends WP_Async_Task {

	protected $action = 'save_post';

	protected $argument_count = 1;

	public function __construct($auth_level = 0) {
		parent::__construct(parent::LOGGED_IN);
	}

	/**
	 * Prepare data for the asynchronous request
	 *
	 * @throws Exception If for any reason the request should not happen
	 *
	 * @param array $data An array of data sent to the hook
	 *
	 * @return array
	 */
	protected function prepare_data($data) {
		$returnData = ['post_id' => $data[0]];
		$files = [];
		$http = herbert('http');
		if ($http->has('file_name')) {

			foreach ($http->get('file_name') as $key => $value) {
				$tempKey = str_replace('.mp4', '', $value);
				$files[$tempKey] = $value;
			}
		}

		if (count($files) > 0) {
			$returnData['file_name'] = http_build_query($files);
		}
		return $returnData;
	}

	/**
	 * Run the async task action
	 */
	protected function run_action() {
		$http = herbert('http');
		$post = get_post($http->get('post_id'));
		if ($post) {
			if ($post->post_type == 'futures-video')
			// Assuming $this->action is 'save_post'
			{
				if ($http->has('file_name')) {
					$files = [];
					foreach (glob($_SERVER['DOCUMENT_ROOT'] . '/*.mp4') as $file) {
						$tempKey = str_replace('.mp4', '', basename($file));
						$tempKey = str_replace('.', '_', $tempKey);
						$files[$tempKey] = $file;
					}

					$urlFiles = [];
					parse_str($http->get('file_name'), $urlFiles);
					$count = 0;
					foreach ($urlFiles as $key => $filepath) {
						$key = array_search(basename($filepath), $urlFiles);
						if ($key !== false) {
							$videos = new Videos;
							$videos->name = $key;
							$videos->post_id = $post->ID;
							$videos->status = 'pending';
							$videos->save();
							$count++;
						}
					}
					if ($count > 0) {
						do_action("wp_async_$this->action", $post->ID, $post);
					}
				}
			}
		}
	}

}

At the end if the videos didn't uploaded for any reason I want to execute the same tasks to re-upload them. How I can call the async task?
any help?

if (!class_exists('Upload_Videos_Async', false)) {
    new Upload_Videos_Async(WP_Async_Task::LOGGED_IN);
}

Before even looking at the rest of your code ... this chunk right here means you'll never have an Upload_Videos_Async object instantiated. The class_exists() function is meant to test if a class is defined, not if it's instantiated. If the class is defined in your code, the while conditional up there will evaluate to false and the object will never be created. If the class isn't defined, then it'll evaluate to true and you'll get an error when trying to instantiate a nonexistent class.

thank you @ericmann for your reply. Also tested it without having the class_exist function.

My problem is that instead of saving the post and then create an async task to upload the video on the platform it keeps wait for the video to be uploaded and then to refresh the page.

The videos will still need to upload to WordPress before WP can do anything with them. Are you saying the page is waiting to upload to a separate server as well, or just that it's waiting to upload to WordPress first?
Second, you've got a couple of things ... out of order perhaps with your code.
The ::run_action() method should only be kicking off the wp_async_$this->action event. The actual logic to upload the video should happen in the move_videos_to_platform() function bound to that event. I say this because that function should be built such that it can be tied to either the custom async action or a traditional synchronous action.
 It is fired in response to a non-blocking POST request from WordPress to itself. If you disable the function entirely, you can see the flow I'm talking about. Maybe edit the function to write to a log and return (rather than upload videos) to see when it's being triggered ...

Hello @ericmann.  As i said on my first post the videos already exist on the server where the wordpress is hosted. You can see it from my code as well.
foreach (glob($_SERVER['DOCUMENT_ROOT'] . '/*.mp4') as $file) {
...
}

Therefore I don't need to wait to upload the video on wordpress first and then move it to the other server.
So in the ::run_action() I'm only saving the videos that the user choose to upload it on the other server inside the database with pending status.
`
/**
* Run the async task action
/
protected function run_action() {
$http = herbert('http');
$post = get_post($http->get('post_id'));
if ($post) {
if ($post->post_type == 'futures-video')
// Assuming $this->action is 'save_post'
{
if ($http->has('file_name')) {
$files = [];
foreach (glob($_SERVER['DOCUMENT_ROOT'] . '/.mp4') as $file) {
$tempKey = str_replace('.mp4', '', basename($file));
$tempKey = str_replace('.', '_', $tempKey);
$files[$tempKey] = $file;
}
                $urlFiles = [];
                parse_str($http->get('file_name'), $urlFiles);
                $count = 0;
                foreach ($urlFiles as $key => $filepath) {
                    $key = array_search(basename($filepath), $urlFiles);
                    if ($key !== false) {
                        $videos = new Videos;
                        $videos->name = $key;
                        $videos->post_id = $post->ID;
                        $videos->status = 'pending';
                        $videos->save();
                        $count++;
                    }
                }
                if ($count > 0) {
                    do_action("wp_async_$this->action", $post->ID, $post);
                }
            }
        }
    }
}

`
Then inside the move_videos_to_platform I'm collecting all the entries which are pending and have post id the given id and the using guzzle I'm uploading the videos to the second server.
The problem is that the move_videos_to_platform function is not executed in a background process but when you click the save button it waits to upload the video on the second server and then refresh the page.
Do I need to make any configuration on the server in order to work the queuing?

I have a similar issue, your asynctask is being used in PixerlYourSite. It makes the page that use this class looks like it is loading even though all the html is already sent to the customer.  In new relic it looks like you run a synchronous request using curl to admin-post.php, and the main request is waiting for the sub request to finish.
This make some sense so that the subrequest isn't killed by the server when client drops the connection, but on the other hand it doesn't make much sense to run curl at all, as the async call could simply run in the same php process in the shutdown action and this would have the same effect.  (if only one action is spawned at a time)
My guess is that @giwrgos88 is waiting for his main request to return, and this won't happen until the Async Task process finishes.


Surface book 2 15 touchscreen

Have installed this custom kernel on my surface book 2 15" and most of the things are working as expected. However, touchscreen and battery level are not working. Of these, I'm mostly concerned about the touchscreen. Need help to troubleshoot.
$ lsmod
...
intel_ipts             32768  0
...
Should be 1 there, no?
Thank you so much for making this project!

Actually, intel_ipts should be set to 0 I believe. Can you give me the output of these commands:
acpi -V
dmesg
lsmod

Hi dmhacker
I do believe I have the same issue with the touch screen on the 13" model. I am running manjaro and not base arch so maybe that is the reason, but everything else is running fine. I attached the output of the three commands you asked for:
acpi.txt
dmesg.txt
lsmod.txt
Thank you for your great work.

@LesserBabka Is everything else working as expected (keyboard, sound, hibernation/standby)?
Thanks

Thanks for looking into this.
acpi.txt
dmesg.txt
lsmod.txt

I think most normal things work; keyboard (incl function keys), sound, battery status, track pad (except clicking on the trackpad, maybe thats an option) and except for the touch the monitor works well.
Suspend does not seem to work. Haven't tried hibernation.

dmesg outputs this regarding the touchscreen module:
ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: Direct firmware load for intel/ipts/intel_desc.bin failed with error -2
[    4.514281] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: can't add hid device: -5
[    4.514316] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: error in handling resp msg

dmesg outputs the following regarding the touchscreen module:
[4.514256] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: Direct firmware load for intel/ipts/intel_desc.bin failed with error -2
[4.514281] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: can't add hid device: -5
[4.514316] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: error in handling resp msg

I'm seeing the same dmesg output as @sebzag with 5.0.10-1-surface (sb2 15)

In your mkinitcpio.conf file, you can manually set kernel modules to load in the MODULES=() line, just add "intel-ipts" to that conf file, run mkinitpio on your linux*.img and a reboot should load the ipts module at boot. After adding that module to my .conf file on a Pro 6, I can see the module being loaded and also see it running using the above troubleshooting commands.

More updates: There are now options in the setup script to populate the MODULES list in the mkinitcpio automatically, which should fix any issues there. The setup script also provides options to install a patched libwacom package as well as install touchscreen, WiFi, and GPU firmware.
If you run the setup script with these options enabled and then install the latest 5.3.15 kernel and issues still persist, then feel free to reopen this issue or make a new one. Until then, I will leave this closed.


Bypass Every Methods

Hi,
I created a new flutter project to test freerasp capabilities and found out that jailbreak detection could be bypass using hopper and NOP region.
I'm also aware that anti tampering protection and other methods are still valid (didn't test to bypass them yet) so even if someone bypass jb detection the framework should still be able to inform the app about that.
So I'm just opening this one to let you know what you probably already know.
Feel free to close this if you think that jb detection bypass is not a big deal and thanks for your amazing framework.

Hello @marcotrumpet ,
thank you for reporting the issue. The jailbreak detection bypass using Hopper and NOP region is quite advanced and should not be a problem in our businessRASP (https://github.com/orgs/talsec/discussions/5). However, we might look if we can help to prevent it in the freeRASP version as well.
Have you tried to bypass the other methods?
Kind regards,
Matúš, Talsec developer

Hello @marcotrumpet ,
thank you for reporting the issue. The jailbreak detection bypass using Hopper and NOP region is quite advanced and will not be a problem in our businessRASP (https://github.com/orgs/talsec/discussions/5). However, we might look if we can help to prevent it in the freeRASP version as well.
Kind regards,
Matúš, Talsec developer

Thanks a lot for the clarification!

Hi,
reopening this for different reasons. The previous issue was regarding using NOP in you native talsecruntime framework (so it's a technique valid for nativa iOS and all other platform you support).
Now I want to point out that I'm able to bypass all your methods in the flutter package simply swapping hexadecimal. I used hopper but it should be possible also to do that with vim and no payed license in hopper.

Plan to be solved in the next release of freeRASP

Awesome! Thank you guys

Hi, I'm just wondering if this will be in the new version of the plugin.

Hello @reyesmfabian ,
it is not yet in the new version of the plugin.
The new version will be mainly about better developer experience, solving the debug vs release integration issues, removing HMS dependencies and enhancing root detection capabilities.


Legate Support

Support of Legate stores and cuNumeric arrays.
Install
Make sure cuNumeric is installed and then build like:
cd legate
pip install .

Usage
The API is very similar to regular KvikIO:
import cunumeric as num
from legate_kvikio import CuFile
from legate.core import get_legate_runtime

a = num.arange(100)
with CuFile("/tmp/my-file", "w") as f:
    f.write(a)

    # In order to make sure the file has been written before the following
    # read execute, we insert a fence between the write and read.
    # Notice, this call isn't blocking.
    get_legate_runtime().issue_execution_fence(block=False)

    b = num.empty_like(a)
    f.read(b)

# In order to make sure the file has been written before re-opening
# it for reading, we block the execution.
get_legate_runtime().issue_execution_fence(block=True)

c = num.empty_like(a)
with kvikio.CuFile("/tmp/my-file", "r") as f:
    f.read(c)
print("sum: ", c.sum())

Run using Legate launcher (using 10GB device and host memory) like:
legate --sysmem 10000 --fbmem 10000 --cpus 2 --gpus 2 my_io_script.py

/merge


[CUR-643] Update follow-redirects dependency

Description

Updated follow-redirects as per https://github.com/oaknational/Oak-Web-Application/security/dependabot/92

See https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.6 for dependency changes
Issue(s)
CUR-643
How to test
Minor changes to redirects shouldn't effect our users. To test generally check app works as expected

:tada: This PR is included in version 1.452.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Usage of the field "shortlink" ?

Hi,
Trying to get to the "shortlink" field working, and it seems not to be used anywhere in the source code. For example :
/pages/my-shortlink-url
or
/my-shortlink-url
return a 404 (no route found).
How can we use it ?
Thanks

I have the same issue.
Any help would be appreciated @bobdenotter

This feature wasn't implemented I think. One of those things i figured would be handy to have, but I never got around to implementing it yet.
If somebody would like to help out on implementing it, that'd be great. :-)

Currently looking into how https://github.com/AnimalDesign/bolt-shorturl does it . .

I definitely need this feature, happy to work on it! Any guidance / expected behaviours would be of great help 🙂

https://github.com/SahAssar/boltredirector is also an option. It uses YAML for the redirects, but the nice thing is that get a list of all overrides in one view, and you can have multiple shortlinks to a single record. It doesn't care whether it should even link to a record (e.g. you could redirect to a contentlisting).
Downside is that you don't have a dedicated UI for these rules, except for a YAML editor.

I think this field should be removed then..


sns, create new disclosure page, You can upload text, photos, and videos inside the page

.

x Build failed in 2.43s
error during build:
Error: [vite:load-fallback] Could not load /home/runner/work/autogen-vue-code/autogen-vue-code/vue-preview-ui/src/components/ui/disclosure (imported by src/Preview.vue): ENOENT: no such file or directory, open '/home/runner/work/autogen-vue-code/autogen-vue-code/vue-preview-ui/src/components/ui/disclosure'

x Build failed in 1.11s
error during build:
Error: [vite:load-fallback] Could not load /home/runner/work/autogen-vue-code/autogen-vue-code/vue-preview-ui/src/components/ui (imported by src/Preview.vue): EISDIR: illegal operation on a directory, read

Preview UI

Preview UI
Sure, I'll create a new disclosure page for your social networking service (SNS) where users can upload text, photos, and videos. I'll use the available components to create a rich and interactive UI.
Here's the complete Vue component:
This component provides a tabbed interface for uploading text, photos, and videos. It uses the Tabs, Input, Textarea, Button, Card, Label, and AspectRatio components to create a rich and interactive UI. The UploadCloud icon from lucide-vue-next is used to enhance the submit button.


won't compile: use of unstable library feature 'option_entry'

I just clone this repo and try to build it with rust 1.21.0, nightly. Here's the compiler complaints.
   Compiling pikkr v0.10.1
error: use of unstable library feature 'option_entry' (see issue #39288)
   --> /home/congee/.cargo/registry/src/github.com-1ecc6299db9ec823/pikkr-0.10.1/src/pikkr.rs:180:47
    |
180 |             let mut children = query.children.get_or_insert(FnvHashMap::default());
    |                                               ^^^^^^^^^^^^^
    |
    = help: add #![feature(option_entry)] to the crate attributes to enable

error: aborting due to previous error

error: Could not compile `pikkr`.

To learn more, run the command again with --verbose.

Is there a workaround to enable this feature?

That method was stabilized in Rust 1.20, see https://blog.rust-lang.org/2017/08/31/Rust-1.20.html#library-stabilizations. You need a newer nightly compiler.

Thank you. Rust 1.22 nightly is happy with pikkr. 😄


OPENWHISK MAKE QUICK START FALLS

Hello, please help me with the installation of Openwhisk:
I have the below problem:
I installed docker as it is referred in the instructions, after that i installed docker compose and java 8.
After that i made:
git clone https://github.com/apache/incubator-openwhisk-devtools.git
cd incubator-openwhisk-devtools/docker-compose
make quick-start
BUT ! THE INSTALLATION OF MAKE QUICK-START FALLS AND THE PROBLEM IS THE BELOW:
Installing apimgmt package
error: Package update failed: Put https://<IP_ADDRESS>/api/v1/namespaces/whisk.system/packages/apimgmt?overwrite=true: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused
Makefile:352: recipe for target 'init-api-management' failed
make: *** [init-api-management] Error 3
PLEASE HELP!!

I had this issue caused by my docker DNS configuration. I fixed it by removing my custom docker daemon config file at /etc/docker/daemon.json and restarted my docker daemon.

@pepiparaskev30 I encountered the same problem, did you resovle it?

Try this:
docker pull openwhisk/action-nodejs-v10:nightly
And then again:
Make quick start

On 8 Jan 2020, at 2:29 AM, lyuxiaosu<EMAIL_ADDRESS>wrote:
@pepiparaskev30 https://github.com/pepiparaskev30 I encountered the same problem, did you resovle it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apache/openwhisk-devtools/issues/274?email_source=notifications&email_token=ALZANHAM66W32WHPHQHQITTQ4UM55A5CNFSM4IEHIOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIKYO6Y#issuecomment-571836283, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZANHB2GNAW3BQGZJQKHSTQ4UM55ANCNFSM4IEHIOCQ.


lithops create command does not exist.

Hello,
I've tried running the "lithops runtime create sc-runtime --memory 512 --timeout 300"  command as instructed in the wiki, however it appears that that command does not exist. I suspect that I maybe running that command in the wrong place.
user@Administrators-MacBook-Pro-7 ~/arsenal/ShadowClone                                                                                [16:48:40]
(recon-venv) > $ lithops runtime create sc-runtime --memory 512 --timeout 300                                                                                [±main ●●]
Usage: lithops runtime [OPTIONS] COMMAND [ARGS]...
Try 'lithops runtime --help' for help.
Error: No such command 'create'.

Looks like it got updated to build ?
user@Administrators-MacBook-Pro-7 ~/arsenal/ShadowClone                                                                                [16:54:58]
(recon-venv) > $ lithops runtime create sc-runtime --memory 512 --timeout 300                                                                                [±main ●●]
user@Administrators-MacBook-Pro-7 ~/arsenal/ShadowClone                                                                                [16:55:13]
(recon-venv) > $ lithops runtime --help                                                                                [±main ●●]
Usage: lithops runtime [OPTIONS] COMMAND [ARGS]...
Options:
--help  Show this message and exit.
Commands:
build   build a serverless runtime.
delete  delete a serverless runtime
deploy  deploy a serverless runtime
list    list all deployed serverless runtime.
update  Update a serverless runtime