Add WASM syntax highlighting

Code was copied from https://github.com/rhysd/vim-wasm. I believe that we should add this is it negates the need for an external plugin. You may consider changing the wasm.vim files to wast.vim files as wast was set in the filetype.vim file.

Thank you for this suggestion.
Please do not use these files for now. They don't fully conform Wasm spec since I created them before Wasm spec is fixed. They are not ready.

Codecov Report

Merging #3043 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3043      +/-   ##
==========================================
- Coverage   75.86%   75.83%   -0.04%
==========================================
  Files          92       92
  Lines      135390   135512     +122
==========================================
+ Hits       102708   102759      +51
- Misses      32682    32753      +71

Impacted Files
Coverage Δ

src/version.c
69.93% <0%> (-12.45%)
:arrow_down:

src/if_xcmdsrv.c
84.53% <0%> (-1.08%)
:arrow_down:

src/gui_beval.c
62.66% <0%> (-0.43%)
:arrow_down:

src/window.c
82.24% <0%> (-0.07%)
:arrow_down:

src/term.c
59.94% <0%> (-0.06%)
:arrow_down:

src/message.c
74.76% <0%> (-0.05%)
:arrow_down:

src/os_unix.c
54.25% <0%> (-0.05%)
:arrow_down:

src/channel.c
82.78% <0%> (-0.04%)
:arrow_down:

src/ex_docmd.c
77.05% <0%> (-0.02%)
:arrow_down:

src/gui_gtk_x11.c
47.98% <0%> (+0.04%)
:arrow_up:

... and 2 more

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 1d4754f...20ba9a8. Read the comment docs.


Allow to use wildcards in imports

This PR provides a feature that will allow to use wildcards (provided by the glob function) in the config imports.
For example:
imports:
    - path/*/behat.yml

This won't work, as you glob it based on the current working directory, while the path is expected to be related to the base path (which may be a different working directory).
and this cannot be accepted without a scenario covering the feature (we actually need multiple scenarios to cover the different cases btw).
and this is also broken in case glob does not find anything and returns false.

This won't work, as you glob it based on the current working directory, while the path is expected to be related to the base path (which may be a different working directory).
Oh, sorry. I missed it.

and this is also broken in case glob does not find anything and returns false.
glob returns an empty array if found nothing

glob returns an empty array if found nothing

it cannot also return false in some cases: http://php.net/glob#refsect1-function.glob-returnvalues

Actually this feature introduce a BC break. In the current implementation, an exception should be thrown when the imported file doesn't exists, but glob returns an empty array in this case and it is valid. May be an alternative syntax can be used.
For example:
imports:
    - [ path/*/behat.yml ] # array should be processed by the glob
    - path/to/behat.yml # scalar should be processed in the current manner

I'm closing this PR as it is seems to be abandoned. Please feel free to rebase and resubmit it if that's not the case!


Elastic Components are not Open Source

Great work on this project!
Unfortunately, the Elastic Components used are not open source -
Directly from Elastic:
Does this mean that Elasticsearch and Kibana are no longer Open Source?
Yes. Neither the Elastic License nor SSPL have been approved by the OSI, so to prevent confusion, we no longer refer to Elasticsearch or Kibana as open source. We updated our website and our messaging to refer to these products as “Free & Open,” and when talking about the licenses directly, we describe them as “source-available.” If you notice an area we missed, please let us know, so we can correct it.
https://www.elastic.co/pricing/faq/licensing#does-this-mean-that-elasticsearch-and-kibana-are-no-longer-open-source

Thanks for the note.
But "Free and Open" still works for the implementation. 😊
On Tue, 18 Jan 2022, 12:34 am Josh Brower, @.***> wrote:

Great work on this project!
Unfortunately, the Elastic Components used are not open source -
Directly from Elastic:
Does this mean that Elasticsearch and Kibana are no longer Open Source?
Yes. Neither the Elastic License nor SSPL have been approved by the OSI,
so to prevent confusion, we no longer refer to Elasticsearch or Kibana as
open source. We updated our website and our messaging to refer to these
products as “Free & Open,” and when talking about the licenses directly, we
describe them as “source-available.” If you notice an area we missed,
please let us know, so we can correct it.
https://www.elastic.co/pricing/faq/licensing#does-this-mean-that-elasticsearch-and-kibana-are-no-longer-open-source
—
Reply to this email directly, view it on GitHub
https://github.com/archanchoudhury/SOC-OpenSource/issues/3, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMFWN764IATOKCML3LY7QDLUWRR35ANCNFSM5MFMPUEQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Initial setup for request logging for gRPC

This PR adds in request logging for components using gRPC.
Fixes #2844
Supersedes #2788

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Verification
Snapshot of how it works -
level=info name=sidecar-0 ts=2020-07-20T08:48:49.680407947Z caller=logger.go:31 service=gRPC/server component=sidecar system=grpc kind=server grpc.service=thanos.Store grpc.method=Info grpc.method_type=unary grpc.start_time=2020-07-20T14:18:49+05:30 grpc.request.deadline=2020-07-20T14:18:54+05:30 peer.address=<IP_ADDRESS>:57518 grpc.request.request-id=01EDNPJK0G6ZC1YHWNCVDMYVSN grpc.code=OK grpc.time_ms=0.054 finishedserverunarycall=(MISSING)
level=info name=sidecar-2 ts=2020-07-20T08:48:49.680587108Z caller=logger.go:31 service=gRPC/server component=sidecar system=grpc kind=server grpc.service=thanos.Store grpc.method=Info grpc.method_type=unary grpc.start_time=2020-07-20T14:18:49+05:30 grpc.request.deadline=2020-07-20T14:18:54+05:30 peer.address=<IP_ADDRESS>:37034 grpc.request.request-id=01EDNPJK0GX54BY58ACJ2XSZXW grpc.code=OK grpc.time_ms=0.044 finishedserverunarycall=(MISSING)
level=info name=sidecar-1 ts=2020-07-20T08:48:49.68244212Z caller=logger.go:31 service=gRPC/server component=sidecar system=grpc kind=server grpc.service=thanos.Store grpc.method=Info grpc.method_type=unary grpc.start_time=2020-07-20T14:18:49+05:30 grpc.request.deadline=2020-07-20T14:18:54+05:30 peer.address=<IP_ADDRESS>:59918 grpc.request.request-id=01EDNPJK0G94RMSP7CPEEB8J2D grpc.code=OK grpc.time_ms=0.034 finishedserverunarycall=(MISSING)

Current TODO

[x] Add the request id as a tag
[ ] Add test cases for the middleware used
[ ] Discuss and Add the options of which component should we log, because currently, we are logging all components which are using the grpc_server
[ ] Add examples of using it
- [ ] Add flags for custom logging in a log file

Reviews please -
@bwplotka @kakkoyun

Since the middleware for the logging has been merged in the go-grpc-middleware - 311, so we can now add the middleware in Thanos for enabling request logging for gRPC API.

I will update the PR with the requisite changes :sunglasses:


BugFix: fix support for gpt-4

This pr fix an Unexpected agent type error when choose gpt-4.
It is a really small fix...

Thanks, this has been fixed!


Country Request: Rwanda

We're working with a partner to do road network accessibility analysis across Rwanda, using OpenStreetMap. They're interested to improve the underlying map. Can Rwanda be prioritized for generation and release?
Thanks!

We need to look over the data before officially announcing it, but, coincidentally, Rwanda is available as of this morning. :)

@jeffdefacto watching https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/wiki/Available-Countries with eager anticipation! Thank you!

Officially released!


refactor(asset_registry): Use set[string] instead of slice []string, since it covers both use cases

These are your changes, so I'm moving it to the original branch


Unquote ids, names and string encoded variable values in phenotype data

I noticed that ids and names are not yet unquoted when reading phenotype data from a file. I guess this is an issue in informatics-commons? This should be fixed to bring all data types in line.
All values of string encoded variables should be unquoted as well.
Note: both single and double quotes should be removed.

@daveneti do you prefer me to fix this?

I can't remember the status of this. I will check tonight. I need to make a new release of commons in any case.

Ok, version 1.2.0 now supports quotes, anything within a quote is taken 'as is' including delimiters. The quotes are also removed. Next step is to change make changes in corehunter3 in fearture/ignoreQuotes branch. I will do that tomorrow.

Great! If you need any help with updated the read methods of the genotype and distance data let me know. I did the unquoting manually there until now so this could should be removed when using the unquoting option of TextFileRowReader.
Remember that the read method for phenotype data is in in the ArrayFeatureData class of informatics-common. As far as I can see this one has not been updated yet in the 1.2.0 release?

@hdbeukel I have adapted informatics.common  and release version 1.2.1. I also removed the unquoting, but 3 tests fail. Can you have a look please I do not understand the code. Please note there is no need to add additional cells then the row are uneven, you can use the TextFileRowReader.ROWS_SAME_SIZE option

I will have a look. Considering the ROWS_SAME_SIZE option: how does it know then how many columns there are? For example one of the supported distance matrix formats only includes the lower diagonal part, like
ID
A 0.0
B 0.5 0.0
C 0.2 0.4 0.0

How do I tell the reader in advance that there are three four columns here?

Looking at your code I understand that ROWS_SAME_SIZE expects all lines having the same number of columns as the first one, correct? In that case this only works when column headers are mandatory which is not the case for the distance data or biallelic genotype data. So I guess I cannot use it there. I'll see whether I can use this option to simplify the read methods of the default and frequency genotype data where marker names are mandatory because they indicate the number of columns per marker.

Yep, that is the worse case scenario. At the moment it just checks the first row. I think your code, although may be more inefficient for large dataset is better. I would like to move it to commons, but it was too late last time for me to understand it. If we are not in a rush to change corehunter for the 3.1 release, I would prefer to take some time on this branch re-vamp informatics-common and then update  corehunter3. I would like to do this after 3.1 release, so that I can move forward with the GUI.

Allright. I will leave my code that extends the rows untouched then for now. Let me see why the tests fail now and try to fix that. When CH 3.1 has been released I will then also release an update for the R package that handles the unquoting well.

Our comments crossed in the internet. I think it is better to look at updating informatics-commons for what we need in corehunter3. So I suggest not spending any time on this at the moment. Is there a rush? Also we need to look at quoting (or eacaping) again when there is a delimiter in the text.

Sounds like a plan. I will leave this branch open for the 3.2 development, that will use the re-vamped informatics-common code.

Great.

The failing tests are related to the unquoting. Two things I noticed:

Single quotes are not always removed.
Non-existing columns are inserted in case of quoted string with whitespace around it.

Many of the test files did not have quotes so I added some more quotes to get a better view of what is going on. Can you pinpoint the issue in informatics-common?

No problem, I will add more tests to informatics-common to pick up the issue. I did have single quote tests, but looks like not enough. I will park this for a 3.2 release.

Btw many more tests fail now when adding more quotes.
Example of issue 1: see biallelic_genotypes/ids-and-names.csv.
Here the single quotes around 'Alice' (name) are not removed.
Example of issue 2: see homozygous_genotypes/ids.csv.
Here there is an additional column (with value null) inserted after "Eve" on the last row.

I would prefer to fix the unquoting issues right away so that I can also update the R package. Would it be much trouble?

I just have this outstanding deployment bug with corehunter3-ui I want to finally get fixed, so I can do automatic deployments to S3

Could you fix that first, then look at the unquoting, then release 3.1?

Yes, that is the plan.

Nearly there, only 3 fails yet to find a solution for.

@hdbeukel can you please look at the last 3 fails. All three are with erroneous files, which are all now passing, whereas before they would fail. You will need to install locally version 1.3.0-SNAPSHOT of informatics-common, which is currently on develop. I will not release this until corehunter is fixed on feature/ignoreQuotes. If you don't time, that is ok, I will look at them again as soon as I have time.

I will have a look.

Op 15 jan. 2017 om 11:37 heeft Guy Davenport<EMAIL_ADDRESS>het volgende geschreven:
@hdbeukel can you please look at the last 3 fails. All three are with erroneous files, which are all now passing, whereas before they would fail. You will need to install locally version 1.3.0-SNAPSHOT of informatics-common, which is currently on develop. I will not release this until corehunter is fixed on feature/ignoreQuotes. If you don't time, that is ok, I will look at them again as soon as I have time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

For the frequency format, the previously erroneous files that got through are now ok due to your changes to the ROWS_SAME_SIZE option. I removed these files from the checks. We have to re-evaluate them later though as the behaviour of this option is going to be further changed in the future (infer number of columns from longest instead of first line).
The remaining fails seems to be due to the file reader discarding empty cells at the beginning of a line (instead of yielding NULL there). Any idea why this is happening?

Thanks, I will look at it tonight. I propose not change the ROWS_SAME_SIZE option but adding another option of inferring from the longest line instead, since this new option would result in all data being read, which may not be needed in all cases.

Ok I agree with the ROWS_SAME_SIZE option. I suggest having two options like ROWS_SAME_SIZE_AS_FIRST and ROWS_SAME_SIZE_AS_LONGEST then.

That is the plan, I like your names.

fixed and merged into develop


Improved error messages

When an API returns an error object with both title and detail keys defined, the error message returned from json_api_client should include both, since sometimes the detail includes crucial debugging information. One example is a 400 response for an invalid param:
Before: Param not allowed
After: Param not allowed - The parameter "foo" is not recognized
Users of the API client are then better equipped to recognize and fix bugs.

The failing bid timed out and I can't re-start it: ```
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
The build has been terminated

Can someone please re-trigger it so that I can see if it's a real error or just a stalled build?

Thanks @chingor13 for your comments. I'll make these changes probably tomorrow night or Friday and resubmit.

hi @mstahl
I think now you can add functionality that you need by overriding JsonApiClient::ErrorCollector::Error#error_msg in your application
take a look at lib/json_api_client/error_collector.rb:51
and PR #277
Does it allows you to handle API responses correctly?


replace pachyderm render step with no-op

It's not doing anything, so we should delete the copied (from kubeflow backend) code!

this is wrong! it just has leftover cruft in it, which we need to clean up


Provide options to silence warning but still print other information of CTMRG

I feel that the current CTMRG verbosity settings is not well suited for applications that do not involve backprop.
I frequently encounter states (obtained from simple/full update) that produces degenerate singular values of the CTMs; when performing CTMRG to measure physical quantities, there will be too many warnings; but I only want to look at the change of singular values and norm to determine convergence. Can you please add an option that still prints Info (at beginning/end or at each step) but silences all Warnings (in particular, the degenerate singular values warning)?

This is a good suggestion. I never really considered this, but I guess the degenerate singular values are only an issue if we are using back propagation? In that case, it might also be possible to move that warning to only appear whenever the code is being differentiated.


Fix unsupported colorspace issue.

Without this fix, this url: https://abs.twimg.com/sticky/default_profile_images/default_profile_3_normal.png isn't correctly decoded and the method returns a nil image.. perhaps there should be a failsafe that checks the return value and returns the input image instead if the return value is nil.

No idea why its failing


Skipping tests in certain package

I have some tests used by fastlane+screengrab which should not be ran by flank.
I would like to have a skip-tests in the config file specifying the package of the tests which shouldn't be run.  What do you think?
Also, is there a reason why the package which should be run are not part of the config file instead of the command line args?
Thanks!

Good idea. We'll add support for this.

I can help with a PR.
Let me know if this makes sense to you:
In cfg, I would add:
skip-tests=com.package1,com.package2
To filter tests out I would change the filterTests method in FilterUtils to:
public static List<String> filterTests(List<String> testNames, List<String> skipNames, String packageName)

Sounds good to me. Thanks for contributing.

README should be updated

@Macarse readme will be updated shortly. We'll make a new relase this week.


 I'm not sure what's the reason for this, and propose to use black defaults.

It may possibly have been in line with https://github.com/scrapy/scrapy/pull/4237


⚠ Processors has degraded performance

In bf43ff1, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 119 ms

Resolved: Processors performance has improved in 37aabb2.


Visual Studio Codespaces: "(refusing to allow an OAuth App to create or update workflow .github/workflows/rc-docker-web.yaml without workflow scope)"

VSCode Version: 1.45.1 (Commit ID 5763d909d5f12fe19f215cbfdd29a91c0fa9208a )
OS Version: Visual Studio Codespaces. /etc/os-release reads: Debian GNU/Linux 9 (stretch)

Steps to Reproduce:

Open Visual Studio Codespaces workspace tied to Github repository
Create a GitHub Actions workflow control file, commit
git push in terminal

Observed result:
Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (8/8), 2.51 KiB | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
To https://github.com/rosettacode/docker-web
 ! [remote rejected] build/workflow -> build/workflow (refusing to allow an OAuth App to create or update workflow `.github/workflows/rc-docker-web.yaml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/rosettacode/docker-web

Does this issue occur when all extensions are disabled?: Visual Studio Codespaces; I don't have a way to check. Report Issue brings me here.

/duplicate https://github.com/microsoft/vscode/issues/97396


Accessing Plugin Properties

Is there an existing way to access the installed plugins to do the following?

Get a list of all installed plugins.
Access a plugin to get its "Plugin Properties".

Thanks!
MK

HI, for listing plugin i think we can use this:
https://docs.unrealengine.com/latest/INT/API/Runtime/Projects/Interfaces/IPluginManager/GetDiscoveredPlugins/index.html
for properties this is what we can get from the api
https://docs.unrealengine.com/latest/INT/API/Runtime/Projects/Interfaces/IPlugin/index.html
or you mean something different for "plugin properties" ?

Yes. I'm mostly after the installed plugin name, version, and content.
It looks like IPlugin::GetDescriptor should return that info and as json, too:
https://docs.unrealengine.com/latest/INT/Programming/Plugins/index.html#plugindescriptorfiles
{
    "FileVersion" : 3,

    "FriendlyName" : "UObject Example Plugin",
    "Version" : 1,
    "FriendlyVersion" : "1.0",
    "Description" : "An example of a plugin which declares its own UObject type. This can be used as a starting point when creating your own plugin.",
    "Category" : "Programming Examples.Plugins",

    "Modules" :
    [
        {
            "Name" : "UObjectPlugin",
            "Type" : "Developer"
        }
    ]
}

Hi, the plugin API has been pushed:
https://github.com/20tab/UnrealEnginePython/blob/master/docs/Plugin_API.md

Thanks!!


[WIP] [salvage] Explicit TCP/UDP socket binding, local port retrieval.

Work on salvaging #43174 .
The last commit also renames PacketPeerUDP.listen to PacketPeerUDP.bind to make it consistent with TCP, and separate the concept of client/server (abstracted by UDPServer) and socket binding.

Should be good to go when CI passes.

Addressed the issues.
Changed the error message to consistently reference either local or remote port (trying to make explicit the reason when 0 is allowed).

Thanks!


Adding Literal Fix

Fixing typo in Comparison function.

I have been thinking, what if lhs is of type IntLiteralType instead of rhs?

I have been thinking, what if lhs is of type IntLiteralType instead of rhs? or Possibly both lhs and rhs
contract WARP {
  function a() public {
    bool res = (address(0) != address(1));
  }
}

You are right, I will add an option for if both are literals. It is interesting that address(0) is transformed into a IntLiteralType node, but 0 is transformed into IntType Node.

I feel like the Comparison function (The function causing this error) should take the type of the LHS for both inputs if the TypeNode of the RHS is an IntLiteral and vice versa. If they are both LiteralIntTypes then we create the IntTypes TypeNodes for the CairoStub manually.

They should not be intliteral types by this point in the code. The fact that they are is a bug. ImplicitConversionToExplicit should wrap all literal types being used in cases like these in conversions with appropriate typestrings, and explicitToFunc should preserve the typestring of the conversion function in the cases that it replaces the call with its operand


Failure on Local Build

Unable to run it on Local after latest upstream fetch into my fork.
Stack Trace:
➜  endoflife.date git:(master) ✗ bundle exec jekyll serve --trace
Configuration file: /Users/pradipta.sarma/projects/endoflife.date/_config.yml
            Source: /Users/pradipta.sarma/projects/endoflife.date
       Destination: /Users/pradipta.sarma/projects/endoflife.date/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
bundler: failed to load command: jekyll (/usr/local/bin/jekyll)
Traceback (most recent call last):
        45: from /usr/bin/bundle:23:in `<main>'
        44: from /usr/bin/bundle:23:in `load'
        43: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/exe/bundle:37:in `<top (required)>'
        42: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
        41: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/exe/bundle:49:in `block in <top (required)>'
        40: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli.rb:25:in `start'
        39: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        38: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli.rb:31:in `dispatch'
        37: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        36: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        35: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        34: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli.rb:477:in `exec'
        33: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli/exec.rb:23:in `run'
        32: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli/exec.rb:58:in `kernel_load'
        31: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli/exec.rb:58:in `load'
        30: from /usr/local/bin/jekyll:23:in `<top (required)>'
        29: from /usr/local/bin/jekyll:23:in `load'
        28: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/exe/jekyll:15:in `<top (required)>'
        27: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        26: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        25: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        24: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        23: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        22: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
        21: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        20: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `each'
        19: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        18: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:36:in `process'
        17: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:65:in `build'
        16: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:28:in `process_site'
        15: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:81:in `process'
        14: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:221:in `cleanup'
        13: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:15:in `cleanup!'
        12: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:25:in `obsolete_files'
        11: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:59:in `new_files'
        10: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:59:in `tap'
         9: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:60:in `block in new_files'
         8: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:356:in `each_site_file'
         7: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:356:in `each'
         6: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:357:in `block in each_site_file'
         5: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:357:in `each'
         4: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:358:in `block (2 levels) in each_site_file'
         3: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:60:in `block (2 levels) in new_files'
         2: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/static_file.rb:59:in `destination'
         1: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/url.rb:161:in `unescape_path'
/Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/url.rb:161:in `encode': "\xE2" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)

@pradipta  any news ?

@captn3m0 @pradipta if there isnt any following info about this bug i am planing to close this issue and mark it as "works for me"

Haven't yet fixed it. Closing it for now.

@pradipta tonight i have free time if you wish we can give it a try on your system if you also have free time
@captn3m0 what do you think to have a discord server so we can discuss things much faster and give help to new contributors though it via voice and video chat  ?

Can probably do a Gitter (-1 for Discord, it takes too much resources to run regularly), but I'd prefer if we could have an ephemeral channel for such usecases, instead of something where users expect someone to be online 24x7.
How about a monthly Community call of sorts?

+1 for the monthly connect.
Down with covid, missed this @usta


spdx-license-list-data: 3.13 -> 3.14

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 133676 at 3e51989b run on aarch64-linux 1

3 packages built successfully:

esphome
platformio
spdx-license-list-data


How to align estimated camera pose?

Hi, thanks for your excellent work.
“During our evaluation, we used the provided API of Reconstruction Align in COLMAP [34] to do that.”  I see this in your paper, but I can't find relevant API of colmap in its doc.
Can you tell me the command that you use with colmap ?
Thanks!

BTW,  I have 2 details to confirm:
I am training DTU dataset with your codes on scan 65, and run with function eval_poses https://github.com/henry123-boy/Level-S2FM_official/blob/30915cbf6d9ea7d376d5fb2be0a223d7b9bfa5a5/pipelines/Camera.py#L584
this function nests into evaluate_camera_alignment and then print following information:
ATE:0.018603317439556122
rot_error:0.5499420166015625
t_error:0.01656513102352619

the unit of rotation error is degree, so  rotation error  is 0.549 degree, is that correct ?
translation error is 0.01656513102352619, but i am not clear with the unit of translation error on dtu dataset.  Can you tell me the unit of output translation error 0.01656513102352619 ?

Sorry for not replying in time.
For the question above, the camera pose alignment can be accomplished with different algorithms. One of most efficient approach is procrustes analysis which is mentioned in your question https://github.com/henry123-boy/Level-S2FM_official/blob/30915cbf6d9ea7d376d5fb2be0a223d7b9bfa5a5/pipelines/Camera.py#L584. However, procrustes analysis is just coarse alignment of camera poses which is used to coarsely check the accuracy of estimated poses during training. In the evaluation, we use a more precise camera pose alignment method which can refer to the python binding of COLMAP https://github.com/colmap/pycolmap.

We first use colmap to triangulate the 3D points with the our estimated poses.  -> get lots of triangulated 3D points in the current pose coordinate.
Then get the triangulated 3D points with the gt poses -> get lots of triangulated 3D points in gt pose coordinate.
Use the pycolmap.align_reconstructions to align these two coordinates


chore(deps): loopback version updates

Updated version of the lb4 dependencies to the latest.
GH-58
Description
loopback version updates
Fixes #58
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Performed a self-review of my own code
[x] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

:tada: This PR is included in version 4.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix IT

Fix integration test

Coverage remained the same at 33.686% when pulling 37d82db5ce938440b691546ed6637f0798b9ce5f on binyli/IT into 72eb4d1818798952dd5cd670f884434aba05ae98 on master.


AST: Verify that all generic signatures can be re-built from their requirements

-verify-generic-signatures didn't catch the bad case from
https://bugs.swift.org/browse/SR-10752. Add a new check and
make sure it now catches this kind of failure.

@swift-ci Please smoke test


set_context and advance_context with same text, generate different completion output

I found an inconsistency between set_context and advance_context.
If I use advance_context (with truncate_context(0)) the generated output is different then when I use set_context instead.
This is with the same Session and Seed!
I've taken a look at the code and learned that set_context uses advance_context itself, so now I'm more confused than before.
I tested a little bit and found that the output is the same if I use truncate_context(0) before set_context.
I also verified that the context, before generating completion output, is the exact same. Same text and token count.
So it must be this inconsistency that results in different output. Some of the output is similar, but somehow the output when using set_context seems a little less intelligent.
Prompt:
 <s>system\n' +
'You are a helpful, respectful and honest assistant.\n' +
"If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information\n" +
'</s><s>user\n' +
'Why is the banana crooked?\n' +
'</s><s>assistant\n

Output with truncate_context(0) and advance_context:
" The banana's crooked appearance is due to its natural growth process. Bananas grow on a plant called Musa, which is a type of herbaceous plant. The bananas grow in clusters, and each individual banana grows at its own pace, resulting in a variety of shapes and sizes. The crooked appearance is not a sign of any defect or problem, but rather a natural characteristic of the banana."

Output with set_context:
" The banana's crooked appearance is due to its natural growth process. Bananas grow on a plant called Musa, which is a type of herbaceous plant. The bananas grow in clusters, and each individual banana has its own unique shape and size. The crookedness is a result of the banana's natural growth pattern, and it is not an indication of any defect or problem."

These are very similar but still have minor differences even though I used the same seed for their Session.
I also ran two for each and it stayed the same.
session.truncate_context(0)
session.advance_context(input)

has the same output as
session.truncate_context(0)
session.set_context(input)

Any idea why this might be happening? I really have no clue here.

When I'm using a German user input this issue is even more noticeable.
Prompt:
' <s>system\n' +
'You are a helpful, respectful and honest assistant.\n' +
"If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct.

The set_context output is imprecise and less detailed. It also seems to be wrong about "the Banana is adapted to the distribution of the plant and the needs of the animals".
Such big differences in output with the same prompt and Seed.


Stream capture failes

Describe the bug
No Channel is recording atm after the last update. The all start and anounce that the streamer is live but the all run into Some error and say they failed to record.
To Reproduce
Steps to reproduce the behavior:

Add Channel
Channel comes online
Does not get reocrded because of error.

Expected behavior
The channel gets recorded, it seems that some kind of fuckup happend because it says the stream ID already exists and that it recieves Invalid data from streamlink
Screenshots

Server:

OS or Docker: Ubuntu with Docker

Additional context
2024-01-16 09:46:35
 2024-01-16T09:46:35.970Z | hook.HookTwitch <info> Hook called with message ID P1pzqsiRq__E09Mq4L54L5VM71JeUGwrNkMV1Yss0N4=, s-version 1, s-type channel.update, b false (m-retry 0, m-type notification, m-date 2024-01-16T09:46:34.675761475Z)
2024-01-16 09:46:35
 2024-01-16T09:46:35.994Z | automator.handle <info> Automator channel.update event for maxim
2024-01-16 09:46:35
 2024-01-16T09:46:35.995Z | clientBroker.notify <info> (offlineStatusChange) Live non-capturing channel maxim changed status: ELDEN RING (Wir helfen dem kleinen Elden Lord @holladiewaldfee !)
2024-01-16 09:46:36
 <IP_ADDRESS> - - [16/Jan/2024:09:46:36 +0000] "POST /api/v0/hook/twitch HTTP/1.1" 200 0 "-" "Go-http-client/1.1"
2024-01-16 09:46:36
 2024-01-16T09:46:36.195Z | tw.channel.getStreams <info> Querying streams for streamer id 172376071 returned 1 streams
2024-01-16 09:46:36
 2024-01-16T09:46:36.196Z | automator.updateGame <info> Channel maxim not capturing, saving channel data to cache: ELDEN RING (Wir helfen dem kleinen Elden Lord @holladiewaldfee !)
2024-01-16 09:46:36
 2024-01-16T09:46:36.204Z | automator.updateGame <info> Channel maxim status is online but not capturing, checking if we can start downloading.
2024-01-16 09:46:36
 2024-01-16T09:46:36.379Z | tw.channel.getStreams <info> Querying streams for streamer id 172376071 returned 1 streams
2024-01-16 09:46:36
 2024-01-16T09:46:36.380Z | automator.download <error> VOD ID already exists for maxim
2024-01-16 09:46:36
 2024-01-16T09:46:36.390Z | automator.download <error> Cancel download of maxim2024 - s202401e18, vod already exists
2024-01-16 09:46:36
 2024-01-16T09:46:36.391Z | automator.fallbackCapture <info> Starting fallback capture with filename<PHONE_NUMBER>6_2024-01-16_09-46-36.mp4
2024-01-16 09:46:36
 2024-01-16T09:46:36.402Z | automator.fallbackCapture <success> Spawned process 428 for fbcapture_maxim_41719978936
2024-01-16 09:46:36
 2024-01-16T09:46:36.404Z | job.save <info> Save job fbcapture_maxim_41719978936 with PID 428 to /usr/local/share/twitchautomator/data/cache/pids/fbcapture_maxim_41719978936.json
2024-01-16 09:46:36
 2024-01-16T09:46:36.628Z | automator.captureTicker <error> Invalid data received from streamlink
2024-01-16 09:46:36
 2024-01-16T09:46:36.629Z | automator.captureTicker <error> Invalid data received from streamlink
2024-01-16 09:46:36
 2024-01-16T09:46:36.630Z | automator.captureTicker <error> Invalid data received from streamlink
2024-01-16 09:46:36
 2024-01-16T09:46:36.630Z | automator.captureTicker <error> Invalid data received from streamlink
2024-01-16 09:46:36
 2024-01-16T09:46:36.648Z | automator.fallbackCapture <error> Job fbcapture_maxim_41719978936 exited with code 2, signal null
2024-01-16 09:46:36
 2024-01-16T09:46:36.648Z | job.clear <info> Clear job fbcapture_maxim_41719978936 with PID 428
2024-01-16 09:46:36
 2024-01-16T09:46:36.649Z | job.clear <success> Job fbcapture_maxim_41719978936 removed from jobs list
2024-01-16 09:46:36
 2024-01-16T09:46:36.649Z | automator.fallbackCapture <error> Capture<PHONE_NUMBER>6_2024-01-16_09-46-36 failed
2024-01-16 09:46:36
 2024-01-16T09:46:36.649Z | automator.download <error> Fallback capture failed for maxim: undefined
2024-01-16 09:46:36
 false
2024-01-16 09:46:39
 redacted - - [16/Jan/2024:09:46:39 +0000] "GET /cache/covers/491931.jpg HTTP/1.1" 200 9923 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:39
 redacted - - [16/Jan/2024:09:46:39 +0000] "GET /assets/roboto-latin-900-normal-7e262106.woff2 HTTP/1.1" 200 15752 "https://redacted/assets/index-846ed7f6.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:45
 2024-01-16T09:46:45.550Z | vod.delete <info> Delete Giantwaffle2024 - s202401e19
2024-01-16 09:46:45
 2024-01-16T09:46:45.551Z | channel.removeVod <info> Remove VOD JSON for giantwaffle: 1dd3b334-284b-4d23-ab07-969763edd632
2024-01-16 09:46:45
 2024-01-16T09:46:45.570Z | dvr.removeVod <info> VOD Giantwaffle2024 - s202401e19 removed from memory!
2024-01-16 09:46:45
 redacted - - [16/Jan/2024:09:46:45 +0000] "DELETE /api/v0/vod/1dd3b334-284b-4d23-ab07-969763edd632 HTTP/1.1" 200 15 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:45
 redacted - - [16/Jan/2024:09:46:45 +0000] "GET /cache/covers/491870.jpg HTTP/1.1" 200 10737 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:45
 redacted - - [16/Jan/2024:09:46:45 +0000] "GET /assets/poppins-latin-600-normal-f4e80d9d.woff2 HTTP/1.1" 200 8000 "https://redacted/assets/index-846ed7f6.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:45
 redacted - - [16/Jan/2024:09:46:45 +0000] "GET /api/v0/channels/74a27859-a617-4134-9f97-993cf1df2ecb HTTP/1.1" 200 245979 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:46
 redacted - - [16/Jan/2024:09:46:46 +0000] "GET /cache/thumbs/3c5f72f146f4b8cc07b39b97f8a5479f.jpg HTTP/1.1" 200 7269 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:46
 redacted - - [16/Jan/2024:09:46:46 +0000] "GET /cache/covers/512953.jpg HTTP/1.1" 200 7565 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:50
 2024-01-16T09:46:50.346Z | vod.delete <info> Delete maxim2024 - s202401e17
2024-01-16 09:46:50
 2024-01-16T09:46:50.347Z | channel.removeVod <info> Remove VOD JSON for maxim: e9c1f4e3-695d-4da2-a66d-3d5d1c3cc56b
2024-01-16 09:46:50
 2024-01-16T09:46:50.347Z | dvr.removeVod <info> VOD maxim2024 - s202401e17 removed from memory!
2024-01-16 09:46:50
 redacted - - [16/Jan/2024:09:46:50 +0000] "DELETE /api/v0/vod/e9c1f4e3-695d-4da2-a66d-3d5d1c3cc56b HTTP/1.1" 200 15 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:50
 redacted - - [16/Jan/2024:09:46:50 +0000] "GET /cache/covers/1187216011.jpg HTTP/1.1" 200 10364 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:50
 redacted - - [16/Jan/2024:09:46:50 +0000] "GET /cache/covers/518203.jpg HTTP/1.1" 200 9731 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:50
 redacted - - [16/Jan/2024:09:46:50 +0000] "GET /cache/covers/509658.jpg HTTP/1.1" 200 8786 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:50
 redacted - - [16/Jan/2024:09:46:50 +0000] "GET /api/v0/channels/cc05af51-4a11-4f77-93a1-3b430b098753 HTTP/1.1" 200 57860 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:52
 redacted - - [16/Jan/2024:09:46:52 +0000] "GET /cache/covers/1997107609.jpg HTTP/1.1" 200 8042 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:57
 2024-01-16T09:46:57.888Z | vod.delete <info> Delete Staiy2024 - s202401e08
2024-01-16 09:46:57
 2024-01-16T09:46:57.889Z | channel.removeVod <info> Remove VOD JSON for staiy: 24f29c68-8d65-468f-a78e-d323ec47a236
2024-01-16 09:46:57
 2024-01-16T09:46:57.897Z | dvr.removeVod <info> VOD Staiy2024 - s202401e08 removed from memory!
2024-01-16 09:46:57
 redacted - - [16/Jan/2024:09:46:57 +0000] "DELETE /api/v0/vod/24f29c68-8d65-468f-a78e-d323ec47a236 HTTP/1.1" 200 15 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:57
 redacted - - [16/Jan/2024:09:46:57 +0000] "GET /cache/covers/509577.jpg HTTP/1.1" 200 9159 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:46:57
 redacted - - [16/Jan/2024:09:46:57 +0000] "GET /api/v0/channels/605e5844-e132-4b87-9466-cd7d326f9b6a HTTP/1.1" 200 14946 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:47:06
 2024-01-16T09:47:06.281Z | vod.delete <info> Delete Staiy2024 - s202401e06
2024-01-16 09:47:27
 2024-01-16T09:47:27.463Z | channel.removeVod <info> Remove VOD JSON for staiy: ae0b6ce4-1255-4302-ab7c-f4a0c4ceaacf
2024-01-16 09:47:27
 2024-01-16T09:47:27.472Z | dvr.removeVod <info> VOD Staiy2024 - s202401e06 removed from memory!
2024-01-16 09:47:27
 redacted - - [16/Jan/2024:09:47:27 +0000] "DELETE /api/v0/vod/ae0b6ce4-1255-4302-ab7c-f4a0c4ceaacf HTTP/1.1" 200 15 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:47:27
 redacted - - [16/Jan/2024:09:47:27 +0000] "GET /api/v0/channels/605e5844-e132-4b87-9466-cd7d326f9b6a HTTP/1.1" 200 9637 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:47:27
 2024-01-16T09:47:27.669Z | tw.channel.getStreams <info> Querying streams for streamer id 172376071 returned 1 streams
2024-01-16 09:47:27
 2024-01-16T09:47:27.678Z | route.channels.force_record <info> Forcing record for maxim
2024-01-16 09:47:27
 2024-01-16T09:47:27.687Z | automator.handle <info> Automator stream.online event for maxim (retry 0)
2024-01-16 09:47:27
 2024-01-16T09:47:27.687Z | automator.handle <info> maxim is already live, yet another stream online event received.
2024-01-16 09:47:27
 2024-01-16T09:47:27.687Z | automator.handle <warn> maxim event ID<PHONE_NUMBER>6 is the same as the last one.
2024-01-16 09:47:27
 2024-01-16T09:47:27.689Z | automator.handle <info> maxim stream has ID<PHONE_NUMBER>6, started 2024-01-16T06:10:52Z
2024-01-16 09:47:27
 2024-01-16T09:47:27.690Z | clientBroker.notify <info> (streamOnline) maxim is live!: ELDEN RING
2024-01-16 09:47:27
 Wir helfen dem kleinen Elden Lord @holladiewaldfee !
2024-01-16 09:47:27
 2024-01-16T09:47:27.691Z | automator.download <error> VOD ID already exists for maxim
2024-01-16 09:47:27
 2024-01-16T09:47:27.692Z | tw.channel.createVOD <info> Create VOD JSON for maxim: maxim2024 - s202401e19.json @ /usr/local/share/twitchautomator/data/storage/vods/maxim/Season 202401
2024-01-16 09:47:27
 2024-01-16T09:47:27.692Z | vod.saveJSON <success> Saving JSON of maxim2024 - s202401e19  (create json)
2024-01-16 09:47:27
 2024-01-16T09:47:27.693Z | vod.setupAssoc <error> No chapters on maxim2024 - s202401e19!
2024-01-16 09:47:27
 2024-01-16T09:47:27.693Z | vod.saveJSON <warn> Saving JSON of maxim2024 - s202401e19 with no chapters!!
2024-01-16 09:47:27
 2024-01-16T09:47:27.693Z | vod.saveJSON <success> Saving JSON of maxim2024 - s202401e19  (is_capturing set)
2024-01-16 09:47:27
 2024-01-16T09:47:27.694Z | automator.download <info> Update game for maxim2024 - s202401e19
2024-01-16 09:47:27
 2024-01-16T09:47:27.694Z | automator.updateGame <success> Channel data for maxim fetched from cache.
2024-01-16 09:47:27
 2024-01-16T09:47:27.695Z | vod.addChapter <info> Adding chapter Wir helfen dem kleinen Elden Lord @holladiewaldfee ! (ELDEN RING) to maxim2024 - s202401e19
2024-01-16 09:47:27
 2024-01-16T09:47:27.695Z | chapter.calculateDurationAndOffset <warn> No next chapter or vod end time for chapter Wir helfen dem kleinen Elden Lord @holladiewaldfee ! (2024-01-16T06:10:52.000Z), duration will probably be 0.
2024-01-16 09:47:27
 2024-01-16T09:47:27.695Z | vod.saveJSON <success> Saving JSON of maxim2024 - s202401e19  (game update)
2024-01-16 09:47:27
 2024-01-16T09:47:27.696Z | automator.updateGame <success> Stream updated on 'maxim' to 'ELDEN RING' (Wir helfen dem kleinen Elden Lord @holladiewaldfee !) using cache.
2024-01-16 09:47:27
 2024-01-16T09:47:27.696Z | clientBroker.notify <info> (streamStatusChangeFavourite) maxim is now playing one of your favourite games: ELDEN RING!: Wir helfen dem kleinen Elden Lord @holladiewaldfee !
2024-01-16 09:47:27
 2024-01-16T09:47:27.697Z | vod.saveJSON <success> Saving JSON of maxim2024 - s202401e19  (dt_capture_started set)
2024-01-16 09:47:27
 2024-01-16T09:47:27.697Z | automator.captureVideo <info> Starting capture with filename maxim2024 - s202401e19.ts
2024-01-16 09:47:27
 startJob process /home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2/bin/streamlink [
2024-01-16 09:47:27
   '/home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2/bin/streamlink',
2024-01-16 09:47:27
   '--hls-live-edge',
2024-01-16 09:47:27
   '99999',
2024-01-16 09:47:27
   '--stream-timeout',
2024-01-16 09:47:27
   '200',
2024-01-16 09:47:27
   '--stream-segment-timeout',
2024-01-16 09:47:27
   '200',
2024-01-16 09:47:27
   '--hls-segment-queue-threshold',
2024-01-16 09:47:27
   '0',
2024-01-16 09:47:27
   '--stream-segment-threads',
2024-01-16 09:47:27
   '5',
2024-01-16 09:47:27
   '--ffmpeg-fout',
2024-01-16 09:47:27
   'mpegts',
2024-01-16 09:47:27
   '--twitch-disable-hosting',
2024-01-16 09:47:27
   '--twitch-disable-reruns',
2024-01-16 09:47:27
   '--plugin-dirs',
2024-01-16 09:47:27
   '/usr/local/share/twitchautomator/data/streamlink_plugins',
2024-01-16 09:47:27
   '--twitch-proxy-playlist',
2024-01-16 09:47:27
   'firefox.api.cdn-perfprod.com:2023',
2024-01-16 09:47:27
   '--retry-streams',
2024-01-16 09:47:27
   '10',
2024-01-16 09:47:27
   '--retry-max',
2024-01-16 09:47:27
   '5',
2024-01-16 09:47:27
   '-o',
2024-01-16 09:47:27
   '/usr/local/share/twitchautomator/data/storage/vods/maxim/Season 202401/maxim2024 - s202401e19.ts',
2024-01-16 09:47:27
   '--url',
2024-01-16 09:47:27
   'https://twitch.tv/maxim',
2024-01-16 09:47:27
   '--default-stream',
2024-01-16 09:47:27
   'best'
2024-01-16 09:47:27
 ]
2024-01-16 09:47:27
 2024-01-16T09:47:27.704Z | exec.startJob <info> Executing /home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2/bin/streamlink --hls-live-edge 99999 --stream-timeout 200 --stream-segment-timeout 200 --hls-segment-queue-threshold 0 --stream-segment-threads 5 --ffmpeg-fout mpegts --twitch-disable-hosting --twitch-disable-reruns --plugin-dirs /usr/local/share/twitchautomator/data/streamlink_plugins --twitch-proxy-playlist firefox.api.cdn-perfprod.com:2023 --retry-streams 10 --retry-max 5 -o /usr/local/share/twitchautomator/data/storage/vods/maxim/Season 202401/maxim2024 - s202401e19.ts --url https://twitch.tv/maxim --default-stream best
2024-01-16 09:47:27
 2024-01-16T09:47:27.704Z | exec.startJob <success> Spawned process 433 for capture_maxim_41719978936
2024-01-16 09:47:27
 2024-01-16T09:47:27.705Z | job.save <info> Save job capture_maxim_41719978936 with PID 433 to /usr/local/share/twitchautomator/data/cache/pids/capture_maxim_41719978936.json
2024-01-16 09:47:27
 2024-01-16T09:47:27.705Z | exec.startJob <info> Attached to all streams for process 433 for capture_maxim_41719978936
2024-01-16 09:47:27
 2024-01-16T09:47:27.705Z | automator.captureVideo <success> Spawned process 433 for capture_maxim_41719978936
2024-01-16 09:47:27
 redacted - - [16/Jan/2024:09:47:27 +0000] "POST /api/v0/channels/cc05af51-4a11-4f77-93a1-3b430b098753/force_record HTTP/1.1" 200 62 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-16 09:47:27
 2024-01-16T09:47:27.873Z | automator.captureVideo <error> Job capture_maxim_41719978936 exited with code 2, signal null
2024-01-16 09:47:27
 2024-01-16T09:47:27.873Z | job.clear <info> Clear job capture_maxim_41719978936 with PID 433
2024-01-16 09:47:27
 2024-01-16T09:47:27.873Z | job.clear <success> Job capture_maxim_41719978936 removed from jobs list
2024-01-16 09:47:27
 2024-01-16T09:47:27.873Z | automator.captureVideo <error> Capture maxim2024 - s202401e19 failed
2024-01-16 09:47:27
 2024-01-16T09:47:27.873Z | exec.startJob <error> Process 433 for capture_maxim_41719978936 closed with code 2
2024-01-16 09:47:27
 2024-01-16T09:47:27.873Z | job.clear <warn> Job capture_maxim_41719978936 not found in jobs list
2024-01-16 09:47:27
 2024-01-16T09:47:27.874Z | automator.download <fatal> Failed to capture video: undefined
2024-01-16 09:47:27
 2024-01-16T09:47:27.874Z | vod.saveJSON <success> Saving JSON of maxim2024 - s202401e19  (capture fail)
2024-01-16 09:47:35
 2024-01-16T09:47:35.064Z | vod.delete <info> Delete maxim2024 - s202401e19
2024-01-16 09:47:35
 2024-01-16T09:47:35.065Z | channel.removeVod <info> Remove VOD JSON for maxim: 629d9deb-c47f-49c9-93ac-b5334a7a3e62
2024-01-16 09:47:35
 2024-01-16T09:47:35.076Z | dvr.removeVod <info> VOD maxim2024 - s202401e19 removed from memory!

Could you post the streamlink capture log too?

Could you post the streamlink capture log too?

/home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2/bin/streamlink --hls-live-edge 99999 --stream-timeout 200 --stream-segment-timeout 200 --hls-segment-queue-threshold 0 --stream-segment-threads 5 --ffmpeg-fout mpegts --twitch-disable-hosting --twitch-disable-reruns --plugin-dirs /usr/local/share/twitchautomator/data/streamlink_plugins --twitch-proxy-playlist firefox.api.cdn-perfprod.com:2023 --retry-streams 10 --retry-max 5 -o /usr/local/share/twitchautomator/data/storage/vods/maxim/Season 202401/maxim2024 - s202401e20.ts --url https://twitch.tv/maxim --default-stream best
usage: streamlink [OPTIONS]  [STREAM]
streamlink: error: unrecognized arguments: --twitch-proxy-playlist

oh okay, you're gonna have to disable the ttv lol plugin, something must have happened with the deployment of it

oh okay, you're gonna have to disable the ttv lol plugin config setting, something must have happened with the deployment of it

this helped, thank you never thought to look at this log.

by chapters, and by the naming format you choose in settings

by chapters, and by the naming format you choose in settings

Could you please provide an update on when we can expect this issue to be resolved?
The Commercial Break in Progress is getting annoying :D

been busy with other stuff, depends on when i have the free time. commercial breaks are on streamlink's side, could be that the bundled one needs to be updated. shouldn't be related to this issue

oh okay, you're gonna have to disable the ttv lol plugin config setting, something must have happened with the deployment of it

meant in regards to this, def get that with time :D Just asking.

been busy with other stuff, depends on when i have the free time. commercial breaks are on streamlink's side, could be that the bundled one needs to be updated. shouldn't be related to this issue

I think this is just twitch and so far the only way to get past these is have the ttv lol proxy to "watch" via a country that has no ads ond twitch.


SPSearchResultSource not Working without Global Search Center

Details of the scenario you tried and the problem that is occurring
If no global search center is defined, then the Get-TargetResource method from the SPSearchResultSource resource is not working.
Verbose logs showing the problem
N/A
Suggested solution to the issue
Drop the current way of retrieving the Search Owner (which uses the global search), in favor of:
$fedman = New-Object Microsoft.Office.Server.Search.Administration.Query.FederationManager($ssa)
$searchOwner = Get-SPEnterpriseSearchOwner -Level SSA
$filter = New-Object Microsoft.Office.Server.Search.Administration.SearchObjectFilter($searchOwner)
$resultSources = $fedman.ListSources($filter,$true)

The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A
The operating system the target node is running
N/A
Version of SharePoint that is used (e.g. SharePoint 2016)
SP2013
Version and build of PowerShell the target node is running
PoSh 5.1
Version of the DSC module that was used ('dev' if using current dev branch)
<IP_ADDRESS>

@NikCharlebois Has this been implemented in your PR for SPSearchResultSource?

@ykuijs , no it's still an ongoing issue.

What is the difference between your suggested solution and the currently implemented code:
https://github.com/PowerShell/SharePointDsc/blob/dev/Modules/SharePointDsc/DSCResources/MSFT_SPSearchResultSource/MSFT_SPSearchResultSource.psm1#L80-L95

@NikCharlebois Does this issue still exists? And what about the question I asked in the previous comment?

The resource is already using the suggested code. Just tested the Get method on an environment where I deleted the global search center and it looks like the issue works as expected.
@NikCharlebois If you are able to reproduce the issue with v4.3, please let me know so we can troubleshoot the issue. Closing issue.


Can't disable the iSpeech popup on ios?

I need to disable the iSpeech popup.
Will you be going to change from iSpeech to Siri?

You can't disable the iSpeech popup, I think you can remove the iSpeech brand if you pay.
I'm considering using the iOS 10 native speech recognition on the plugin, but it's only supported on iOS 10, so iSpeech should remain for iOS 9 and earlier.

@jcesarmobile the sirikit stuff added in iOS 10 only allows you to add voice paths to you app into Siri. AFAIK there is no general purpose speech recognition API for iOS 10 from Apple. Another though I had was trying the IBM Watson speech rec.

It's not sirikit, they included a speech recognizer on iOS 10
https://developer.apple.com/reference/speech/sfspeechrecognizer

@jcesarmobile Wow, I did not hear about that class anywhere. We should create an issue to explore this. I kinda want to do it right now but it's time for me to look at FCM.

I thought I tweeted it after the WWDC, but just checked and I didn't
I tested the sample project and worked really well
https://developer.apple.com/library/content/samplecode/SpeakToMe/Introduction/Intro.html


Go program has already exited

This error ocurrs at random, I can't find any pattern for reproduction. Shown after creating an order (new order, not filling existing order)

No errors on console either. Maybe adding error code in the sources would help tracking.
The config used is for Local test net, sources as of today.

@justinbarry -- see if you can repro this?

Can do.

With today's sources I can see this new error in console log

@justinbarry
@pgebheim

My first guess is a memory thing but @albrow might know more.

"Go program has already exited" is usually just a symptom of a different underlying problem. Can you enable Mesh logging and share the log output?

@nuliknol We just upgraded to a new version of 0x mesh this week. Please reopen if this re-occurs.


[Bug] connections is empty when open MQTTX

What did I do
connections is empty when open MQTTX, and pop-up window with tips "Update to xxxx.xxx.xxx"
What happened
Get an error.
Expected
What is the expected result.
Environment

Microsoft Windows 10 10.0.19043  x64-based PC
MQTTX.Setup.1.6.0.exe

More detail
More detail include log information or screenshot

Hi @alibbbian We just released https://github.com/emqx/MQTTX/releases/tag/v1.7.0, so we will prompt you to upgrade. If you don't need it, click Cancel and cancel the automatic check update in settings page.


automatically scroll to bottom when keyboard frame changed if automat…

automatically scroll to bottom when keyboard frame changed if automaticallyScrollsToMostRecentMessage is set to YES

thanks @zyfu0000 - but this causes some other side effects. for example, when the keyboard is dismissed, this will scroll to the bottom. we don't want to do that.


Buffer synchronization issues in CS2 after AQ MR

Regression?
Yes
System Info and Version
You wish. Aq merge.
RX 6700 XT
Description
Basically what @romanstingler said: https://github.com/hyprwm/Hyprland/pull/6608#issuecomment-2238992134
How to reproduce
Use the steam overlay in CS2, can also happen with the viewmodel / buy menu
Crash reports, logs, images, videos
No response

@ikalco any progress here?

setting vsync fixes the flickering after game restart
ds also works
its probably something with the new explicit sync stuff messing with implicit sync
I have a feeling surface commits are somehow broken, like commitPendingState
ps:
the proton thing was because it was in ds lol

setting vsync fixes the flickering after game restart

in cs2?

ds also works

speak for yourself

its probably something with the new explicit sync stuff messing with implicit sync

I have explicit disabled

in cs2?

yes
open game, turn on vsync, still flickering, exit game and reopen, no more flickering

its probably something with the new explicit sync stuff messing with implicit sync

I have explicit disabled

i meant that some of the code that was changed for explicit sync might have broken implicit sync even with the option off

hm, I thought all of it would be neutered with the opt disabled

I have vsync enabled in cs2 and nothign changed

also forgot to mention that if you lower fps below rr the flickering only happens when the mouse is moved

not the case here, it does it constantly

yeah i cant find what got reverted
prob in aq or something

debug's glitches go away when I fullscreen
can't say the same about release

okay. It's direct scanout. With DS, it's gone. Without, it is there. Too bad I can't play cs2 with ds.

egl init stuff looks the same except for maybe a few extension checks and the version
eglCreateImage/eglDestroyImage are used the same as before
this is so fucked

as far as i can tell there's only one surface being rendered for csgo which means that for some reason the steam overlay just isnt drawn by it every few frames...
I have a theory:
CSGO is trying to put out frames at max fps but the overlay is only rendering at rr
This means some frames submitted by CSGO have game stuff but not overlay stuff, therefore flickering
no idea how to test that tho

not possible. Before aq and sway work correctly.

I dont know if this is the same issue but i'm getting this effect. If i restart the game or something it goes away for a bit but allways comes back
https://github.com/user-attachments/assets/1f598a69-1021-4f22-8ff8-bfc86cd9d9ab

untitled.mp4

Maybe an nvidia issue too I am using the 560 drivers with this

also very possible. 560 is boked, according to CachyOS devs

Current xwayland and radv require the compositor to support explicit sync. https://gitlab.freedesktop.org/mesa/mesa/-/issues/11294

are you sure? because of two things:

mesa on my pc will not use explicit sync at all even if I enable it in hyprland (it just doesnt bind the protocol at all)
rolling back to before aquamarine fixes this problem

mesa on my pc will not use explicit sync at all even if I enable it in hyprland (it just doesnt bind the protocol at all)

My comment is about current radv/mesa. If your mesa is older than 24.1 then you are likely not affected by the linked issue.

are you sure?

The issue says as much. But I'm not saying that hyprland doesn't have additional bugs.

hm, right, I see my mesa ver is 24.1.4. Explicit sync is kinda wonky in Hyprland atm, weird though that sway works then (despite the lack of explicit sync support...?)

thanks @mahkoh for linking the issue though, after some tinkering with explicit sync it seems to be working, though I have some doubts about our internal sync mechanisms, I'll make a MR and we'll test more there


Implement the code behind the language switcher

We need to externalize text and labels to support English, Spanish, and Catalan. There's a switcher in the top right global nav, but it's unimplemented.
This could be based on work done in OpenEEW.

The internationalization framework is now in place. We'll still need to:

[ ] Create Spanish and Catalan language files (es.js, ca.js) with translations for each of the keys in en.json
[ ] Enable each option in i18n.js
[ ] Update the context or state to maintain the currently selected locale


Notifications Fail to Load Icon Outside Local Network

Currently, the notification icon is loaded from a relative URL (e.g., /icon.svg) that resolve to the local instance's hostname or IP address. Since the local instance may only accessible within the local network, notifications received outside the network fail to load the icon.
Expected Behavior:
Notification icons should always load regardless of the user's network.
Proposed Solution:
Host notification icons on a publicly accessible domain or CDN (e.g. GitHub), ensuring they are accessible from any network.
Alternatively, find a way where the icon is cached to ensure it works offline or outside the local network.

Changed the relative URL (e.g., /icon.svg) to an absolute github URL (e.g., https://raw.githubusercontent.com/johnny-de/alarmwatcher/refs/heads/main/public/icon.svg). Available with version 1.3.0.


 token doesn't work when working with source file extension

I get an error when I try to use the source file extension, in this example .exr. but it seems to work when I switch to the .tex files generated. does this only work with .tex?
I prefer to always point to the source file extension so when I do edits to the textures I don't have to manually reconvert the .tex, which saves time.

.exr extension, I get an error

.tex is working fine

@TzurH  Can you see if the latest commit fixes this?

@prman-pixar Fixed. Thank you. Only tested with .exr file extension. I assume will work with all files.


[#20] Create the wiki for the infrastructure template

Close #200

What happened 👀

[x] Add a Github Action Workflow to publish the documentation to Github Wiki
[ ] Add some wiki content for this infrastructure template.

Insight 📝

This PR uses https://github.com/nimblehq/publish-github-wiki-action for the workflow

Proof Of Work 📹
TBD

@longnd Should we separate the PR into 2? One for setting up the WIKI, another for content?

Should we separate the PR into 2? One for setting up the WIKI, another for content?

yes, that is what this PR delivered. I updated the PR description to state it clearly :)


why BatchNorm1d with affine=False?

In output_layer ,BatchNorm1d is used.
why BatchNorm1d with affine=False?
thank you!

We just follow the setting of arcface.

Thank you very much for your reply！
In arcface, I see it's written like this.

Where the parameters fix_gamma and affine are corresponding.
The parameter settings are the opposite.
Am I wrong? Please give more advice.
In addition, there are some different things in backbone.
For example，BN-Conv-BN-PRelu-Conv-BN and short_cut.
Please give more advice. Thank you so much

'fix_gamma = True' equals to 'affine=False'.  We found the second bn in the block is redundant, thus we eleminate it to make the model simple.

Thank you very much for your answer. I misread it.
I have one more question.
The first unit's short_cut become MaxPool2d(1,2) but not Conv+BN,that's diffferent with mxnet codes. That's why.


OOM in Tesla v100-SXM2 (4 16GB GPUs) for m2m_100 12B Model (Multilingual Machine Translation)

While generating (e.g: en->fr translation) got this OOM [error:]
Question
While generating with m2m_100 12B Model(12b_avg10_chk_4_gpus.pt) in Tesla v100-SXM2 and 4 16GB GPUs recommended config setting from doc getting attached OOM every time.
Attaching

config that were sent, attached full below in config.txt
 ... pipeline_encoder_balance = [1,15,10], pipeline_encoder_devices = [0,1,0], pipeline_decoder_balance = [3,11,11,1], pipeline_decoder_devices = [0,2,3,0] ...
nvidia-smi screenshot
Error screenshot

Environment

fairseq 0.10.2
OS : Ubuntu 18.04
Install method: pip install fairseq
Python version: 3.6
GPU models and configuration: 12B Model(12b_avg10_chk_4_gpus.pt), config attached

Anybody with this situation with a solution?
config.txt
nvidia-smi:

OOM Error:

What's the full command that you ran?  The config you posted doesn't seem to match the suggested command in the README.  For example pipeline_model_parallel is False, but should be set to True using --pipeline-model-parallel.  Also, it looks like batch_size is None, but should be 1

What's the full command that you ran?  The config you posted doesn't seem to match the suggested command in the README.  For example pipeline_model_parallel is False, but should be set to True using --pipeline-model-parallel.  Also, it looks like batch_size is None, but should be 1

Thanks @lematt1991 it works.

Thanks @lematt1991 it works.

Thanks @lematt1991 it works.

Hellow, I meet the simillar errors with you..   Could you show me all the full command to finetuning the 12B model?

Thanks @lematt1991 it works.

Hellow, I meet the simillar errors with you.. Could you show me all the full command to finetuning the 12B model?

Hi @Hanlard ,
Did you eventually manage to finetune the 12B model without CUDA OOM  error? I have not luck as well. This issue is about generation though.


Document differences with other existing tools

I am happy to see others do take ansible content QA seriously and treat it as code. I think it would be great to explain

what forking ansible-review was needed?
why ansible-lint was not good enough?

As you probably know, I am the current maintainer of molecule and recently also taken ansible-lint under my wind and managed to make a pure community project, one that addresses previous stagnation issues.
I am interesting in particular about problems, features, approaches that make ansible-later unique when compared with ansible-lint or ansible-review. Maybe it would be possible to join efforts and have a single linting tool that has multiple active maintainers?
If I remember correctly, last time I checked with Will, ansible-review use-case became a bit obsoleted by newer versions of ansible-lint, which historically was the backendup of the review.  The idea that one could lint only the modified files on a git change does not really work in practice, for example a change in a file has big chances of breaking others files: removing or changing an ansible module could break an untouched playbook, that is just one case.
During 2020, I was able to implement a --progressive mode in ansible-lint, one that allows users to ignore errors already existing before current commit and only prevent regression of the quality (introduction of new violations).
There are two other important features that are already on the 5.0 pre-release: making use of ansible syntax check and yamllint.
If it was not clear, ansible-lint would clearly welcome new core developers! ;)

Thanks a lot for your report. First I agree that it might be useful to document the initial intention behind this fork. To be honest I don't remember the details :) back in time, the situation was a bit unclear and personally I was not really happy with the general way how ansible-review works. The changelog for v0.1.0 has some details about it https://github.com/thegeeklab/ansible-later/releases/tag/v0.1.0. As the future of ansible-lint/ansible-review wasn't really clear I had the impression, getting fixes and enhancements into ansible-review wouldn't be that simple. Besides that, I was starting to get into python development and maintaining and used this project as a good starting point.
A few months later ansible-lint has moved to the Ansible community, things started to change heavily and big progress was made during the last years and ansible-lint become the default linting tool, and it looks very promising. For sure, I'll take a closer look at ansible-lint again, but I couldn't be wrong to provide alternative tools for the same use case.

If it was not clear, ansible-lint would clearly welcome new core developers! ;)

Sure, thanks ;)

Thanks a lot for your report. First I agree that it might be useful to document the initial intention behind this fork. To be honest I don't remember the details :) back in time, the situation was a bit unclear and personally I was not really happy with the general way how ansible-review works. The changelog for v0.1.0 has some details about it https://github.com/thegeeklab/ansible-later/releases/tag/v0.1.0. As the future of ansible-lint/ansible-review wasn't really clear I had the impression, getting fixes and enhancements into ansible-review wouldn't be that simple. Besides that, I was starting to get into python development and maintaining and used this project as a good starting point.
A few months later ansible-lint has moved to the Ansible community, things started to change heavily and big progress was made during the last years and ansible-lint become the default linting tool, and it looks very promising. For sure, I'll take a closer look at ansible-lint again, but I couldn't be wrong to provide alternative tools for the same use case.

If it was not clear, ansible-lint would clearly welcome new core developers! ;)

Sure, thanks ;)

If you want, I can send you an invite to ansible-lint repo, and it would likely be enough if you watch what happens and maybe with triage.

If you want, I can send you an invite to ansible-lint repo, and it would likely be enough if you watch what happens and maybe with triage.

I would like to do so!

I would like to do so!

Put a comment on https://github.com/ansible-community/ansible-lint/issues/815 for tracking history, you will see an invite soon.

Put a comment on https://github.com/ansible-community/ansible-lint/issues/815 for tracking history, you will see an invite soon.


Cache bearer tokens based on the authority

We need to cache auth tokens until they expire or are close to expiring so we're not fetching them each time, which hurts performance and may impact quotas.
See https://github.com/Azure/azure-sdk-for-rust/pull/1726#pullrequestreview-2243609123 for context.

/cc @vincenttran-msft

Hi @heaths Heath, I spent some time yesterday and today and got a working proof-of-concept of the interior mutability caching concept, but looking deeper at other examples in the codebase, it seems that refreshing should be handled on the token side and not the policy side?
For example, in BearerTokenCredentialPolicy, credential is of type TokenCredential, and looking at TokenCredential's get_token implementation for a credential type such as DefaultAzureCredential:
impl TokenCredential for DefaultAzureCredential {
    async fn get_token(&self, scopes: &[&str]) -> azure_core::Result<AccessToken> {
        self.cache.get_token(scopes, self.get_token(scopes)).await
    }

And so, looking at TokenCache's implementation of get_token:
pub(crate) async fn get_token(
        &self,
        scopes: &[&str],
        callback: impl Future<Output = azure_core::Result<AccessToken>>,
    ) -> azure_core::Result<AccessToken> {
        // if the current cached token for this resource is good, return it.
        let token_cache = self.0.read().await;
        let scopes = scopes.iter().map(ToString::to_string).collect::<Vec<_>>();
        if let Some(token) = token_cache.get(&scopes) {
            if !is_expired(token) {
                trace!("returning cached token");
                return Ok(token.clone());
            }
        }

        // otherwise, drop the read lock and get a write lock to refresh the token
        drop(token_cache);
        let mut token_cache = self.0.write().await;

        // check again in case another thread refreshed the token while we were
        // waiting on the write lock
        if let Some(token) = token_cache.get(&scopes) {
            if !is_expired(token) {
                trace!("returning token that was updated while waiting on write lock");
                return Ok(token.clone());
            }
        }

        trace!("falling back to callback");
        let token = callback.await?;

        // NOTE: we do not check to see if the token is expired here, as at
        // least one credential, `AzureCliCredential`, specifies the token is
        // immediately expired after it is returned, which indicates the token
        // should always be refreshed upon use.
        token_cache.insert(scopes, token.clone());
        Ok(token)
    }
}

And for completeness sake, is_expired's implementation:
pub fn is_expired(&self, window: Option<Duration>) -> bool {
        self.expires_on < OffsetDateTime::now_utc() + window.unwrap_or(Duration::from_secs(30))
    }

It would seem that when the policy asks for a token, we should not maintain a cache on the policy as the token itself should maintain its own caching. Wondering if this logic tracks or if I am misunderstanding something!
CC @demoray Hi Brian, I see that you are still actively working on this as of last week and wanted to possibly expand this discussion here to help improve my understanding of these tokens and caching mechanisms!
Thanks!

I don't think it matters if the caching is done at the policy layer or at the token side, though implementing the caching at the policy layer would resolve one of the struggles with DefaultAzureCredential and the chained credential types the identity team is advocating to move towards instead of DAC.
As is, a cache needs to be implemented at each of layers and the DAC/chained-credential layers.
Assume you use just IMDS.   Then you expect caching of the results of IMDS .
Assume you have the following list of sources to check:

IMDS
environment variables (ENV)
az-cli (CLI)

If this is used in an environment uses the CLI, the expectation would be that the DAC/chained-credential would have the query cached such that it doesn't hit IMDS+ENV before hitting the CLI cache.

Agreed: token caching should be done in the policy, as it is in other languages, so that it just works regardless of what TokenCredential - even custom third-party - is supplied.


ffmpeg pipe error: Error: write EPIPE Error

Getting when I start any radio station:
ffmpeg pipe error: Error: write EPIPE
[7/19/2022, 4:44:07 PM] [HomepodRadioPlatform] [BBC Radio 4] state: null
[7/19/2022, 4:44:07 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/19/2022, 4:44:07 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET getVolume
[7/19/2022, 4:44:09 PM] [HomepodRadioPlatform] [BBC Radio 4] Current volume 33
[7/19/2022, 4:44:28 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/19/2022, 4:44:28 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/19/2022, 4:44:28 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered SET TargetMediaState: 0
[7/19/2022, 4:44:28 PM] [HomepodRadioPlatform] [BBC Radio 4] Started hearbeat 573
[7/19/2022, 4:44:28 PM] [HomepodRadioPlatform] [BBC Radio 4] Started streaming http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8
[7/19/2022, 4:44:28 PM] [HomepodRadioPlatform] [BBC Radio 4] Setting volume to 25
[BBC Radio 4 8421@Target Media State] The write handler for the characteristic 'Target Media State' on the accessory 'BBC Radio 4 8421' was slow to respond!
[7/19/2022, 4:44:32 PM] [HomepodRadioPlatform] [BBC Radio 4] ffmpeg pipe error: Error: write EPIPE
[7/19/2022, 4:44:38 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered SET TargetMediaState: 1
Homebridge 1.5.0 is running on a RPI4 on docker using recommended image on your page.
Config is:
{
"bridge": {
"name": "Homebridge 8E59",
"username": "0E:0B:D5:AC:8E:59",
"port": 53326,
"pin": "031-45-154"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"homepodId": "CC:D2:81:81:94:CF",
"serialNumber": "CCD2818194CF",
"mediaPath": "/media/homepod",
"httpPort": 7654,
"verboseModel": true,
"volumeControl": false,
"radios": [
{
"name": "BBC Radio 4",
"radioUrl": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8",
"volume": 25,
"autoResume": true
}
],
"platform": "HomepodRadioPlatform"
}
]
}
Appreciate any pointers

Additionally: If I click on the m3u8 url in Homebridge UI it opens another browser tab and plays just fine directly to the HomePod (obviously this is outside of Homebridge itself),  However I get the above error is tap on the tile in Home app

Oh these are the details if the HomePod:
Name: AppleTV 4K 1 Office
Model/SW: Apple TV 4K, tvOS 15.5.1
Address: <IP_ADDRESS>
MAC: CC:D2:81:81:94:CF
Deep Sleep: False
Identifiers:

CC:D2:81:81:94:CF
CCD2818194CF
Services:
Protocol: Companion, Port: 49152, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory

Hi, looks like that radio URL is not working properly with HomePod... When I tried to open
"radioUrl": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8",
in Safari, it redirected me to some not working page with this URL:
http://as-hls-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3D320000.norewind.m3u8
For BBC Radio 4 I googled this one: http://stream.live.vc.bbcmedia.co.uk/bbc_radio_fourfm  should work fine

thanks for there response much appreciated. however I didn't encounter the error with the URL that you reported and the others I tried also worked just fine in a browser tab. However I did make the change as you've suggested and it still not playing (although different error message):
[7/20/2022, 5:54:43 PM] [HomepodRadioPlatform] [BBC Radio 4] state: null
[7/20/2022, 5:54:43 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/20/2022, 5:54:56 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/20/2022, 5:55:02 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/20/2022, 5:55:03 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/20/2022, 5:55:53 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered GET CurrentMediaState: 2
[7/20/2022, 5:55:55 PM] [HomepodRadioPlatform] [BBC Radio 4] Triggered SET TargetMediaState: 0
[7/20/2022, 5:55:55 PM] [HomepodRadioPlatform] [BBC Radio 4] Started hearbeat 2150
[7/20/2022, 5:55:55 PM] [HomepodRadioPlatform] [BBC Radio 4] Started streaming  http://stream.live.vc.bbcmedia.co.uk/bbc_radio_fourfm
[7/20/2022, 5:55:55 PM] [HomepodRadioPlatform] [BBC Radio 4] Setting volume to 35
[BBC Radio 4 8421@Target Media State] The write handler for the characteristic 'Target Media State' on the accessory 'BBC Radio 4 8421' was slow to respond!
[7/20/2022, 5:56:04 PM] [HomepodRadioPlatform] [BBC Radio 4] Restarting playback... total attempts: 0
[7/20/2022, 5:56:04 PM] [HomepodRadioPlatform] [BBC Radio 4] Cleared hearbeat 2150 - previous timer
[7/20/2022, 5:56:04 PM] [HomepodRadioPlatform] [BBC Radio 4] Started hearbeat 2285
[7/20/2022, 5:56:04 PM] [HomepodRadioPlatform] [BBC Radio 4] Started streaming  http://stream.live.vc.bbcmedia.co.uk/bbc_radio_fourfm
[7/20/2022, 5:56:04 PM] [HomepodRadioPlatform] [BBC Radio 4] Setting volume to 35
[7/20/2022, 5:56:11 PM] [HomepodRadioPlatform] [BBC Radio 4] Restarting playback... total attempts: 0
[7/20/2022, 5:56:11 PM] [HomepodRadioPlatform] [BBC Radio 4] Cleared hearbeat 2285 - previous timer
[7/20/2022, 5:56:11 PM] [HomepodRadioPlatform] [BBC Radio 4] Started hearbeat 2371
best regards rob

Quick update. I have selected another HomePod and I can confirm I now have it working! thanks Very much!


Sync main

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?
What is the current behaviour (you can also link to an open issue here)?
What is the new behaviour (if this is a feature change)?
Other information:

Codecov Report

Merging #233 (4e3bd7f) into main (22f778c) will not change coverage.
Report is 26 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main     #233   +/-   ##
=======================================
  Coverage   19.18%   19.18%
=======================================
  Files          15       15
  Lines        1058     1058
  Branches      371      371
=======================================
  Hits          203      203
  Misses        832      832
  Partials       23       23

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


bigtable: spark example

[ ] I have followed Sample Format Guide
[ ] pom.xml parent set to latest shared-configuration
[ ] Appropriate changes to README are included in PR
[ ] API's need to be enabled to test (tell us)
[ ] Environment Variables need to be set (ask us to set them)
[ ] Tests pass:   mvn clean verify required
[ ] Lint  passes: mvn -P lint checkstyle:check required
[ ] Static Analysis:  mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
[ ] Please merge this PR for me once it is approved.

I don't think we have any testing that applies to Scala projects - is there still a plan to address that?

Until there is scala testing infrastructure in place, I have manually run the integration tests and verified it's passing.


NEXT: Progress Radials

This will act as a hub to centralize this information.
Structure
<ProgressRadial value={70} max={100}>{calcPercent}%</ProgressRadial>

Maintainer Requests
The following requests are coming straight from the Skeleton team. These are highly likely be implemented:

[x] Ensure this meets all ARI APG guidelines
[x] Should be implemented via an interactive SVG element
[x] Let's consider supporting a max field and determining percentage automatically
[x] Supports both a determinate and indeterminate values; the latter is animated
[x] The default slot should populate the center label
[x] Provide style props to enable customizing the animation settings (effect/duration/etc)
[x] Provide style props to control the line stroke and curvature
[x] Material provides a great reference for default animation styles
[x] Ensure consistency with the Progress Bar feature

Community Requests
The following requests have come from the community and are under consideration:

n/a

Bugs and Issues

https://github.com/skeletonlabs/skeleton/issues/2258

References

Skeleton v2: https://www.skeleton.dev/components/progress-radials
Mantine:https://mantine.dev/core/ring-progress/
Material Design: https://m3.material.io/components/progress-indicators/overview

Feedback
If you have additional updates or requests for this feature, please do so in the comments section below.

This is now merged and will be a part of the new release next week!


Can't show indent line in cpp and c files

The plugin does not work when I configure it in cpp and c files, but it works in py files. How can I fix it?

Same behaviour here, from this post I've added set conceallevel=1 to my vimrc, and it works.
https://github.com/Yggdroot/indentLine/issues/59#issuecomment-184135176


DOC: Fix table formatting

Closes #11571
@drammock I think I lean toward this being a pydata-sphinx-theme issue, if you agree I can open a near-dup of #11571 over there (or feel free to do it)

WDYT?

Pushed a fix for that and locally tested it, merging since CIs won't tell us much here!


Automated tests fail due to ha.pool.sks-keyservers.net unavailability

Environment details

OS type and version: n/a
Python version: python --version: n/a
pip version: pip --version: n/a
google-cloud-compute version: pip show google-cloud-compute: n/a

Steps to reproduce

Try to make a Pull Request, so kokoro tries to build like, just like: https://github.com/googleapis/python-compute/pull/78
The docs-presubmit test fails during its setup.

Code example
None needed.
Stack trace
From the test output:
Step 6/8 : RUN set -ex     && export GNUPGHOME="$(mktemp -d)"     && echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf"     && /tmp/fetch_gpg_keys.sh     && for PYTHON_VERSION in 3.7.8 3.8.5; do         wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"         && wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"         && gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz         && rm -r python-${PYTHON_VERSION}.tar.xz.asc         && mkdir -p /usr/src/python-${PYTHON_VERSION}         && tar -xJC /usr/src/python-${PYTHON_VERSION} --strip-components=1 -f python-${PYTHON_VERSION}.tar.xz         && rm python-${PYTHON_VERSION}.tar.xz         && cd /usr/src/python-${PYTHON_VERSION}         && ./configure             --enable-shared             --enable-unicode=ucs4             --with-system-ffi             --without-ensurepip         && make -j$(nproc)         && make install         && ldconfig   ; done   && rm -rf "${GNUPGHOME}"   && rm -rf /usr/src/python*   && rm -rf ~/.cache/
 ---> Running in 39d592cf26a8
+ mktemp -d
+ export GNUPGHOME=/tmp/tmp.vjBaqEwlHa
+ echo disable-ipv6
+ /tmp/fetch_gpg_keys.sh
gpg: keybox '/tmp/tmp.vjBaqEwlHa/pubring.kbx' created
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
gpg: keyserver receive failed: No name
command failed, retrying
The command '/bin/sh -c set -ex     && export GNUPGHOME="$(mktemp -d)"     && echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf"     && /tmp/fetch_gpg_keys.sh     && for PYTHON_VERSION in 3.7.8 3.8.5; do         wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"         && wget --no-check-certificate -O python-${PYTHON_VERSION}.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"         && gpg --batch --verify python-${PYTHON_VERSION}.tar.xz.asc python-${PYTHON_VERSION}.tar.xz         && rm -r python-${PYTHON_VERSION}.tar.xz.asc         && mkdir -p /usr/src/python-${PYTHON_VERSION}         && tar -xJC /usr/src/python-${PYTHON_VERSION} --strip-components=1 -f python-${PYTHON_VERSION}.tar.xz         && rm python-${PYTHON_VERSION}.tar.xz         && cd /usr/src/python-${PYTHON_VERSION}         && ./configure             --enable-shared             --enable-unicode=ucs4             --with-system-ffi             --without-ensurepip         && make -j$(nproc)         && make install         && ldconfig   ; done   && rm -rf "${GNUPGHOME}"   && rm -rf /usr/src/python*   && rm -rf ~/.cache/' returned a non-zero code: 1

Basically, those two commands are failing:
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys E3FF2839C048B25C084DEBE9B26995E310250568

I checked that ha.pool.sks-keyservers.net fails to resolve. Do we really want to validate python build like this? Isn't there a better, more reliable way?
As we can see at: https://sks-keyservers.net/overview-of-pools.php
This service is deprecated. This means it is no longer maintained, and new HKPS certificates will not be issued. Service reliability should not be expected.

Update 2021-06-21: Due to even more GDPR takedown requests, the DNS records for the pool will no longer be provided at all.

Is this fixed? @m-strzelczyk @parthea

Yes, this was fixed in https://github.com/googleapis/python-compute/pull/67. Closing.


@Published Properties build failure

Hey Antoine, thanks for the playground. I cannot build the @Published Properties part of the playground since you're using the @Published property wrapper within a struct.
As the documentation states:

The @Published attribute is class-constrained. Use it with properties of classes, not with non-class types like structures.

I also think for the two print statements to make sense at the bottom of said playground, you should set the button's isEnabled value to false initially. Otherwise, like it is the case now, "Button enabled is true" is being printed twice.

This should be fixed now!

Thank you!


Adjust mono requirements and F# version

I'm not sure if we deliberately did this, but everyone should be using Mono 4 now anyway.

I would recommend adding a link to https://github.com/fsharp/fsharp/issues/535 in the commit message.

Thanks!