annual_adjustment function type

Create a fourth user-suppliable function type that allows users to specify adjustments to columns in the assets table other than asset_id, asset_type_id, and year_built each year. Users should be able to specify whether this function type is applied before the actions are allocated for a given year or after.

Consider combing this with the proposed replacement function in #28. In this scenario, there would be one function that could update values in the assets table given the performed actions for a year. These updates could occur every time (such as incrementing a condition score) or only occur based on actions in performed actions (like replacements). By default, this would just handle replacements.


fix: fix useButton href condition

Closes https://github.com/adobe/react-spectrum/issues/7207
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[x] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

pass href props to span tag which uses useButton
for example this codesandbox implements the span tag button (but this uses the useButton which is before correction)
https://codesandbox.io/p/sandbox/reverent-ives-hl88v2
🧢 Your Project:

signed CLA so close and reopen this PR


feat: Validate context variable inside job reference

how to test:

inside launch.json paste your token inside the TOKEN field
open a config inside a workspace that is linked to a cci project
check if the context variables inside job references is validated or not, which depends on the efact that the context exist or not

Not autocompleted on context env variables


publish forked dependencies to crates.io

git dependencies need to pull repo first.

It's amazingly many and slow


Get a warning "Invalid vnode type" when creating component

Version
3.0.0-rc.9
Reproduction link
https://jsfiddle.net/uns8xvpt/
Steps to reproduce
Open the jsfiddle and see the console
What is expected?
I use render function and I am trying to create a comment
The documentation says that I can use null as a value of the argument
https://v3.vuejs.org/api/global-api.html#arguments-2
What is actually happening?
I get the warning
[Vue warn]: Invalid vnode type when creating vnode: null.

Use createCommentVNode() instead.

@HcySunYang I can't find it in docs. Is it a global API?
Why can't I use h function?

You can also return null directly

@HcySunYang yes. It works. Thanks!
But why do I get the warning with h function?

h does not accept null. Also don't use createCommentVNode, that's internal.
Just return null.

@yyx990803 I see in the documentation that I can use null as a type


remove 'scrollbars' from pop-ups

This issue is imported from pivotal
Hide the scrollbars when there\'s nothing to scroll

(Peter Havekes - May 28, 2024)


azure-function-endpoint

The run.csx file has outdated code that does not comply with the method signatures of a function app in the Azure portal. The Azure portal's in-portal function app uses this as its base:
#r "Newtonsoft.Json"

using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Primitives;
using Newtonsoft.Json;

public static async Task<IActionResult> Run(HttpRequest req, ILogger log)
{
    log.LogInformation("C# HTTP trigger function processed a request.");

    string name = req.Query["name"];

    string requestBody = await new StreamReader(req.Body).ReadToEndAsync();
    dynamic data = JsonConvert.DeserializeObject(requestBody);
    name = name ?? data?.name;

    return name != null
        ? (ActionResult)new OkObjectResult($"Hello, {name}")
        : new BadRequestObjectResult("Please pass a name on the query string or in the request body");
}

Whereas the run.csx file of the azure-function-endpoint sample uses a different task method signature: public static async Task<HttpResponseMessage> Run(HttpRequest req, ILogger log).
Therefore, copying and pasting the run.csx file into Azure, over the above code, doesn't work.

@wiazur Hi Winona, did you ever get this resolved?

@diberry thanks, I haven't. But working on other things, so it's not a hot issue.


absolute path for kubectl.

kubectl output error due to lack of path for CentOS7.x.
Please fix this.

ci check this

/lgtm

/approve
/lgtm


Configure include and exclude paths for ruff linter

@jstourac looks like high-priority-review label does not recreate the required reviewers count,


sql: fix locality information in show ranges

PR: https://github.com/cockroachdb/cockroach/pull/43807
From release notes:

SHOW RANGES now shows locality information consistent with the range descriptor when node ID and store ID don't match. [#43807][#43807] {% comment %}doc{% endcomment %}

Show locality https://airtable.com/tblD3oZPLJgGhCmch/viwOj1Qb7D4gjtemc/reczIfEquEoXkFc6A

I think this is the 20.1 AT epic, @awoods187, no? https://airtable.com/tblD3oZPLJgGhCmch/viwfjhxZjwRzBXeag/recoqxtzH1FW7DfGu?blocks=hide

@darinpp based on reading your commit message for cockroachdb/cockroach#43807 this appears to be a bug fix for how the output of replica_localities for a range is calculated.
From the user's perspective it does not look like our docs for SHOW RANGES need to be updated, since we don't document how the output of replica_localities is calculated.  We only document that the output exists, and what it means.
Therefore I propose that this docs issue can be closed.
Do you agree with that assessment?

@darinpp I'm closing this issue since I don't believe there is any docs work needed here.  Please feel free to re-open if you disagree.


Revert "Update JSON formatting information, remove Linking_ISSN, some…

… clarifications (#235)"
This reverts commit dee08f64f07ee81fc14f15c4067f3da986155031.
[reverting accidentally merged request]

Informed that reverting would result in changes being lost, closing this pull


[Bug] The tooltip is not positioned correctly

Version
5.5.1
Link to Minimal Reproduction
https://codesandbox.io/s/compassionate-lamport-6y7yc7?file=/src/App.js
Steps to Reproduce
create a tooltip that returns long series names
Current Behavior
the tooltip has poor positioning. the tooltip could fit if it was located below/above to the right/left of the place where it is located.

Expected Behavior
the tooltip has correct positioning
Environment
- OS: windows
- Browser: Chrome 126.0.6478.185
- Framework: React 18

Any additional comments?
No response

use confine - Demo
🚩 Please follow Official posting guidelines (below).
This is not a good place to ask questions about usage, "how to" or extensive debugging assistance.

The issue list is reserved exclusively for bug reports and feature requests.
For usage questions, please use the following resources:

Read the docs
Find in examples
Look for / ask questions on Stack Overflow

Another good resource is website makeapie.cn with many code examples.

This is already better, but it still works worse than 'highcharts'. If you have a lot of series with titles or tree view and the graph is located under the header and so on, it is shifted from the upper border of the screen - this area is not used, although it could be.
https://codesandbox.io/s/compassionate-lamport-6y7yc7?file=/src/App.js

hm, first we want to confine the tooltip, but make it as big as the chart so it becomes unusable. Then we want the giant tooltip to move to the side, i.e. to not be confined anymore...
And now we are stuck so it has to be a bug. (or could it be misuse ?)

This is a production case. Our current sizes now can be: w320px x h875px (screen height: 937px), for graph, size: w500px x h100px.
If you show metrics, they may have long names, and they may also have nested threeholds. this is the reality of the prod. You don't need to refer to the confine prop, you need to fix the positioning of the configuration that I attached the first time. If you think that this is an incorrect condition or not very realistic, look at how other libraries, for example highcharts with large tooltips. Spoiler - they work better and don't consider such usage to be wrong.
Please correct the automatic positioning. The tooltip should not go off the screen if it can fit in the field of the screen.

@helgasoft, any updates?

?

I have nothing more to say, I'm not a developer/contributor to the library.
These types of issues are usually resolved by DIY pull request.


Generated files are returning null when return is Future

Describe the bug
Generated files are returning null when return is Future
To Reproduce
Steps to reproduce the behavior:

Just create a template that returns Futur

Expected behavior
No return should be returned when type is Future

Looks like duplicate of https://github.com/trevorwang/retrofit.dart/issues/513


Added new term maternal-to-zygotic transition of gene expression. Fix…

…es #22659

I agree, thanks Raymond!  Li

looks good !


duplicate classifiers counted in some classification counts for subject retirement

On P4: Ridges, we have
The classification count says there are 9 unique classifications but there aren't
Prothon	2017-02-01 09:01:10 UTC	5495160
Prothon	2017-02-01 09:01:46 UTC	5495160
jmang	2017-02-02 01:18:33 UTC	5495160
geocanuck	2017-02-02 02:23:25 UTC	5495160
Brain_boy128	2017-02-02 11:10:56 UTC	5495160
amartineau	2017-02-02 16:15:03 UTC	5495160
Mr_Astronomy	2017-02-08 15:30:06 UTC	5495160
Mr_Astronomy	2017-02-08 15:30:06 UTC	5495160
not-logged-in-4c383f55c9866d278c2e	2017-02-10 16:42:16 UTC	5495160
export says subject count is 10 - it's actually  7 unique classifications
Prothon	2017-02-02 18:41:49 UTC	5542686
Prothon	2017-02-02 19:38:04 UTC	5542686
phelinity	2017-02-03 08:36:49 UTC	5542686
heldu	2017-02-04 16:53:32 UTC	5542686
heldu	2017-02-04 16:55:51 UTC	5542686
safitoledo	2017-02-04 19:27:59 UTC	5542686
psw42	2017-02-04 22:25:06 UTC	5542686
retepaskab	2017-02-05 17:03:53 UTC	5542686
retepaskab	2017-02-05 17:04:29 UTC	5542686
Henrik-kj	2017-02-05 18:53:02 UTC	5542686
deedlo	2017-02-02 20:16:06 UTC	5541786
deedlo	2017-02-02 20:16:44 UTC	5541786
Prothon	2017-02-02 21:24:39 UTC	5541786
Prothon	2017-02-02 21:27:02 UTC	5541786
mbpriddy	2017-02-02 22:51:34 UTC	5541786
mbpriddy	2017-02-02 22:52:32 UTC	5541786
madeline67	2017-02-05 10:50:54 UTC	5541786
madeline67	2017-02-05 10:52:44 UTC	5541786
Uganalandia	2017-02-06 06:53:47 UTC	5541786
squish5	2017-02-06 09:26:10 UTC	5541786
2% of my subjects got less than the full unique classification count, which isn't a huge deal, but there are 258 subjects out out of my ~40,000 that had 3 or more duplicates in the classifications count, which starts to hurt badly when you're only asking for 10 classifications.
I know there's been some changes to the backend, so I thought I'd bring it up. Fully understand if this is a do not fix.

@mschwamb i think this is a bug in how we count classifications as we don't distinctly query the users (i.e. remove the dups from logged in users).
@marten @zwolf - thoughts on fixing this using a distinct count around here that includes all anonymous classifications and distinct users?

@camallen I also should mention I didn't check if these classifications were flagged  by panoptes as already seen. I ignore the flags when I parse the classifications csv+json intom something easier to manipulate and remove duplicates based on userid and the hashed ip address i have non-logged in users keeping the first time a user saw the subject.

this should have been fixed in #2636


Change input gain range

Changed input gain range from -20..+20dB to -48..+48dB

Is it fair to say that you've solved the underlying issue that this PR solves with NAMpanion?
Lmk if this should be closed. I haven't heard anyone else asking for this functionality, so I think I'm keen to keep the plugin as-is.


Allowed memory size of xxx bytes exhausted

I get a memory error with line
$discord = new Discord(['token' => 'bot-token',]);
Have anybody a hint was going wrong?

Opoo

There is a memory leak somewhere in the code. I will look into it eventually, for now if you need it to work you can increase the memory limit as said in the readme.


Possible fix for reset/flyTo all data; fix animation other worlds bug

Fixes #575
But it looks like that won't get closed automatically because this doesn't merge to main?

Need to test the following once #597 is addressed.
Megastudy.
Filter: species = Culex nigripalpus + Culex tarsalis
Bubble markers (e.g. sample.sex: female/all)
Get bubbles on the screen. Hit the fly-to reset button.
Then add Anopheles punctipennis to the filter.  It should look like this:

Then hit the fly-to button and it may end up looking like this (the markers are different sizes, slightly):

Fixes #575
But it looks like that won't get closed automatically because this doesn't merge to main?

We should add the "fixes..." comment to the parent pr


Added dependabot for GitHub Actions

How about using dependabot in this way?
When this works, a PullRequest is created as follows:

https://github.com/ruby/bigdecimal/pull/242

Same as the PR here: https://github.com/rubocop/rubocop/pull/11215

Awesome! Thanks!


MWPW-104749 - Consonant Media & Z-Pattern Blocks

Added support for Consonant 'Z Pattern' and 'Media' blocks.
Added a foundational decorate utility script.

Resolves: MWPW-104749, MWPW-105636
Test URLs:

Z-Pattern Before, Media Before
Z-Pattern After, Media After

Just a heads up. I closed the other PR that looked like this and split out some of the concerns ( :icon: support and analytics) so they are easier to digest and test in a follow up PR.

@ryanmparrish Can you add these blocks to the list of supported blocks in utils.js? After that, we're shipping.

You betcha. added

Wonder why the TBT keeps being so inconsistent.


Let the user select ALPN protocols values #32

I think it might do the job ?
It may be interesting to offer features depending on what protocol has been negotiated?

Should I write a test in for code coverage to pass?

As for coverage, I don't think you have to add a test here. Reduced coverage is largely because we don't have any tests for quinn yet.

Should I change the API to using &[u8] even if rustls still uses Strings ?

Yeah (or Vec<u8>); it's fine to panic if a &str/String can't be constructed for now, and hopefully rustls will get fixed.


Support for Throttling

IMO doing a simple setTimeout on the proxy server should work just fine for most cases.

Won't that only emulate high latency?
Throttling is rather for restricting bandwidth, I believe.

@MichielDeMey thanks for input! You are right - setTimeout will only emulate latency. I'm not sure how to correctly emulate bandwidth at this point, but I'd guess that it should be throttled somewhere around here (traffic-interceptor.js):
    res.write = function(chunk) {
        _write.apply(res, arguments);

We can split each received data chunk into multiple smaller ones.

http://thesmithfam.org/blog/2012/04/11/throttling-your-network-connection-on-mac-os-x/
maybe we can actually do it :)

Note: to show the network throttling panel back again revert https://github.com/kdzwinel/betwixt/commit/c002175d9e1f32ff5c528a1af06a8c3cb665509e .

You can use something like https://github.com/tjgq/node-stream-throttle (which uses https://github.com/jhurliman/node-rate-limiter) to throttle a stream.


⚠ Bofrost.at has degraded performance

In a50537a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1551 ms

Resolved: Bofrost.at performance has improved in 01f9ed8 after 54 minutes.


Refactor instructions on logs folder creation

Noticed in passing that this would need an update for latest guidance (https://github.com/aspnet/Docs/pull/4909). However, it's probably best to keep the instructions in one spot, the Directory structure topic, and link to it from here.

LGTM. @guardrex  does this need additional review/work?

@Rick-Anderson This small change should be fine. We already had #4909 approved, so it should be good to go.


Fix collapsed option

Must be called on console itself, otherwise it doesn’t work.

I think, we really should write tests.
Fixed in 2.0.3


Codelab web pages refer to deprecated classes

The codelab documentation (not the github code, but the web page instructions) refer to classes deprecated in Jan 2018:
LifecycleActivity
LifecycleFragment
(Offending page: https://codelabs.developers.google.com/codelabs/android-lifecycles/#3)
This was raised previously (https://github.com/googlecodelabs/android-lifecycles/issues/45) but was closed without fixing the problem

Thanks for reporting this and the feedback! You're 100% right, fixing this now.


sync and close private and public key files

Description
Properly sync and close ssh public and private keys

Related issue(s)
Closes #4578

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "ensure_ssh_key_files_are_closed" git@github.com:davidovich/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


dispatch_barrier_sync blocks main thread when re-requesting an image.

 Instead of the nice scrolling I'm used to, the screen will occasionally entirely freeze up, the collection view scrolling animations will pause, and touches do nothing. Turns out, a semaphore_wait_trap caused by a dispatch_barrier_sync is blocking the main thread.
This only happens when an image request was cancelled, and then started again. It's fine for cached images. Pretty sure all of this should be done on a background thread.
I'm only calling setImageURL:withPlaceholderImage: so no fancy stuff.
Edit: This will only reproduce on device. Issue is present on iPhone 4 (7.1.1) and latest gen iPod Touch (7.1.2). Not present on iPhone 5 (7.0.6).
* thread #1: tid = 0xaba2, 0x396dcaa8 libsystem_kernel.dylib`semaphore_wait_trap + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x396dcaa8 libsystem_kernel.dylib`semaphore_wait_trap + 8
    frame #1: 0x39751bac libsystem_platform.dylib`_os_semaphore_wait + 12
    frame #2: 0x39626c3e libdispatch.dylib`_dispatch_barrier_sync_f_slow + 134
    frame #3: 0x001d1854 ama`-[SDWebImageDownloader addProgressCallback:andCompletedBlock:forURL:createCallback:](self=0x16879790, _cmd=0x00215fb0, progressBlock=0x00000000, completedBlock=0x27d9cc94, url=0x1683c050, createCallback=0x27d9c9bc) + 396 at SDWebImageDownloader.m:180
    frame #4: 0x001d05b2 ama`-[SDWebImageDownloader downloadImageWithURL:options:progress:completed:](self=0x16879790, _cmd=0x00216078, url=0x1683c050, options=0, progressBlock=0x00000000, completedBlock=0x27d9cc94) + 406 at SDWebImageDownloader.m:111
    frame #5: 0x001d759e ama`__64-[SDWebImageManager downloadWithURL:options:progress:completed:]_block_invoke59(.block_descriptor=<unavailable>, image=0x00000000, cacheType=SDImageCacheTypeDisk) + 1702 at SDWebImageManager.m:137
    frame #6: 0x001cc7fe ama`__42-[SDImageCache queryDiskCacheForKey:done:]_block_invoke_2(.block_descriptor=<unavailable>) + 42 at SDImageCache.m:297
    frame #7: 0x39614832 libdispatch.dylib`_dispatch_call_block_and_release + 10
    frame #8: 0x3961481e libdispatch.dylib`_dispatch_client_callout + 22
    frame #9: 0x39614776 libdispatch.dylib`_dispatch_main_queue_callback_4CF$VARIANT$up + 254
    frame #10: 0x2e9468a0 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
    frame #11: 0x2e945174 CoreFoundation`__CFRunLoopRun + 1300
    frame #12: 0x2e8afebe CoreFoundation`CFRunLoopRunSpecific + 522
    frame #13: 0x2e8afca2 CoreFoundation`CFRunLoopRunInMode + 106
    frame #14: 0x337b5662 GraphicsServices`GSEventRunModal + 138
    frame #15: 0x311fc14c UIKit`UIApplicationMain + 1136
    frame #16: 0x0009d1a4 ama`main(argc=1, argv=0x27d9dd04) + 116 at main.m:16

I am also facing the same issue. Loading many image in table view with sdwebimage freezes the app. You can check the threading from this link. http://io.putul.me/oQ67RC

I face similar issue as well.What's the release time for resolve this issues(version 4.0.0)? It often happen on iPhone 4 or equiv device.

Hi,
Sorry but I don’t understand the issue you’re experiencing. Could you go through what you need help with?

Best Regards,
Team Sober Grid
contact<EMAIL_ADDRESS>[cid:2B498DF3-5AF6-43D6-94B5-E240B78B11C8]
Share us on Facebookhttps://www.facebook.com/sharer/sharer.php?u=http://goo.gl/NglQWa
Share us on Twitterhttps://twitter.com/home?status=http://goo.gl/NglQWa
On Aug 13, 2015, at 11:39 PM, yanzhiwei147 <notifications<EMAIL_ADDRESS>wrote:
I face similar issue as well.What's the release time for resolve this issues(version 4.0.0)? It often happen on iPhone 4 or equiv device.
—
Reply to this email directly or view it on GitHubhttps://github.com/rs/SDWebImage/issues/803#issuecomment-130951702.

ref http://www.objc.io/issues/2-concurrency/concurrency-apis-and-pitfalls/#starvation
barrierQueue block main thread

Same problem here.
Any "good practice" to have ?

This issue should be fixed now, on the 4.x branch. 4.0. release is coming

this issue still there in 4.0.

I have the same issue here in 4.0.
The main thread hangs and when I pause the execution in Xcode, this is what I get.

(sorry for the screenshot, not sure how I can output this as text)

@rs I think this issue should be reopened, what do you think?


Problem with NVIDIA Control Panel

When PowerToys is running my NVIDIA Control Panel randomly closes. When I uninstall PowerToys the problem is resolved. Tried it on another PC as well, same thing happened.

What is your system's information?

It is staying open for me in my system. I will update if this changes

@Dmitrinjo we need to know a bit more,

what version of PT are you running
graphic card
what version of Nvidia Control panel
what PT are enabled?

Does this still happen with 0.20.1?

Are you running PT as admin?

A new Nvidia driver update has been released. Does this fix the issue?

If not try this out and see if it fixes your issue when you re-install the driver. https://www.guru3d.com/files-details/display-driver-uninstaller-download.html


Counter inaccurate at the beginning of a replay

However, this may be an issue with the replay system?

Issue fixed in v1.0.0


Add necessary code for creating payout to adapt automatic payout feat…

Description:
The transactionCode and fiatValue of the payout should be returned to the caller once a payout is created.
Done in this PR:
Add TxEnvelopeResponse to SignablePayoutResponse
Add BlockchainTransactionId for calling CreatePayoutAsync

You have not pushed all the changes. It is missing the changes to OperationsFacade.

The OperationsFacade in the main branch has already added  blockchainTransactionId to the CreatePayoutAsync. Therefore, this change is not needed in this PR,
https://github.com/QuantozTechnology/Nexus.Sdk.Dotnet/blob/main/Nexus.Sdk.Token/Facades/OperationsFacade.cs
public async Task<SignablePayoutResponse> CreatePayoutAsync(string accountCode, string tokenCode, decimal amount, string? pm = null, string? memo = null, string? message = null, string? paymentReference = null, string? customerIPAddress = null, string? blockchainTransactionId = null)


ARM cross compiling not found file : autogen.sh

AMR cross compiling not found file --> autogen.sh
OS envrionment : Ubuntu linux 10.04
help me.. plz..

On Thu, Dec 15, 2011 at 06:09, kkoh <
<EMAIL_ADDRESS>
wrote:

AMR cross compiling not found file --> autogen.sh

This is not a defect on FreeRDP or whatever related but a
requirement/miss-use of your cross environment.
I am closing this issue due this.
--
Otavio Salvador                             O.S. Systems
E-mail<EMAIL_ADDRESS>http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


No .d.ts created after update to 0.10.0

Current Behavior
//index.ts
import { PrivateRoute, PublicRoute } from "./components";
export {
PrivateRoute,
PublicRoute
}
will generate
//index.d.ts
///
export { PrivateRoute, PublicRoute };
and directories of components with .d.ts arent created
ss
Expected behavior
In 0.9.3 the .d.ts are created:
ss
//index.d.ts
import { PrivateRoute, PublicRoute } from "./components";
export { PrivateRoute, PublicRoute };
Suggested solution(s)

Additional context

Your environment

Software
Version(s)

TSDX
>=0.10.0

TypeScript
^3.6.4

Browser

npm/Yarn
v1.17.3

Operating System
Arch

I'm running into a similar issue and just assumed it was a quirk with the project.
@dattebayorob  Was this working for you on a previous version?

Current Behavior
in 0.10.0
//index.ts
import { PrivateRoute, PublicRoute } from "./components";

export {
PrivateRoute,
PublicRoute
}

will generate
//index.d.ts
///
export { PrivateRoute, PublicRoute };

and directories of components with .d.ts arent created

Expected behavior
In 0.9.3 the .d.ts are created:

//index.d.ts
import { PrivateRoute, PublicRoute } from "./components";
export { PrivateRoute, PublicRoute };

Suggested solution(s)
Additional context
Your environment

Software
Version(s)

TSDX
>=0.10.0

TypeScript
^3.6.4

Browser

npm/Yarn
v1.17.3

Operating System
Arch

@dattebayorob I've updated your comment above.
I can also confirm that this seems to be introduced in the first 0.10.0 release

Maybe this?
https://github.com/jaredpalmer/tsdx/compare/v0.10.0...master#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R47

potential related bug?
https://github.com/wessberg/rollup-plugin-ts/issues/31

it looks like we swapped rollup-plugin-typescript2 for @wessberg/rollup-plugin-ts

I've got a few other projects that are using rollup and rollup-plugin-typescript2, those are working in the way we'd expect.
There was almost definitely a reason that we switched to the new package though, right?

Maybe the config is wrong here?
https://github.com/jaredpalmer/tsdx/blob/master/src/createRollupConfig.ts#L130

@wessberg?

It seems like this plugin is not yet stable. I think we should go back to Rollup-typescript2

@jaredpalmer - was this not part of a fix for - Support for async/await in rollup plugins?

@tabuckner, The reason why you're seeing a different file structure now in terms of where declaration files are emitted to is that rollup-plugin-ts bundles your declaration files and follows Rollups file structure. Meaning, a declaration file is generated per chunk. Previously, you were seeing declarations being generated (not bundled) that simply followed the source structure, even though the folders only contained declarations. So that at least explains the difference in the file structure.
Now, that said, based on the example you gave, it looks like there's something missing, yeah. Are you doing something special with path mapping? In any case, I'll look into it when I have some time tomorrow and see if I can reproduce what you are experiencing here.

N

@tabuckner, The reason why you're seeing a different file structure now in terms of where declaration files are emitted to is that rollup-plugin-ts bundles your declaration files and follows Rollups file structure. Meaning, a declaration file is generated per chunk. Previously, you were seeing declarations being generated (not bundled) that simply followed the source structure, even though the folders only contained declarations. So that at least explains the difference in the file structure.
If you instead do:
export {PrivateRoute, PublicRoute} from "./components";

Does that produce correct declarations inside index.d.ts?
I haven't verified it yet, but I think what's happening is that the tree-shaking step of the declaration bundling phase of rollup-plugin-ts determines that the two import bindings are unused given that they are referenced only by the ExportSpecifiers in the ExportDeclaration that reexports them. I'll look into it.

There was almost definitely a reason that we switched to the new package though, right?

I really don't know why, but I think the combination of declaration bundling, ease of combining with Babel and support for plugins with async functions (to work around an object-hash limitation) were the primary reasons.

No, the .d.ts creates a

export { PrivateRoute, PublicRoute };

@wessberg Here's an repro repo that shows the issues I ran into with v0.10.0 of tsdx and on.
It's not the exact scenario you outline and @dattebayorob confirmed, but it does seem to be related.
https://github.com/tabuckner/tsdx-0.10.x-type-defs-repro

I will try to setup with the @wessberg/rollup-plugin-ts now, I need a async plugin now, and the typescript2 hack to get it to work doesn't seem like a good idea

ombination of declaration bund

On src/index.ts
export * from './components'; export * from './annotations'; export * from './templates';
The generated dist/index.d.ts
export {};

@dattebayorob @tabuckner what version of node are you all using?

v10.15.3
I'll try with some other versions as well.

declare const sum: (a: number, b: number) => number;
declare const log: (str: string) => void;
export * from "../src/util/cool-thing/models/cool-thing-input";
export * from "../src/util/cool-thing/models/cool-thing-output";
export { sum, log };

declare const sum: (a: number, b: number) => number;
declare const log: (str: string) => void;
export * from "../src/util/cool-thing/models/cool-thing-input";
export * from "../src/util/cool-thing/models/cool-thing-output";
export { sum, log };

I'm on 11.15.0

Is this the default or did you use it with an async Rollup plugin?

With default plugins

@wessberg Here's an repro repo that shows the issues I ran into with v0.10.0 of tsdx and on.
It's not the exact scenario you outline and @dattebayorob confirmed, but it does seem to be related.
https://github.com/tabuckner/tsdx-0.10.x-type-defs-repro

Thanks for the repro. I'll take a look at it and will report back here.

Alright, I've fixed the issues and released v1.1.73. There were two of them:

Directory imports were being used coupled with Node module resolution. There was an issue related to this, which has been resolved.
Module Specifiers following the form ./cool-thing-input.interface were being used, and .interface was being mistakenly interpreted as the file extension when reading from disk

Here's the declaration output based on your repro:
interface ICoolThingInput {
    message: string;
    id?: number;
}
interface ICoolThingOutput {
    name: string;
    id: number;
    message: {
        text: string;
        code: number;
    };
}
declare const sum: (a: number, b: number) => number;
declare const log: (str: string) => void;
declare const doCoolThings: (input: ICoolThingInput) => ICoolThingOutput;
export { sum, log, doCoolThings, ICoolThingInput, ICoolThingOutput };

I did some tests with the new rollup-plugin-ts:
export components manually like this generate the declarations correctly:
import React from "react"; declare const Col: React.FC; declare const Row: React.FC; export { Row, Col };
but exporting * lend to
export {};
Here a repo sample

@dattebayorob, The issue you reported has been fixed in the latest version of rollup-plugin-ts.


Incorrect GDAX fees for limit orders in backtesting

Expected Behavior
Limit orders should pay zero for limit orders placed on the order book (maker) and should pay 0.25%-0.30% for marketable limit orders (taker).
Actual Behavior
All limit orders are currently paying the taker fee.
This bug has been introduced in #1812.
Potential Solution
The bid/ask prices currently used to decide if a limit order is marketable or not are not available at the time of the fill. The fill time should be used instead.
Reproducing the Problem
Submit a Sell order at a price higher than the current price:
// Sell all ETH holdings with a limit order at 5% above the current price
var quantity = Portfolio.CashBook["ETH"].Amount;
var limitPrice = Math.Round(Securities["ETHUSD"].Price * 1.05m, 2);
LimitOrder("ETHUSD", -quantity, limitPrice);

System Information
n/a
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
[x] I have provided detailed steps to reproduce the issue

I guess these notes could be removed now?
https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/BasicTemplateCryptoAlgorithm.py#L70


RTLSDR_PPM value not picked up

I have set the RTLSDR_PPM value in de docker.yml file. If I check the code, in etc/services.d/dump1090/run there is a line: RTLSDR_PPM="$(piaware-config -show rtlsdr-ppm)"
But RTLSDR_PPM is not set to piaware-config. Hence the value is always 0.
Or am I missing something?

You're correct. Oops. I'll fix this now. Sorry for the inconvenience.

@klara31 I've implemented an attempted fix. Can you pull the :latest image and let me know if that solves your problem?
Thanks.

Yes, PPM value now is used correctly. Thanks again!

You're most welcome. Thanks for reporting the issue.


Test speedtypes

for both 2D and 3D test CURVATURE, ONE, and NOISE with meshes noted in papers.

applies to levelset, not eikonal.


Preview Mode Not working

@sahava - was using your consent mode tag available on GTM. For some reason when i update the consent setting to DENIED, the value in the preview mode still shows GRANTED, but works fine when i click the value within the tag. Not sure if this is a bug.

Hi
You mean that some variable is returning the values as "granted" – that means the problem is with the variable or when it's evaluated. As I don't know what that variable is or how it works, you should probably take this up with whomever created that variable template.
Best way to ensure that consent mode works as it does is to use the "Consent" tab in Preview mode. That shows you what the current and updated state is at any given time.


.htaccess file is not removed by npm run build:clean

rimraf ./build instead of rimraf ./build/*
stats.json isn't cleaned either

Good catch!
Confirmed on OS X 10.11.5.
How about submiting a PR?

Does this create a problem?
.htaccess and stats.json are successfully overwritten on the next build or analyze, so maybe it's not an issue?

Not necessarily a problem, but could still be fixed to avoid annoyances where the build doesn't go through and one deploys with some stale files.

@bcowgill Would you like to submit a PR?

Done.
https://github.com/mxstbr/react-boilerplate/pull/661
also deals with issue 628 cleaning coverage before running tests.


UCUM valueset not expanding

The following URL results in an empty expansion node
http://fhir2.healthintersections.com.au/open/ValueSet/uslab-units/$expand

I have no idea how to expand this value set...

this an expansion on a code system that's got no fixed enumeration (it's a grammar). You cannot expand the full code system. But if you explicitly say that you're happy for an incomplete expansion (using an expansion profile in DSTU2.1+, or the parameter _incomplete=true in DSTU2), then my server (from 1.0.13) will return the UCUM common units.


Do not show terminated app popup when stopping apps by toolbar button

There is no need to show popup about closed applications when stopping them by toolbar button.
Requested by @GiovaniDaSilva

Done!


Add: bool cast operator support for ShowIf, HideIf attributes

The ShowIf and HideIf attributes call the bool cast operator of their type.
This means that they work with UnityEngine.Object(e.g. GameObject, ScriptableObject) and custom types.
For example, I use it with Optional<> type, which has cast to bool operator.

It's a nice feature, but that dynamic cast is pretty heavy in terms of performance. I also don't like implicit bool casting operators.
You can also provide a function that checks is a GameObject is null or not, which is more explicit.

@dbrizov
I thought the point of ShowIf/HideIf was to reduce the check to a bool type and in this case the cast extends the already established concept, well, if you don't like it, ok.
I agree that you can do nullcheck on unity objects for performance purposes, anyway it's a common case, but the idea was not to invent some new rules and only extend the existing ideas, which works well with the gamebjects embedded nullcheck.


Update Mapbox SDK to latest version 5.3.1 which has bug fixes and Genymotion support

See https://github.com/onaio/kujaku/issues/90


Resolve errors with BLEU Score values greater than 1

in sacrebleu precision calculation, multiply it by 100.

The currently implemented bleu will be renamed to sacrebleu and another bleu will be implemented.


Fix/show dispensers with unknown state

What's new
Dispensers in the resource manager but without states are now shown on the omnipanel.
Updated the dispenser display panel unit test to reflect the change in logic and dependencies on resource context
fixes # [related issue, if exist]
Related to #169
[Describe your changes]
Import the dispenser resource context and use the list of dispensers obtained from its context to compare it against the dispenser state. If the dispenser in the resource list is not in the state, make an empty state and add it as a new entry to the sate object. If it exist, simply add its existing state to the state object.
Self-checks

[x] I'm familiar with and follow this  Typescript guideline
[ ] I added unit-tests for new components
[x] I tried testing edge cases
[ ] I tested the behavior of the components that interact with the backend, with an e2e test

Discussion
[Questions for reviewers]
Right now, I simply added a an unknown state for dispensers in the list without a state. Would it be better to modify the Omnipanel UI to include a new field that displays something like state unknown? Personally, I don't think it is needed as having an OFFLINE state and an unknown request id queue also serves the purpose

Related to #169

I fell into the trap twice =). The above is pointing to itself (this PR).

Rewrote the fix after the latest merge to migrate dashboard components into react-components

Updated storybook with the correct types and an unknown item story

Shifted UnknowItem story into design-decisions, added docs and remove item-unknown component


fix: change brand name from github to GitHub

Change brand name from github to GitHub on the website

Thanks!


No container class?

Using Jumbotron in BS requires a container div wrapping it.
Is there a  class in Reactstrap? If so there is no documentation.
In not, should I use <div className="container> or is the  class already has implementation of container?
Thanks

Hi @daveonestar !
The Container component is already exist.
https://github.com/reactstrap/reactstrap/blob/113e6d352ed04712cd67aada3b2b53603c684647/src/Container.js#L1-L39

Yeah, it's in the docs in layout, but the docs' organization is kinda funny. It has "Components" but some (such as layout and form) are grouping of Components. There isn't a list of all available components, there is no search feature, and to top that, there are no "jump links" to the individual sections with a page.

I'm closing this since the the issue appears to be answered above. Please comment and it will be opened if you feel the issue has not been resolved / the question has not been answered


Typescript optional / null arguments

Version v3.55.2
Description

Some functions handle null input but the typing does not reflect that.
Example
the documented function used
function signature: calculateDuration(target: Phaser.Animations.Animation, totalFrames: number, duration: number, frameRate: number): void
inside this function, we have:
if (duration === null && frameRate === null)
// ...
else if (duration && frameRate === null)
// ...
else

the documentation does not say that we choose duration or frameRate through typing number | null, with a default if none given.
Example Test Code

// let get a created animation named 'key'
const anim = scene.anims.get('key')

// to make the animation named 'key' last 2s:
anim.calculateDuration(anim, anim.getTotalFrames(), 2000, null)

// to make the animation named 'key' run at 8 frames per secondes:
anim.calculateDuration(anim, anim.getTotalFrames(), null, 8)

the correct function signature would be: calculateDuration(target: Phaser.Animations.Animation, totalFrames: number, duration: number | null, frameRate: number | null): void
Additional Information
Moreover, we could make change in the code to allow undefined value too.
I don't know how to change the code to reflect typing change, it's look like typing is generated trough documentation, @param {number | null} would do ? Does these is something to run to generate then the typescript before sending a pull request ?
I would like to send one if it's ok, with the code change to allow undefined, and have the correct typing.

Thank you samme,
The code right now only allow number or null values trough strict equals
A first fix to it is not {?number} that to my understanding allow number or undefined
But {number|null} that allow number or null
A change to double equals will allow undefined too, but, in the Code Style Guide, it is said:

Always favor strict equals === unless you need to use type coercion.

So I think we could add undefined values to be valide and keep strict equals with: value === null | value === undefined
that would change the code to something like that:
if ((duration === null | duration === undefined) && (frameRate === null | frameRate === undefined))
// ...
else if (duration && (frameRate === null | frameRate === undefined))
// ...
else

and change the documentation to {?number | null} or {number | null | undefined}, both are equivalent.
Maybe someone could propose better for the code ?
ps
that typo you fixed too make me wonder where is the phaser documentation generated from ?
the documentation link
It is written Calculates the duration, frame rate and msPerFrame values., no typo here

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


fix: use local copy of e2e-dev in nightly github workflow

Implements a fix for the nightly job, which was broken after https://github.com/dhis2/line-listing-app/pull/374 was merged.

Key features

Will (hopefully) avoid the Cypress out-of-memory issue on CI

Description
When working on https://github.com/dhis2/line-listing-app/pull/374 I tweaked a lot of things to reduce the likelyhood of seeing the Missing browserCriClient in connectToNewSpec error occur during the Cypress e2e test run.
One of the things I did was to start working with a local copy of the e2e-prod GitHub workflow. I did this because the shared version of this workflow from data-visualizer is using a pre-baked Docker container in which the error was occuring very frequently. Not using that container made the error occur less frequently.
Whilst working on https://github.com/dhis2/line-listing-app/pull/374 I never really paid much attention to the nightly workflow, and upon inspection this is also using a shared workflow from data-visualizer, and this workflow is also using a docker container.
So what I've done in this PR is:

Create a local copy of e2e-dev which doesn't use a container.
Switched to using that local workflow in the nighly workflow.

FYI: When squash merging I changed the commit prefix from fix to chore, because this should not trigger the release of a new version.


Fixed-point integer types display incorrectly

The Display impl for fixed-point integer types ignores the decimal point.

Please provide an example of how it looks and how it should look like.
CC @kianenigma

I think this is fine
                 #[cfg(feature = "std")]
		impl sp_std::fmt::Display for $name {
			fn fmt(&self, f: &mut sp_std::fmt::Formatter) -> sp_std::fmt::Result {
				write!(f, "{}", self.0)
			}
		}

There's a Debug impl that shows you more accurate internals, as expected, this is a raw representation without any computation.
I think if you really think it is confusing, change it to
- write!(f, "{}", self.0)
+ write!(f, "Fixed({}/{})", self.0, Self::DIV)

So you know you should not interpret it as a integer number. Otherwise, I think it is fine as it is.

@kianenigma I would expect that the decimal place would be positioned correctly.  I had to implement that manually in Ledgeracio: https://github.com/paritytech/ledgeracio/blob/c21db21f16b5151a10a580fd6c58ca18d831c3f3/src/common.rs#L116-L140.

ahh well this is not about the Fixed (e.g. Fixed128) types in substrate, you simply want to put a decimal point in a u128. I don't think we have an appropriate type for this in substrate, so doing it in your repo is the best.


FFMPEG exited with Error code 1

Hello, Just got camera to add into HomeKit and I get this error:

Any ideas?
Thanks in advance!!!

Ignore reference ^

I have the exact same problem

I hope someone finds a fix idk whats wrong

You might need to enable debugging using your config ("debug": true) to see why exactly FFmpeg is exiting with a code 1.
This was happening to me today, and I think the problem was my custom-compiled FFmpeg had been overwritten during an apt upgrade. I'm not 100% sure that is what happened, but 1) I ran an apt upgrade earlier in the day after not messing with anything since the last time it worked, and 2) reinstalling the .deb of my custom FFmpeg fixed the issue.

Mind sending ur custom FFMPEG deb?

@cbpowell here's what the debug said:
[2018-10-1 23:05:07] [Camera-ffmpeg] Start streaming video from TC01 with 480x360@100kBit
ffmpeg -re -i  rtsp://admin:redacted@redacted/ch01/1 -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=480:360 -b:v 100k -bufsize 100k -payload_type 99 -ssrc 4066647 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params iYg0uZokbxs/VpaWEtE3LiDVl8aimEKC2kvzrQJm srtp://<IP_ADDRESS>:52501?rtcpport=52501&localrtcpport=52501&pkt_size=1316
ffmpeg version N-92079-gb577153231 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
libavutil      56. 19.101 / 56. 19.101
libavcodec     58. 31.102 / 58. 31.102
libavformat    58. 18.103 / 58. 18.103
libavdevice    58.  4.104 / 58.  4.104
libavfilter     7. 33.100 /  7. 33.100
libswscale      5.  2.100 /  5.  2.100
libswresample   3.  2.100 /  3.  2.100
libpostproc    55.  2.100 / 55.  2.100
: No such file or directory
[2018-10-1 23:05:07] [Camera-ffmpeg] ERROR: FFmpeg exited with code 1

@KhaosT Please help or anyone

@iRayanKhan I don't think I can send you the .deb, because it contains code that is non-distributable.
So your issue is the FFmpeg output "No such file or directory", that's what is causing the code 1 exit. Unfortunately FFmpeg output isn't great for debugging. It looks like you're trying to use -vcodec h264_omx but your FFmpeg does not appear to be compiled with h264_omx support. That could be the issue?
Try following the FFmpeg compilation instructions in the Wiki to compile it on your own Pi. I personally followed a slightly modified version of the instructions on this blog.

@cbpowell After some research it appears it is trying to use the webcam at /dev/video0 which must be a USB port. I also tried h264 with out omx and even CAMERA-IP and CAMERA-ffmpeg-Omx

Followed the directions to no avail...

What's the outcome if you run ffmpeg -re -i rtsp://admin:redacted@redacted/ch01/1 -o - directly in terminal? Based on the error log I think your ffmpeg is not compiled with rtsp support...

Ran it and got this:
ffmpeg version N-92087-gdcbd89e000 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
configuration: --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp
libavutil      56. 19.101 / 56. 19.101
libavcodec     58. 31.102 / 58. 31.102
libavformat    58. 18.104 / 58. 18.104
libavdevice    58.  4.105 / 58.  4.105
libavfilter     7. 33.100 /  7. 33.100
libswscale      5.  2.100 /  5.  2.100
libswresample   3.  2.100 /  3.  2.100
libpostproc    55.  2.100 / 55.  2.100
[rtsp @ 0x273e180] max delay reached. need to consume packet
[rtsp @ 0x273e180] RTP: missed 93 packets
[h264 @ 0x2740ff0] error while decoding MB 30 15, bytestream -12
[h264 @ 0x2740ff0] concealing 2419 DC, 2419 AC, 2419 MV errors in I frame
[rtsp @ 0x273e180] max delay reached. need to consume packet
[rtsp @ 0x273e180] RTP: missed 31 packets
[h264 @ 0x2740ff0] error while decoding MB 67 22, bytestream -5
[h264 @ 0x2740ff0] concealing 1822 DC, 1822 AC, 1822 MV errors in P frame
[rtsp @ 0x273e180] max delay reached. need to consume packet
[rtsp @ 0x273e180] RTP: missed 27 packets
[rtsp @ 0x273e180] max delay reached. need to consume packet
[rtsp @ 0x273e180] RTP: missed 19 packets
Input #0, rtsp, from 'rtsp://admin:Canada12@<IP_ADDRESS>:554/ch01/1':
Metadata:
title           : Media Presentation
Duration: N/A, start: 0.450000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x720, 20 fps, 20 tbr, 90k tbn, 180k tbc
At least one output file must be specified

@iRayanKhan I think you installed 2 ffmpeg on your device. The one homebridge is using have a version header of
fmpeg version N-92079-gb577153231 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree

and the one you ran manually have
ffmpeg version N-92087-gdcbd89e000 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
configuration: --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp

The one homebridge found wasn't compiled with rtsp support.

I think I have 2, too. I’m gonna wipe my Pi and do a fresh install of everything. Will report back later today.

Funny issue, May have fixed FFmpeg, now my garages died :). It may be unrelated, Homebridge-LiftMaster2
Gonna just try the cameras now

Tried again after wiping my pi;
Same issue.

Update: My garages also are dead, tried running both the cameras and Garages separate and no dice.

Can you post how you set up your Raspberry Pi? If you didn't unpair your garage before doing this all over again, you may need to manually remove it from HomeKit on iOS device before readding it.

Yeah I should have been more specific;
Homebridge install: https://github.com/nfarina/homebridge
FFMPEG Install; https://github.com/KhaosT/homebridge-camera-ffmpeg/wiki/Raspberry-PI
Node Install; https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp

In regards to the garage, it may be a coincidence, MyQ seems to have changed their api so the old GET and POST status have changed and the plugin dev has to update it. Or they completely shut down their API so we have to buy their bridge.

Has same error. Try to add parameter like in that issue -https://github.com/KhaosT/homebridge-camera-ffmpeg/issues/201#issuecomment-428621144

Try that:
{ "name":"Entrance Camera", "videoConfig":{ "source":"-rtsp_transport tcp -re -i rtsp://user:XXXXXXXX@<IP_ADDRESS>:554/Streaming/Channels/102/", "stillImageSource":"-i http://user:XXXXXXXX@http://<IP_ADDRESS>/Streaming/Channels/1/picture", "maxStreams":2, "maxWidth":640, "maxHeight":360, "maxFPS":10 }

Pretty sure that isn't a proper json format?

Why? This is json.

Closed: Re-opening in a few weeks once I get time to hack away with this.

Re-Opening, Going to attempt cameras again

@KhaosT i have the same problem:
Nov 08 21:59:04 raspberrypi homebridge[562]: [11/8/2018, 9:59:04 PM] [Camera-ffmpeg] Snapshot from Terasse at 480x270
Nov 08 21:59:44 raspberrypi homebridge[562]: [11/8/2018, 9:59:44 PM] [Camera-ffmpeg] Snapshot from Terasse at 480x270
Nov 08 22:00:15 raspberrypi homebridge[562]: [11/8/2018, 10:00:15 PM] [Camera-ffmpeg] Snapshot from Terasse at 480x270
Nov 08 22:00:40 raspberrypi homebridge[562]: [11/8/2018, 10:00:40 PM] [Camera-ffmpeg] Snapshot from Terasse at 480x270
Nov 08 22:00:41 raspberrypi homebridge[562]: [11/8/2018, 10:00:41 PM] [Camera-ffmpeg] Start streaming video from Terasse with 1280x720@299kBit
Nov 08 22:00:41 raspberrypi homebridge[562]: [11/8/2018, 10:00:41 PM] [Camera-ffmpeg] ERROR: FFmpeg exited with code 1
pi@raspberrypi:~ $ ffmpeg -re -i rtsp://syno:7179133b0bbd6c326bca7093fb7f6075@<IP_ADDRESS>:554/Sms=13.unicast
ffmpeg version N-91067-g1c2e5fc Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10+deb8u1)
configuration:
libavutil      56. 18.102 / 56. 18.102
libavcodec     58. 19.101 / 58. 19.101
libavformat    58. 13.102 / 58. 13.102
libavdevice    58.  4.100 / 58.  4.100
libavfilter     7. 22.100 /  7. 22.100
libswscale      5.  2.100 /  5.  2.100
libswresample   3.  2.100 /  3.  2.100
[rtsp @ 0x24be130] max delay reached. need to consume packet
[rtsp @ 0x24be130] RTP: missed 18 packets
[h264 @ 0x24c1000] error while decoding MB 14 16, bytestream -13
[h264 @ 0x24c1000] concealing 315 DC, 315 AC, 315 MV errors in I frame
Input #0, rtsp, from 'rtsp://syno:7179133b0bbd6c326bca7093fb7f6075@<IP_ADDRESS>:554/Sms=13.unicast':
Metadata:
title           : Session streamed by "ssrtspd"
comment         : 1,13_medium.unicast
Duration: N/A, start: 1.106822, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 640x360, 90k tbr, 90k tbn, 180k tbc
At least one output file must be specified
Can you help me?

Got this issue after another fresh install using Wiki page on repo to install.
Do I need the full version of this as in no raspberian lite?

@KhaosT any ideas?

Tried on another pi using a full version instead of lite and failed. Gonna re-wipe that one and try again

So I have gotten further, but I still get the same error, May the camera size needs to be specific?

Try checking your config, I went through all the debugging, and then at last, found out that there was an extra space in the homebridge config:
"source": "-re -i   rtsp://YOURUSERNAME:YOURPASSWORD@YOURIPADDRESS:YOURPORT/path/to/stream"
It should be instead:
"source": "-re -i   rtsp://YOURUSERNAME:YOURPASSWORD@YOURIPADDRESS:YOURPORT/path/to/stream"


Function to update "filterPrivacy' from workbook > workbookPr

@xuri  this is related to https://github.com/qax-os/excelize/issues/1148 vba improvement
When I create a .xlsm with macro code, it generates this content for xl/workbook.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
          xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
    <fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9303"
                 codeName="{8C4F1C90-05EB-6A55-5F09-09C24B55AC0B}"/>
    <workbookPr codeName="ThisWorkbook"/>

And with latest version of excelize:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
          xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
    <fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9303"
                 codeName="{8C4F1C90-05EB-6A55-5F09-09C24B55AC0B}"/>
    <workbookPr filterPrivacy="1" codeName="ThisWorkbook"/>

it adds filterPrivacy="1"
the problem with that is that excel does a kind of validation everytime a file with macro is saved, and shows this message:

Here are the steps to fix it manually: https://www.extendoffice.com/documents/excel/1908-excel-stop-privacy-warning-on-save.html

So that configuration updates the xl/workbook.xml file and removes filterPrivacy="1"
thanks in advance

@xuri  I think I've figured it out, please can you review this PR: https://github.com/qax-os/excelize/pull/1154

Fixed on this commit: https://github.com/qax-os/excelize/pull/1159


Fixing TriggerNetpartition test error

RC: Test failed because during etcd flaps we were trying to create containers when etcd was still not healthy and docker was reconnecting to etcd.

Fixes #611

general comment: use a for with a counter and len() instead of iterating over the loop in your waiters impls

sure. any reason for the len to be different ?

it's just a nit. feel free to ignore.

well I just made a bunch of noise, sorry.
LGTM


Puppeteer support

Is there any plans for Puppeteer support?

Is Mocha not usable with Puppeteer now? It looks like an alternative to Selenium; if that's accurate, you should simply be able to use it inside it.

Thanks @ScottFreeCode , something like mocha-puppeteer. But maybe that's out of mocha scope.

Ah -- yeah, I think that's outside the scope of Mocha; we've had a lot of success with Karma, which is an entirely separate tool that can run tests for Mocha (or other test runners!) in a variety of different browsers, and it seems unlikely that there's anything to be gained by building such functionality into Mocha directly when separate projects can use Mocha that way and even compete with (or complement, or build on) each other. (I also don't know enough about Puppeteer to know whether this use of is a huge hack or not -- with Selenium I know you could run tests inside the browser using executeScript, but it's an indirect approach and has all the overhead of Selenium's user interaction simulation being pulled in and then ignored.) In fact, I'd be interested in whether Puppeteer makes it easier to create a Karma browser runner (Karma supports so many browsers by having a plugin to run each browser) for headless Chrome, which would then benefit not only Mocha but any test runner that Karma supports and would be easy to plug into any existing Karma test setup! But in any case having dedicated tools for each element of the test process that compose, rather than requiring one tool to do it all, is the modular and scalable approach; as long as Mocha doesn't need to do something specific to make this usage feasible, we'll probably just want to continue on and keep an eye on such projects in order to make recommendations.


Move away from deprecated 'allocated-memory' attribute in nodes element

@gjoranv and/or @jonmv please review

Thanks :)


there is no swap in published schema

while latest wasm says it has it
https://github.com/Wasmswap/wasmswap-contracts/blob/main/schema/execute_msg.json
please update schema

I think the schema is outdated, once we get this we can update the codegen
cc @ben2x4


Fluentbit compilation with usrmerge distro feature

It seems like the fluentbit statically installs the service to /lib/systemd/system. However, with distros that have usrmerge feature enabled, this will not work, since nothing should be directly installed to /lib. This PR adds a patch that should install the service to correct location if usrmerge is enabled

Included in https://github.com/PelionIoT/meta-pelion-edge/pull/248


[Shadowrun 5th] A few updates

Changes / Comments
Added ability to track stun and physical tracks on tokens.
Added bonus box to defense for Bear Mentor Spirit (had a PR for this before but the commit disappeared?)
Removed white space and SR logo in the roll template
Fixed Chummer import to support the HeroLab chummer export, while still supporting the original way.
Fixed armor penetration to never let armor go below 0
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[X] Does this add functional enhancements (new features or extending existing features) ?
[X] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

accidentally pushed changes for a different sheet.


How can I get things from HTTP response html using Javascript and then store it into environment?

@komajunjun You can get the response in the tests using the pre-defined variable responseBody (Optionally, run the sandbox function xml2Json on it to make parsing easier). You can then store it in an environment variable).
The Postman app's issue tracker is here. You can post further queries there.

@madebysid But the response data is not JSON format, it's HTML format. I can't parse responseBody to JSON object.

@komajunjun The variable responseBody has the response body as a string. Running xml2Json(responseBody) will convert the XML into a JSON structure, which you can parse.

@madebysid THX


I failed to build the Bot when adding QnA Maker with Bot Framework Composer

I've build a chatbot with Bot Framework Composer using LUIS backend, and everything works fine until I decided to add QnA functions to it.
I'd previously built an QnA bot with QnA Maker and published it, and I'd made sure it's working fine when I connected it to LINE on mobile phone. It could answer the question properly when I ask questions on LINE.
Then I tried to connect the QnA knowledge base to existing chatbot, I configured the QnA subscription key in Configurations.  However, when I start the bot it shows error:
Sorry, something went wrong with publishing. Try again or exit out of this task.

QnA Maker build failed: This error may indicate that your Search service requires an upgrade. For information about the Search service limits, see here: https://docs.microsoft.com/en-us/azure/search/search-limits-quotas-capacity

It seems my subscription plan is reaching a limit, what should I do to make it work?
Thank you

This doc outlines the limits placed on the QnA Maker service. You can compare your service to these limits. If you suspect you have reached the limit for your subscription plan, then you will need to increase the tier of the plan or wait until the limit resets for the period.

Closing as resolved.


Fix doc of the type inherited from generics class or module

For example, BitArray's doc:

I fixed it to:

Awesome, thank you!


DevOps Mutualization SIG Meeting - May 19, 2022

Date
19 MAY 2022 - 12pm ET / 5pm BST
Untracked attendees

Name
Firm
Comment

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene, roll call, welcome new people
[ ] Display FINOS Antitrust Policy summary slide
[ ] Approve previous meeting minutes
[ ] #47
[ ] #45
[ ] AOB, Q&A & Adjourn (5mins)

WebEx info
Webex:
https://finos.webex.com/finos/j.php?MTID=md62056638ba05fbea86b9582df94f807
Dial-in

US +1-415-655-0003 US Toll
UK +44-20319-88141 UK Toll
Access code:<PHONE_NUMBER>

Github Repo: https://github.com/finos/devops-mutualization/
Mailing List: Email<EMAIL_ADDRESS>to subscribe to our mailing list

Hello!

Hello!

Hello 👍


Repeating last show in series

Now that we have it skipping to the next episode before the countdown starts, it seems that this causes it to just repeat the same episode over and over if you're at the last episode in the series (rather than just returning to the main menu).
I remember seeing this very rarely before (I assume that it was just a timing issue where it happened to check the show time at the exact right time before the player had returned to the main menu), but now it happens every time at the end of the last episode in the series.
Is there any way to check if there's a next episode via the API before attempting to skip to it?

45c8f28c4ee3c6024279f517015084c8a3c0e673
See if that works
This gets a little tricky, not all players return timeline data which is required to get the playqueue. The playqueue is what is needed to determine if you're at the end of the line or not
Its working on my quick tests using the web player but there will be some limitations if the player has buggy timeline returns. I think most of the mainstream players should be ok

Working on my "Plex For Windows" player, although that's not surprising. I'll test it on FireTV later, thanks

It seems pretty much instant, if you run into any issues I can look about offloading that somewhere earlier but it gets a little tricky as its a subfunction of the player not the media session and there can in theory be multiple players reported so its best handled during the player loop

Getting about 6-7 milliseconds for PlayQueue.get()

Ah, no that should be just fine then, I can't see that being an issue at all at that latency.

Going to close this out, let me know if you have any issues

It still happens most of the time. I've just learned to live with it.

2022-07-19 17:20:43 - __main__ - INFO - Found 118 [173625] (Overlord s04e03 - Episode 3) Speedy media that has reached the end of its playback with viewOffset 1418993 and duration 1420110 with skip-next enabled, will skip to next
2022-07-19 17:20:43 - __main__ - INFO - Seek target is the end of 118 [173625] (Overlord s04e03 - Episode 3) Speedy for Plex for Windows player , going to next

You'll need to turn on debug level logging
https://github.com/mdhiggins/PlexAutoSkip/wiki/Debug-Level-Logging

For which area? Root, console or file?

Depends on where you're looking at the logs, console if you're watching the console output, file if you're pulling from the .log files

Ahh, gotcha. I was thinking it meant - file to monitor debug info related to reading config/custom files, and console/root related to other types of debug messages. I'll change them to debug and see if I can't get it to happen again.
Also, unrelated - I developed a utility to detect episode credits and insert them into the plex taggings database. It uses audio spectrographic fingerprinting similar to the native plex intro detection. Works well with your plexautoskip script

On my quick tests using the Plex for Windows client which looks to be the one you're using, the client fails to report a timeline on whatever media session is created first (not sure why) then works fine on subsequent playbacks. Without the timeline the check fails

Ahh, gotcha. I was thinking it meant - file to monitor debug info related to reading config/custom files, and console/root related to other types of debug messages. I'll change them to debug and see if I can't get it to happen again.
Also, unrelated - I developed a utility to detect episode credits and insert them into the plex taggings database. It uses audio spectrographic fingerprinting similar to the native plex intro detection. Works well with your plexautoskip script

Very cool, if you care to share I would definitely check that out

On my quick tests using the Plex for Windows client which looks to be the one you're using, the client fails to report a timeline on whatever media session is created first (not sure why) then works fine on subsequent playbacks. Without the timeline the check fails

Hmm, ok, that'll help reproduce the bug, since I was having trouble getting it to happen again, haha. But if that's the reason, I'm not sure what can be done to fix it from our end...

Ahh, gotcha. I was thinking it meant - file to monitor debug info related to reading config/custom files, and console/root related to other types of debug messages. I'll change them to debug and see if I can't get it to happen again.
Also, unrelated - I developed a utility to detect episode credits and insert them into the plex taggings database. It uses audio spectrographic fingerprinting similar to the native plex intro detection. Works well with your plexautoskip script

Very cool, if you care to share I would definitely check that out

Very early release. I only just finished it, so it's a bit rough. Currently still scanning my library.
https://github.com/cjmanca/plex-credits-detect

I think I found a solution
2573b6844df9c9307da35268a2ff426e8507f747
Overhauled how the script handles players, instead of iterating through all players listed in a session it identifies the active players and handles them on a session/player basis as the updates come from the server
These updates also include the playQueueID so I don't need to poll the timeline for that information anymore which allows me to work around certain players not always reporting timeline data
This did require a large amount of code modification so make sure I didn't break anything but seems like it's all working great in my tests

Nice! I'll give it a try

It's been spamming a lot of this:
INFO - Seeking Plex for Android (TV) player playing 275 [122778] (Peppa Pig s04e33 - The Little Boat) TV.4d1c322dc805972e-com-plexapp-android from 303577 to 304960
ERROR - Exception, removing from cache to prevent false triggers, will be restored with next sync
Traceback (most recent call last):
  File "C:\PlexAutoSkip\resources\skipper.py", line 201, in _seekTo
    self.seekPlayerTo(mediaWrapper.player, mediaWrapper, targetOffset)
  File "C:\PlexAutoSkip\resources\skipper.py", line 217, in seekPlayerTo
    pq = PlayQueue.get(self.server, mediaWrapper.playQueueID)
  File "C:\Users\<user>\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\playqueue.py", line 133, in get
    c = cls(server, data, initpath=path)
  File "C:\Users\<user>\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\base.py", line 54, in __init__
    self._loadData(data)
  File "C:\Users\<user>\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\playqueue.py", line 66, in _loadData
    self.selectedItem = self[self.playQueueSelectedItemOffset]
  File "C:\Users\<user>\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\playqueue.py", line 71, in __getitem__
    return self.items[key]
IndexError: list index out of range
INFO - Found new session 277 [122779] (Peppa Pig s04e34 - The Sandpit) TV.4d1c322dc805972e-com-plexapp-android viewOffset 0 ['dezba8'], sessions: 1

Unfortunately I'm not sure. That would be my niece watching a kids show downstairs, so I wasn't there to see, however she's too young to be doing anything - it just autoplays from episode to episode. It happened for 4 shows in a row before we turned the show off. I don't think there were any errors on screen at the time.

Oh - I just had it do a strange thing I've never seen before though on my Plex For Windows device. It auto-skipped to the end of the episode, but not to the next episode. It went to the 8 second countdown, which fully counted down to 0, at which point plex went to the next episode on it's own.
INFO - Found new session 287 [25252] (Star Trek: Deep Space Nine s02e02 - The Circle (2)) Speedy.qrixzse30dc9sbpecpzj4ts1 viewOffset 0 ['cjmanca'], sessions: 0
INFO - Found skippable marker intro for media 287 [25252] (Star Trek: Deep Space Nine s02e02 - The Circle (2)) Speedy.qrixzse30dc9sbpecpzj4ts1 with range<PHONE_NUMBER>20 and viewOffset 242694
INFO - Seeking Plex for Windows player playing 287 [25252] (Star Trek: Deep Space Nine s02e02 - The Circle (2)) Speedy.qrixzse30dc9sbpecpzj4ts1 from 242694 to 356520
INFO - Found skippable marker intro for media 287 [25252] (Star Trek: Deep Space Nine s02e02 - The Circle (2)) Speedy.qrixzse30dc9sbpecpzj4ts1 with range 2687813-2736716 and viewOffset 2688681
INFO - Seeking Plex for Windows player playing 287 [25252] (Star Trek: Deep Space Nine s02e02 - The Circle (2)) Speedy.qrixzse30dc9sbpecpzj4ts1 from 2688683 to 2736716
INFO - Found new session 288 [25253] (Star Trek: Deep Space Nine s02e03 - The Siege (3)) Speedy.qrixzse30dc9sbpecpzj4ts1 viewOffset 0 ['cjmanca'], sessions: 1
INFO - Session 287 [25252] (Star Trek: Deep Space Nine s02e02 - The Circle (2)) Speedy.qrixzse30dc9sbpecpzj4ts1 shares player (qrixzse30dc9sbpecpzj4ts1) with new session 288 [25253] (Star Trek: Deep Space Nine s02e03 - The Siege (3)) Speedy.qrixzse30dc9sbpecpzj4ts1, deleting old session 287

(first skip is intro, second skip is credits)

Hm, how close the end of the episode is the credit skip?
Looks like its skipping to 2736716 but not sure what the duration is

I tried changing the database entry to credits, and no longer got a "Skip" button in the plex interface, unfortunately. It may work with the autoskip of course, but I'd like the skip button to be available too.

Hm yeah that's on Plex can't fix that. I saw some references to "outro" in the code so that might be worth a test

Good to know, I'll give that a try

Any progress on the main part of the issue?

Looks like the most recent update fixed the issue with the late episode skips at least. I also haven't seen it repeat an episode yet with the new changes. So far so good!
I tried changing the intro tags to outro, and didn't get a skip button again, unfortunately.

In your testing / logs over the past few days are you seeing any of the following messages
"Exception trying to get PlayQueue" (debug level logging)

Oh, I haven't had logging set to debug level, I'll change that and see.
The only strange thing I've noticed is that once it skipped past an episode (left it un-played).

Feel free to post the logs for that and I'll take a look. Maybe the skip fired late and it had already started episode 11 thus skipping it?

Unfortunately I lost the log of that quite quickly after turning debug mode on. Debug mode puts out so many messages that it rotated through my max log size in about 30 minutes. I think I see which setting to change to increase that max size though which  I think I'll do just to make sure I don't lose a log I want.

5f4779a10e37e60ce32f6e7199569ee2abbbfac4
I just removed the exception block that was added earlier I think the playqueueID null check will be enough, if you start getting the error posted here https://github.com/mdhiggins/PlexAutoSkip/issues/14#issuecomment-1189846867 let me know and I'll revert the change

I just had another strange skip happen. When starting a new episode, it immediately skipped TO the start of the intro, and then a couple of seconds after, it skipped the intro as well.
INFO - Found new session 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 viewOffset 0 ['cjmanca'], sessions: 2
INFO - Session 148 [169926] (Shadows House s01e05 - The Debut) Speedy.qrixzse30dc9sbpecpzj4ts1 shares player (qrixzse30dc9sbpecpzj4ts1) with new session 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1, deleting old session 148
DEBUG - Deleting session 148 [169926] (Shadows House s01e05 - The Debut) Speedy.qrixzse30dc9sbpecpzj4ts1, sessions: 1
INFO - Found skippable chapter Intro for media 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 with range 0-51051 and viewOffset 27
INFO - Seeking Plex for Windows player playing 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 from 27 to 51051
DEBUG - Recent seek successful, server offset update 60000 meets/exceeds target 51051, setting seeking to False
INFO - Found skippable marker intro for media 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 with range 52272-140984 and viewOffset 60483
INFO - Seeking Plex for Windows player playing 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 from 60483 to 140984

I've verified that there's no intro from 0-51051, so I'm not sure why it thought there was:

Also receiving exceptions again with the latest update:
INFO - Found 175 [122800] (Peppa Pig s03e02 - The Rainbow) TV.4d1c322dc805972e-com-plexapp-android media that has reached the end of its playback with viewOffset 302862 and duration 304080 with skip-next enabled, will skip to next
INFO - Seeking Plex for Android (TV) player playing 175 [122800] (Peppa Pig s03e02 - The Rainbow) TV.4d1c322dc805972e-com-plexapp-android from 302864 to 304080
ERROR - Exception, removing from cache to prevent false triggers, will be restored with next sync
Traceback (most recent call last):
  File "C:\PlexAutoSkip\resources\skipper.py", line 201, in _seekTo
    self.seekPlayerTo(mediaWrapper.player, mediaWrapper, targetOffset)
  File "C:\PlexAutoSkip\resources\skipper.py", line 223, in seekPlayerTo
    pq = PlayQueue.get(self.server, mediaWrapper.playQueueID)
  File "C:\Users\methejuggler\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\playqueue.py", line 133, in get
    c = cls(server, data, initpath=path)
  File "C:\Users\methejuggler\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\base.py", line 54, in __init__
    self._loadData(data)
  File "C:\Users\methejuggler\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\playqueue.py", line 66, in _loadData
    self.selectedItem = self[self.playQueueSelectedItemOffset]
  File "C:\Users\methejuggler\AppData\Local\Programs\Python\Python310\lib\site-packages\plexapi\playqueue.py", line 71, in __getitem__
    return self.items[key]
IndexError: list index out of range
DEBUG - Deleting session 175 [122800] (Peppa Pig s03e02 - The Rainbow) TV.4d1c322dc805972e-com-plexapp-android, sessions: 1

And just had it completely skip a full episode again. It skipped from s01e06 to s01e08. When going back to the season view, it shows s01e07 with the unplayed mark on it. Here's the debug log:
2022-07-26 00:56:48 - __main__ - INFO - Found 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 media that has reached the end of its playback with viewOffset 1419203 and duration 1420002 with skip-next enabled, will skip to next
2022-07-26 00:56:48 - __main__ - INFO - Seeking Plex for Windows player playing 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 from 1419204 to 1420002
2022-07-26 00:56:48 - __main__ - INFO - Seek target is the end, going to next
2022-07-26 00:57:00 - __main__ - INFO - Found new session 176 [170129] (Shadows House s01e08 - In the Palm of His Hand) Speedy.qrixzse30dc9sbpecpzj4ts1 viewOffset 0 ['cjmanca'], sessions: 2
2022-07-26 00:57:00 - __main__ - INFO - Session 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 shares player (qrixzse30dc9sbpecpzj4ts1) with new session 176 [170129] (Shadows House s01e08 - In the Palm of His Hand) Speedy.qrixzse30dc9sbpecpzj4ts1, deleting old session 163
2022-07-26 00:57:00 - __main__ - DEBUG - Deleting session 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1, sessions: 1

Thanks for the detailed logs and information, made this very easy to troubleshoot
First
I restored the last commit to catch that exception, seems to be an API limitation or Plex bug that will just have to live with but at least it won't throw errors
Second
The media samples you posted appear to have chapters and one of those chapters is marked with the title intro
Note the difference in the logs
INFO - Found skippable **chapter** Intro for media 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 with range 0-51051 and viewOffset 27

INFO - Found skippable **marker** intro for media 163 [171291] (Shadows House s01e06 - The Garden Labyrinth) Speedy.qrixzse30dc9sbpecpzj4ts1 with range 52272-140984 and viewOffset 60483

That's why you're getting the double skip. To address this, you could either clear that chapter data from the files which would be a pain, or I just pushed an update 3522777f76c33bf0666097c4d84f6a510348675b that allows you to include a prefix on your tags that will selectively only apply them to markers versus chapters
If you change to
[Skip]
tags = m:intro, commercial, advertisement

the intro tag will only apply if its a marker and not a chapter. This can be set in config.ini or config.json for fine tuning
Third
This does look like the issue with the seek target being very close to the end and the API not updating so the script is still waiting for confirmation that the 'seek' has completed. I adjusted things so that if seek targets fall within the durationOffset instead of seeking near the end it will just skip next which should avoid the problem. You'll probably need to increase the durationOffset slightly to catch more of these but that's the only workaround I can think of
7470e65f3c1727df25fd3ae5ef56de1dc2db7072
Let me know if some any of these are not getting flagged as "watched", plex is pretty good about that but the more of the end of the file we skip the more likely that will be
Hopefully that addresses everything

What about "predicting" the seek? So when you send the seek command, you also pre-emptively adjust the predicted client play time too? I believe you're already using a local tracking of client play times for more accurate seek timing, right? So if you change this local time when sending the seek command (ie. pretend you got an API timing update when sending the seek, which can of course be updated to a more precise time at the next API update)

Also - may want to add in a check to see if the required modules are installed. I didn't notice that the requirements had changed at first on the update and took a minute to figure out why I was getting a ton of exceptions. I bet most users who update won't realize they have to re-run the pip install command

I updated the docker container to also rerun pip install --upgrade if the PAS_UPDATE variable is set to true and I found a small workaround to make PAS backwards compatible with the new change
4f15e90ad431e4b9f3cee37a459b6e4d830ab776
With regards to predicting the seek, this is already done but the issue is you need some kind of confirmation from the server before you fire your next API command otherwise you run the same risk of the API command being delivered too late.  The viewOffset is always tracked and after a seek is fired it assumes the new offset until a server update comes in to say otherwise
This is further complicated by the fact that the API will sometimes send "late" updates after a seek command is sent with inaccurate viewOffsets so you have to filter and disregard those if they don't make sense based on your last sent viewOffset
Regardless, do the 3 above changes fix their respective issues?

Looks like there were actually quite a few more issues introduced with 4.12 that weren't immediately apparent
This update should fix them, but it won't be backwards compatible
d507033c81c91c8f2c74b9423ae75591fec57eb8
That update includes a warning if an older API version is detected and blocks connection otherwise

It doesn't seem to be skipping at all for me anymore. I tried both the "m:intro" and also the normal "intro" options, but plex just plays through the full intro (both first and credits) with no auto skips

Are you on the latest commit?
d507033c81c91c8f2c74b9423ae75591fec57eb8

Yes, I just updated before trying this

Also - do you have discord? May make it easier to discuss these things =P

psyc#3322
Its working fine for me but definitely need the latest update cause they changed more in the API


Roll Plugins from ae6757435c97 to f781b036c830 (21 revisions)

https://github.com/flutter/plugins/compare/ae6757435c97...f781b036c830
2022-06-06<EMAIL_ADDRESS>Add automatic updating of github-actions (flutter/plugins#5880)
2022-06-05<EMAIL_ADDRESS>Roll Flutter from 2e1ebd83b3f6 to 52c47e96a33d (9 revisions) (flutter/plugins#5911)
2022-06-04<EMAIL_ADDRESS>Roll Flutter from 889a15eb9df6 to 2e1ebd83b3f6 (6 revisions) (flutter/plugins#5910)
2022-06-04<EMAIL_ADDRESS>Revert "All the workflows have been migrated to use main. (#5874)" (flutter/plugins#5907)
2022-06-03<EMAIL_ADDRESS>Update filter to run tasks only on PRs and main branch. (flutter/plugins#5883)
2022-06-03<EMAIL_ADDRESS>[image_picker_android] Add jetifier back with gradle and androidx upgrades (flutter/plugins#5890)
2022-06-03<EMAIL_ADDRESS>Roll Flutter from e8995736bf55 to 889a15eb9df6 (176 revisions) (flutter/plugins#5905)
2022-06-03<EMAIL_ADDRESS>ignore upcoming warnings in webview_flutter_wkwebview (flutter/plugins#5856)
2022-06-03<EMAIL_ADDRESS>ignore upcoming warnings in webview_flutter_platform_interface (flutter/plugins#5855)
2022-06-03<EMAIL_ADDRESS>[webview_flutter_wkwebview] Implement one callback method for review of the design (flutter/plugins#5700)
2022-06-02<EMAIL_ADDRESS>[image_picker_android] Remove jetifier and enableUnitTestBinaryResources from gradle properties (flutter/plugins#5889)
2022-06-02<EMAIL_ADDRESS>update key (flutter/plugins#5882)
2022-06-01<EMAIL_ADDRESS>All the workflows have been migrated to use main. (flutter/plugins#5874)
2022-06-01<EMAIL_ADDRESS>[google_maps_flutter] Objective-C code clean up (flutter/plugins#5780)
2022-05-31<EMAIL_ADDRESS>[video_player] Android: video_player_android parts of rotationCorrection fix (flutter/plugins#5158)
2022-05-28<EMAIL_ADDRESS>[path_provider_windows] Update to ffi 2.0.0 (flutter/plugins#5853)
2022-05-28<EMAIL_ADDRESS>[camera_web] Use CameraAccessDenied for permission error (flutter/plugins#5784)
2022-05-27<EMAIL_ADDRESS>[path_provider] Support unicode encoded version info values (flutter/plugins#4986)
2022-05-26<EMAIL_ADDRESS>[webview_flutter_wkwebview] Raise minimum Dart and Flutter version to 2.17 and 3.0.0, respectively. (flutter/plugins#5850)
2022-05-26<EMAIL_ADDRESS>[webview]: Bump gradle from 3.3.0 to 7.2.1 in /packages/webview_flutter/webview_flutter_android/android (flutter/plugins#5842)
2022-05-26<EMAIL_ADDRESS>[camera] Switch to platform-interface-provided streaming (flutter/plugins#5833)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[Feature] WithLink support

Since AddTo is only for OnDestory, it cannot handle complex requirements; a feature like DOTween's SetLink may be needed.

The proposed API is as follows: add a WithLink method to the Builder and specify the behavior with an enum called LinkBehaviour. This internally uses the MotionHandleLinker component.
LMotion.Create(0f, 1f, 10f)
    .WithLink(gameObject, LinkBehaviour.CancelOnDisable)
    .BindToPositionX(transform);

Isn't ’Discussions’ the best place to talk about this?


ChatGPTEditWithInstructions is not working.

In the ChatGPTEditWithInstructions window, I type prompt and press enter, but nothing happens. How do I find out which is the problem?
here my setting
  {
    "jackMort/ChatGPT.nvim",
    event = "VeryLazy",
    config = function()
      require("chatgpt").setup({
        api_key_cmd = "op read op://private/chatgpt/password --no-newline",
        openai_params = {
          model = "gpt-4",
        },
        openai_edit_params = {
          model = "code-davinci-edit-001",
          temperature = 0,
          top_p = 1,
          n = 1,
        },
      })
    end,
    dependencies = {
      "MunifTanjim/nui.nvim",
      "nvim-lua/plenary.nvim",
      "nvim-telescope/telescope.nvim",
    },
  },

Try escaping insert mode first by pressing escape, and then enter.

You have an old config.
Change this:
openai_edit_params = {
          model = "code-davinci-edit-001",  <----this
          temperature = 0,
          top_p = 1,
          n = 1,
        },

to this:
    openai_edit_params = {
      model = "gpt-3.5-turbo",
      temperature = 0,
      top_p = 1,
      n = 1,
    },


ImportError: cannot import name 'SharedDataMiddleware' from 'werkzeug.wsgi'

When running guildai view I get error:
Traceback (most recent call last):
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/bin/guild", line 10, in <module>
    sys.exit(main())
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/main_bootstrap.py", line 38, in main
    guild.main.main()
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/main.py", line 32, in main
    _main()
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/main.py", line 38, in _main
    main_cmd.main(standalone_mode=False)
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/external/click/core.py", line 759, in __call__
    return self.main(*args, **kwargs)
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/external/click/core.py", line 714, in main
    rv = self.invoke(ctx)
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/external/click/core.py", line 1132, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/external/click/core.py", line 951, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/external/click/core.py", line 552, in invoke
    return callback(*args, **kwargs)
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/click_util.py", line 146, in fn
    return fn0(*(args + (Args(**kw),)))
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/commands/view.py", line 64, in view
    from . import view_impl
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/commands/view_impl.py", line 33, in <module>
    from guild import view
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/view.py", line 29, in <module>
    from guild import serving_util
  File "/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/guild/serving_util.py", line 26, in <module>
    from werkzeug.wsgi import SharedDataMiddleware
ImportError: cannot import name 'SharedDataMiddleware' from 'werkzeug.wsgi' (/home/bartosz.ludwiczuk/.conda/envs/mlearn/lib/python3.7/site-packages/werkzeug/wsgi.py)

In normal console it work properly:

Everything was run at GCP cloud.

You're importing from the correct location as of Werkzeug 0.15 and above - but Guild is not. This is a bug in 0.6.6 since Werzkeug 1.0 was released (which breaks backward compatibility with that API).
You can fix this a couple ways:

Install the latest pre-release of Guild using pip install guildai --upgrade --pre
Downgrade to werkzeug 0.14 using pip install werkzeug==0.14.1


return concrete types of Claims, using generics

This change proposes the use of concrete struct types for Claims and descendant types, instead of interfaces. By usage of generics, we can let callers replace the standard types with custom type that carry additional properties. This would be a breaking change for the next branch.
rp package
In the rp package the following function will change their signature:
func VerifyTokens[C oidc.AccessTokenHashGetter](ctx context.Context, accessToken, idTokenString string, v IDTokenVerifier) (claims C, err error)
func VerifyIDToken[C oidc.Claims](ctx context.Context, token string, v IDTokenVerifier) (claims C, err error)

op package
In the op package the following functions will change their signature:
func VerifyIDTokenHint[C oidc.Claims](ctx context.Context, token string, v IDTokenHintVerifier) (claims C, err error)
func VerifyAccessToken[C oidc.Claims](ctx context.Context, token string, v AccessTokenVerifier) (claims C, err error)

oidc package
Above type parameters between square brackets ([]) define the minimum set of methods required to check validity of token claims. Aka, constraints. The existing Claims interfaces will be reused and supplemented with 2 methods:

GetSignatureAlgorithm() jose.SignatureAlgorithm migrated from  IDTokenClaims
SetSignatureAlgorithm(jose.SignatureAlgorithm) migrated from ClaimsSignature

Although both methods are not required in all use-cases of Claims all the current existing implementations of Claims currently carry the signatureAlg field.
A new interface AccessTokenHashClaims with the GetAccessTokenHash() string method migrated  from IDTokenClaims . Finally oidc will carry the following interface definitions, used as constraints:
type Claims interface {
	GetIssuer() string
	GetSubject() string
	GetAudience() []string
	GetExpiration() time.Time
	GetIssuedAt() time.Time
	GetNonce() string
	GetAuthenticationContextClassReference() string
	GetAuthTime() time.Time
	GetAuthorizedParty() string

	// new methods
	GetSignatureAlgorithm() jose.SignatureAlgorithm
	SetSignatureAlgorithm(jose.SignatureAlgorithm)
}

type AccessTokenHashClaims interface {
	Claims
	GetAccessTokenHash() string
}

The following interfaces can now be removed (their names will be reused):

AccessTokenClaims
IDTokenClaims
UserInfo
UserInfoProfile
UserInfoEmail
UserInfoPhone
UserInfoAddress
UserInfoSetter
UserInfoProfileSetter

In place, we will export the currently private struct types by taking the above names.
Example usage
If users want VerifyIDToken to return the predefined IDTokenClaims struct type:
claims, err := VerifyIDToken[*oidc.IDTokenClaims](ctx, token, v)

Or if their token caries additional claims, they can extend the type by struct embedding to gain direct access to those claims:
type customClaims struct {
	oidc.AccessTokenClaims
	Foo string `json:"foo"`
	Bar string `json:"bar"`
}

claims, err := VerifyIDToken[*customClaims](ctx, token, v)

It occurred to me over the weekend that embedding struct types to extend won't work if the base type implement json.Unmarshaller, unless each embedding type implements it as well. Therefore  we have to discuss if we want to remove Marshal and Unmarshal methods from token types. This would imply:

The oidc.Time type to be changed into int64 based, with simple methods to convert to and from time.Time:

type Time int64

func (ts Time) AsTime() time.Time {
	return time.Unix(int64(ts), 0)
}

func FromTime(tt time.Time) Time {
	return Time(tt.Unix())
}

func NowTime() Time {
	return FromTime(time.Now())
}

We will have to remove the claim field with the map[string]interface{} in the Token types. So struct embedding will be come the only way to get access to additional set fields.

Option 2,
Keep the Marshal and Unmarshal methods  and document clearly that extending won't work unless the embedding type has those methods as well. Callers can still choose to define their types from scratch, as long as they fulfill the oidc.Claims constraint.

@muhlemmer are you working on this? If yes can you please put it into progress?

Lets say tried out some things, but I want to confirm with Livio if this is the desired package API.


Kukor

"A le bo er a ngii a ngarang e ng kmal diak kukor el ekong e ngosukau."

"If anything comes up I will without a doubt go there and help you."

Maybe from OKOR:
https://tekinged.com/index.php?p=okor
On Mon, Jul 31, 2023 at 3:13 PM s-o-u-a-n-g @.***>
wrote:

"A le bo er a ngii a ngarang e ng kmal diak kukor el ekong e
ngosukau."

"If anything comes up I will without a doubt go there and help you."
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/440, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPT2PRB3ONSVM3NT2FMNY3XS5EJHANCNFSM6AAAAAA25YKOSM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Maybe from OKOR: https://tekinged.com/index.php?p=okor
…
On Mon, Jul 31, 2023 at 3:13 PM s-o-u-a-n-g @.> wrote: - "A le bo er a ngii a ngarang e ng kmal diak kukor el ekong e ngosukau." "If anything comes up I will without a doubt go there and help you." — Reply to this email directly, view it on GitHub <#440>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPT2PRB3ONSVM3NT2FMNY3XS5EJHANCNFSM6AAAAAA25YKOSM . You are receiving this because you are subscribed to this thread.Message ID: @.>

agree

uaisei: e ak okor which comes to a kukor :-)

Maybe from OKOR:
https://tekinged.com/index.php?p=okor
On Mon, Jul 31, 2023 at 3:13 PM s-o-u-a-n-g @.***>
wrote:

"A le bo er a ngii a ngarang e ng kmal diak kukor el ekong e

ngosukau."

"If anything comes up I will without a doubt go there and help you."

—

Reply to this email directly, view it on GitHub

https://github.com/tekinged/missing/issues/440, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAPT2PRB3ONSVM3NT2FMNY3XS5EJHANCNFSM6AAAAAA25YKOSM

.

You are receiving this because you are subscribed to this thread.Message

ID: @.***>

Yes, it is. That's right.


fix: JSONForm field event trigger binding get updated formData values

Description
If a field in JSONForm has an onChange event enabled, and the formData is used in the onChange event code, then the event binding always gets the old formData values.
Fixes #14302
Reason :
Internally formData values were updated after the event got triggered.
Solution:
When any formData change dependent event is fired, the event is queued and only triggered after the formData has the updated values.
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Cypress tests were added for all the widgets that have an onChange like event.
Steps

Source data (with only one field) is added to JSONForm and field type is modified to the field considered for testing.
The JS mode is enabled and a binding is added. Eg. {{showAlert(formData.color)}}
The field value is changed
An alert is observed with the latest value change.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=94311c4

Tested and verified.