Cut video without final frame

Did a bit of experimenting this evening and got it figured out. You need to put the start and end arguments after the input argument. Also specify a frame before the end frame.
I have also swapped from using duration, to specifying the end timecode.
And using timecode for start, rather than number of seconds.

Just wanted to leave a note, this build seems to be running much slower than the other method and current build of scenedetect.
Might be worth testing further before merging...

Ah, yes, I hadn't wholly considered that, but it will be the case. FFmpeg docs about -ss say:

-ss position (input/output)
When used as an input option (before -i), seeks in this input file to position. Note that in most formats it is not possible to seek exactly, so ffmpeg will seek to the closest seek point before position. When transcoding and -accurate_seek is enabled (the default), this extra segment between the seek point and position will be decoded and discarded. When doing stream copy or when -noaccurate_seek is used, it will be preserved.
When used as an output option (before an output url), decodes but discards input until the timestamps reach position.

So basically, it's going to be reading and transcoding the entire file, rather than seeking through the raw file and reading from a point near the start. On my inputs this didn't make much difference, but on a large file, it will.
It might depend on your ffmpeg version, also. According to the ffmpeg Seeking article, before version 2.1, using combined seeking might be faster (-ss before and after the input).
I might need to try some benchmarks

If this truly is the only possible option for frame accurate cuts, I might have to add an override option for it.   Outside of that, I don't see a way of accomplishing this outside of using the ffmpeg API directly (which may be where this is heading...).

Will also look into adding specific unit tests to cover these cases.  Not sure how to handle setting up ffmpeg in a test environment yet, but this is something I would like to look into to prevent regressions.

Oh whoops, I only read this via email, so didn't see the edit to your first comment there!
I've not had time to try some performance tests, and my home server has been struggling, so not very good for doing comparisons.
As far as I can tell, this is the only way to do it, as ffmpeg is doing approximate seeking if you specify the start time before the input file. A bit of a waste to specify start time to the frame, only to then specify approximately. It is a little slower, but it does at least work.
As for trying it on travis, there's a few threads on it, this looks simple enough: https://discourse.julialang.org/t/how-to-add-ffmpeg-to-travis/9366/3
But I'm not sure how you will test that it has cut correctly, automatically? But adding some integration tests to ensure the library interacts with ffmpeg correctly, would be handy (though, then there might be questions about supporting multiple ffmpeg versions?)

Awesome, thanks for the resources!
And yes, would pretty much be an integration test that compares the frame PySceneDetect got for the first/last frame, and compare with some metric to the frame that ffmpeg actually cut at (first/last of the split video).  Then could use something like SSIM or MSE to compare the two frames, ensuring that the cuts PySceneDetect detected line up exactly with those ffmpeg produced.  This is made easier with some of the manually created test cases I have, or could create a bank of test cases for this purpose.
This won't prevent all off-by-one errors, but will prevent "frame bleed" of adjacent scenes into other cuts.
It just sucks that it seems like the documentation for ffmpeg implies it produces exact seeking, but in practice it's approximate, so your concerns about version are also valid.  I'll also try to estimate the performance overhead of this approach to see if it's a valid concern or not.

Ahh, true, that would work reasonably well as a test, my fear was that the first reported frame of the cut video would be the one you wanted, but of course not. I've had a long day :P
In my earlier comment, I quote the docs, which do say that if -ss is used before -i it uses inexact seeking.. though hmm... Yeah, it does say that it's only inexact if it is doing stream copy rather than transcoding, and that doing transcoding it'll seek exactly. Might be worth testing it while specifying an output encoding to ensure that it actually transcodes it, and isn't copying the stream, but the docs say it defaults to re-encoding. I'll give that a go now, and see if it works

It's -c:a copy, in the arg override in video splitter. Swap it for -c:a aac and it doesn't mess up.
 No idea why I didn't see that option last time.
Here's the full batch, Each entry in here is the command, then the timings, then the result
https://gist.github.com/joshcoales/eda4c931e09a9dda194ad52cf83fa9bd
Basically:
Broken:
ffmpeg -ss 42.543 -i input.mp4 ... -c:a copy -t 24.992 -sn output.mp4
Fixed, but slow:
ffmpeg -i input.mp4 -ss 42.543 ... -c:a copy -t 24.992 -sn output.mp4
Fixed, still fast:
ffmpeg -ss 42.543 -i input.mp4 ... -c:a aac -t 24.992 -sn output.mp4
Damn! Wish I had found this earlier, frustrating how that works..
I'll push another commit!

~Very confused now. Going from slow seek to fast seek, my ffmpeg cuts went from 1m52s to 0m37s, but the full scene splitting went from 13m46s to 20m37s (it is 10m57s on release version!)~
Oh gosh, heck. I also have to swap back from -to to using -t! This has made it even slower now.
I feel real bad about not getting that solution earlier, and being so confident that the slowdown was required. Sorry about that.
Also it's nearly 2am now, whoops.
I'll swap back to -t and give it another go

Yup, that cuts correctly, and speed looks good again:
real    6m20.370s
user    11m10.933s
sys 0m8.718s
Sorry again that I got this wrong at first, made it much slower, was convinced there was no other way. Thanks for convincing me to re-read the docs with a critical eye.
Could probably remove the previous_frame() method I added, but it seems semi-handy, and I really should head to sleep!

No need to apologize - thank you so much for your time!  Strange how copying the audio codec is what messes it up, but now that I think about it, I can kind of see why that might make a difference.  Kind of sucks that it seems like the best way to accomplish what PySceneDetect here needs would be to use the C API directly, but I'll leave that as a project for another day.  I think what you have here is more than sufficient to get PySceneDetect rolling!
I'll get this merged up next week after some more investigation and addition of unit/integration tests on my end.  Thank you so much for finding out what was causing the issue here, honestly I never would have thought it had anything to do with the audio codec copy.

Yeah, it was a bit of a "Oh, I can see how that makes sense I guess" moment.
I'm not sure how much more you would gain by using the C api, I guess it could let you seek through the video once, transcoding to different files as you go?
I know in my own testing, I've tried doing multiple cuts in one ffmpeg command, but generally it seems to lock up my server something fierce. I've lost all access to it for days at a time before because it has been trying to cut some video into multiple scenes at once, so I've no idea what it's doing under the hood.
ffmpeg does seem to be a tricky beast, hence the audio copy issue, the slow vs fast seek, etc.. A powerful tool, but a tricky one

Merged - thank you so so so so so so so so much for figuring this out!!!!!   I'm glad I could contribute! Thanks again tonnes for this library, certainly helps a lot with my projects! Would love to visit Toronto sometime, my partner's been before and loved it, though that might need to wait quite a while before it's feasible :P


MainCamera in MixedRealityPlayScene does not accept made changes when being reloaded

Describe the bug
MainCamera in MixedRealityPlayScene does not accept made changes when being reloaded. When changing the Clear Flags from the standard SkyBox to Solid Color for example, I save the scene with the new set-up. When opening the project again after it has been closed the changes has gone back to the standard.
Also noticed now that this also occurs when playing the scene. It is the Sky box that shows not the Solid Color black which is what the HoloLens is compatible with.
To reproduce
Steps to reproduce the behavior:

Create new project

Add MRTK v2 RC1 to your project

Do the exampled change above to your mainCamera in the MixedRealityPlayScene

Save changes

Close project

Open it again to see if the changes still remain

Alternatively...

Play scene
See if the changes is intact

Expected behavior
Changes made to an object in MixedRealityPlayScene should be saved.
Your Setup (please complete the following information)

Unity Version 2019.1.0f2
MRTK Version v2 RC1

Target Platform (please complete the following information)

HoloLens

Additional context
Maybe this is how the MixedRealityPlaySpace should work, with these exact settings. But as mentioned above - is it not vital for HoloLens development to have the Clear Flags Solid Color set to black?

Got my answer here https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/4064


Memory leak while dumping flow statistics

Function channel_send_packet_list in src/agent/channel.c has a memory leak.
The following change fixes the issue:
     while ((pbuf = TAILQ_FIRST(&pbuf_list->tailq)) != NULL) {
       TAILQ_REMOVE(&pbuf_list->tailq, pbuf, entry);
       channel_send_packet_nolock(channel, pbuf);
+      pbuf_free(pbuf);
     }
     channel_unlock(channel);
     res = LAGOPUS_RESULT_OK;

Hi @eugene-che,
We have fixed the issue that you have reported with the Lagopus 0.2.8.
Could you try Lagopus new version on your environment?
Thanks!


Use browser-fs for js-ipfs version

Options:
https://www.npmjs.com/package/fs-web
https://github.com/jvilk/BrowserFS
Or we could use what @dignifiedquire suggested:
< dignifiedquire> you could do the same thing we do in js-ipfs-repo
< dignifiedquire> haad: https://github.com/ipfs/js-ipfs-repo/tree/rxjs/src fs-store and idb-store have the exact same api
< dignifiedquire> also https://github.com/maxogden/abstract-blob-store


remove error in js, README typo

Hi there, thank you so much for open sourcing this library! Its been a great help in getting teleop, video, and audio transmission going for our robot :)
I noticed a couple typos as I was integrating the code, so figured I'd PR them back to your repo.
Also noticed that this file:
https://github.com/mayfieldrobotics/ros-webrtc/blob/develop/scripts/ros_webrtc_rosbridge
is not called in https://github.com/mayfieldrobotics/ros-webrtc/blob/develop/ros_webrtc.launch and that the comment at the top of the first file seems a bit out of date. Wasn't sure if I should remove it, but figured you'd like to know.
Cheers,
Peregrine

Current coverage is 54.85% (diff: 100%)

Merging #68 into develop will increase coverage by 0.93%

@@            develop        #68   diff @@
==========================================
  Files            23         23
  Lines          1927       1927
  Methods         243        243
  Messages          0          0
  Branches        233        233
==========================================
+ Hits           1039       1057    +18
+ Misses          742        724    -18
  Partials        146        146

Powered by Codecov. Last update ecbe842...7d16b0a

@pbadger thx for the pr and great to hear its been helpful. re ros_webrtc_bridge, that node is actually launched by the python peer connection here:
https://github.com/mayfieldrobotics/ros-webrtc/blob/develop/src/py/ros_webrtc/peer_connection.py#L32-L40
this "bridge" is used when need to send ros commands to your robot from roslibjs, see for an example:
https://github.com/mayfieldrobotics/ros-webrtc/blob/develop/test/fixtures/site/src/demo.js#L294-L303


Task: Call SQL in Javascript

Resolves https://github.com/jduong09/gitcoding/issues/14
Changes/Additions

Updated db.js to have an execute function that allows you to call a SQL file and pass parameters into it using JS
Setup an api directory to house our routes/actions
Setup a SQL directory to house our SQL files
Wrote an example in the client-side App.js of the react app communicating with our server to get and add users

Testing

Pull down the branch
Run npm i
Start your dev environment with npm run dev

Looks great!


TINKERPOP-962: Provide "vertex query" selectivity when importing data in OLAP.

TINKERPOP-962: Provide "vertex query" selectivity when importing data in OLAP.
https://issues.apache.org/jira/browse/TINKERPOP-962
(For TinkerPop 3.2.0 -- Breaking Change for GraphComputer Implementations)
This feature enables us to push down a GraphFilter predicate to the underlying OLAP graph system. For instance, if g.V().count() is executed by SparkGraphComputer, then there is no reason to load all the edges, simply push down a GraphFilter-predicate that filters out edges. For graph database providers like Titan, they can simply only send up the subset of the graph that is required for the OLAP job instead of filtering on the OLAP cluster machines. In the future, we will provide GraphFilterTraversalStrategy which will analyze the traversal and automatically generate a GraphFilter so the user is blind to which subsets of the full graph are actually being accessed by the OLAP engine.
This pull request yields a breaking change for graph system providers that have their own GraphComputer implementation. There are two new methods on GraphComputer and one new method on GraphReader.
GraphComputer vertices(Traversal<Vertex,Vertex> vertexFilter)
GraphComputer edges(Traversal<Vertex,Edge> edgeFilter)
GraphReader.readVertex(InputStream inputStream, GraphFilter graphFilter)

TinkerPop provides a GraphFilter object that does a lot of the heavy lifting so at minimum, the graph system provider simply needs to GraphFilter.isLegal() the vertices and edges it loads. Note that if the graph system provider relies on GiraphGraphComputer or SparkGraphComputer, then there is no change on their part unless they want to leverage the GraphFilter locally before sending their data to Giraph or Spark (an optimization that can be done at a later date without impacting users).
There was a host of changes that took place for this feature to be created. When merged, the CHANGELOG.txt will have the following new items:
* Added `GraphFilter` to support filtering out vertices and edges that won't be touched by an OLAP job.
* Added `GraphComputer.vertices()` and `GraphComputer.edges()` for `GraphFilter` construction (*breaking*).
* `SparkGraphComputer`, `GiraphGraphComputer`, and `TinkerGraphComputer` all support `GraphFilter`.
* Added `GraphComputerTest.shouldSupportGraphFilter()` which verifies all filtered graphs have the same topology.
* Added `GraphFilterAware` interface to `hadoop-gremlin/` which tells the OLAP engine that the `InputFormat` handles filtering.
* `GryoInputFormat` and `ScriptInputFormat` implement `GraphFilterAware`.
* Added `GraphFilterInputFormat` which handles graph filtering for `InputFormats` that are not `GraphFilterAware`.
* Fixed a bug in `TraversalUtil.isLocalStarGraph()` which allowed certain illegal traversals to pass.
* Added `TraversalUtil.isLocalVertex()` to verify that the traversal does not touch incident edges.
* `GraphReader` IO interface now has `Optional<Vertex> readGraph(InputStream, GraphFilter)`. Default `UnsupportOperationException`.
* `GryoReader` does not materialize edges that will be filtered out and this greatly reduces GC and load times.
* Created custom `Serializers` for `SparkGraphComputer` message-passing classes which reduce graph sizes significantly.

Ran mvn clean install and integration tests. Passed.
VOTE +1.

The different between no GraphFilter and GraphFilter.
Application ID	Name	Cores	Memory per Node	Submitted Time	User	State	Duration
app-20160205091408-0001	Apache TinkerPop's Spark-Gremlin	80	10.0 GB	2016/02/05 09:14:08	tinkerpop	FINISHED	13 min
app-20160205090220-0000	Apache TinkerPop's Spark-Gremlin	80	10.0 GB	2016/02/05 09:02:20	tinkerpop	FINISHED	6.8 min

mvn clean install: passed
integration test (incl. Neo4j): passed

VOTE: +1

Tests and code look good.
VOTE: +1


Draft: Feature/51 support sampler and estimator

Sampler + Estimator Execution works

Already merged with #13


Update README.md

Updated readme to give an example of using a non-default I2C address

Coverage remained the same at 100.0% when pulling be75cb933371e661578309775f25775db72d573b on richiepreece:master into 71d687d3c528a8760dc667ce82b463ade50ee25c on jcane86:master.

Coverage remained the same at 100.0% when pulling be75cb933371e661578309775f25775db72d573b on richiepreece:master into 71d687d3c528a8760dc667ce82b463ade50ee25c on jcane86:master.

Cool, thanks for that mate, I'm merging it in now.


Get json response according to uri parameter value

Hi everyone,
How can I achieve to get json response according to uri parameter value? If p is equal to Y, I want to get first json body. But there is no p field in json body. If p is equal to X,  I want to get second json body. I am using drakov as mock server. When I start drakov mock server, Both localhost:3000/api.php?p=Y and localhost:3000/api.php?p=X returns first json body.
drakov url : https://www.npmjs.com/package/drakov
GET /api.php?p=Y

Response 200 (application/json)
  {
      json body
  }

GET /api.php?p=X

Response 200 (application/json)
  {
       json body
  }

Hey @suleymanccelik at the moment there is no dedicated syntax to do this. The only way is to use response / request description with any Markdown formatted text of your liking. However this won't work for machine processing such as Drakov. However we plan to implement this syntax soon - see https://github.com/apiaryio/api-blueprint/issues/132

Thanks for reply @zdne. I follow your updates for related issues.

Closing as duplicate to #132


Looks like this was replaced by:
https://github.com/MystenLabs/sui/pull/3797
Closing.


icu build failure

Host Environment

OS: Windows 10
Compiler:

To Reproduce
Steps to reproduce the behavior:
./vcpkg install icu:x64-windows
Failure logs
log.txt
Additional context
None

@dargonforce, could you try following steps:

Download http://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20181211.tar.xz manually
Put it to .\VCPKG\downloads\msys2-base-x86_64-20181211.tar.xz
Try to build again.

the build is working normally now, must have been a short outage from repo.msys2.org, thanks


Should invalidText attribute of the form element make a pristine untouched element invalid ?

Describe the bug
I suppose invalidText value should be shown when the form element is touched and when the value is still empty. But currently if the required attribute is true and invalidText is provided then on load the form element becomes invalid. Let me know if it is done intentionally.
Screenshots
If applicable, add screenshots to help explain your problem.
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.

Our form elements provide some default built-in validations to try and match native functionality. Ex: required, pattern, min, max.  The invalidText property is intended for custom validations, and it will be visible when a non-empty string is given.


Update controllermate to 4.10.3

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating only the sha256:

[ ] I verified this change is legitimate How do I do that? and am providing confirmation below:

>>> brew cask uninstall --verbose Casks/controllermate.rb
==> Uninstalling Cask controllermate
==> Running uninstall process for controllermate; your password may be necessary
==> Uninstalling packages:
com.orderedbytes.controllermate.com.orderedbytes.ControllerMateHelper.pkg
Error: Permission denied @ dir_initialize - /private/tmp/com.orderedbytes.controllermate.install

-bash-4.4.12- /Users/miccal [> pkguninstall /Users/miccal/Downloads/\#temp\#/ControllerMate.pkg
com.orderedbytes.controllermate.ControllerMate.pkg
com.orderedbytes.controllermate.ControllerMateHelper.pkg
com.orderedbytes.controllermate.ControllerMateKext.pkg
com.orderedbytes.controllermate.ControllerMate_keyboard.pkg
com.orderedbytes.controllermate.ControllerMate_none.pkg
com.orderedbytes.controllermate.ControllerMate_pointer.pkg
com.orderedbytes.controllermate.com.orderedbytes.ControllerMateHelper.pkg

This will still fail on travis uninstall because it needs to be rebooted.

Verified locally.


gdbserver on mac in qemu reports 'g' packet reply is too long

Expected behavior
Shouldn't see this message.  I haven't seen it on Linux, connecting to qemu or real hardware.  I build gdb 7.12 for x86_64-elf from source.
Actual behavior
See message 'Remote 'g' packet reply too long' after entering 'target remote localhost:1234' in gdb.
Steps to reproduce

Run gdbserver on harvey in qemu on mac
Connect gdb
target remote localhost:1234

This is frequently seen when the remote architecture is amd64 and gdb thinks you're a 386. Is this possible? Could you
set arch 386:x86-64
or some such.

The architecture was already set to the same.  Tried explicitly setting it to no effect.  Looking at the packet, it's the same size as the one sent by qemu on Linux (also gdb 7.12).  Makes me think the problem is with the gdb setup on the mac somehow.

Again, this was connecting to qemu's gdb, so not a bug.


Governing authorities Point 1

primary trust registry

Vitor P: I am unsure how the Swagger API separates primary vs secondary trust registries.
Antti K: I believe we decided that the service-endpoint returns only one result and the load-balancing between primary & secondaries is handled server-side. So, although the GA MAY define secondaries, they don't affect the API-layer.
Vitor P: Ok, so for the /query/trustregistry endpoint, should I return all registries mixed up? I am happy to do it, but it would be nice to have clarity from the spec
Antti K: I have to defer now to Drummond & Darrell on this.
I initially thought that primary & secondary refer to load balancing of a single trust registry which is why I gave the answer above.
Now, looking at the API description, I'm starting to think that it may refer to other peer registries, for example BC Gov province trust registry referring to Alberta province trust registry.
In both cases the API description needs to be clarified.
Darrell O: The DID for the EGF returns the definitive Trust Registry (i.e. the one that it maintains). Does this solve the conundrum (i.e. which one is primary)?

comments from v1 draft - closing


New game definitions created on Steam Deck not being recreated on PC installation

Hi David,
I created a definition for syncing god of war ps2 and some other emulated games on the Steam Deck.
When Syncing on pc these don't get created.

This is an area I am trying to improve in 0.18 - try opening the app on windows, waiting a few seconds, and then restarting the app on windows.
The issue if that while we do sync game definitions across the platforms, we don't refresh the UI when that operation is complete, which can lead to user confusion.
it is also possible there is a bug in the sync logic, but I'd like to start with that step first.

ps. I tried downloading the user_overrides.json from the cloud and replaced it in %appdata%\OpenCloudSave but that seems to be the default game list without updates.

ps. I tried downloading the user_overrides.json from the cloud and replaced it in %appdata%\OpenCloudSave but that seems to be the default game list without updates.

Hmmmm, so that means that your user_overrides didn't update to the cloud. I'll investigate this more. For now, you may need to recreate the definition across your devices - sorry about that!

Update: After a few syncs on the Deck and manual adding it to the PC one its now showing the new entries.
It seems that the sync on the pc takes way longer than on the deck though

Okay. It was still busy simulating so I killed it.
I think I broke it

yeah good catch - it may have been defaulting to a "root" path so it was syncing everything under the sun. That is a bad footgun, and I'll add some more protections around that.
Sorry you are having these issues! I'll work to try and correct some of these rough edges for next release.

Na man. No problem.
Its all good. Having this tool is already a win, and helping to make it better makes it even better.
Unfortunately I don't have the skills you are employing here or I would have loved to help more.
Btw. I had trouble installing it on pc. It just popped up a cmd window and closed without options.
Not sure how it finally got installed to be honest. I opened the installer with zip and ran the application from extracted and after that I found it installed under program files. So that might be something else to also look at in future.

For some guardrails on large syncs, we will now have this:

I've also put a cap on log files to prevent them from blowing up to a huge size.

So I figured out the root cause - even though I was syncing user_overrides.json, I was writing to it right before the cloud sync operation. So user_override would always have a newer timestamp compared to what was on the cloud, and it would not sync (and often get in weird states).

Stumbled upon the same problem when trying out OpenCloudSaves to sync Zelda BotW between Steam Deck and PC. I will attempt next to sync the user_overrides.json manually once i localized it on the steam deck.
Do you plan to build and distribute a new OpenCloudSaves version which includes #104 ?
Thank you for OpenCloudSaves!


[BUG] Do not install backports._datetime_fromisoformat on recent python distributions

I am seeing this behaviour on: (please complete the following information):

Windows 10 64 Bit
Python 3.12

Describe the bug
There seems to be dependency on backports._datetime_fromisoformat . As I gather from https://github.com/movermeyer/backports.datetime_fromisoformat , it is a backport of a datetime feature present from Python 3.11 to older versions. It unfortunately prevents me from using the SDK on my machine, as it requires a C++ compiler installed , and I can't install it due to to security reason. I am able to use the latest Python versions however, so this requirement seems obsolete and could be made more optional.
Steps to Reproduce
Install with pip in a windows device without a C++ compiler installed
Expected behavior
Make the dependency optional for newer Python installation
Screenshots

Additional context
I am in Enterprise setting where there is no workaround possible. I also think some SOAR environment may not be able to install the sdk due to this (especially those where the build environment is not clear, and the engineers can only point to specific pip packages)

I have opened #521 with a proposal to implement conditionality based on the python version

Thank for the proposal we will look into it

Created a new PR with some minor changes to run our CI/CD against the branch: https://github.com/carbonblack/carbon-black-cloud-sdk-python/pull/523

Merged and will be released in the next version soon

Fixed in 1.5.4


Latest version not pushed to CocoaPods

Can you make a new release on CocoaPods? Previous releases don't support parallax views on iPhone 6 and iPhone 6+.

Bump ^^^


Using only @angular/common/http but @angular/http still required.

Hello,
First of all, thank you for updating and supporting quickly to use this library for angular4.
I've fully replaced @angular/http with @angular/common/http(HttpClientModule),  removed @angular/http from my project.
But In-memory-web-api still requires @angular/http, I took a look inside of in-memory-web-api.d.ts and found import { XHRBackend } from '@angular/http';
Of course you allow users to user either HttpClientModule or Http but users do not want to keep Http in a project (in the future as well, it is already deprecated in angular5.beta.6 https://github.com/angular/angular/blob/master/CHANGELOG.md).
I reckon import { XHRBackend } from '@angular/http'; should only be applied when users use @angular/http only.

I thought about doing that. But it was a lot of work, changed the API for many people, and didn't offer real benefit.  Remember that the in-memory web api is only for development and you'd never put it into production (PLEASE!).  The simple, least intrusive thing, was to load both libraries.
You should be excluding the in-memory web api in your production builds and it won't show up.

@wardbell Thank you for the quick answer. Of course I do not include in-memory web into a production. I just wanted to make sure that http will be deprecated. Now I fully understand your explanation. Thank you for our update once again.

Well ... you won't be the only one to ask this question. Rather than keep answering it,
I've decided to offer the setup module in both HttpClient-only and Http-only forms.
I also speak to this in the README.
It's in PR #141 and will be out in v0.4.5.
Check it out and thanks for asking :-)


Individual Survey - David

Need to fill in this survey
https://docs.google.com/a/sheffield.ac.uk/forms/d/1aXlqxFk6uJbB0k7QICteI5CP3lVczZKyjmgeNibX0Oc/viewform

Do these first:

[ ] #24
[ ] #5

99% sure I pressed submit, but I've emailed and asked.


Q: How to create a hash in Go?

I'm trying to convert a Go struct to a hash, and pass it into zlisp.
func MakeHash(args []Sexp, typename string, env *Zlisp) (*SexpHash, error) { is the only function I found, but why does it depend on env? I gave it a nil, and it panics.
Is there a better way to create a hash in Go?
And even more specific to my use case, what's the best way to turn a Go struct into a hash and pass it to env? I just need it read-only. No need to create structs from zlisp.

but why does it depend on env? I gave it a nil, and it panics.

MakeHash creates the hash table in the zygo environment env. Since it can contain references to many different values within the environment, you are simply telling zygo in which lisp environment you want to own your hash--and how to lookup those symbols that it references. Just make a new env or pass in the one you are working with.

to turn a Go struct into a hash

I think you would have to do that manually. Create the hash, walk the struct, add each field in turn.
If instead, however, you wanted to register your Go struct and have zygo use reflection to allow it to be manipulated and read by zygo (no intermediate hash required), then that is supported. It uses the json field tags in particular to map the names of struct fields into zygo.
Here is an example of how to do this:
https://github.com/glycerine/zygomys/blob/master/zygo/demo_go_structs.go#L121
docs:
https://github.com/glycerine/zygomys/wiki/Go-API#registering-go-structs-creating-corresponding-records-and-automatically-configuring-a-tree-of-go-structures

I think you would have to do that manually. Create the hash, walk the struct, add each field in turn.

Then I'll do it manually.
My biggest problem is to create the hash. Is MakeHash the only/best way to create a hash?
I don't know what to pass for the parameters. I feel it's quite counter-intuitive. What is a typename for a hash? Why should it depend on an env? If this is just to satisfy the signature as one of those builtin functions to be injected into the environment, I guess that make sense. But I find it confusing that these parameters are actually required.
Also, in my understanding, a hash is just data, so it really shouldn't contain a reference to the environment. What if I need to create the hash before I have an env? What if I need to dynamically set the env?
Anyway, I guess it's one of the design decisions made for a trade off. I just haven't looked deep enough to fully understand the reason behind it. :)

https://en.wikipedia.org/wiki/XY_problem
If you describe your high level objective, we might better assist.  Your questions don't really make any sense.  One always creates a zygo hash inside a zygo env, for the reasons already explained. Making an env is trivial; env := zygo.NewZlisp()
What are you really trying to do, at a high level?

Sure. What I'm really trying to do, as I mentioned in the beginning, is to convert a Go struct to a hashmap, and pass it into zlisp.

Don't be mad man. Sorry for the confusion. Is this not high level enough? Let me try to rephrase it. My goal is to pass a Go struct to a zlisp, and this struct could be something like
type Person struct {
    Name string
    Age int
}

Hope you could still help.


In android > 6 not work?

Hello,
It is possible that from version 6 of android the package does not work?
I have tried the same implementation in the version of android 6 and it works. But in versions 7 and 8 of Android does not work.
Do you know if it can be a bug and you know how to fix it?
Thank you very much. A greeting.

Could you elaborate a bit on what you mean exactly by "does not work"? The demo page works fine for me on a phone with Android 6.

Hello,
Thank you very much for answering.
When I try to make a signature on an android version 7, the trace that should appear while I am signing does not appear.
However, if I capture the signature, the signature has been generated correctly.

Does it happen on the demo page as well?
You can connect your phone to your computer and use Chrome remote debugging to see if you get any errors in dev tools console.


⚠ Bofrost.de has degraded performance

In 92efc9a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1875 ms

Resolved: Bofrost.de performance has improved in f550ab3 after 1 hour, 1 minute.


Fix navigation for alpha/beta docs.

Having a heading in the remarks section breaks the docfx navigation,
so I've just made it a line on its own, in bold.
Note that the trailing whitespace is deliberate and required in order to
generate a line break.

LGTM


CPLP-497: route adjustments for useradministation endpoint (also invitation) to match ingress & removed Sonar from portal pipeline

https://jira.catena-x.net/browse/CPLP-497: changed routes of useradministration endpoints (also invitation) to match ingress
https://jira.catena-x.net/browse/CPLP-158: also removed sonar from portal workflow file as sonar secret is missing in fork and blocks pipeline

@evegufy I am testing it currently. I will let you know the outcome asap :)

I tested out and looks all good


É possível usa-lo com o Cordova (Ionic)?

Not yet, unifying this with #30 to track support for hybrid libraries.


CellularJS Worker API

Given:

A is a main thread.
B and C are children

Case 1:
A -> B => A -> B
Case 2:
B -> C => B -> [A] -> C
Case 3:
B -> C -> B => B -> [A] -> C -> [A] -> B => deadlock
Solution???: B -> C -> B' => B -> [A] -> C -> [A] -> B'

Moved to https://github.com/cellularjs/cellularjs.com/issues/1


#pragma warning - what is the COMPLETE list of possible values for the third term?

This page claims that there is only a binary choice of options

#pragma warning disable NNNNN
#pragma warning restore NNNNN

and there is no any other option for the third term neither given nor referenced outward.
So, the wording is that the choice is binary and no other options are allowed.
However https://docs.microsoft.com/en-us/dotnet/csharp/nullable-references
In that article we also see two more options: "safeonly" and "enable".
That looks like a confusion if not contradiction.

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

ID: f68010f2-39f6-6de9-43f8-342dc5bdfa36
Version Independent ID: 002be4de-f321-1760-d4ec-2b729f149562
Content: #pragma warning - C# Reference
Content Source: docs/csharp/language-reference/preprocessor-directives/preprocessor-pragma-warning.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Hello.
According to #13227 it looks like the safeonly stuff is no longer supported.
Are you asking what is available to put in the NNNNN part of your quote?

Support for #pragma warning enable was removed in https://github.com/dotnet/roslyn/pull/37192.

This is an area that hasn't been updated as well as we could. I've added to a project we're using to track requests and come up with a plan.

yes, i think there should be an authoritative reference containing up to dat list of all possible NNNNN values/tokens/identifiers

The latest updates to the #nullable pragma have updated this so the #pragma warning only accepts disable and restore.
Closing as the product and the docs now match.


Noisy output when no human present

Hi, Thank you for open sourcing such a great work.
I tried the model, it works well in detecting person in almost every case, But there's always some noise in real input images. I tried it on an image with no person, but still the model masks a significant segment.
Is it possible to increase confidence score, or some post or preporcessing method to improve the results.
Thank you

Hi, thanks for your attention.
Q1: there's always some noise in real input images
Which pre-trained models or demos have you tried? Can you show me some examples of failures?
For our image matting model, we trained it for photographic images. The pre-trained model may fail in some daily photes since we have not adapt it to the domain of daily photos.
For our video matting model, if you follow the demo guideline, I think you can get pretty good results through WebCam.
Q2: Is it possible to increase confidence score, or some post or preporcessing method to improve the results.
Yes, of course. You can set a confidence score to detect t the presence of persons in the image. I am sorry that our method can not handle images without persons, because we do not consider such a case (this is an engineering problem).

请问video matting model能用来做图像matting吗？怎么用呢？

@juzuo
你好，请将image matting demo中的：
!gdown --id 1mcr7ALciuAsHCpLnrtG_eop5-EYhbCmz \

替换为：
 !gdown --id 1Nf1ZxeJZJL8Qx9KadcYYyEmmlKhTADxX \

并重新运行代码。

好的，谢谢作者。


Mandatory/optional parameters

I'm often writing scripts that require some parameters to be provided when calling the script, while others are (and that seems to be the reasonable standard when using getoptions) completely (or conditionally – but that's to complicated here) optional. Even when using this super tool here, I am forced to check for the existence of my mandatory parameters after the parsing.
Could it be possible, to include this kind of simple mandatory check into this tool? (Maybe with a new annotation required, or a new type paramReq or so?)
If it could be automatically reflected by the generated options list would be a perfect bonus.
To demonstrate what I mean:
script.sh -a <valueA> [ -b <valueB> ]

This definition would not only require the existence of a value for <valueA> when calling with -a, but the existence of the parameter -a itself.
So the following calls would be correct:
script.sh -a ABCD
script.sh -a ABCD -b 1234

The following would be rejected by getoptions now (assuming that -a and -b configured as params):
script.sh -a

But this would be accepted (by now) also, despite the fact that I want to require the user to provide the -a flag:
script.sh
script.sh -c 1234

As a bonus this kind of "mandatory parameters" could be (optionally) visually be hinted by a small asterisk or some other little character, like so:
My script does the following …

OPTION DESCRIPTION
-a  * -- 'My mandatory param a'
-b    -- 'My normal/optional param b'
-c    -- 'and so on …'

Another, maybe less intrusive possibility would be to add another (setup-like) keyword like mand to simply check the listed variables to be not-null after the parsing. (In this case, the automatic visual hinting wouldn't be possible anymore, but that's no problem).
As an example (mind the last two configuration lines):
parser_definition() {
    setup   REST error:parse_error help:usage -- \
        "Usage: my_Script.sh -n <name> -p <password> [ -f <firstname> ]" ''
    msg     label:'OPTION' -- 'DESCRIPTION'
    msg     -- ''

    param   LASTNAME      -n  -- 'last name (mandatory)'
    param   PASSWORD      -p  -- 'password (mandatory)'
    param   FIRSTNAME     -f  -- 'first name (optional)'

    mand LASTNAME
    mand PASSWORD
}


enchementimport enable_text_validate_utf8 session var (#45537)

Problem Summary:
When reading text format files in Hive catalog and TVF, sometimes you may encounter the exception Only support csv data in utf8 codec. I introduced a new session variable enable_text_validate_utf8 to control whether to check the utf8 format.
Release note
Introduced enable_text_validate_utf8 session variable to control whether to check the utf8 format.
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[x] Yes.

Does this need documentation?

[ ] No.
[x] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


Enable code coverage

When unit tests are run the code coverage should be checked as well. Would be nice if the results can be seen in a report or even as a badge in the README.md.
https://codecov.io/
https://stackoverflow.com/questions/59203704/how-create-a-badge-with-test-coverage-jacoco-on-github-actions

When building the coverage gets printed out already.


how to change lenguage?

How do you change the cheat language within lol?

You can't. Only the champion skins are based on your league of legends language.


implemented efficient readline for ByteBuffer

Motivation
The previous implementation searched for the terminator in the buffer twice. This was unnecessary.
The new implementaiton performs the search only once.

Fixes #371

Checklist
Before you create the PR, please make sure you have:

[x] Picked a concise, informative and complete title
[x] Clearly explained the motivation behind the PR
[x] Linked to any existing issues that your PR will be solving
[x] Included tests for any new functionality
[x] Checked that all unit tests pass

Please check out the benchmarks above. With 5 runs to read 1 million lines, the minimum time hasn't decreased all that much (from 38 to 36s), but the max time changed significantly (from 58 to 40s).


VCF Unification Project

Not ready for review. Updating functions for a proposed VCF format using DNA Ref and Alt fields. This may be renamed to a Variant struct if we decide to reserve the Vcf name to a struct with string Ref and Alt fields.

Yeah my biggest concern is to make sure you run go test ./... to make sure you are not breaking other dependencies

yes this is my current objective. Currently we pass tests within VCF but there are plenty of external functions that use the old VCF struct components.


ci: avoid null build names in master builds

test-focus K8sDemos

test-focus K8sDemos

test-me-please

Coverage increased (+0.03%) to 45.515% when pulling cd3a65b20e3138483e329a1849c80d430f56c32b on pr/fix-nulls into 09eebce1e0a224d7491ead602718c19fc77d3655 on master.

test-with-kernel

test-with-kernel

test-with-kernel


docs: include vercel edge in the adaptors overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
To in nclude vercel edge in the qwic city adaptors overview.
Use cases and why

One use case

Another use case

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

thanks


Check file before running tests, create and necessary variables

The script I am running currently assumes that all profiles will be BGC. This of course won't be the case, and even when it is, we will be required to create variables (FLUA, QCP, QCF). For this I propose a pre-test check that will add any necessary variables and return appropriate tests to do. Something like:
profs = read_vms_profiles('my_vms_file.dat')
preCheck = preTestCheck()
for p in profs:
    tests = preCheck.run(p)
    for t in tests:
        t.run(p)

This is part of #24 and passing tests so I will close this issue.


[project monitoring v2] create receiver in AlertmanagerConfig - no receivers shown - page blank

Setup

Rancher version: 2.6-head Commit ID eb03517
Browser type & version: chrome latest

Describe the bug
To Reproduce

monitoring > alerting > alertmanagerconfigs
create alertmanager
click existing alertmanagerconfig
click 'add reciever'

Result
blank page errors in console:
TypeError: Cannot read properties of undefined (reading 'length')     at f.r (receiverConfig.vue?bee0:4:546)     at f.t._render (vue.runtime.esm.js:3548:22)     at f.r (vue.runtime.esm.js:4066:21)     at _n.get (vue.runtime.esm.js:4479:25)     at new _n (vue.runtime.esm.js:4468:12)     at t (vue.runtime.esm.js:4073:3)     at f.$n.$mount (vue.runtime.esm.js:8415:10)     at init (vue.runtime.esm.js:3118:13)     at vue.runtime.esm.js:5978:9     at v (vue.runtime.esm.js:5925:9)
vue.runtime.esm.js:1888 TypeError: Cannot read properties of undefined (reading 'resourceFields')     at f.data (receiverConfig.vue:126:1)     at f.<anonymous> (vue.runtime.esm.js:1219:51)     at vue.runtime.esm.js:4748:17     at vue.runtime.esm.js:4705:7     at An (vue.runtime.esm.js:4642:5)     at f.t._init (vue.runtime.esm.js:5006:5)     at new f (vue.runtime.esm.js:5154:12)     at vue.runtime.esm.js:3283:10     at init (vue.runtime.esm.js:3114:45)     at vue.runtime.esm.js:5978:9
Expected Result
when clicking existing alertmanager, expect the config for that manager to load with ability to add receivers
Screenshots

after creating receiver, still not seeing receivers listed.

Doesn't happen all the time. Based on discussion, a spinner should help with time to load.

different error this morning, but same effect:
vue.runtime.esm.js:1888 TypeError: Cannot read properties of undefined (reading 'spec')     at f.namespaceMapper (helm.cattle.io.projecthelmchart.vue:49:34)     at Array.map (<anonymous>)     at f.namespaces (NameNsDescription.vue:198:1)     at _n.get (vue.runtime.esm.js:4479:25)     at _n.evaluate (vue.runtime.esm.js:4584:21)     at f.namespaces (vue.runtime.esm.js:4836:17)     at f.r (NameNsDescription.vue?6e74:3:820)     at f.t._render (vue.runtime.esm.js:3548:22)     at f.r (vue.runtime.esm.js:4066:21)     at _n.get (vue.runtime.esm.js:4479:25)

I can't reproduce this in v2.6-head.
@Sean-McQ I find it odd that the error is talking about a projecthelmchart resource, but to my knowledge there's no dependency on that resource on this page or in the AlertmanagerConfig resource model. Have you seen that error?

I don't think I see projectHelmChart in the error messages above but you're right, I don't think there is a dependency between them.

Pass
verified in 2.6-head Commit ID 132b182


Inconsistent schema file names

There seems to be some inconsistency around how the schema files are named. The base STAC objects have schema files that match the name of the object (e.g. catalog.json) while the extensions seem to all be named schema.json. This is causing an error when trying to validate with jsonschema because the ID's (e.g. in the EO extension schema) aren't matching name of the files.
Is there a reason that this is the case?
I have been using these modified schemas in the interim.

It seems to me that using jsonschema directly in the CircleCI against the examples might be the right way to go. stac-validator does more general validation against core objects AFAIK, and doing something more concrete for each case would probably be pretty straightforward.

Good question, PR #622 should help to fix the issue, right? @simonkassel
Nevertheless, we should think about distinct naming?! @jbants
In the long run we need to set up the CI so that schemas and examples are checked, see #445. @lossyrob

Should be solved for 0.8.1 with PR #622

I'll make an issue for updating CircleCI with jsonschema directly @lossyrob


Rename Open Streets to osm2vectortiles

We gave the source project its own name which is confusing for users in hindsight imho.
We can just call it osm2vectortiles.tm2source instead of Open Streets especially since Open Streets is quite a overloaded Google Search term with many existing stuff.
Idea is to rename:

The folder open-streets.tm2source to osm2vectortiles.tm2source
In the data.yml source style

rename title and description to osm2vectortiles with a link to the hompeage and github project
Also add descriptions for each layer (like Mapbox Streets does it)

+1


opensuse: Add Containerfiles

Closes https://github.com/toolbx-images/images/issues/12.

I'll test each version and see if they all work.

Looks like I'm having these errors on 5.1 and 5.2:
$ toolbox enter opensuse-toolbox-5.1
Error: invalid entry point PID of container opensuse-toolbox-5.1
$ podman start --attach opensuse-toolbox-5.1
Error: failed to get the current user: user: lookup userid 0: invalid argument

Should I get rid of them and just stick with Tumbleweed? It's the only one that works.

That's weird.
I'd say it's up to you: we can wait here and try to fix it or push the one that works now and then make another PR for the other ones.

Moved that PR to ready to let CI run on it. Wondering why this does not work. I'll have to look into that.

No worries!

Looks like it works?

Yes! I'll do a final review pass but I think we're good.

Do you know where the registry.opensuse.org/opensuse/toolbox is defined and why we can't add things there directly?

I found it here https://registry.opensuse.org/cgi-bin/cooverview but can not find the definition

This is not blocking this PR but would be nice to know.

Also there are many packages not in the "extra" list. We would have to check if they are already there or not needed.

Thanks!

Do you know where the registry.opensuse.org/opensuse/toolbox is defined and why we can't add things there directly?

Unfortunately I do not.

I've invited you to be a maintainer for this project.

I had forgotten to create the repo in quay.io. Everything is now in place: https://quay.io/repository/toolbx-images/opensuse-toolbox?tab=tags


Chat file anchors - "Add File to Chat" adds the same file multiple times

Testing #229436

Ask a question that would generate a response that contains a file name
Right click on the file name and pick "Add File to Chat"
Perform step No2 multiple times

Fixed by #229700,


Rust crate does not work with MSVC

The Rust crate blst does not compile when using MSVC as the compiler.

I'm not a C developer, but I did a little digging to figure out the root cause, and it appears that __STDC_VERSION__ was not defined. Following suggestions in the similar issue #103, I tried adding CFLAGS=/std:c11, but I got the same error.
I tried preprocessing a C file with these variables using C11 and it output the other condition that can cause the no_asm file to error, which is __STDC_NO_VLA__ being set to 1.
Apparently MSVC does not support Variable Length Arrays, which appears to be an optional extension. I did some research and it seems that they are generally not recommended for a variety of reasons, e.g. security, performance, and portability.
I'm using Windows 11 with Visual Studio 2022.

The Rust crate blst does not compile when using MSVC as the compiler.

This is a bit misleading, as the problem is not as general. It doesn't work specifically with 32-bit MSVC as the compiler.
If you have to build for 32-bit Windows (why?), add clang in the Visual Studio installer and execute cargo at x86 Tools Command Prompt. For reference, the prompt gives you 32-bit clang-cl on your %PATH%. This, 32-bit clang-cl on %PATH%, can be achieved by any other means.

I'm just trying to cargo run some code using BLS locally, not build an executable for 32 bit Windows. I'm on a 64 bit machine (Ryzen 5600X).
I'm using PowerShell inside of VSCode, which is a pretty typical development environment. Not sure why the shell I'm using plays any role in whether or not blst will compile?

Weird, I'm on a 64-bit version of the OS on 64-bit hardware, so I'm really not sure why it decided to default to i686. Setting the target did indeed work.
Thanks for the help.


[Question] Optimizing for bulk patch responses and update cycle on the front-end

Hey - What is the recommended way of handling bulk updates on the client-side?
Right now, when I issue a bulk patch request (say adding a new tag to a lot of items) - The request gets executed properly but the update responses from the server make things extremely slow on the client.
So typically, I would issue a request which tells the API to add a tag on items with X,Y,Z ids. The API executes the bulk patch and returns the updated objects of X, Y and Z.
After digging around a bit, I see that the updates get processed one by one as the updated objects are received from the API so, from the front-end perspective, there is not much difference in terms of how the bulk patch works vs issuing individual patch requests for all the items. Is there something that is wrong in my setup or is this the expected behavior?
What would be the right way to handle this without freezing the app when you're updating say 100 or more records?
Thanks!

I faced the same issue. I think the problem is that bulkOperations end up with the mutations addItem, updateItem, removeItem asynchronously which leads to many GUI updates. But I'm not quite sure. Am I right?
I think an approach that can help is to debounce or throttle incoming events. But I guess custom event handling could become a problem with this.
If I got some time I will investigate more into this.

Yes, exactly - Think this question on Vue Forums touches the topic as well https://forum.vuejs.org/t/over-reacting-to-multiple-vuex-mutations/9285
From what I understand- every incoming message from the server gets processed and triggers the whole update cycle across the app.
For example, In my feathers-mongoose setup - Let's say you have a list of 1000 items that you want to set as "archived" - Triggering this kind of patch request on feathers backend results in 1000 patch events with the individual results, which are then published through the channels to all the users who have access to those items. Then, on the client-side - 1000 patched events are received one by one and processed - This results in 1000 mutations and update cycles.
What I am not sure about is, whether it's something in my setup that is the underlying cause of the UI getting almost stuck while this happens or not. Will try to create a clean minimal setup and drill down into this further.

The quickest and dirtyest solution should be to skip the event on the server side: https://docs.feathersjs.com/api/hooks.html#context-status code
Add an before-patch hook wich sets 'context.events' to null if 'id' is null.
Maybe that's an option for you

We still need the changes to be reflected on the clients.
The solution IMO would be to handle multiple items in one event because currently, 1 event = 1 item.
But it would not that simple as it would need to change how channels and events works.

The new feathers-batch coming out later today (technically already released on npm) is guiding how I'm going to focus on supporting bulk records going forward.  Its client plugin uses an internal timeout to gather requests from anywhere in the app and automatically combine them into a batch.  I would like to implement a similar system for processing batches of received events.

So, a little more specific.  What I would like to do is update the handleEvent method to gather requests into a queue for each service method.
const eventsByType = {
  created: [],
  updated: [],
  patched: [],
  removed: []
}

Then we can flush the queue on a default timeout of 0 or something really small.  We can then use the bulk mutations to handle each of the lists.  You can see how this is done in the current feathers-batch client code.

You mean like so? #537
It's not quite finished yet. I want to find a better place for the debounceMap and add more tests.
Just to let you know I'm working on it.
@marshallswain Let me know what you think of it. If you want to make this on your own and differently, let me know! You're welome to close the PR then.


Feat/datastax module

resolves #47
Used "old" SSL configuration - will refactor later to use the final ssl-config module.

All the other modules have *Config suffix so definitely use that.

Configuration classes have suffix Config


Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given

Bug report
V1.3
When using JWT "?token=true" with the API routes, Most of the routes that need Authentcation give this error.
I tried with addresses and orders.
Argument 3 passed to Lcobucci\\JWT\\Signer\\Hmac::doVerify() must be an instance of Lcobucci\\JWT\\Signer\\Key, null given

Can anyone confirm if it's a bug or just me having this error please?

Hi @Xoshbin,
This is not a bug. You need to run php artisan jwt:secret. And then again login with ?token=true.

@devansh-webkul  Thank you


Bug: There is no audio after Installed the App on Mac Catalina

Disclaimer:
Please go through existing issues to avoid creating duplicates. If you found a similar issue please post a comment there. If you are uncertain your issue is related to others then create the issue. Obvious ignorance of this rule might get you blocked from posting new issues. Please tick the box below to show that you have followed the guideline.

[x] I have checked for a similar issue and sure it hasn't been reported before.

Describe the bug
The bug is about that I installed the App on the Mac Catalina and no sound come ups from headphones or speaker. I restarted the mac several times and reinstalled the app but the sound is not coming through.
Steps to Reproduce
Steps to reproduce the behaviour (feel free to change the placeholder as you need):

Use a Mac Catalina OSX 10.15.4 (19E287)
install the app
launch an audio from youtube or mp3 or other sound resources
No audio is coming out

Expected behaviour
Expected to hear the sound of the audio resource I'm listening
Setup information:

Audio device used for playback: Mac Catalina OSX 10.15.4 (19E287)
Audio transmission interface: 3.5mm Jack / speakers of the mac
macOS Version: OSX 10.15.4 (19E287)
eqMac Version 0.1.0 (if audio related issue)
eqMac UI Version 0.1.0 (if UI related issue)

Screenshots or Console.app logs
Need a guide to understand what I should show as I add filter "eqMac" but there are many logs lines and don't know about what to screenshot.
Please provide help if you need to see this
In case those are errors I saw with filter:

Additional information
No more information to add

same here after upgrading to 0.1.0
also, app crashes with the following logs:
Apr 29 07:47:19 Andreys-MBP com.apple.xpc.launchd[1] (com.bitgapp.eqmac.8972[54136]): Service exited due to SIGILL | sent by exc handler[54136]
Apr 29 08:10:38 Andreys-MBP com.apple.xpc.launchd[1] (com.bitgapp.eqmac.8972[54401]): Service exited due to SIGILL | sent by exc handler[54401]
Apr 29 08:11:17 Andreys-MBP com.apple.xpc.launchd[1] (com.bitgapp.eqmac.8972[54417]): Service exited due to SIGILL | sent by exc handler[54417]

while toggling between macbook pro speakers and external headphones

@aol-nnov how is this related to this issue?

What's the matter, @nodeful ? I've experienced the same issue (no sound in v0.1.0). Tried switching inputs (it, kinda helped in previous version) and pasted some logs.
Now, you're wondering how is it related..
Are you against of adding more details into existing similar issue or what? I can flood the tracker with similar tickets - it's not that hard...

@aol-nnov I just don't understand the connection between the app crashing and having "no audio".
I would assume "No audio" means the app is still running, just not production any audio, wheres you're saying it crashes. Quite a conflicting report.
And please don't try to threaten me with flooding with issues 😄 that will just get you blocked unfortunately. Just report descriptive crash logs (you should see "Show details") when the app crashes and I will point you to the right issue if it's not related

Hi, @nodeful I would like to confirm that form me the app is running and not crashing, It is just I cannot hear any audio. I also shared a screenshot of the logs signed as an error for eeqMac but not sure if that enough :) By the way I'm looking forward for a solution and if any extra details from my side need it I will share :)

Hi @nodeful  I can confirm I am having no audio as well. It started with update 1.0. I just installed 1.1 a few minutes ago but still, there is no audio

Hi again I would like to confirm that I downloaded the new version but audio still missing from Mac speakers and from headphones via jack or other source. My issue on Mac catalina still persist 😊

I'm having the same problem of no audio after updating to the latest version. With the old version the audio worked, but would cause the speakers to crackle after a few minutes or so.

Same issue here. 10.15.3 (didn't install the latest update yet). Used eqmac for a long time but when it started having issues with Catalina I switched back to Boom, which is garbage itself. Eqmac is great, hopefully this is resolved soon :)

So I installed the updated version on my T2 MBP and initially there was no sound. Changing the sample rate to 44100 Hz in Audio MIDI Setup restored sound.

I'm having the same issue, Catalina 10.15.4

I just installed the app today and I also ran into the same issue. I cannot hear anything when the app is turned on....quite disappointed now that I can no longer switch back to eqmac2....

Ok guys I'm looking into this right now but it's very frustrating because I don't have this happening to me at all, no matter what I do. I need more information from as many of your as possible:

What audio protocol is used (Bluetooth, 3.5mm Jack, USB etc.)
What Sample Rate is set on the output device that you are trying to output to.
What Sample Rate is set on the eqMac device when it's active?

The sooner I can get this info the sooner I can try and debug the problem. Thanks

Also does pressing "Reset playback" to the left of the output select box help at all?

Hello @nodeful per myself

I just not hear any audio from my mac speakers and my Headset via jack 3.5mm.
I'm listening to the audio from Youtube and online radios but the rate I didn't modify any of the original and I don't know how those are from Youtube.
Pressing reset playback has no effect on me

If you need more info please tell me I will be happy to assist :)

Also does pressing "Reset playback" to the left of the output select box help at all?

Did not work at all.
I cannot hear anything from my speaker / headphone jack. I am currently using 16in mbp.
I am also listening to audio from youtube.
I have had the eqmac2 installed on my system before. It could be a driver conflict?

I was having the same issue as described in the bug report above on Mojave 10.14.6 using 3.5mm Jack headphone output.
Changing the 3.5mm Jack output sample rate from 48000 to 44100 in Audio Midi Setup.app like @advicepyro suggested solved the issue for me.

I was having the same issue as described in the bug report above on Mojave 10.14.6 using 3.5mm Jack headphone output.
Changing the 3.5mm Jack output sample rate from 48000 to 44100 (matching that of eqMac) in Audio Midi Setup.app like @advicepyro suggested solved the issue for me.

Oh, yeah! I did this and also solved this issue for me.
Thank you! I hadn't tried this before. So, let's see if the audio will crack after some minutes or keep normal.

I had to change both eqMac and 3.5mm Jack output to 44100. By default, both were on 48000 and even tho they were matching, there was no sound

I was having the same issue as described in the bug report above on Mojave 10.14.6 using 3.5mm Jack headphone output.
Changing the 3.5mm Jack output sample rate from 48000 to 44100 (matching that of eqMac) in Audio Midi Setup.app like @advicepyro suggested solved the issue for me.

Oh, yeah! I did this and also solved this issue for me.
Thank you! I hadn't tried this before. So, let's see if the audio will crack after some minutes or keep normal.

This is what worked for me too!!

amazing it works for me too now.....never knew this was actually the case....maybe this was causing all the problems with eqmac2

Had no sound at all through eqMac, tried solving it with restarting eq and plugging in and out my headphones. At the end I just restarted my iMac and that solved it 😆

I tried that with midi but no audio to me instead doing the change crashing the app. Restarting my Mac no change a thing.
Maybe is an issue with late 2018 version?

I was having the same issue as described in the bug report above on Mojave 10.14.6 using 3.5mm Jack headphone output.
Changing the 3.5mm Jack output sample rate from 48000 to 44100 (matching that of eqMac) in Audio Midi Setup.app like @advicepyro suggested solved the issue for me.

Oh, yeah! I did this and also solved this issue for me.
Thank you! I hadn't tried this before. So, let's see if the audio will crack after some minutes or keep normal.

Unfortunately, the audio is crackling before some minutes, even the jack and eqmac in 44000 of sample rate.

@ScrollLocker that is a known issue: https://github.com/bitgapp/eqMac/issues/224
Please stay on topic.

Ok....so i ran into another issue. I have changed all source to 44000 but now the speaker is still working...however my headphone jack is no longer working....i have double checked the source and it is still at 44000....now I am not sure whats going on

I had the same issue, but after a restart, it started working. And it's set to 44100

I had to change both eqMac and 3.5mm Jack output to 44100. By default, both were on 48000 and even tho they were matching, there was no sound

Same issue here, OSX 10.15.3, latest MBP 16".
Had to switch both Mac speakers output and eqmac 44100 and it works after restarting eqmac.

Yes, I also switched the sample rate to 44100 and it now works.  For those with catalina, here is the article of how to change the sample rate -> https://support.apple.com/en-ke/guide/audio-midi-setup/ams094c7edb4/mac
Basically in the launchpad, search for 'Audio Midi', click on it and in the resulting interface, select the sample rate 44100

Just released v0.2.0
Please check if the issue still persists!
To update either download from website, GitHub release or update from within the app directly :)

For some reason this problem just came up for me after 0.2.0 update. Tried reinstalling the app without luck, and was able to resolve my audio issue only after discovering this github issue

I updated to the new version and I have audio but having all MIDI with 44Hz
but after some time the audio starts cracking and when I press the refresh button seems helping but time to time the app crashes

Same happens to me ☝

Again that is a known issue: #224
Please stay on topic.

Just released v0.2.0
Please check if the issue still persists!
To update either download from website, GitHub release or update from within the app directly :)

I have changed the sample rates and now it works across all of them. Thank you

Wanted to chime in that the issue still persists on 0.2.1, only if the frequency rate is set to 48000 Hz. Lowering to 44100 Hz for all audio devices restores sound.

I'm still experiencing this issue. It works perfectly when output set to:

Bluetooth headphones
External speakers on HDMI

But it doesn't with output set to "MacBook Pro Speakers" and even crash time to time, when I set it to this internal output.
Switching to 44.1 KHz doesn't make any difference for me. On 48 KHz work all devices except of internal output.
I will investigate this issue and try to fix it.

From what I managed to find today:

it reads audio stream in outputRenderCallback correctly
device "MacBook Pro Speakers" was set in outputEngine.setOutputDevice
everything looks the same as for external audio devices that work

I will try to check more on the weekend.

Looks like I fixed it locally, will test it more and send pull request.

Sorry didn't mean to close the issue just yet.
Here's the Signed Pre-release candidate v0.2.2 with the fix from @virtustilus :
https://github.com/bitgapp/eqMac/releases/tag/v0.2.2
Please download, install and report back if this issue is resolved now.
Thanks

Just got 0.2.2.
Works for me, issue solved.
Thank you, guys!

Thanks @artem-kobets-qa
Can other people please confirm that this issue is now resolved?

Got an issue
Steps:

Listening to Google Play music from Chrome.
Got Chrome notification from google calendar.

Result: In couple seconds sound in headphones become very noisy.
Workaround: restart eqMac

@artem-kobets-qa this is not related to this issue. Perhaps #224

@artem-kobets-qa could you post to #224 your hardware details, MacOS version and also information for devices from "Audio Midi Setup" application (Sample rate, 44.1 or 48)?

@virtustilus done

This issue should be resolved in v0.3.1.
Please update the app and let me know if this issue is still relevant. Thank you