failed to find snim0e value.

Not able to run commands. Tried Clearing the cookies and adding the cookie value again.. works for sometime and this error starts to pop up.
Won't go until I cleared all the cookies including accounts.google also.

I've been using this CLI for a while and the cookie shouldn't expire that often. If you're copying the cookie into another machine with a different IP address and especially in a new IP location, that might be the reason why Google is logging you out of your account.

I used cloudflare once, after that it got this error.

this problem still persists? I can't replicate it.

this problem still persists? I can't replicate it.

No, I changed the browser. Used Edge and took the cookie from there. After that it is okay.
The problem persisted on chrome. Sometimes it showed traffic overload error and cookie misconfigured error.
Not facing any problem from Edge

Got a __Secure-1PSID value from Windows machine.
Used it in the mac terminal.
Got the same error.
Any workaround?

Are they the same IP? Also looks like the cookie persists for longer if you're signed in when copying it out. Also keep in mind that browser privacy settings will have an impact on cookie's validity duration

@mosajjal Hi, I am experiencing the same issue (FTL failed to ask question: failed to find snim0e value. possibly misconfigured cookies?) on Android, in a termux terminal. It fails systematically, although I copied the right cookie value from a Firefox Android session on the same device. What do you think? Would you say it is supposed to work or fail?

@mosajjal Hi, I am experiencing the same issue (FTL failed to ask question: failed to find snim0e value. possibly misconfigured cookies?) on Android, in a termux terminal. It fails systematically, although I copied the right cookie value from a Firefox Android session on the same device. What do you think? Would you say it is supposed to work or fail?

This error happens when you browser clears your cookies . Use bard in another browser(which doesn't clear the cookies that often) and get the PSID from there.


[TASK]: Iterate on model typing and stratification workflow designs

We have a different task for that now so closing this one.


Make routes class generic

Allow Routes to be a generic class and so be consistent with the latest type definition of SingletonRouter.
@types/next has been updated.

Closes #300

Coverage decreased (-0.4%) to 94.468% when pulling be4e6b22263a1edfec2160e1ad8f8304f744e132 on maumchaves:make-Routes-class-generic into 08e8bbeaa76c5ec194abea388a193bedac7f35fc on fridays:master.


Change the python path to /usr/bin/env

Describe what this PR does and why we need it:
/bin/env doesn't work on ubuntu.

Changes Unknown when pulling db467387d8ba374b9df89c1023df9a13e4cd3f4e on rthallisey:python-path into ** on openshift:master**.


How do I use this?

Hi,
I found this because I was looking for the same thing.
I'm writing some documentation with example SQL queries, and wanted to run them from the markdown to just verify that they worked as intended. (In this case, I don't actually want an output block to appear after it, but that's beside the point.)
Unfortunately, I may have missed something obvious, but I can't figure out how to actually run the code inside the markdown code snippet?

Thanks for inquiring! I apologize for the lack of walk-through tutorials. It's near the top of my list of things to do next :)
Here are the settings I think you'll want:
"codebook-md.sql": {
  "execCmd": "mycli",
  "execOptions": [
    "-t",
  ]
}

execCmd: mycli -  I use mycli for running mysql queries from the command line. I use ~/.my.cnf to configure my connection, so I don't have to include sensitive information in the vscode settings. Pretty sure that configuration file also works for the mysql command.
execOptions: -t - I use this flag to show the output in a table format.

Let me know whether this works for you or not.


Source control doesn't show changes files in multi-folder workspace

The source control shows the correct number of changed files, but the changes list doesn't show the files.

Does this issue occur when all extensions are disabled?: Yes

Version: 1.68.1
Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630
Date: 2022-06-14T12:48:58.283Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Steps to Reproduce:

Init a multi-folder workspace
Modify any file

@duckimann, do the files appear when you click on the "Refresh" action in the toolbar?

@lszomoru No it doesn't.

@duckimann, could you please use the steps described in this wiki page to enable trace logging. After you enabled trace logging, please open several files, make changes to them and share the contents of the git output channel. Thank you!

@duckimann, thank you very much for the update.
Glad to hear that you were able to resolve the issue.

Available fix for me: Delete the state.vscdb in VSCode's /user-data/User/workspaceStorage/{id} folder.
I'll post any update if i able to reproduce the issue from the background info.


Define concepts only once and reuse them multiple times

Is your feature request related to a problem? Please describe.
Currently a concept is defined again and again. I.e. Address is defined with street number and zip code perhaps. When using this once for a supplier and a second time for a customer - the same structure needs to be defined multiple times. What about om supporting linking a concept in the hierarchy and defining it only once?
Describe the solution you'd like
Define the concept once and reuse i.e. apply it over and over multiple times. I.e. use the address both for suppliers and customers but define the structure of the address only once
Describe alternatives you've considered
custom CLI to define the OM terms/glossary hierarchy (super complex/annoying) i.e. python script which talks to the REST API -> not business friendly
Additional context

https://openmetadata.slack.com/archives/C02B6955S4S/p1694424335737609
https://www.youtube.com/watch?v=LII_5CDo_0s

cc @harshach @sureshms for any comments

@geoHeil what are missing in Glossary that can't be achievable what you are after

When I am in the glossary view i.e. https://sandbox.open-metadata.org/glossary and have the concept address used twice in the hierarchy - once for the customer as customer address and once for the supplier as supplier address I have to define the same concept twice (introduce a duplicate) instead of defining the concept address once and then simply linking/using it multiple times.
What is missing is the possibility to link/reuse a glossary item/concept at multiple places

@geoHeil why not use related terms? Yes you still need to create but you can just refer to them as same concepts no?

Because its not "related" - eg. a street name is part of an address. Its not related - Its a hierarchical relationship like explained here:
https://www.youtube.com/watch?v=LII_5CDo_0s
And I want to link this business term to a physical entity. I cant do that within a related term. Because then I do not understand if I see a connection from a physical street name (or any other term) to which hierarchical relation ship it belongs.
Besides that the related terms is not very clear to read. A hierarchical relationship is much better to understand and readable at the first sight.


progress bar refresh_rate prevents old bars being cleared

If you set refresh_rate=100 then the sanity check and validation bars continue being displayed forever even though leave=False. Also the validation bars only show part complete.
I note also that the mininterval parameter for tqdm bars is ignored.

In which terminal emulator / environment did you observe this behavior?
Can you verify it with our bug report model?

In a jupyter notebook but likely will be same in any environment. If possible would be simpler to use tqdm for all the progress bar code rather than having a bespoke "refresh" mechanism. It gets to the progress point that should be the end of the bar but does not update it any more.

works fine as long as the refresh is every iteration so bug is probably in the lightning refresh mechanism.

@awaelchli friednly ping :)

The PR is finished, it's ready for review


Wrong target link for GW Azure SSO

Hi Team,
The current link in the item "Azure AD Single Sign-On (SSO) for Gateway" is pointing to general home page about Tenant settings. I believe it should be pointing to one of the specific pages, thought not sure which of the two:
https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-sso-overview
https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-azure-active-directory-sso
The same issue is in the link in the Admin Portal:

With best regards,
Martin Kmec

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

ID: 700f1531-6391-647b-788d-56d176c930e7
Version Independent ID: 700f1531-6391-647b-788d-56d176c930e7
Content: About tenant settings - Power BI
Content Source: powerbi-docs/admin/service-admin-portal-about-tenant-settings.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @paulinbar
Microsoft Alias: painbar

Hi @MartinKDK, thanks for the heads up, and for the suggested possibilities for the target. I've opened a work item for this and will follow up. It may take a few days until the fix is in place, but I'm going to close this issue here now since I've got the work item, if that's ok. Please reopen if you feel the need. Thanks again!

Hi @MartinKDK, should be fixed now. Thanks again for pointing this out!


Update cats-effect, cats-effect-kernel to 3.2.1

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-kernel

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

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

labels: library-update, semver-minor

Superseded by #397.


bug in the function "onClickMatch" and "onClickHover"

The function returns no data!
Return "undefined", if you recover on the site itself where you teach the use is also with the bug!

Thanks for reporting!


WORKAROUND for network loss problem

Ovn adds the HW nic to the ovn bridge. This works as long as
ovn is running.  When docker is restarted or the ovs daemonset
is deleted the traffic continues to go to the bridge which
results in the loss of all network access. The console can
be used to repair the configuration and restore networking.
This change is a workaround that avoids placing the nic in the
bridge.  A side effect is that iptables are used.
Also, a bind mount can't be deleted in a container.
Changed the go_controller to not try. Deleted files in the
daemonset yaml files.
/var/run needs to be mounted.
ovnkube.sh now displays the git branch and commit number
when available.
Signed-off-by: Phil Cameron<EMAIL_ADDRESS>

@rajatchopra @dcbw Here is the change that @rajatchopra suggested to work around the fatal loss of network problem. PTAL

@pecameron
/lgtm
Did you test this?
This should prevent the lockout in theory, but will still leave broken parts of the setup. We should write the PreStop hook for the daemonset to clean up the mess still. See https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

@shettyg PTAL. The 'fake' device code has become an indispensable real feature now :).

I had only tested this on one node. I think it makes sense to test this on atleast 3 nodes and see whether north-south traffic works fine for all 3 nodes.
Few points/questions:

This leads to NATs twice. I would imagine that this is a performance penalty? I think @dcbw mentioned that it can be worked around with?

@rajatchopra  I have not been tracking docker daemon for a while. Is it not true that k8s can do with a very lighweight uncrashable docker? Or is docker restarting a common thing?

ovs-vswitchd crashing should be fixed with --monitor option so that there is automatic restart.

 Any process can die at any time. Any system can crash or have a power failure at any time. The cluster must be able to respond to the situation in a reasonable way and recover back to normal operation when the issues are resolved. "uneducated admin" is just a simple way of triggering some conditions.
I am setting up and testing various failure scenarios.

@rajatchopra I have not been tracking docker daemon for a while. Is it not true that k8s can do with a very lighweight uncrashable docker? Or is docker restarting a common thing?

The latest docker release will allow containers to run even when the daemon is restarted. But we need to be aware that docker is not the only runtime ovn-kubernetes will be run against.
Even then, a container dying is an event that we cannot rule out. I feel that our recommended reference architecture for a production cluster should always be to have two interfaces on the nodes.

I am fine with it.

@rajatchopra I am not convinced we should make this configurable. This is a temporary workaround until a proper solution is found.

@pecameron Agreed.


Deployment 2018-05-14

Deployment 2018-05-14
Status: Planned
Planned production date:  2018-05-14
Hotfixes:
Services to Deploy:

Repo
Service
Commit
INT
PROD (primary)
PROD (secondary)

NuGet.Gallery
Gallery (real)
e2318e49d1...
[X]
[X]
[X]

NuGet.Jobs
ProcessSignature
1e2980059e9b...
[X]
[X]

NuGet.Jobs
Orchestrator
ac0e8b6 ...
[X]
[x]

Related blog posts/docs:

N/A

Gallery
Functional
Technical

Published Gallery release:
https://github.com/NuGet/NuGetGallery/releases/tag/v2018.05.08


Add border-radius to the elements in the free code camp header

Describe the Issue
I was looking at the home page and realized there is no border-radius in the search bar or buttons. I believe it would look way better with a litte of border-radius and way more professional. In the screenshots session there is a comparison of the header using components with border-radius vs without it.
Affected Page
https://www.freecodecamp.org/
Steps to Reproduce

Open the freeCodeCamp home page https://www.freecodecamp.org/

Expected behavior
To solve this issue it is expected that the developer adds the style border-radius with 5px in each of the elements presented in the image.
Screenshots
With 5px border-radius

Without

System

Device: [Laptop]
OS: [Ubuntu 20.04]
Browser: [Microsoft Edge]
Version: [119]

Additional context
No response

Could you provide more reasoning for this suggestion? This makes header not consistent with the rest of the page where border radius is not used.

@gikf Most modern web pages use rounded corners in buttons, it is a good way to show that they are interactive elements in the page, makes the interface look more professional and it looks more like there was put effort to make the webpage look better (since the default elements are usually sharp corners).
I did not realize the inconsistency it would lead with the rest of the interface, still, I believe that it would be a good update and maybe it would be possible to change the rest of the elements too.
It's just a suggestion that I would implement if the website were mine.

Thank you @PedroRamos360.  The sharp edges are part of the effort to adapt IDE look and feel when went for a redesign in 2019. After bootstrap is removed from the codebase in favor of our own component library, we will go back to the drawing board and redesign the website.
https://github.com/freeCodeCamp/freeCodeCamp/issues/52030
I am closing this issue and the related pr accordingly for now, but we will revisit your suggestions for the redesign.


Plex sync doesn't work for tv shows and ratings

Steps to reproduce:

Plex server is successfully connected to Watcharr
Settings > Press Sync with Plex button

Error message :
Plex Sync
Finished With 3 Errors
Syncing has finished, but with errors:
    series episodes could not be imported (request failed): ***
    series episodes could not be imported (request failed): ***
    series episodes could not be imported (request failed): ***

I can see that my movies have imported but some are missing ratings. The only 3 imported TV shows are the ones in the error above.
Container logs :
[GIN] 2024/05/08 - 00:06:41 | 200 |    2.103599ms |      <IP_ADDRESS> | GET      "/"
[GIN] 2024/05/08 - 00:06:41 | 200 |     967.447µs |  <IP_ADDRESS> | GET      "/api/plex/sync"
[GIN] 2024/05/08 - 00:06:41 | 200 |       92.08µs |  <IP_ADDRESS> | GET      "/api/job/jY6FdaoJepA="
time=2024-05-08T00:06:41.861Z level=INFO msg="plexSyncWatched: Importing movie." movie_name="August Rush" user_id=2
2024/05/08 00:06:41 /server/watched.go:137 duplicated key not allowed
[0.614ms] [rows:0] INSERT INTO `watcheds` (`created_at`,`updated_at`,`deleted_at`,`status`,`rating`,`thoughts`,`pinned`,`user_id`,`content_id`,`game_id`) VALUES ("2023-07-12 23:17:33","2023-07-12 23:17:33",NULL,"FINISHED",0,"",false,2,1,NULL) RETURNING `id`
time=2024-05-08T00:06:41.864Z level=ERROR msg="plexSyncWatched: unique constraint hit. movie must already be on watch list" error="content already on watched list"
time=2024-05-08T00:06:41.864Z level=INFO msg="plexSyncWatched: Importing movie." movie_name="Blast from the Past" user_id=2
2024/05/08 00:06:41 /server/watched.go:137 duplicated key not allowed
[0.510ms] [rows:0] INSERT INTO `watcheds` (`created_at`,`updated_at`,`deleted_at`,`status`,`rating`,`thoughts`,`pinned`,`user_id`,`content_id`,`game_id`) VALUES ("2023-05-27 00:10:14","2023-05-27 00:10:14",NULL,"FINISHED",0,"",false,2,2,NULL) RETURNING `id`
time=2024-05-08T00:06:41.865Z level=ERROR msg="plexSyncWatched: unique constraint hit. movie must already be on watch list" error="content already on watched list"
time=2024-05-08T00:06:41.865Z level=INFO msg="plexSyncWatched: Importing movie." movie_name="Catch Me If You Can" user_id=2
2024/05/08 00:06:41 /server/watched.go:137 duplicated key not allowed
[0.410ms] [rows:0] INSERT INTO `watcheds` (`created_at`,`updated_at`,`deleted_at`,`status`,`rating`,`thoughts`,`pinned`,`user_id`,`content_id`,`game_id`) VALUES ("2023-11-22 04:27:26","2023-11-22 04:27:26",NULL,"FINISHED",0,"",false,2,3,NULL) RETURNING `id`
time=2024-05-08T00:06:41.866Z level=ERROR msg="plexSyncWatched: unique constraint hit. movie must already be on watch list" error="content already on watched list"
time=2024-05-08T00:06:41.866Z level=INFO msg="plexSyncWatched: Importing movie." movie_name="Dead Poets Society" user_id=2

[...]

2024/05/08 00:06:42 /server/watched.go:137 duplicated key not allowed
[0.492ms] [rows:0] INSERT INTO `watcheds` (`created_at`,`updated_at`,`deleted_at`,`status`,`rating`,`thoughts`,`pinned`,`user_id`,`content_id`,`game_id`) VALUES ("2024-04-18 00:48:13","2024-04-18 00:48:13",NULL,"FINISHED",0,"",false,2,117,NULL) RETURNING `id`
time=2024-05-08T00:06:42.635Z level=INFO msg="plexSyncWatched: unique constraint hit. show must already be on watch list" error="content already on watched list"
time=2024-05-08T00:06:42.674Z level=ERROR msg="plexSyncWatched: Failed to fetch series episodes." series_name="The Ranch" series_id=plex://show/5d9c0817e264b7001fc3bba2 user_id=2 error="json: cannot unmarshal string into Go struct field .MediaContainer.viewMode of type int"
time=2024-05-08T00:06:42.674Z level=INFO msg="plexSyncWatched: Importing show." show_name=Wednesday user_id=2
2024/05/08 00:06:42 /server/watched.go:137 duplicated key not allowed
[0.304ms] [rows:0] INSERT INTO `watcheds` (`created_at`,`updated_at`,`deleted_at`,`status`,`rating`,`thoughts`,`pinned`,`user_id`,`content_id`,`game_id`) VALUES ("1970-01-01 00:00:00","1970-01-01 00:00:00",NULL,"FINISHED",0,"",false,2,118,NULL) RETURNING `id`
time=2024-05-08T00:06:42.675Z level=INFO msg="plexSyncWatched: unique constraint hit. show must already be on watch list" error="content already on watched list"
time=2024-05-08T00:06:42.691Z level=ERROR msg="plexSyncWatched: Failed to fetch series episodes." series_name=Wednesday series_id=plex://show/60300ded22d896002c2d4897 user_id=2 error="json: cannot unmarshal string into Go struct field .MediaContainer.viewMode of type int"
time=2024-05-08T00:06:42.737Z level=INFO msg="plexSyncWatched: Importing show." show_name="Les Lavigueur, la vraie histoire" user_id=2
2024/05/08 00:06:42 /server/watched.go:137 duplicated key not allowed
[0.569ms] [rows:0] INSERT INTO `watcheds` (`created_at`,`updated_at`,`deleted_at`,`status`,`rating`,`thoughts`,`pinned`,`user_id`,`content_id`,`game_id`) VALUES ("2023-12-14 02:49:51","2023-12-14 02:49:51",NULL,"FINISHED",0,"",false,2,119,NULL) RETURNING `id`
time=2024-05-08T00:06:42.739Z level=INFO msg="plexSyncWatched: unique constraint hit. show must already be on watch list" error="content already on watched list"
time=2024-05-08T00:06:42.754Z level=ERROR msg="plexSyncWatched: Failed to fetch series episodes." series_name="Les Lavigueur, la vraie histoire" series_id=plex://show/5d9c0801e264b7001fc3992b user_id=2 error="json: cannot unmarshal string into Go struct field .MediaContainer.viewMode of type int"

Hey @gravelfreeman, sorry I missed this issue, looks like something might be up with the struct we unmarshal the response from Plex into.
From the log it looks like its the ViewMode property, I can confirm we have it down as an int not a string. I don't think we use that property so maybe we can remove it and have you try without it.
I don't use Plex, so it's a bit hard testing, I appreciate that you are willing to do so!
Hopefully I can get a dev build out on the weekend, will ping you when it's built.
p.s. We don't have a discord, but we do have a matrix chat: https://matrix.to/#/#watcharr:matrix.org (no worries if you don't have a matrix account, I'll still ping you here when that build is up)

Hi @gravelfreeman, going to release an actual build later today, feel free to test this on the latest dev build if you get a chance: https://github.com/sbondCo/Watcharr/pkgs/container/watcharr/227461082?tag=dev


Apollo 1.0 Roadmap

Here it is, the roadmap for Apollo Client 1.0!
It's neither complete nor guaranteed to be right. To make it better, I need your help! Yes, you! Apollo Client is built by the community and for the community. For this particular document it means that if you're interested or have a stake in Apollo Client 1.0, consider doing one or more of the following:

Providing feedback on the planned features + improvements (which ones are important, which ones are not, which ones are missing?)
Making PRs to this document to reference currently open issues and PRs where applicable. If there are none, please open an issue/PR and link it!
Volunteering to help with or be responsible for one or more of the items in the list of 1.0 goals. It can also be an item you propose!

What we've built together so far is amazing, and I'm even more excited about what we're going to build from here on out. Let's make 1.0 happen by January 2017!

Is implementing immutable.js to solve #695?

@scf4 implementing immutable isn't going to solve that issue - that one is related to reading data from the store.


Issue passing arguments to Wscript

Hi all,
I've had great success so far with this script but am currently having issues using it to call Wscript.exe. I have something that looks like the following,
[Runasuser.ProcessExtensions]::StartProcessAsCurrentUser("$env:windir\System32\wscript.exe", "c:\temp\test.vbs")
In my mind this is meant to launch wscript with arg[1] as the input script however what happens is that Wscript is launched as if there were no input parameters. What am I missing here? Has anyone had success using wscript/cscript with this setup?
All responses are much appreciated

Figured it out by looking at the stack over flow post that OP suggested for anyone who comes across this issue in the future I resolved it by changing my original command to,
[Runasuser.ProcessExtensions]::StartProcessAsCurrentUser("$env:windir\System32\wscript.exe", "wscript c:\temp\test.vbs")


remove SyncVarGameObject/NetworkIdentityEqual

we can replace both functions with GetGameObjectNetId and GetNetworkIdentityNetId.
then compare the netIds with the syncVar netId via SyncVarEqual.
this would reduce complexity.
not high priority though.

gonna mark this as bug otherwise i'll miss it


aic edits

In this PR I removed the number of parameters as an argument from the user, and placed the constant parameters that are passed in the tHMM instead of fit().
It will count the number of parameters based on the constant_params given to it.
increased the number of states for figure 9 from 4 to 6.

Codecov Report

Merging #555 into master will increase coverage by 0.00%.
The diff coverage is 92.85%.

@@           Coverage Diff           @@
##           master     #555   +/-   ##
=======================================
  Coverage   92.83%   92.84%
=======================================
  Files          21       21
  Lines        1508     1509    +1
=======================================
+ Hits         1400     1401    +1
  Misses        108      108

Flag
Coverage Δ

#unittests
92.84% <92.85%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lineage/states/StateDistributionGamma.py
98.90% <66.66%> (ø)

lineage/states/stateCommon.py
95.65% <75.00%> (ø)

lineage/Analyze.py
82.02% <87.50%> (ø)

lineage/BaumWelch.py
100.00% <100.00%> (ø)

lineage/states/StateDistributionGaPhs.py
83.17% <100.00%> (ø)

lineage/tHMM.py
97.89% <100.00%> (+0.02%)
:arrow_up:

lineage/tests/test_BaumWelch.py
100.00% <100.00%> (ø)

lineage/tests/test_StateDistribution.py
96.87% <100.00%> (ø)

lineage/tests/test_StateEstimation.py
100.00% <100.00%> (ø)

lineage/tests/test_tHMM.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

@aarmey I hadn't thought of passing that through E. Will try it right away.

I tried some changes, but couldn't find a good way of changing the E. We only define a dummy StateDistribution for the data that we import. I tried assigning the constant values after fitting, through tHMMob.estimate.E[state].aprams[2, 4] = constant but I think this is after fitting and it doesn't help the way we wanted it.

Couldn't the StateDistribution have an argument within __init__() like const, that defaults to None, but that you can set to define the constraint?

I thought it will get overwritten. I will try it.

Hmm... I think the emissions are updated in-place. If not we can fix that.


Fixed an exception where the collectionName could not be found when MilvusVectorStore executed the doDelete method

When MilvusVectorStore executes doDelete method, if we do not use the default database (default), DeleteParam does not pass the specified DatabaseName, in the actual query will be searched according to the default. There is no collection in the default library, and the collectionName cannot be found

Merged upstream.


Add EXTPROC for android

Needed for nix-rust/nix#527.

Looks like some CI failures?

Counting zeros is hard...

@alexcrichton RTM

@bors: r+

:pushpin: Commit 2008668 has been approved by alexcrichton

:hourglass: Testing commit 2008668c12a70abb469f43202e0b48d626fd98db with merge 30564181bfa1856f4e3c41305ad4a0d1d5aa1e51...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 30564181bfa1856f4e3c41305ad4a0d1d5aa1e51 to master...


Renaming Workspace And Projects

Okay I will implement that

Please rebase and fix conflicts so it can be merged!


Varmint board

The existing F1 and F4 boards have long since gone out of production, and can no longer be bought. As part of our v2 update effort, we are adding support for new STM32H7 based boards. This board, the Varmint flight controller, is a custom board developed by AeroVironment that we've been using for our development and testing efforts. It's planned to be available commercially sometime next year.
This board also uses the exact same STM processor as the CubePilot Orange (not Orange+) which we intend to add support for in our v2 release.

Since the ST provided code for this board implementation is 275,000 lines, I'm probably going to include this as a sub-module instead of being directly in the firmware repo and delete this branch so it doesn't clog up the git history with 27500 lines of code...


Aggregate metrics for containers at scaling and limiting threshold.

What this PR does / why we need it:
Added the following aggregate metrics (by containers).

To keep track of the number of containers whose resource usage is over scaling, limiting thresholds, vpa recommendations.
To keep track of the number containers which have pending scale down or scale up recommendations.
To keep track of minimum and maximum values for usage, requests, limits and VPA recommendations for containers across the cluster.
To keep track of the number of containers that have requests over a threshold percentage of their VPA maxAllowed configuration.

This can help evaluation and analyse different aspects and performance of horizontal and vertical scaling.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Added the following aggregate metrics (by containers). Firstly, to keep track of the number of containers whose resource usage is over scaling, limiting thresholds, vpa recommendations. Secondly, to keep track of the number containers which have pending scale down or scale up recommendations. Thirdly, to keep track of minimum and maximum values for usage, requests, limits and VPA recommendations for containers across the cluster. Fourthly, to keep track of the number of containers that have requests over a threshold percentage of their VPA maxAllowed configuration.

cc @ggaurav10 @wyb1

Added min and max metrics for usage, requests, limits and recommendations aggregated by containers to help tune VPA configurations for these components and also help while deciding if dedicated worker pools might help for some of these components.

@wyb1 I have fixed the missed substitution. Can you PTAL?

Added two more metrics to keep track of the number of containers that have requests over a threshold percentage of their VPA maxAllowed configuration. Will help in keeping track of clusters with higher load.

Soon there will be no more oversight of these metrics.

I volunteer to keep the oversight.
To counteract this I propose 2 things:

There should be dashboards for the metrics in the seed grafana (the grafana running in the garden ns).

But we cannot create the dashboard with these metrics. Or did you propose that we create the dashboards with these metrics?

The recording rules would be much easier to write and understand if they came from histograms. Then we could, for example, have metrics that would tell us 90% of containers under VPA are using 60% of their requests recommended by VPA. Then we only need 1 recording rule (i.e. a metric that says X% of containers under VPA have value Y.) per resource. We would basically be defining SLOs for VPA/HVPA. The problem with this is that the metrics have to come from another exporter. So either our vpa exporter or a new exporter.

Agreed about the general goodness of using histograms for this. But I don't see any standard histogram metrics which I can use for this purpose. Please let me know if you are aware of any.
If you notice, almost all of the metrics below are at 100%. The rationale is to help tune the VPA and HPA to see it is recommending values right (safe enough and simultaneously not too generous). For this, 100% is sufficient and we do not need the intermediate percentiles.
The only exceptions are seed:containers_over_cpu_scaling_threshold_total:count_by_container and seed:containers_over_memory_scaling_threshold_total:count_by_container which are at 80% and 120% explicitly for evaluating HPA behaviour. This is to evaluate the need and impact of re-opening #2070.
In general, it would be desirable to create histogram metrics with quantile/percentiles. But that would be larger effort and will require more time. I would rather get these aggregate metrics in now and evaluate/tune VPA and HPA. We can work on histogram custom metrics later and replace these metrics. WDYT?

Listing the concrete use-case behind each of the new metrics, in case it helps.

seed:containers_over_cpu_scaling_threshold_total:count_by_container and seed:containers_over_memory_scaling_threshold_total:count_by_container

Help evaluate if #2070 needs to be re-opened. And if it is re-opened what will be the impact on the avg number of replicas per active shoot in the seed clusters.
Help evaluate the benefit in reducing HPA scale down stabilization period (currently, 24h) to gain better resource utilization.

seed:containers_over_cpu_limiting_threshold_total:count_by_container and seed:containers_over_memory_limiting_threshold_total:count_by_container

How many shoots and components are at risk of being affected (CPU-throttled or OOMKilled) if scaling (horizontally or vertically) is blocked due to any reason (bug, deliberate or wrong configuration).

seed:containers_over_cpu_recommendation_total:count_by_container and seed:containers_over_memory_recommendation_total:count_by_container

How many shoots and components are affected by the case noticed by @ggaurav10 where VPA was not recommending higher values even when usage was consistently above the present VPA recommendation.

seed:containers_cpu_scale_up_pending_total:count_by_container and seed:containers_memory_scale_up_pending_total:count_by_container

How many shoots and components are adversely affected by any delay in scaling up (due to bugs or deliberate/wrong configuration of HPA, VPA, HVPA).

seed:containers_cpu_scale_down_pending_total:count_by_container and seed:containers_memory_scale_down_pending_total:count_by_container

How many shoots and components are costing extra resources by any delay in scaling down (due to bugs or deliberate/wrong configuration of HPA, VPA, HVPA).

seed:containers_over_cpu_max_allowed_threshold_total:count_by_container and seed:containers_over_memory_max_allowed_threshold_total:count_by_container

How many shoots are above 60% of the configured maxAllowed VPA recommendations. Currently, there seem to be none. But we need to know early if our end-users start getting close to the lists of the scale of the cluster that we have tested the performance so far. I will also create an alert in another PR for the individual shoot clusters based on this threshold.

seed:container_cpu_usage_seconds_total:min_by_container, seed:container_memory_working_set_bytes:min_by_container, seed:kube_pod_container_resource_requests_cpu_cores:min_by_container,
seed:kube_pod_container_resource_requests_memory_bytes:min_by_container,
seed:kube_pod_container_resource_limits_cpu_cores:min_by_container,
seed:kube_pod_container_resource_limits_memory_bytes:min_by_container,
seed:vpa_status_recommendation:min_by_container

How far down can we configure VPA minAllowed for the different components. We have some components that can be scaled down further.
Get insight into grouping components once multiple (probably dedicated) worker-pools are introduced in seed clusters.

seed:container_cpu_usage_seconds_total:max_by_container,
seed:container_memory_working_set_bytes:max_by_container,
seed:kube_pod_container_resource_requests_cpu_cores:max_by_container,
seed:kube_pod_container_resource_requests_memory_bytes:max_by_container,
seed:kube_pod_container_resource_limits_cpu_cores:max_by_container,
seed:kube_pod_container_resource_limits_memory_bytes:max_by_container, seed:vpa_status_recommendation:max_by_container`

How far down can we configure VPA maxAllowed for the different components. We have some components (especially, the non-shoot workload) that need to be scaled up more.
Get insight into grouping components once multiple (probably dedicated) worker-pools are introduced in seed clusters.

@wyb1 I have added the complementary metrics. Can you PTAL?

❤


Contentlayer strips HTML in Markdown

markdown is supposed to be a superset of html.
it is very frustrating when markdown pipelines strip html out for no reason.
i have found that the problem is in this line https://github.com/contentlayerdev/contentlayer/blob/2588c02e266289b8ef0a7ceccdeb804b045ad21a/packages/%40contentlayer/core/src/markdown/markdown.ts#LL58C5-L58C35
needs to be modified to add , { allowDangerousHtml: true }.

ok talked with @schickling. 2 options:

use patch-package  - this works! lol https://github.com/chroma-core/trychroma.com/pull/4/commits/71a78291d81a61e1ee39907ef239a6a34e03d3e2

supply a function to the markdown field but you will have to reimplement the pipeline https://github.com/contentlayerdev/contentlayer/blob/2588c02e266289b8ef0a7ceccdeb804b045ad21a/packages/%40contentlayer/core/src/markdown/markdown.ts#L45 didnt see this in the docs


conda: Remove dependencies of example

Description
Remove the dependencies of the example policy.  Tensorflow 1.15 is not compatible with Python 3.8 and thus the installation was failing.
Removing this fixes the documentation build on readthedocs.
How I Tested
By building the documentation on readthedocs.
I fulfilled the following requirements

[x] All new code is formatted according to our style guide (for C++ run clang-format, for Python, run flake8 and fix all warnings).
[x] All new functions/classes are documented and existing documentation is updated according to changes.
[x] No commented code from testing/debugging is kept (unless there is a good reason to keep it).

I am merging this now to fix the dependency issue with pytest on top of this change


WIP: Full rewrite

Hi @brian-armstrong  and @gimre this PR seems very clean and very well thought through is there any way this can be merged at least in a new branch if more testing is needed, I think it satisfy most of these goals outlined here https://github.com/quiet/quiet-js/pull/24
Awesome job you both!


Multiple Separate Doc Urls?

I'd like to have two sets of swagger docs at different urls. Something like admin apis and user apis with completely separate doc urls. Basically just two different sets of root urls for each doc set. Would this be easy to do currently?

There's now resource_access_handler which I have used to provide various supersets of my documentation to differently authorized parties. This should solve your problem.

It is now possible to expose multiple schema views in v2 w/ DRF 3.4,


Docker updates to build and run

This is the basic starting point for more docker automation and is enough to get someone started with just some EVN variables and the make commands

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Introduced new Makefile targets for building and running Docker images (docker-build-local, docker-run-local, docker-build).
Added new arguments for versioning and architecture in the Docker build process.
Updated application execution method in Docker to run directly as an entry point.
Added new configuration files (dev/emulator-account.pkey and dev/flow.json) for network and account settings.

Documentation

Updated README.md with clearer instructions for building and running the EVM Gateway using Makefile commands.
Expanded instructions for running the EVM Gateway locally, including prerequisites and environment variable configurations.
Added new sections detailing key concepts and debugging instructions.

Chores

Enhanced the build process with new variables for Git metadata in the Makefile.
Updated the Dockerfile to improve versioning flexibility and simplify Flow CLI installation.
Modified GitHub Actions workflow to include a new build argument for Docker image building.
Removed the dev/run.sh script as it is no longer needed for execution.
Updated .gitignore to exclude additional files and directories from version control.

PR now has updates to address various build and architecture issues and an improved README.md.
The README now strictly covers only the development and local build/test related concerns, with all other documentation on gateway operations being mastered in the Flow public docs


Remove unneeded margins

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #8393
[ ] Requires deployment <snek/rubick/worker>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[ ] I've tested it at </ksm/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Ecosystem Telegram?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Copilot Summary

🤖[deprecated] Generated by Copilot at 997c16b
Fix image alignment in mass minting overview table. Remove margin of figure elements in components/massmint/OverviewTable.vue.

🤖[deprecated] Generated by Copilot at 997c16b

figure margin gone
images align in table
autumn of minting

thanks!
pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 5.55 USD/DOT ~ 3.604 $DOT
🧗 16SpvdDgKNiQ3c53DxX7refnQcKUD3uRNim3Z1HBJLNGrtSP
🔗 0xb314522f13ff5707a86d7c7097900fa799717b0f2c89896bf617d43652efd43a
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Question about strings and structs and wasmtime API

I've got the following rust code:
pub struct Person {
    name: String,
    age: u8,
}

#[no_mangle]
pub fn get_age(p: &Person) -> u8 {
    p.age
}

#[no_mangle]
pub fn greet(name: &str) -> String {
    "hello there:".to_string()
}

that I'm compiling to the wasm32-unknown-unknown target:
cargo +nightly build --target wasm32-unknown-unknown --release

To my surprise, this compiled happily.  Since strings and structs are not types that webassembly knows about, I was surprised to even see a successful compilation.  My understanding was that in order to deal with these types you either have to use wasm-bindgen, or interface types.
I'm not using wasm-bindgen, and I'm not using interface types (since when I look at the output, I don't see any of the interface types custom sections).
So my first question is:  how is this actually working in the first place?
I'm not fluent in reading wasm, but when I looked at the generated code (attached in full at the bottom, but quoted in brief here), it all looked quite reasonable:
    (func $get_age (type 5) (param i32) (result i32)
      local.get 0
      i32.load8_u offset=12)

This seems reasonable:  The parameter looks to be an offset into wasm linear memory to some structure that expects the 'age' field to be at offset 12 from the start of the structure.
My next question: how do I call this from the wasmtime API?  How to I construct an instance of my Person struct and put it into the right memory?  How do I know how to layout my struct?
A similar question applies to greet:
  (func $greet (type 4) (param i32 i32 i32)

It looks like string types are transferred using 3 i32s (how do I create those from a string), but where's the return type?
Thanks!
plugin.wat.txt

Most of questions above can be answered by Rust's type layout and ABI discussion. Bottom line is you need to known both to call Rust functions directly without wasm-bindgen or interface types.
You can make your life easier and use repr(C) and extern "C" to use C layout and call convention.

how do I call this from the wasmtime API?

There are examples about embedding the wasmtime into custom project, see e.g. "gcd" and "memory". (You may also find the example at https://github.com/bytecodealliance/wasmtime/issues/39#issuecomment-581935681 relatively useful -- it shows how C compiled code can send a string to host function)

How to I construct an instance of my Person struct and put it into the right memory?

You have to call Rust a helper function to allocate a memory for a Person struct, then you populate it based on its repr() rules. The wasmtime provides Memory object to have the access to instance memory.

pub fn greet(name: &str) -> String {
(func $greet (type 4) (param i32 i32 i32)
It looks like string types are transferred using 3 i32s (how do I create those from a string), but where's the return type?

If I'm not mistaken, first two are pointer and length of name, and the third is a pointer to String structure, that is the return arg.
@eminence does this answer all of your questions?

This helps at lot, thanks.  In retrospect I should have realized that this is how things work.  I had gotten myself confused with several things.
I think you already answered my follow up question, but just to confirm:  The long-term approach to calling rust code (compiled to wasm) from wasmtime is with interface types?  (And not with the a C or Rust ABI)

The long-term approach to calling rust code (compiled to wasm) from wasmtime is with interface types?

That's correct. See more discussions on the subject at https://github.com/bytecodealliance/wasmtime/issues/677
Closing the issue as answered.

Thanks!


Bonjour constructor does not allow to set options for underlaying multicast-dns server

According to documentation of Bonjour service "The options are optional and will be used when initializing the underlying multicast-dns server. For details see the multicast-dns documentation."
But this is not true because constructor takes parameters like constructor(opts: Partial<ServiceConfig> = {}, errorCallback?: Function | undefined)
ServiceConfig does not have properties that corresponds to multicast-dns server options like interface, which I need.
Moreover if I try provide options like { interface: '...' } as any the interface param is ommited anyway.

We have just converted our project to TS and now face the same issue. How can I set a specific network interface for mDNS advertisement?


Pstools pre_hap1 or pre_hap2

i got a problem by using pstools,the length of scaffold0l_hap1 and scaffold1l_hap2 is very long in pre_hap1.fa file ,longer than expected the true length of  chromosome (<200Mb) ,however, the pre_hap2.fa file split scaffold0l_hap1/scaffold1l_hap2  into different smaller scaffolds.thoes result show in blew,i dont why ,could you help me ,thanks~

@lh3 @cschin @eldariont @shilpagarg

Thank you for your patience. I am investigating your request and will provide a general update for non-human assemblies soon. Hope this works.

Thank you for your patience. I am working on your request and will provide a general update for non-human assemblies soon. Hope this works.

thank you for your reply~looking forward to your updates

Please try purge_dups by Richard, Shane, Dengfeng et al.

Thank you for your patience. I am working on your request and will provide a general update for non-human assemblies soon. Hope this works.
when you development non-human assemblies by pstools? thanks!


Implemented associated input

Related Issue
Implemented #5078 for iOS
Description
The support for AssociatedInput options None and Auto is added.
Sample Card
https://github.com/microsoft/AdaptiveCards/blob/feature/associatedInputs/samples/v1.3/Elements/Action.Submit.AssociatedInputs.json
How Verified
How you verified the fix, including one or all of the following:

Existing relevant unit/regression tests that you ran; ran all of them
Manual scenario verification if any; Verified with sample card.

Microsoft Reviewers: Open in CodeFlow

awesome -- new changes look good :)


Generic printer

Start an exploration of a generic printer, aiming at factorizing backends a little.
In this PR the default printer is a Rust-like printer for the whole AST; the idea is to have a printer per family of languages.
For instance, Lean, Coq and F* share a lot in terms of structure.
This implementation uses OCaml classes (surprisingly!). This is somehow a bit nice here because we want to be able to refine an printer in another printer: we could have a FunctionalFlavorPrinter as a basis for CoqPrinter, FStarPrinter an d LeanPrinter that would override some parts of FunctionalFlavorPrinter, but inherit other parts.
In OCaml, I think OOP is the only way to achieve that. In type-class capable languages, we could use a double-dispatch thing with typeclasses and default implementation of methods. But in OCaml, I think OOP is the only sane way.
WDYT @cmester0?
(cc @R1kM also, since you're looking into having a Lean backend)

The generic printer is working fine, I rebased it on main.
I think we should merge it; for now it's deadcode, it's used nowhere, but having it in main would be nice so that we can update it as the AST changes, and that will make things easier to switch from existing backends or printers to this generic printer. (I'm especially thinking about the Rust printer)


feedback

Hello,
So I just tested pitchfork for the first time. Here is the remarks I have after running pf new
Tests:

I would have loved that a menu proposed me to directly use a testing framework (e.g. Catch2, or gtest), and creates a test using this framework.

Build

I try to build the project immediately, and cmake complained because the folder third_party and tests don't contains a CMakeList.txt file. If pf could generates unit test, it would contains the corresponding CMakeList.txt file. For the third-party folder, I don't know if add_subdirectory can generate a warning (or if it could test if third_party/CMakeList.txt exists before doing add_directory)?

Doc

I think pf shoud ask if you want to create a doc folder. An empty doc folder will not help anyone ;)

Basic files

I think that pf should create a Readme.md in the main directory.
Likewise, it should ask witch license you want (with a list of popular licenses) and create the appropriate LICENCE.txt file.

Help

pf --help should give a bit more help, or redirect to a more complete webpage. For example I think it should explain how to add an external dependency, or how to create an internal library.

Additional tooling

pf could help setting-up good practice by adding a .clang-format file, and maybe other tools (like code coverage, version control, …). Feature creep could be a limitation, especially if you want to give choices in the implementation of said tools, but I think it's an option to evaluate.

I know that pf is still an early work in progress, and I must admit that I think you had an awesome idea when you created it.

Thanks for the feedback!
Indeed, the tool is extremely young. I'm not surprised that you've already run into some trouble :smile:. I'm planning on setting up some CI soon that will be able to maintain a baseline of quality control going forward. I've spent the past few weeks and months yak-shaving on things and hope to spend a lot more time on this than I have recently. I like all of the ideas you've listed here, and I'll probably incorporate many of them in the future.


Native Notebooks - Explore dragging and dropping cells to combine them

When getting feedback on the native notebooks ux we heard from some users during a QP that they would like to be able to drag and drop cells over each other to combine them. Ex. Drag cell A on top of cell B to combine cell A and B.
Recreation of what users tried to do when asked to merge two cells:

The original has been found! https://github.com/microsoft/vscode/issues/103119


Move activesupport to a dev dependency

This is a great starter for Thor.  Thanks for sharing.
2 things I ran into:

activesupport.  I saw it is only used by cli_markdown so I moved to a dev dependency.  I prefer to avoid it for small projects if possible since the gem is a bit large but YMMV.
When generating docs (rake docs) cli_markdown will fail if the destination directory does not exist.

Released in v3.5.1


Support Realm.add(update:[bool])?

Is there an easy way currently to update an object if it exists with the specified primary key when calling Realm.add?

We are missing that functionality currently.
Instead of creating an object with a given primary key directly, you can do:
final o = realm.find<Item>(pk) ?? realm.write(() => realm.add(Item(pk));
realm.write(() {
  // update o
});

I cannot give timelines, but we will have support for upserts eventually. That said, since you are consuming objects from a network API, the overhead of doing a find, potentially an add, and then an update is miniscule compared to network call itself.

We are missing that functionality currently.
Instead of creating an object with a given primary key directly, you can do:
final o = realm.find<Item>(pk) ?? realm.write(() => realm.add(Item(pk));
realm.write(() {
  // update o
});

This won't work unless all properties are optional.
Another alternative with a flow of API -> Local DB, is to delete all objects matching ids of the new payload, then insert.
However this is flawed once there are relationships, where multiple models depend on another model. Deleting an entity of that latter model will remove all the references to it, and adding a fresh object won't set it back.

You can make it work for non-optional properties, but I agree - it becomes ugly quickly. Something like:
final o = realm.find<Item>(pk) ?? realm.write(() => realm.add(Item(pk, nonOptional));
realm.write(() {
  o.nonOptional = nonOptional;
  // update rest of o
});

I cannot recommend deleting then inserting, for the reasons already given by @lukaspili, and also for how it interacts with sync.
Upserts are coming - I promise. Stay tuned.

Thanks for the reply guys.  Looking forward to seeing how this library evolves.  Somewhat unrelated question so not sure anyone will answer but do. you guys tend to use your Realm objects as domain objects as well or do tend to separate those out?  Otherwise I think this thread is safe to close.  Thanks again.

Thanks @nielsenko! Looking forward to it.
One more question regarding your example: is there a particular reason you're doing the find() outside of the transaction?
Would it be ok to do it like this instead? (using a single write transaction to insert/update all items)
realm.write(() {
   final o = realm.find<Item>(pk) ?? realm.add(Item(pk));
   o.foo = 'bar';
});

@lukaspili No. Your approach is better 👍
@SApolinario Regarding domain objects, I like to use realm objects directly.

Resolved in 0.3.2+beta


CI flakiness fix: reduce numprocesses for integration tests

Reducing number of parallel processes when running integration tests to avoid error 137/OOM during integration tests.
Integration tests still take ~25-30 minutes to pass.

Ok, I realized that legacy tests take longer (> 40 minutes now), so I made the number of processes conditional (4 vs 6) based on the backend (booster vs legacy).


build: Ensure version details correct for system build

Requesting a system build does not correctly invalidate any previous
build.
Force the correct behaviour by ensuring a non-installation build
depends on "clean". This guarantees the generated code will be
recreated and ensures the correct version details in the resulting
binary.
Fixes #373.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

Hi @amshinde - please can you test the behaviour on this PR.

Coverage remained the same at 97.04% when pulling 212049d85fb2b74b5650c139c54f56fe424ec5ef on jodh-intel:fix-system-build into 1fe09bbaa225d9da7fc8442da4a852b66023fe83 on clearcontainers:master.

Coverage remained the same at 97.04% when pulling 212049d85fb2b74b5650c139c54f56fe424ec5ef on jodh-intel:fix-system-build into 1fe09bbaa225d9da7fc8442da4a852b66023fe83 on clearcontainers:master.

Coverage remained the same at 97.04% when pulling cdc34831ea62d6133dfae4773964b35010e9401b on jodh-intel:fix-system-build into bc0b79c159cc3ddae6b7c8e48fc639c3b56dc8b6 on clearcontainers:master.

Coverage remained the same at 97.04% when pulling fd832ee1ae4e98544e68c9d71dc16e7133d28eb7 on jodh-intel:fix-system-build into c94e0ab8362e81242a45f604e984a3f2a2e0879d on clearcontainers:master.


WIP: reformat docs w/uniform blocks, improve tutorial look

what's changed

Updated component blocks formatting
Corrected links and header id's to match their products where applicable

what's still TBD

spruce up tutorial entry point content and look-and-feel
add other components? (Docker Hub, Docker Store, any others ..?)

Reviewers, fyi
@joaofnfernandes @johndmulhausen @mstanleyjones @JimGalasyn
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

@londoncalling Can you divide the cards under groupings for "Products" and "Components" and "Tools?" Maybe just "Products" and "Tools" is necessary; that's the paradigm being used under "Product Manuals"

I think you have some of your Bootstrap classes a little backward. You probably meant col-xs-12 col-md-4 col-lg-3. That means that each card takes 12 columns on very small screens (one card per row), 4 columns on medium screens (3 cards per row), and 3 columns on large screens (4 cards per row).

@johndmulhausen @joaofnfernandes @mstanleyjones comments incorporated
@jsouth pinging you as an fyi, and format validation

LGTM, we can iterate on this more as needed, but merging since it solves some problems with out-of-date links on the current published page

@mstanleyjones  just to follow up and close the loop in the PR for everyone, I should clarify that the cards are set to these column spans because these divs include only a single actual row.
So the column spans are set to col-xs-12 col-md-4 col-lg-3 (and not the other way around, e.g., col-xs-12 col-md-4 col-lg-3) because we want a 12-column span for extra small screens, a 4 column span for medium screens, and a 3-column span for large screens. In a single row, this forces the cards to fill out the top row, etc.  Josh said the transitions when you are resizing the browser windows are smoother this way.
Originally, this page was set with a single column and a single row, but on this PR I created two rows with a single column in order to be able to add headings after the first set of cards.


Are records or patterns ready for any testing yet?

I ask because I regularly check out latest and try the following program:
void main() {
  var (a, b) = (1, 2);
  print(a);
  print(b);
}

with the following experiments in analysis_options.yaml:
enable-experiment:
    - records
    - patterns

and get the following results:
dart analyze --enable-experiment=records,patterns .

Analyzing ....

  error • bin\main.dart:2:7 • Expected an identifier. • missing_identifier
  error • bin\main.dart:2:7 • Expected to find ';'. • expected_token
  error • bin\main.dart:2:8 • Expected to find ';'. • expected_token
  error • bin\main.dart:2:8 • Undefined name 'a'. Try correcting the name to one that is defined, or defining the name. • undefined_identifier
  error • bin\main.dart:2:9 • Expected an identifier. • missing_identifier
  error • bin\main.dart:2:9 • Unexpected text ';'. Try removing the text. • unexpected_token
  error • bin\main.dart:2:11 • Expected to find ';'. • expected_token
  error • bin\main.dart:2:11 • Undefined name 'b'. Try correcting the name to one that is defined, or defining the name. • undefined_identifier
  error • bin\main.dart:2:12 • Expected an identifier. • missing_identifier
  error • bin\main.dart:2:12 • Unexpected text ';'. Try removing the text. • unexpected_token
  error • bin\main.dart:2:14 • Expected an identifier. • missing_identifier
  error • bin\main.dart:3:9 • Undefined name 'a'. Try correcting the name to one that is defined, or defining the name. • undefined_identifier
  error • bin\main.dart:4:9 • Undefined name 'b'. Try correcting the name to one that is defined, or defining the name. • undefined_identifier
   info • bin\main.dart:2:8 • An uninitialized variable should have an explicit type annotation. Try adding a type annotation. • prefer_typing_uninitialized_variables
   info • bin\main.dart:2:8 • Avoid using unnecessary statements. • unnecessary_statements
   info • bin\main.dart:2:8 • The type of  can't be inferred without either a type or initializer. Try specifying the type of the variable. •
          inference_failure_on_uninitialized_variable
   info • bin\main.dart:2:11 • Avoid using unnecessary statements. • unnecessary_statements

17 issues found.

Latest SDK I tried was Dart SDK version: 2.19.0-edge.4f53766c01495aa3cae4770dc199a743492ecd06 (be) (Thu Nov 10 18:26:29 2022 +0000) on "windows_x64"

You need to add a constraint of
environment:
  sdk: ">=2.19.0-0 <3.0.0"

to your pubspec & rerun pub get to try out experiments that have not been released.
I have not tried patterns, but records works for non-web stuff. Your sample would require both though, and looking at the commits to the dart SDK patterns are still very much a work in progress, whereas records are getting close. Note that without patterns you need to access fields of positional records using rec.$0 etc.

Yeah, I had the constraint:
sdk: '>=2.19.0-0.0.dev <3.0.0' and now have what you have above. Both do not work, so I guess it's not ready yet.

No, not really ready for general testing yet.  You can follow several issues marked as "records" or "patterns".


Support new Fixer API

Switch to new fixer api endpoint
Support making calles using fixer access key
Defaults to http for api (for free access key)
Can switch to https (if using paid access key)

Coverage increased (+0.9%) to 89.474% when pulling 2e517641a8a0b589affd84e5177ecdd48821b716 on zacksiri:master into a7b89114b150f0270ed144035dca3ebf6f4bc71b on jshmrtn:master.

Thank you! I’ll review and merge it tomorrow.


Fine-tune BigGAN?

Would it be possible to finetune this BigGAN implementation to a custom dataset, in order to generate new classes of images?

Hi, the discriminator weights are not public so you will have to find a work-around to fine-tune the model as a GAN.

Do you think it works to train a custom discriminator from scratch, while just fine-tuning the generator weights?

Do you think it works to train a custom discriminator from scratch, while just fine-tuning the generator weights?

Hi, Do you figure it out if it works?

I am trying to do some domain shift with BigGAN. The weights of the discriminator and of the generator are available here: https://github.com/ajbrock/BigGAN-PyTorch.
I am still trying different setups and hyper-parameters. But I am still not getting to the desired result.

Hi, can I fine-tune the biggan model with a small amount of datasets?

Hi, can I fine-tune the biggan model with a small amount of datasets?

What worked the best for me was to download the imagenet dateset and change one of the classes with your own data. You won't see any meaningful shift before 10k iterations though.

Hi,
The comment on the code below states that this needs to be re implemented if we want to train the generator.
class BigGANBatchNorm(nn.Module):
""" This is a batch norm module that can handle conditional input and can be provided with pre-computed
activation means and variances for various truncation parameters.
We cannot just rely on torch.batch_norm since it cannot handle
batched weights (pytorch 1.0.1). We computate batch_norm our-self without updating running means and variances.
If you want to train this model you should add running means and variance computation logic.
"""
If you just want to use the generator to flow gradients through, but don't want to change the weights of the generator, do you have to re-implement the batchnorm, or leave as is?
Thank you!

@VictorZuanazzi  how can i change one classe on my own dataset?

@nnajeh what I did was pretty simple. I downloaded the Imagenet dataset, each class is stored in a separate folder. I selected a few folders, deleted the images inside the folders, and added my own data to them.
The new data acts as regularization for the training and you can continue training the pre-trained model for a few tens of iterations without collapsing the generator.

@VictorZuanazzi  even if i don't have the same image sizes of the imagenet?

The images of ImageNet have all sorts of different sizes, the data loader should include transformations for resizing them to the desired dimensions.
You can check for the documentation on the transformations here: https://pytorch.org/vision/0.8/transforms.html, but the training code already includes a few of them.

@VictorZuanazzi  and should i rename the images the same as of imagenet?

That was not necessary for me, but I don't know how your dataset class is set up.

@VictorZuanazzi my data are png files so I cannot put them with Imagenet files?


merge to master

@keyki should we use that 221 specific catalog in master?

My commit looks good, but I can't comment on the conflict resolution for other commits.

@keyki should we use that 221 specific catalog in master?

No. That should not be merged to master. Thanks for noticing and asking!

@keyki should we use that 221 specific catalog in master?

No. That should not be merged to master. Thanks for noticing and asking!

ok, then i switch it back


Add assignment operators +=, &&=, etc.

This adds the following assignment operators: +=, -=, *=, /=, %=, ^=, ||=, &&=

Hi @FnControlOption, thanks for additions, but this repo is only meant as a small demo of how one can use ANTLR. It is not my intention to expand on it.


expose the AbstractApiMethodV2 response

Describe the solution you'd like
I'd like to have the ability to get the response of api object using 'getResponse()' just like there is a 'getRequest()' method.

https://github.com/qaprosoft/carina/commit/c5505587440fd782cb7d57307285d2952df33a33


[1.18.2] Copper bars not craftable

As title says, copper bars are not craftable and recipes will not show up in JEI
Tested in a fresh 1.18.2 world with forge 40.1.25, additional bars 3.0.1 Beta+1.18.2
Also during testing i found that even gold bars were not craftable either, even though the modpack i originally found this issue in has gold bars craftable, and nothing changed for them

This is intentional because copper bars don't have most of the functionality implemented, such as waxing, stripping and lightning striking.
I'm waiting for https://github.com/MinecraftForge/MinecraftForge/pull/8363 to get merged to implement full functionality and crafting

Okay cool i'll pass that on.


Use aggregated tags

Hi.
I like using this image for my local development and CI pipelines!
I would like to have aggregated tags in Docker Hub, so images may be referenced using only major or minor version parts.
Example: tag 11 should refer to most modern version of 11.x, and tag 10.0 should refer to most modern version of 10.0.x.
Many other project use this schema.
Thanks.

Hello,
Help yourself and have fun
Sent from my iPhone

On Dec 11, 2020, at 4:42 PM, Julio Carlos Barrera Juez<EMAIL_ADDRESS>wrote:

Hi.
I like using this image for my local development and CI pipelines!
I would like to have aggregated tags in Docker Hub, so images may be referenced using only major or minor version parts.
Example: tag 11 should refer to most modern version of 11.x, and tag 10.0 should refer to most modern version of 10.0.x.
Many other project use this schema.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you for taking the time to provide feedback to this project.
I would like to understand your use case a little better before implementing the proposed tagging workflow.
Are you using different versions of the image in your CI build to verify that your application builds with multiple versions?
We recommend to our customers to move to the latest version as soon as feasible and the CLI image is usually able to be used with an older version of the Angular CLI. Currently I don't see the use case for tagging the major versions separately.

Hello!
I'd like to build with an exact version like development to avoid unaligned results. Example, a project developed using Angular 10.X and built with the latest available version of Angular CLI in 10.X.
Thanks.

For the exact-version use case we tag the images with the exact version of the Angular CLI bundled in the image.
Please note that the current Angular CLI uses the version specified in the package.json anyway, so no need to have the exact image version.


[Bug] Property 'renderToSVGString' does not exist on type 'EChartsType'.

Version
5.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
我想把chart导出成pdf，查到5.3.0之后有renderToSVGString这个方法，尝试了一下
const echartsdiv = document.getElementById('chart-for-download') as HTMLElement
chartins = echarts.init(echartsdiv, undefined, {renderer: 'svg'})
console.log('renderToSVGString', chartins.renderToSVGString())

Current Behavior
vscode报错

Property 'renderToSVGString' does not exist on type 'EChartsType'.

然而在echarts.d.ts里是能找到renderToSVGString的定义的

renderToSVGString(opts?: {
useViewBox?: boolean;
}): string;

Expected Behavior
希望能够得到解决
Environment
No response
Any additional comments?
No response

I tested it with test/ssr-animaiton-wave.htm and it seems to be working. Please provide an online demo.

The code itself works. It does give SVG strings. But IDE keeps whining about type errors.
After several tries with different IDE and typescript versions(4.1.6 and 4.7.3), somehow all reach an agreement. If you are interested, what I did is open the project with Webstorm, find no complaints about 'renderToSVGString', and then go back to VSCode. I noticed VScode was using TS 4.7.3 while Webstorm was using 4.1.6. So I switched it to 4.1.6. Everything goes fine now. The thing is if I switch it back to TS 4.7.3, it won't report any error.
It seemed to be just something wrong with my environment. Sorry to bother you all. Thank you!


list index out of range

Jan 23 12:55:26 rpi4b ovos-core[1286]: 2024-01-23 12:55:26.379 - skills - ovos_core.transformers:transform:63 - WARNING - ovos-utterance-corrections transform exception: list index out of range

I wonder if its because there are no .json files.
https://github.com/OpenVoiceOS/ovos-utterance-corrections-plugin/blob/dev/ovos_utterance_corrections_transformer/__init__.py#L26-L28


incompatible QoS in micro-ros_reconnection_example

Issue template

Hardware description: ESP32
RTOS:
Installation type: precompiled library using Arduino IDE 1.8.19
Version or commit hash: v2.0.5-humble

Steps to reproduce the issue

load micro-ros_reconnection_example
upload to ESP32
start microros/micro-ros-agent:humble with serial --dev /dev/ttyUSB0 -v6
run rqt
subscribe to std_msgs_msg_int32 using Topic Monitor

Expected behavior
the value of the subscribed topic counting up
Actual behavior
WARN] [1677247550.012298137] [rqt_gui_py_node_664]: New publisher discovered on topic '/std_msgs_msg_Int32', offering incompatible QoS. No messages will be received from it. Last incompatible policy: RELIABILITY

Additional information
changing from using rclc_publisher_init_best_effort() to rclc_publisher_init_default() resolves this

would it be a good idea to change the micro-ros_reconnection_example example so that it works out of the box?

It works out of the box with ROS 2 CLI. If using another approach you need to take care of QoS


[native-filters]dashboard edit mode missing left padding with feature flag on

when user enter dashboard edit mode without the filter-bar open, dashboard left padding and action icons disappear.
work around, expand the filter bar and enter the edit mode
https://user-images.githubusercontent.com/67837651/120843807-655c3100-c523-11eb-9c95-276974ee5a68.mov
Thanks for spotting it! @jinghua-qa

@michael-s-molina 🙏


Error when resolution alternatives are disabled

In Sample 2 and 4, if we validate and resolve errors while Show Resolution Alternatives option is unchecked, we get error.

@hasanbalci @ugurdogrusoz this bug does not occur, now.

Looks good.


initial support for array literals

To do the encoding, we need to create expressions involving array.view().index(i). This means more hardcoded vstd paths, but there doesn't really seem to be a way around it.
This encoding uses AIR 'assume' statements, so it doesn't work in spec functions or other places that require pure expressions. It would be nice to support those use cases, since then we could use array literals to implement seq!, which is something we've talked about & which has been on the backlog for a while. It would probably be best to get chris's opinion on that, though, so I'm not handling that in this PR.

Could we do something similar to the encoding for string literals, for consistency and to avoid the hardcoded paths? I.e.

VIR nodes for primitives, like https://github.com/verus-lang/verus/blob/main/source/vir/src/ast.rs#L376-L377

and

axioms to connect the encoding and the view, like https://github.com/verus-lang/verus/blob/main/source/pervasive/string.rs#L164-L183

I have looked into it and it is tricker than I expected, because of the polymorphism. Given that, and the fact that we don't have a better mechanism to handle these internal calls right now, I'm happy with it.

I've rebased with the intent to merge, but found a panic while writing a couple more tests:
The following panics:
        exec fn test() {
            let ghost a = [3u64, 4, 5];
        }

with generated ill-typed AIR code: error 'use of undeclared function array.array_len.?' in expression '(array.array_len.? $ (UINT 64) $ (CONST_INT 3) tmp%1@).
Can you take a look? (Shall we disallow this?)


Value 'sm_80' is not defined for option 'gpu-name'

I'm running your code with the docker built by run.sh and  DockerFile.  The GPU I use is Tesla A100, which has compute capability sm_80.
When I run the training code, I have the following error.
I0123 06:16:37.701375<PHONE_NUMBER>46496 run_atari.py:97] Rainbow on Atari on gpu.
2022-01-23 06:16:37.706684: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:97] Unknown compute capability (8, 0) .Defaulting to telling LLVM that we're compiling for sm_75
2022-01-23 06:16:37.736490: F external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:419] ptxas returned an error during compilation of ptx to sass: 'Internal: ptxas exited with non-zero error code 65280, output: ptxas fatal   : Value 'sm_80' is not defined for option 'gpu-name'
'  If the error message indicates that a file could not be written, please verify that sufficient filesystem space is provided.
Fatal Python error: Aborted

Current thread 0x00007f094891c740 (most recent call first):
  File "/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py", line 268 in xla_primitive_callable
  File "/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py", line 228 in apply_primitive
  File "/usr/local/lib/python3.6/dist-packages/jax/core.py", line 273 in bind
  File "/usr/local/lib/python3.6/dist-packages/jax/lax/lax.py", line 342 in shift_right_logical
  File "/usr/local/lib/python3.6/dist-packages/jax/random.py", line 87 in PRNGKey
  File "/global_fs/dqn_zoo/dqn_zoo/rainbow/run_atari.py", line 100 in main
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250 in _run_main
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299 in run
  File "/global_fs/dqn_zoo/dqn_zoo/rainbow/run_atari.py", line 280 in <module>
  File "/usr/lib/python3.6/runpy.py", line 85 in _run_code
  File "/usr/lib/python3.6/runpy.py", line 193 in _run_module_as_main
Aborted

I guess the problem is raised by the imcompatibility bwtween A100 sm_80 and CUDA10.1. But I am only familiar with pytorch and completely new to jax and tensorflow. Can you tell me which package version in Dockerfile and docker_requirements.txt should be changed if I want to run your code on A100?
Thanks!

I sovled the problem by using newer cuda version docker.
FROM nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04


OpenApi viewer service

Hi,
I just built a little service that uses our component.
https://github.com/koumoul-dev/openapi-viewer
I'll try to deploy it soon in cloud and add format validation later

Have made the main link to this project, with a reference to the vue.js component. Please let me know when there's a hosted version available.

We host the service here https://koumoul.com/openapi-viewer/
I also pushed a docker image to docker hub and the service can be launched with :
docker run -p 8080:8080 koumoul/openapi-viewer

Updated. Please shout if you think the projects/links should be listed differently.


use AppVeyor to test windows version

The user experience for windows users is not great at the moment. I just tried following the instructions in the userguide and hit issue #617. I think similar makefile issues could crop up in the future versions unnoticed. -But maybe they could get caught using AppVeyor. This would also be a test of that the recommended install procedure in the userguide is still valid.

Mind giving us a summary on what AppVeyor is / does? Are you skilled in it
enough to get this set up? Happy to take contributions!
On Fri, Jun 29, 2018 at 7:17 AM, Aslak<EMAIL_ADDRESS>wrote:

The user experience for windows users is not great at the moment. I just
tried following the instructions in the userguide and hit issue #617
https://github.com/stan-dev/cmdstan/issues/617. I think similar
makefile issues could crop up in the future versions unnoticed. -But maybe
they could get caught using AppVeyor. This would also be a test of that the
recommended install procedure in the userguide is still valid.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/cmdstan/issues/627, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F92-zs89EXUcxqjVE3pf1OPLF6dIks5uBgy0gaJpZM4U827j
.

AppVeyor is a continuous integration tool. It is free and it builds for windows.
I made a tiny AppVeyor.yml file that attempts to build cmdstan and the bernoulli example using Rtools - it needs to be polished, but it is a starting point. I will make a PR with it shortly.

We have Windows testing set up on Jenkins for some time now. Closing.


Feat(CLI): List and inactivate users

This PR adds commands to list and inactivate users
How to prepare for test:

[ ] ssh to Hasta
[ ] install on stage of Hasta:
bash servers/resources/hasta.sclifelab.se/update-genotype-stage.sh [THIS-BRANCH-NAME]

How to test list users:

[ ] login to hasta
[ ] us
[ ] genotype list-users

Expected test outcome:

[ ] check that users (emails) are listed

How to test inactivate user:

[ ] login to hasta
[ ] us
[ ] genotype delete-user [email]

Expected test outcome:

[ ] check that user email was prepended with a "_"

[ ] Take a screenshot and attach or copy/paste the output.

Review:

[ ] code approved by
[ ] tests executed by
[ ] "Merge and deploy" approved by
Thanks for filling in who performed the code review and the test!

This version is a:

[ ] MAJOR - when you make incompatible API changes
[x] MINOR - when you add functionality in a backwards compatible manner
[ ] PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation plan:

[ ] Deploy to Hasta
[ ] Inform to production

Test result:
[S_main] 12s $ genotype list-users
<EMAIL_ADDRESS>[S_main] 12s $ genotype delete-user<EMAIL_ADDRESS>2022-01-18 12:55:32  genotype.cli.delete_cmd[53500] INFO Inactivating user<EMAIL_ADDRESS> [S_main] 10s $ genotype list-users
<EMAIL_ADDRESS>


[TOMEE-4035] Jakarta 9.1.0 and MicroProfile 5.0

[TOMEE-4052] - SAAJ Impl 2.0.1 => see https://issues.apache.org/jira/browse/TOMEE-4052
Krazo 2.0.2 => same for both EE 9.1 and 10.0 !
CXF 3.5.3
MP Config 3.0.2
MP FT 4.0.1
Log4J 2.19.0

This is a proposal, open to discussion. I am available on demand to create one Jira ticket per artifact.


Unreliable update of image when setting Position in DotNet.Forms.VlcControl

I have an issue / a question (pick one) about Vlc.DotNet.
Generic information

Vlc.DotNet version : 2.2.1
Vlc.DotNet project used : WinForms
libvlc version : x86) + NuGet
.net version : 4.6.1
Project language : C#)
Project build architecture : AnyCPU (prefer 32bits))
Operating system : (Windows 10) (x64)

Summary
Hi!
I am trying to use the Forms.VlcControl in my application, and i need to be able to carefully scroll to find a certain frame or position. From a code point of view, all works fine. I can set the exact position, and vlc shows that exact position if i request the current position. If I play, the video starts from the set position. But while searching for the correct frame via updating set position, the video window is rarely updated to reflect the change. My need is to be able to search a position in pause mode to be able to find the exact frame.
Do i need to implement vlc some other way to achieve this? I would love to stick with the control you built!

[ ] I confirm that my issue doesn't happen in VLC itself.

What kind of stream? do you have the same behavior with vlc itself?
I'm afraid there's nothing I can do about it since it looks like a libvlc issue

Can you share logs as well as repro code?

Hi Jeremy, and thanx for fast response :-)
No, the problem does not occurr in VlcPlayer. The stream is an mxf file or mp4 file (usually) but it doesn't seem to matter what kind of stream it is. Well, maybe I should have stated that it is a video file :-)
If I open the file in VlcPlayer and pause the playback, i can move the scrollbar position very accurately and the image follows. If I try the same with my application, the video updates sometimes, and sometimes not at all. But as said, if i playback agin, the video will play from whatever point i selected with my scrollbar. It seems that the control does everything right, except not updating the actual panel it is displayed in while in pause. I have tried to add an .Refresh() on the vlc control with no success.

What if you call libvlc_media_player_next_frame?
Or Play and then immediately Pause? Kind of a hack, but may be sufficient for your needs.

Well, nextframe didn't do anything. The Play/Pause hack KINDA works, except it is very unreliable as to if it will pause or not. Sometimes it does, sometimes it keeps on playing

I'd try to do something like
OnPlaying += PauseOnPlaying;
Play()

PauseOnPlaying(s,e){
 SetPause(true);
 OnPlaying-=PauseOnPlaying;
}

Still a hack though

Thanx for your suggestion Jeremy
That idea actually made the response worse than the
Play();
Pause();
idea. I guess it has to do with threading.. The play and pause commands, are they performed async or synced?
I am wondering if the only solution would be to do the whole buffering grabbing using the vlc control and not the Forms.VlcControl.. It's just that the Forms.VlcControl works so great in all other aspects

How did you try the NextFrame solution? is there such a thing in Vlc.DotNet?
Play and Pause are sent synchronously to vlc. Then vlc posts the commands to its internal threads and this operation is asynchronous.

Jeremy, I reached the NextFrame via the .DotNet.Forms.VlcControl.VlcMediaPlayer property

What if you try to set the Time instead of the Position?

@perkalkyl I don't have time to reproduce your issue right now. Would you mind publishing a sample project on github so that I can try it out?

@mfkl It doesn't matter if I use Position or Time. They just seem to produce two different ways of describing the "cursor" position in the stream. Position is a completed float (0.0 - 1.0), and Time is a millisecond count (0  -  stream duration).

@jeremyVignelles I am putting together a sample. But i need to examine my code before i burden you with this. The sample (that obviously is way lighter than my real app) behaves much better. Not perfect, but better, which might indicate that the problem lies in my code. I will get back with the result.
Also @mfkl, it seems that setting the position is much more secure than setting the time. If using the time, it goes into a deadlock very easily. It might have to do with the speed at which I update the position/time.

Did you manage to make a sample?

Hi @jeremyVignelles
I did a sample code, and in that code the playback head performs as good as can be expected. I have concluded that setting the Time is way more unreliable than setting the position. But that's fine. So as it is obvious that the issue lies in my application handling of the control (it's kinda complex), I didn't want to burden you chasing ghosts. If I manage to lock down the exact reason for the slow or nonexisting update, I will make an update to this thread, or if it is closed, make a new one.
BR
Per

I'm closing this for now then, feel free to reopen if needed


Can't initializate Envoy v1.16+ with CDS message

We have our implementation of go-control-plane, it's work great on envoy v1.15.2 - but upgrading to envoy v1.16.0 - got a Caught Segmentation fault on CDS message with aggregated cluster
# envoyproxy/envoy-alpine-debug:v1.15.2 - works
# envoyproxy/envoy-alpine-debug:v1.16.0 - not-works
# envoyproxy/envoy-alpine-debug:v1.16.1 - not-works
docker run \
  -it \
  --rm \
  -v $(pwd)/config/:/etc/envoy \
  -p 8000:8000 \
  -p 8001:8001 \
  envoyproxy/envoy-alpine-debug:v1.16.0 \
  --config-path /etc/envoy/envoy.yaml \
  --log-level warn \
  --log-format "%v" \
  --bootstrap-version 3 \
  --service-cluster test \
  --service-node test1-id \
  --service-zone test-zone

envoy.yaml
dynamic_resources:
  cds_config:
    path: /etc/envoy/cds.json
admin:
  access_log_path: "/dev/null"
  address:
    socket_address:
      address: <IP_ADDRESS>
      port_value: 8001
static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 8000
    traffic_direction: INBOUND
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          stat_prefix: ingress_http
          codec_type: AUTO
          rds:
            route_config_name: test
            config_source:
              path: "/etc/envoy/rds.json"
          http_filters:
          - name: envoy.filters.http.router

cds.json
{
  "versionInfo": "d8e61033-fec9-4565-8ce3-a40d7a565b90",
  "resources": [
    {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "local_service2",
      "type": "STRICT_DNS",
      "connectTimeout": "0.250s",
      "loadAssignment": {
        "clusterName": "local_service2",
        "endpoints": [
          {
            "locality": {
              "zone": "us-east-1a"
            },
            "lbEndpoints": [
              {
                "endpoint": {
                  "address": {
                    "socketAddress": {
                      "address": "nginxdemo-a",
                      "portValue": 80
                    }
                  }
                }
              }
            ]
          },
          {
            "locality": {
              "zone": "us-east-1b"
            },
            "lbEndpoints": [
              {
                "endpoint": {
                  "address": {
                    "socketAddress": {
                      "address": "nginxdemo-b",
                      "portValue": 80
                    }
                  }
                }
              }
            ]
          }
        ]
      },
      "healthChecks": [
        {
          "timeout": "1s",
          "interval": "5s",
          "unhealthyThreshold": 3,
          "healthyThreshold": 1,
          "httpHealthCheck": {
            "path": "/ready"
          }
        }
      ],
      "circuitBreakers": {
        "thresholds": [
          {
            "maxConnections": 10,
            "maxPendingRequests": 10,
            "maxRequests": 10
          }
        ]
      }
    },
    {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "admin_cluster",
      "type": "STATIC",
      "connectTimeout": "0.250s",
      "loadAssignment": {
        "clusterName": "admin_cluster",
        "endpoints": [
          {
            "lbEndpoints": [
              {
                "endpoint": {
                  "address": {
                    "socketAddress": {
                      "address": "<IP_ADDRESS>",
                      "portValue": 18000
                    }
                  }
                }
              }
            ]
          }
        ]
      }
    },
    {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "tls-cluster-example",
      "type": "STATIC",
      "connectTimeout": "1s",
      "loadAssignment": {
        "clusterName": "tls-cluster-example",
        "endpoints": [
          {
            "lbEndpoints": [
              {
                "endpoint": {
                  "address": {
                    "socketAddress": {
                      "address": "<IP_ADDRESS>",
                      "portValue": 443
                    }
                  }
                }
              }
            ]
          }
        ]
      },
      "healthChecks": [
        {
          "timeout": "1s",
          "interval": "5s",
          "unhealthyThreshold": 3,
          "healthyThreshold": 1,
          "httpHealthCheck": {
            "host": "some.com",
            "path": "/status.php"
          }
        }
      ],
      "transportSocket": {
        "name": "envoy.transport_sockets.tls",
        "typedConfig": {
          "@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext"
        }
      }
    },
    {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "aggregate-cluster",
      "clusterType": {
        "name": "envoy.clusters.aggregate",
        "typedConfig": {
          "@type": "type.googleapis.com/envoy.extensions.clusters.aggregate.v3.ClusterConfig",
          "clusters": [
            "tls-cluster-example",
            "local_service2",
            "admin_cluster"
          ]
        }
      },
      "connectTimeout": "0.250s",
      "lbPolicy": "CLUSTER_PROVIDED"
    }
  ],
  "typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
  "nonce": "1"
}

rds.json
{
  "versionInfo": "d8e61033-fec9-4565-8ce3-a40d7a565b90",
  "resources": [
    {
      "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
      "name": "test",
      "virtualHosts": [
        {
          "name": "test",
          "domains": [
            "*"
          ],
          "routes": [
            {
              "match": {
                "prefix": "/1"
              },
              "route": {
                "cluster": "local_service1"
              }
            },
            {
              "match": {
                "prefix": "/2"
              },
              "route": {
                "cluster": "local_service2"
              }
            },
            {
              "match": {
                "prefix": "/tls-cluster-example"
              },
              "route": {
                "cluster": "tls-cluster-example"
              }
            },
            {
              "match": {
                "prefix": "/aggregate-cluster"
              },
              "route": {
                "cluster": "aggregate-cluster"
              }
            },
            {
              "match": {
                "prefix": "/"
              },
              "route": {
                "weightedClusters": {
                  "clusters": [
                    {
                      "name": "local_service1",
                      "weight": 50
                    },
                    {
                      "name": "local_service2",
                      "weight": 50
                    }
                  ]
                }
              }
            }
          ]
        }
      ]
    }
  ],
  "typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
  "nonce": "1"
}

envoy output
Envoy version: 8fb3cb86082b17144a80402f5367ae65f06083bd/1.16.0/Clean/RELEASE/BoringSSL
#0: [0x7ff2f02ae3d0]
#1: Envoy::ThreadLocal::InstanceImpl::runOnAllThreads() [0x557b008d1cd3]
#2: Envoy::ThreadLocal::InstanceImpl::SlotImpl::runOnAllThreads() [0x557b008d1aff]
#3: Envoy::Extensions::Clusters::Aggregate::Cluster::refresh() [0x557affce6339]
#4: Envoy::Extensions::Clusters::Aggregate::Cluster::startPreInit() [0x557affce60cd]
#5: Envoy::Upstream::ClusterImplBase::initialize() [0x557b00a85585]
#6: Envoy::Upstream::ClusterManagerInitHelper::initializeSecondaryClusters() [0x557b00937feb]
#7: Envoy::Upstream::ClusterManagerInitHelper::maybeFinishInitialize() [0x557b009377dc]
#8: Envoy::Upstream::ClusterManagerInitHelper::removeCluster() [0x557b00936afe]
#9: Envoy::Upstream::ClusterImplBase::finishInitialization() [0x557b00a85ad7]
#10: Envoy::Upstream::ClusterImplBase::onInitDone() [0x557b00a85933]
#11: Envoy::Init::WatcherHandleImpl::ready() [0x557b00cbf74b]
#12: Envoy::Init::ManagerImpl::initialize() [0x557b00cbc44b]
#13: Envoy::Upstream::ClusterImplBase::onPreInitComplete() [0x557b00a8580d]
#14: std::__1::__function::__func<>::operator()() [0x557b00aaa4e9]
#15: Envoy::Network::DnsResolverImpl::PendingResolution::onAresGetAddrInfoCallback() [0x557b009000d6]
#16: end_hquery [0x557b006e71d5]
#17: next_lookup [0x557b006e70b6]
#18: qcallback [0x557b006ea773]
#19: end_query [0x557b006e9b15]
#20: process_answer [0x557b006ea34b]
#21: processfds [0x557b006e8d50]
#22: std::__1::__function::__func<>::operator()() [0x557b009028a5]
#23: Envoy::Event::FileEventImpl::assignEvents()::$_1::__invoke() [0x557b008fc366]
#24: event_process_active_single_queue [0x557b00d34fe8]
#25: event_base_loop [0x557b00d339be]
#26: Envoy::Server::InstanceImpl::run() [0x557b008df79c]
#27: Envoy::MainCommonBase::run() [0x557affc3d008]
#28: Envoy::MainCommon::main() [0x557affc3d807]
#29: main [0x557affc3bbdc]
#30: __libc_start_main [0x7ff2f00fbc8d]

It's hard to tell what is going on here from the stack trace, though this may be a regression from https://github.com/envoyproxy/envoy/pull/12833. I will take a look.

is this a permissions issue with the cds.json file ?

@phlax I have no permission issues - my case:
docker 19.03.13 - darwin/amd64
all files in /tmp/envoy-issue folder
cd /tmp/envoy-issue

find /tmp/envoy-issue
/tmp/envoy-issue
/tmp/envoy-issue/config
/tmp/envoy-issue/config/envoy.yaml
/tmp/envoy-issue/config/cds.json
/tmp/envoy-issue/config/rds.json

docker run \
  -it \
  --rm \
  -v $(pwd)/config/:/etc/envoy \
  -p 8000:8000 \
  -p 8001:8001 \
  envoyproxy/envoy-alpine-debug:v1.16.0 \
  --config-path /etc/envoy/envoy.yaml \
  --log-level warn \
  --log-format "%v" \
  --bootstrap-version 3 \
  --service-cluster test \
  --service-node test1-id \
  --service-zone test-zone

envoy logs a Caught Segmentation fault

I thinks, its some dns issue on initialising secondary cluster

ah, k - apologies for noise

It's hard to tell what is going on here from the stack trace, though this may be a regression from #12833. I will take a look.

Could this be a result of this capture. Would this be easily transitioned to a shared_this?

@mattklein123 could this be a result of this capture. Would this be easily transitioned to a shared_this?

I'm not sure. I don't see why that would be broken when that is what it was before, but I haven't debugged yet.

@mattklein123 could this be a result of this capture. Would this be easily transitioned to a shared_this?

I'm not sure. I don't see why that would be broken when that is what it was before, but I haven't debugged yet.

Fair point. For what it's worth we've been seeing a crash in Istio from the same pointer

I will look at this tomorrow. I have a related change I'm working on and can probably fix this at the same time.

@EItanya @mattklein123 I've been debugging this a bit, it's not result of the capture. It's a misuse of TLS slot in aggregate cluster implementation, it never call Slot::set so the thread_local_data_ is never allocated for it, so the ASSERT will fail. Aggregate cluster just uses the TLS slot to do runOnAllThreads to update all ThreadLocalCluster in cluster manager.

Ok. I can fix this tomorrow if you don't get to it tonight. Seems like we need better tests for this cluster? Is there an integration test?