Import problem in training stage

Hi! I met an import problem in training stage. When running the main.py, it reports

Error executing job with overrides: []
Traceback (most recent call last):
File "/mnt/c/Users/14242/Desktop/PaperCode/DiGress/./src/main.py", line 104, in main
from metrics.molecular_metrics import TrainMolecularMetrics, SamplingMolecularMetrics
File "/mnt/c/Users/14242/Desktop/PaperCode/DiGress/src/metrics/molecular_metrics.py", line 1, in
from rdkit import Chem
File "/home/ctw/anaconda3/envs/GNN/lib/python3.9/site-packages/rdkit/Chem/init.py", line 16, in
from rdkit.Chem import rdchem
TypeError: No registered converter was able to produce a C++ rvalue of type std::string from this Python object of type str

But if I run the

from metrics.molecular_metrics import TrainMolecularMetrics, SamplingMolecularMetrics

alone, I don't have this problem. Screenshots of the run have been attached below. Thanks for your help!

Rdkit is also available.

Hello, did you run pip install -e . in the root folder?
You can try to import rdkit at the first line of main.py, sometimes it works. Apart from that, I am not able to help you unfortunately.

I had met and solved it, move the error import sentence to the first line of the main.py

I had met and solved it, move the error import sentence to the first line of the main.py

Thanks! I will check it out!


Docs: Add API documentation

For bombastic, vexination and spog APIs
Document the search syntax.
@bobmcwhirter Antora maybe? Source in docs/ ?

Available now

I am unsure how this can be tested.


Month and week display incorrectly on ios

Hi,
I met a weird problem when use the plugin. It looks like the month and week display wrongly on iPhone (display well on Android devices). Is there any ways to solve the problem? The screenshot is attached. Thank you.

Do you have date-fns installed in your project?


feat(windows): use "ProgramData" or "All Users" to store device ID, instead of AppData

Is your feature request related to a problem? Please describe.
The device ID is per-user right now, so if two users share a PC, or if the user changes names by creating a new account and deleting the old one (e.g. if the PC is transferred from one person to another), then the device ID will get regenerated.
Describe the solution you'd like
Use the common app data folder to store the device ID instead.
Describe alternatives you've considered
We don't have to do this, but since we have no Windows users yet, it's easier to do it without migration. It'll just regenerate my laptop and VM's IDs one time.
Additional context
https://learn.microsoft.com/en-us/windows/win32/shell/csidl?redirectedfrom=MSDN
CSIDL_COMMON_APPDATA or FOLDERID_ProgramData
Typically C:/ProgramData or C:/Users/All Users or C:/Users/All Users/Application Data.
### Tasks
- [ ] Make device ID be a structured value in logs
- [ ] Change device ID to common app data folder, don't bother migrating

#3172 fulfilled this


Multiple Sensors in One Scene

I'm trying to optimize the geometry of a mesh using multiple views but found I couldn't have multiple sensors in a single scene. Is there a way to have multiple sensors in one scene or to bypass this issue?

I think I found the problem. You can't have two sensors both with a film and sampler node in a scene description file. To have two sensors in a scene, I simply removed the film and sampler node of the second sensor.


[a11y]:  Tearsheet focus not coming on ContexSwitcher

Package
@carbon/ibm-products
Browser
Chrome, Firefox
Operating System
MacOS
Package version
v2.27
React version
v17.0.2
Automated testing tool and ruleset
Manual
Assistive technology
No response
Description
In the tearsheet component, I am using ContextSwitcher component . While navigation through keyboard, on pressing Shift+Tab the focus goes to the contextswitcher and the same doesnt work in case of tab key press
WCAG 2.1 Violation
No response
Reproduction/example
https://carbon-for-ibm-products.netlify.app/?path=/story/ibm-products-components-tearsheet--with-navigation&globals=viewport:basic
Steps to reproduce
Use a ContextSwitcher component
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems

@psurana2 can you create a code sandbox showing this behavior? Thanks!

@matthewgallo This happens because Firefox focuses on the content div element with the scrollbar.


updated smartftp icon

@matbech is there a reason for making the SmartFtp Icon smaller?

Nope this wasn't my intention. I have incorrectly assumed that the size will be set in the img element on the package page. But this is not the case. I have changed the default size to 128x128 now (same as current size).

Perfect, thank you! :+1:

Thank you.


可以出一个用OneDrive做存储的方法吗

OneDrive要比back blaze大多了 存的图片也可以更多

这是Backblaze的官方文档对于Backblaze B2 Cloud Storage的概念

Backblaze B2 is simple, reliable, affordable object storage. Each account gets 10 GB of free storage, unlimited free uploads, and 1 GB of free downloads each day. There are no hidden fees. See the Pricing page for details.

To use B2 Cloud Storage, you need to have a Backblaze account. You may create an account by signing up at backblaze.com. After enabling Backblaze B2 for your account, you will have access to your Application Key Id and Application Key that let you call the APIs.

Backblaze supports two different suites of APIs: S3 Compatible and B2 Native. We generally recommend that developers use the S3 Compatible API when writing new applications and integrations, as it is supported by a wider range of SDKs and libraries, and many developers already have experience with Amazon S3. You can use the Backblaze B2 web console or the B2 Native API to access functionality, such as application key management and lifecycle rules, that is not covered by the S3 Compatible API.

Take a look at the Backblaze B2 Native Quick Start Guide and Backblaze B2 Quick Start: Using Python With the Backblaze S3 Compatible API to get started right away.

Using the Backblaze APIs, you can:

Upload, download, and delete files
Create and manage the buckets that hold files
Manage the configuration of your account*

Backblaze B2 Native APIs only

我把最主要的翻译给你看，就是第一段

Backblaze B2是一种简单、可靠、价格合理的对象存储。每个帐户每天获得10 GB的免费存储空间、无限的免费上传和1 GB的免费下载。

这两个的储存概念就不是一样的，要是硬比较的话，没多少人会一天上传10GB的图片吧，所以应该是Backblaze B2的存储大于OneDrive。再说你是用的OneDrive是个人版，还是企业版，个人版已经被墙了，企业版你还有考虑开发者到期的时间，而这一个桶却是永久的。

感谢解答


[Failing Test]: beam_PostCommit_Java_ValidatesRunner_ULR is perma-red

What happened?
Full run log: https://github.com/apache/beam/actions/runs/7200942301/job/19616004260?pr=29758
Gradle scan: https://ge.apache.org/s/im2h7gr64kuji
The specific failing tests are listed below:
org.apache.beam.sdk.transforms.ViewTest > testEmptyMultimapSideInput FAILED
    java.lang.RuntimeException at ViewTest.java:950

org.apache.beam.sdk.transforms.ViewTest > testEmptyMultimapSideInputWithNonDeterministicKeyCoder FAILED
    java.lang.RuntimeException at ViewTest.java:984

org.apache.beam.sdk.transforms.ViewTest > testEmptyMapSideInput FAILED
    java.lang.RuntimeException at ViewTest.java:1297

org.apache.beam.sdk.transforms.ViewTest > testEmptyMapSideInputWithNonDeterministicKeyCoder FAILED
    java.lang.RuntimeException at ViewTest.java:1331

These may be related to the recent multi-map side input changes in #29691.
Issue Failure
Failure: Test is continually failing
Issue Priority
Priority: 1 (unhealthy code / failing or flaky postcommit so we cannot be sure the product is healthy)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

@robertwb

I'm thinking this is what you need:
Caused by: java.lang.IllegalStateException: Unknown state type: multimap_keys_side_input
    at org.apache.beam.fn.harness.state.BeamFnStateGrpcClientCache$GrpcStateClient$InboundObserver.onNext(BeamFnStateGrpcClientCache.java:191)

Agree that this should block release until/unless we are sure it isn't a bug and we decide the ULR is OK not supporting this.

See comments and "fix" at https://github.com/apache/beam/pull/29836

This has been fixed


Introduce DISCONNECTED connection quality.

Currently, this state happens when any up stream track does not send any packets in an analysis window when it is expected to send packets.
This can be used by participants to know the quality of a potentially disconnected participant. Previously, it took 20 - 30 seconds for the stale timeout to kick in and disconnect the limbo participant which triggered a participant update through which other participants knew about it.
Previously, POOR quality was also overloaded to denote that the up stream is not sending any packets. With this change, that is a separate indicator, i. e. DISCONNECTED.
For https://github.com/livekit/livekit/issues/2048

hi, when do you plan to release this?


Blob data dumps are useless

In MySQL database, I have longblob data. When I make the dump, data become useless. I can't even execute these statements. What is the point of SchemaDumpOptions.format option?

The SchemaDumpOptions.format options is there to turn the sql formatter on or off.
This is not so useful when just dumping CREATE TABLE statements, as those are generated formatted by the DB itself.
However the INSERT statements are built within this library, so it will format those.
Additionally if you have any TRIGGERS, then it will format them consistently.

Could you give me an example of the dump you're getting for the LONGBLOB?
The [TINY/MEDIUM/LONG]BLOB types should be exported in a hexadecimal format. I.e
https://github.com/assignar/mysqldump/blob/6c6ed7f/test/fixtures/data.sql#L194-L220
    X'1234',
    X'4321',
    X'ff',
    X'abc123',

Is this not the case?
This data inserts fine into my databases.

I noticed that from query SELECT * FROM table I get buffer where values are 9, A, D instead of 09, 0A, 0D
leading zeros are removed.
instead of
X'52450939393909310933303009555344095745423030303030303030323309574542303030303030303032330D0A393939093938370955534409343538093330300932322E30362E323031380909555609333030090909090932382E30362E32303138090909090909090909090936095409097465737420746573742032096D616A617320320909300932322E30362E3230313809323030093130300909090909090909090909090909090909090D0A
I get
X'5245939393993193330309555344957454230303030303030303233957454230303030303030303233da3939399393837955534493435389333030932322e30362e3230313899555693330309999932382e30362e32303138999999999993695499746573742074657374203296d616a617320329930932322e30362e3230313893230309313030999999999999999999da

I see the bug!
the blobs get converted from a buffer to a hex string 1 byte at a time.
However 1-byte int should always be 2 hex characters long.
I used toString(16) which doesn't zero-pad the output.
I'll push a fix out for it asap.

Thanks for the quick fix.


Class constants Criteria::ASC|DESC are deprecated in favor of Doctrine\Common\Collection\Order

According to the UPGRADE guide, classes constants related to Criteria::ASC and Criteria::DESC are deprecated, in favor of Doctrine\Common\Collection\Order.
We can also use the rule Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector for this (like in #294).
Can I also write a PR for this ?
This is in the package doctrine-collection: I think I will need to create a new ruleset and test suite, isn't it ?

yes please 👍


Why the shuffle  is True when testing?

https://github.com/Silverster98/HUMANISE/blob/main/eval_metric_motion.py#L14

I think it doesn't matter? You can also set shuffle as False during testing.


New Pipeline_Splicing

Another day, another pipeline ;).
This is to merge the splicing pipeline which can handle exon level events from both rMATS and DEXSeq. It also offers group label permutation testing for rMATS. rMATS results are plotted using sashimiplot.
The Pipeline is fully documented and has testing. See /ifs/devel/jakubs/test_splicing
Other small changes included in this PR are:
Fix for some filenames in Enrichment pipeline
Adds ability to do LRT in sleuth

Great, thanks very much @jscaber !


Minimal usage example

Please provide new usage example for reading meshes or update the wiki tutorial.
I couldn't make the library work.

Any help?

Hi @eLeCtrOssSnake,
Sorry for the delay, I was inactive here for a while,
Currently I'm working on this library to make it easy work with and production ready as soon as possible. I'll update the documentation at https://assetkit.readthedocs.io/en/latest/
Thanks

Thank you very much. Looking forward to using your library.


bootstrap_field template tag: Support for input group buttons

I have a form field (ChoiceField, rendered as select) which should have a button next to it (to preview the selected object).
See here:
http://getbootstrap.com/components/#input-groups-buttons
I have seen and tested the addon_before and addon_after options, but they of course add a span with class="input-group-addon", but I need "input-group-btn".
Ideas: Add addon_before_class and addon_after_class which default to "input-group-addon", but can be customized. OR: Provide an option form_group=False to remove the surrounding form-group and give the user the full control (this has already been mentioned in another discussion).
Thanks,
Jörg

It might be a good idea, I've a similar issue for one of my projects. I wanna add a group button to a field but I cannot do it properly with addon_before/after. Furthermore, to have a way to disable the surrounding of the field with a form group allow us to handle the surrounding, whatever the need.

+1
I really would like to have this feature! Right now I do it the hacky way using jQuery:
$("#id_manufacturer").wrap('

');
$("#id_manufacturer").after('
 \
   \
   \
   \

');

Is anybody working on this issue right now?

+1 this would be super useful!

I think I know how to go about implementing this feature. I like the suggestion @joerg86 made about adding an addon_before_class and addon_after_class that defaults to the existing value of "input-group-addon". I'll send a pull request when I have something working.

I guess this works fine, and it serves a need.

Pulled it in.


What about TreeView component?

Sometimes need to have a component to work with hierarchical data.
It may be very useful to have a Tree/TreeView component.
Something like this
https://github.com/ctrl-alt-d/BlazorServerTree

yea sure.
as skclusive.material.component replicates react based material-ui implementation, planning to have this https://material-ui.com/components/tree-view/ tree-view component in version 3.0.
working process version 2.0 is mainly focusing providing documentation. hopefully end of march.
also i am open to implement other components not available in material-ui.com.

closing it now. will be tracked along with #19 when we start developing TreeView.


Added Clio law practice software to "Other".

As per requested, separated my PRs.

You separated the sites into separate commits, but this it still one pull request. To make them into separate PRs you need to make the changes on two different branches in your local repo and submit both branches as PRs to the project.

I thought I was doing that when I pushed the separate commits...I realized
I was wrong when I pushed them and the merged into the same request. So how
do I separate the branches exactly? And while we're there, how do I reset?
Thanks! Phil
Ottawa:<PHONE_NUMBER>
Cornwall:<PHONE_NUMBER>
Any distribution, use or copying of this e-mail or the information it
contains by other than the intended recipient(s) is unauthorized.
On Thu, Mar 19, 2015 at 2:53 PM, Rich Jeanes<EMAIL_ADDRESS>wrote:

You separated the sites into separate commits, but this it still one pull
request. To make them into separate PRs you need to make the changes on two
different branches in your local repo and submit both branches as PRs to
the project.
—
Reply to this email directly or view it on GitHub
https://github.com/jdavis/twofactorauth/pull/1016#issuecomment-83716282.

Our time spent on the project as collaborators is all volunteered and is focused on the project itself. There are lots of wonderful Git tutorials around the internet. Look into creating new branches for each then submitting the PRs should be simple once you push the repo to GitHub.
Also, looking at the Travis results, the build is failing because you are missing the img tag for Clio.

@plecavalier You should have created 2 separate branches in your repo, make each site's change in its own branch and then create 2 pull requests from those branches.


Alian and Session ID

I wanted to use the program, but I don't know what those 2 fields are! In youtube only appears to me that before was the email and the password!
Someone tell me what is Alias and Session ID.
Thanks

Please see the wiki article here for how to get the Session ID.  Alias is an arbitrary name you give for that login.

thank you very much already got it, and good new year ;)

Thank you for the update.  Please close this issue now that it is resolved.


Input: fix  blur event param & improve docs

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

混进了一些奇怪的东西= =


circleci: update to fedora 30

Looks like the dbus-daemon binary was renamed or it wasn't pulled as a dependency.

yup, f30 replaced the defaults with dbus-broker but I haven't figured out yet how to start this from the commandline instead of as a dbus service. Meanwhile, we can get by with the old dbus-daemon, good enough until that gets fully retired.


chore: update api short name

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #449

This stuff should be templated (example: https://github.com/googleapis/synthtool/blob/master/synthtool/gcp/templates/java_library/.kokoro/common.cfg) and will get updated if you update the .repo-metadata instead

I edited the wrong field. I will send in a new PR


Update Amplitude FirstExposureDocs

🚀 Deployed on https://65691459c5b8501b5d48fd1c--cozy-fox-0defec.netlify.app


Add option to disable appending 'unsafe-inline' when using nonces

This is in reference to #403

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR @will! Apologies for those annoying linter errors. https://github.com/twitter/secure_headers/pull/405 should address that. I'll get that merge in so we can update this for nice green checks instead of red ❌

Thanks, and thanks for doing a release :)
It also made me think it'd be cool if when a pull request is released, it notified the people in the pull request. Hey @neovintage stop whatever you're working on now and make my idea here happen soon, thanks in advance!

Should this be added to the readme?

@ghiculescu yes, it should.

@ghiculescu Okay great. Made a PR here: https://github.com/twitter/secure_headers/pull/409


Feature: Should the profile names be sorted alphabetically?

Is your feature request related to a problem? Please describe.
The profile names are being added very randomly right now. Should we make them alphabetical so as to maintain order?
Describe the solution you'd like

Keep all the names alphabetically sorted
Ask people to add their names in a sorted order before creating a pull request

Describe alternatives you've considered

Additional context
Just a suggestion; it might be least significant

good sugestion. I was thinking about the same thing, lol

Well, now it has grown to a point where we would have to do something like that to better organize things.
@rusty-sj we'll be working on that, and would update soon.

Thanks guys for this project. I have used a lot of things you have listed to improve my profile


docs(v2): correct typo

Motivation
fix typo
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
n/a
Related PRs

👍


Property 'webpack_share_scopes' doesn't exist

Can somebody please show me how to fix this issue? I can not open miniapp in hostapp.

Hi @chimcuccu258, do you have ModuleFederation plugin in your host app? Seems like MF runtime module is not injected into the bundle.

I guess that I already have config for this

@chimcuccu258, have you tried setting a name to a non-empty string?

@chimcuccu258 please provide a reproduction repository if you think the problem lies with library and not just configuration

Closing since the issue has been stale for a long time and no reproducer was provided. If you are still facing the issue please provide a minimal reproduction repository and I will reopen this issue.


Spring networks

We use d3-force to visualize our mesh network connections.
Unfortunately the resulting graphs are not very handsome (especially with non-planar graphs):
https://hannover.freifunk.net/karte/#/en/graph/18a6f73de51a
So I thought wouldn't it make sense to use a sping network approach instead?
What I hope is that we can make graphs better human-readable by e.g. finding out the edge vertices of non-planar partitions of the graph, splitting it there and moving it apart so that it does not end up as a clumsy ball.
https://m.youtube.com/watch?v=CDMQR422LGM
Edit: For people who prefer to read: https://blogs.ams.org/jmm2019/2019/01/18/dan-spielman-miracles-of-algebraic-graph-theory/

Closed as I've found out that d3-force used spring networks before and I've found a better solution for my problem.


fix(ci): build with CGOENABLED=0 for alpine linux support

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


Support for creating a Cassandra cluster

Current cassandra only supports a single node installation. Add support for multiple cassandra nodes.

This is already done?
How can add nodes into?

@johnfelipe  It is supported for DataStax but not yet for Cassandra. Will try to add support for it this weekend. Keep you updated....

ping me when is done pls

@johnfelipe cassandra cluster is now supported and currently available in the 1.15.0-preview. Will release 1.15.0 soon.


Document tracing support

The current documentation does not contain information about what bindings support (StreamBridge, MessageChannel) distributed tracing using and what bindings does not (Functional/Supplier): https://docs.spring.io/spring-cloud-stream/docs/current/reference/html/
Connected issue: https://github.com/spring-cloud/spring-cloud-sleuth/issues/1822

Hello team,
Many thanks for this, it is very helpful.
Is it possible to document that as of SpringBoot 3.0.2 + Spring Cloud 2022.0.1 (latest as of this writing), tracing is not supported for reactor / reactive Spring Cloud Stream please?
Thank you @olegz @jonatan-ivanov


Marshal records before opening DB transaction

FYI @dnldd

IMO, unnecessarily using a small amount of CPU/memory to marshal is a less expensive operation than unnecessarily starting/rolling back a database transaction.
In general, when designing systems, DB usage should be avoided/minimized wherever possible.
In practise, in the case of vspd, the likelihood of a marshal failure and the amount of DB access we are expecting are both so low that it probably doesn't make any difference. Even so, I'd like to keep these changes as they are, even if its just for the sake of setting a good example and following best practises.

Discussed this with @dnldd on Matrix, and after researching and discovering that the chance for json.Marshal to return an error is practically zero, I have reverted most of the changes in this PR.
Keeping the PR open to fix some mtx.Lock/Unlock nits, and to defer marshalling a DB record until it is actually necessary.


Problems logging in to the webclient

It's probably just me no knowing the entire module (just taking the first steps..).
I'm setting up a new container with this:
New-CSideDevContainer -containerName WaldoTest `
    -devImageName navdocker.azurecr.io/dynamics-nav:devpreview `
    -licenseFile "C:\Users\Administrator\Dropbox\Dynamics NAV\Licenses\2017 DEV License CRS.flf" `
    -vmAdminUsername vmadmin `
    -adminPassword 'waldo1234'

The entire script runs fine (so it seems):

But I'm unable to log in - it doesn't accept the account.  I tried:

just a new username/password
the same username/password as my administrator of the host

It is not you, it is a bug in october update.
Windows authentication doesn't work with docker.
If you need to run it now, you will have to download navcontainerhelper source and change it from Windows auth to NavUserPassword.
We are working on a fix.
I haven't tested, but it might work if you are using https

Aight - forking it is ;-)

It works as you suggested.
I created a new parameter in order to be able to do it with the function.
See pull request: https://github.com/Microsoft/navcontainerhelper/pull/4


add test for intermediate layer/sparse source in designspace

Intended to reproduce the issue described at #400, whereby we currently use the same VariationModel for all glyphs whether or not they contain sources for all the locations or only some, leading to incorrect region definitions
this is the same test font I showed in https://github.com/googlefonts/fontc/issues/400#issuecomment-1682235603

the test fails on main as expected:
https://github.com/googlefonts/fontc/actions/runs/5893540102/job/15985303387?pr=404#step:5:169
---- tests::intermediate_layer_in_designspace stdout ----
thread 'tests::intermediate_layer_in_designspace' panicked at 'assertion failed: `(left == right)`

Diff < left / right > :
 [
     Rect { origin: (231.0, 0.0), size: 133.0W×700.0H },
<    Rect { origin: (195.0, 0.0), size: 205.0W×700.0H },
>    Rect { origin: (231.0, 0.0), size: 133.0W×700.0H },
     Rect { origin: (171.0, 0.0), size: 253.0W×700.0H },
 ]


[BUG] exo run handles lots of output poorly

Describe the bug
If a command outputs a vast amount of logs exo run doesn't appear able to stop.
To Reproduce
Steps to reproduce the behavior:

Create a docker compose that looks like this:

services:
  busy:
    image: bash
    command: "bash -c 'while true; do echo hello; done'"

Send a SIGINT or SIGTERM to the exo run process
Witness as nothing happens

Expected behavior
The workspace should stop, terminating the container.
My assumption is that this happens because of the very large amount of output that the script generates.

Docker compose handles this gracefully


Move setting specific code out of the JSON language server.

I saw that
extensions/json/server/src/jsoncontributions/windowTitleContribution.ts
got added.
Please move this to
configuration-editing/src/extension.ts
When at it, also do the same for
extensions/json/server/src/jsoncontributions/fileAssociationContribution.ts
extensions/json/server/src/jsoncontributions/globPatternContribution.ts

@aeschli maybe you could see my changes in extension.ts. Everything seems to work fine, except for some unknown reason I am not getting the list of languages in the files.associations completion when I am inside a value. I verified that my code gets executed but IntelliSense shows no languages.
Otherwise I am also not sure if I am doing the check for key vs value right. In the previous code I was nicely being called to provide key or value completions.
Finally, we still need to convert projectJSONContribution.ts, not sure who owns that.

Removing projectJSONContribution depends on https://github.com/OmniSharp/omnisharp-vscode/pull/224 being merged.

I pushed a fix for the languages (quotes were missing).
To find out wether key or value is completed, use location.isAtPropertyKey.
There are still issues for completing directly after 'files.associations' (curly brackets are missing). Assigning back to you.

@aeschli thanks!


Pickling tokenizer fails due to builtins.CoreBPE

I am using tiktoken in a dataset preprocessing step for a pytorch DataLoader.  They support multiprocessing in creating batches which spawns workers.  This fails with exception:
TypeError: cannot pickle 'builtins.CoreBPE' object
I am not familiar with Rust, but this thread seems to suggest that a few methods in the Rust implementation would enable pickling the tokenizer.

+1
Fails with this error when used in multiprocessing context, eg

    train_dataset = train_dataset.map(
        tokenization_function,
        batched=True,
        batch_size=1000,
        num_proc=args.num_proc,
        load_from_cache_file=not args.overwrite_cache,
        desc=f"Running tokenizer on train dataset with {len(train_dataset)} items"
        )

Related issue: https://github.com/openai/tiktoken/pull/181

I allow Encoding to be pickled in tiktoken 0.6. Please let me know if the implementation doesn't work well for you!

@hauntsaninja Works for me. Thanks!


[question] vcxproj indentation

Hello,
All vcxproj files written by MS Visual Studio are UTF-8 encoded and with two space indentation. Is it possible to change that? Visual Studio reformats all files on every save. For instance, we've some handwritten vcxproj files with one tab indentation and want to keep the tabs.

With existing released versions: no, sorry. MSBuild unconditionally reformats.
In the future, we've exposed a way for a caller to ask us to not reformat the file: #707. I'm not sure whether the vcxproj folks are planning to adopt that for VS "15". @Sarabeth-Jaffe-Microsoft have we reached out to them about this?

Thanks @rainersigwald it sounds good. I'll look forward to VS "15".

Closing as the MSBuild mechanism for this is complete--though I believe the C++ project system hasn't adopted it (yet?).


Exception details are "swallowed" by GedisServer

Description
The GedisServer catches all exceptions to provide a "nice" error over the wire to the client. However, while it does this it also discards the traceback which is invaluable for diagnosing issues.
Suggested Solutions

Ensure that the traceback is still written to stderr.
Add a j.logger.error call with traceback details.
Provide a error_traceback value in the returned result JSON alongside the error and error_type values.

@abom you are already working on this right?

Yes, I already added an error log with the exception, but still didn't merge yet, as I'm trying to fix logging context (app names)
For an error_traceback, we don't need to expose much information to the client, what do you think @xmonader?

Now any module can register logs under a different app name using j.logger.register(<app name>)


Fixed italic style not being removed on TextInput on Android

Summary

When a user removes { fontStyle: 'italic' } from a TextInput on Android, the text remains italic. This is because the fontStyle is set to UNSET, which just retains the previous style.
The user would rather expect that the fontStyle be set back to 'normal'
Changelog

[Android] [Fixed] - Fixed so that removing fontStyle: 'italic' style from TextInput correctly resets to font-style to be non-italic
Test Plan

Added a new TextInput test in RNTesterApp called "fontWeight and fontStyle with toggles"
See behaviour:

Before
After

@JoshuaGross - it looks like you've added a bunch of code before for the TextInput on Android - would you be able to give this a quick review? Thanks!

Looks fixed!


re-enable dns as a default plugin

[x] This only affects the JavaScript OpenTelemetry library
[ ] This may affect other libraries, but I would like to get opinions here first

As per gitter chat with @dyladan and @obecny :
The dns is currently disabled as we need to watch for:

any case where creating a span may result in a DNS request, the DNS request may itself trigger a new trace, which may result in a new DNS request, and so on.

However,

with latest changes ver. 0.11 it should automatically surpress tracing for all exporters

Yes that is an important point. The context property to suppress tracing is set in the span processor

if that is happening for dns you might want to add surpressing manually then so the plugin will not cause creating a new span

and at least for collector I have checked that and it was working fine

I also heard from someone that it worked for zipkin that they weren't seeing recursive http calls

We could totally enable it by default indeed.

I think we can close this @naseemkullah ?


Add prometheus

Moved here from https://github.com/mesosphere/universe/pull/221

@discordianfish apologies for how this happened.  this was closed automatically because I delete the master branch.  The version-1.x branch is the correct branch to target for this.   Please resubmit to that branch.


禁用不安全加密协议

被第三方扫出漏洞，因此增加被禁用协议

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Arm64 docker support

What does the feature entail?
Support for Docker image launch on Arm64-based systems.
Why is this feature important?
At the moment, for several VPS providers, the cost of Arm64-based systems is two times lower than for x86-based systems: I can get twice as many Arm cores for the same price as x86 => more peoples can use my self-hosted privacy frontend instances that use tun2proxy + xray-core to bypass ip-restrictions (using mullvad/protonvpn as proxies for outbound traffic) because of people's intense use of my privacy-frontends, what sometimes looks like a bot attack.
PS
Github supports building for Arm64 through Docker Buildx + QEMU. Maybe within a day of publishing this issue I will send a pull request with the changes for providing Arm64 support. Help and suggestions welcome!

Using Dockerfile from f2calv/multi-arch-container-rust as example i'm added support for building image for arm64 (and arm/v7 too). Few minutes ago tested locally using docker buildx build --platform linux/amd64,linux/arm64 -t t2p-test:0.0.1 --output type=local,dest=./output . and its actually works. I plan to send pull-request within a day. Any objections?

maybe use docker/buildx action is better.
https://github.com/docker/buildx


Add getnodefn function in rules

This PR adds a new feature which allows to request a reference to a node function from the @rule macro. In addition @call_rule and @call_marginalrule now attempt to create a node object when calling the specified rule.

@albertpod @nimrais @abpolym This PR is important for the upcoming delta node implementation as it changes the way we work with the node function. However, all rules would need a small update if this is merged, so I would probably prefer for all tests to be completed. But the issue is big enough and we must not release the delta branch before this one is merged.
The underlying issue is that the current approach with the DeltaFn{f} does not work if f depends on some global variable that are defined outside of its local scope, e.g.
y = 1.0

f = (x) -> x + y

This simply breaks Julia with undefined reference error. The solution is this PR which forces each rule in delta node to write:
f = getnodefn(:out) # for delta forward function
f = getnodefn(:in, k) # or for backward node function

# as a feature I also added
f = getprodfn() # returns a node function defined as a pdf for stochastic nodes

This should solve the undefined reference error, but these getnodefn are not implemented for the delta node in this PR and must be implemented in a separate PR (or extra commit in the delta node branch).

I didn't get how you wanted to proceed with it.
Shouldn't you PR to delta branches, after which we adopt rules and tests?

@albertpod
Yeah, I'm not entirely sure. I was thinking that it might be easier to first merge this PR to the master branch and then sync both delta branches with the master. This PR does not break anything in the master, so it can be merged. But you should be aware of the fact that it is breaking for the delta nodes and syncing with the master branch after this PR should be performed carefully (I will help).


Enable ClickOnce by default in Edge

Hello,
We have a flagship product that uses ClickOnce for delivery to over 20,000 end users.
In the latest Chrome-based Edge browser, ClickOnce is no longer turned on by default.  Our users have to manually set its flag to Enabled.  This approach causes a maintenance headache since many of our uses are not IT savy  enough to set a group policy to override this flag.
Is it possible in a future update of Edge to have this flag turned on by default?  Like the classic Edge browser and IE
Thank you

Thanks for posting here. However, this is not the right venue for such feature requests. This looks like a better issue to file under the "Send Feedback" tool in browser. Please use the in-browser "Send Feedback" tool (Alt+Shift+i in Windows, or "..." > "Help and feedback") to make further progress on your request!


Did mongo-connector reserved elasticsearch index cache if the index was deleted?

Hi,
Recently I upgraded mongo-connector to the newest version for support of -e EXCLUDE_FIELDS.
I deleted the older es index for re-indexing. After I typed the command
mongo-connector -m <IP_ADDRESS>:27118 -t localhost:9200 -d elastic2_doc_manager -n ask.zd_topic -a usvr_sereader -p XXXXXXXXX --continue-on-error -e pic_urls

Then it raised too many same errors
OperationFailed: TransportError(404, u'{"_index":"ask","_type":"zd_topic","_id":"54631758068d39201d000002","found":false}')
2016-07-27 17:17:38,601 [ERROR] mongo_connector.oplog_manager:317 - Unable to process oplog document {u'h':<PHONE_NUMBER>046076228L, u'ts': Timestamp(1469611058, 1), u'o': {u'$set': {u'view_num': 156L}}, u'v': 2, u'ns': u'ask.zd_topic', u'o2': {u'_id': ObjectId('56c28d8a7f8b9a422e08e4ec')}, **u'op': u'u'**}
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/mongo_connector/oplog_manager.py", line 303, in run
    ns, timestamp)
  File "/usr/local/lib/python2.7/site-packages/mongo_connector/util.py", line 43, in wrapped
    reraise(new_type, exc_value, exc_tb)
  File "/usr/local/lib/python2.7/site-packages/mongo_connector/util.py", line 32, in wrapped
    return f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/mongo_connector/doc_managers/elastic2_doc_manager.py", line 135, in update
    id=u(document_id))
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 346, in get
    doc_type, id), params=params)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/transport.py", line 329, in perform_request
    status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 109, in perform_request
    self._raise_error(response.status, raw_data)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/connection/base.py", line 108, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
OperationFailed: TransportError(404, u'{"_index":"ask","_type":"zd_topic","_id":"56c28d8a7f8b9a422e08e4ec","found":false}')

It says it could not find the _id when try to do an update.
So I guess if mongo-connector cached a deleted _id?
Thank you for help.

Hi Morriaty-The-Murderer, thanks for filing this issue. Before we file this as a bug can you confirm that you have deleted the oplog progress file (usually called “oplog.timestamp”) before restarting mongo-connector as instructed under How to Perform a Re-Sync?

Thank you ,@ShaneHarvey.
I delete oplog.timestamp, and all goes fine. Sorry for my careless when reading the docs.


Hotfix: set SINGLE_ASSET_PAYMENT_CONTRACT_ADDRESS in env file

@kerzhner so after this is merged, should we cherry-pick the commit into a PR into master? Or just overwrite deploy with some future version of master later, ignoring this commit history?

@kerzhner so after this is merged, should we cherry-pick the commit into a PR into master?

I think it would be best to keep deploy a subset of master for as long as possible. So I would --force push to master whenever master contains the fix.

Also, as a side note, our nightly release job is [fairly fragile] (https://github.com/statechannels/monorepo/blob/master/.circleci/config.yml#L419) in that it depends on a seamless rebase of deploy onto master.

Also, as a side note, our nightly release job is fairly fragile in that it depends on a seamless rebase of deploy onto master.

:smile: that's exactly what I did, but I did that manually


Syntax error: Unexpected token in src/index.ts

During compilation i get this error
error: bundling failed: SyntaxError: .../node_modules/react-native-device-info/src/index.ts: Unexpected token (12:12)

I guess this is maybe because I am not using TypeScript in my project. Should I?
I tried to remove the field react-native from the package.json of your module - and this error gone.
Could you please recommend how to fix this?

There is no requirement to use typescript in order to use react-native-device-info, even the module itself is implemented in typescript.
We compile it to javascript prior to distributing it on npmjs
If you can reproduce this failure with the example, we can investigate, but it is likely something project specific about how you are consuming the module, perhaps in some nonstandard way like not from npmjs.com ?

There is no requirement to use typescript in order to use react-native-device-info, even the module itself is implemented in typescript.
We compile it to javascript prior to distributing it on npmjs
If you can reproduce this failure with the example, we can investigate, but it is likely something project specific about how you are consuming the module, perhaps in some nonstandard way like not from npmjs.com ?

I have the same error today after upgrading to 8.0.1 from 2.x.
I had to remove Line 5react-native": "src/index.ts", from node_modules/react-native-device-info/package.json to make it work.

I have the same error today after upgrading to 8.0.1 from 2.x.
I had to remove Line 5react-native": "src/index.ts", from node_modules/react-native-device-info/package.json to make it work.

If you can reproduce this failure with the example, we can investigate, but it is likely something project specific about how you are consuming the module, perhaps in some nonstandard way like not from npmjs.com ?

I installed the module in usual way using npm install --save react-native-device-info.
For some reason, when "react-native": "src/index.ts" is present in node_modules/react-native-device-info/package.json - the issue is happening, builder tries to load src/index.ts and fails. Without this field everything works well.
Manually removing a field from package.json is not a sustainable solution...

If you can reproduce this failure with the example, we can investigate, but it is likely something project specific about how you are consuming the module, perhaps in some nonstandard way like not from npmjs.com ?

I installed the module in usual way using npm install --save react-native-device-info.
For some reason, when "react-native": "src/index.ts" is present in node_modules/react-native-device-info/package.json - the issue is happening, builder tries to load src/index.ts and fails. Without this field everything works well.
Manually removing a field from package.json is not a sustainable solution...

No, manual edits of package.json is not sustainable at all (even with the glorious patch-package)
However my comment stands: If you can reproduce this failure with the example, we can investigate
With no reproduction, I consider this not actionable.

No, manual edits of package.json is not sustainable at all (even with the glorious patch-package)
However my comment stands: If you can reproduce this failure with the example, we can investigate
With no reproduction, I consider this not actionable.

Sorry, but what example you mean?
@vignesarul also encountered the issue

Sorry, but what example you mean?
@vignesarul also encountered the issue

Could you please also shed some light on why the field "react-native" is in the package.json, and why it points to TypeScript version of the module? This can help us a lot to overcome the issue.

Could you please also shed some light on why the field "react-native" is in the package.json, and why it points to TypeScript version of the module? This can help us a lot to overcome the issue.

I mean the example bundled with the module, like most react-native modules. For the avoidance of doubt, this: https://github.com/react-native-device-info/react-native-device-info/tree/master/example
Check out the module and run the example.
If it works, something is likely wrong with your project or perhaps we have some subtle expectation being violated, but at least we'll have you running the example and reproducing on that so I can actually see a failure.
To date it hasn't failed for me at all
To your second question, you can see the build process by examining package.json. Researching that build process should lead you to the answer

I mean the example bundled with the module, like most react-native modules. For the avoidance of doubt, this: https://github.com/react-native-device-info/react-native-device-info/tree/master/example
Check out the module and run the example.
If it works, something is likely wrong with your project or perhaps we have some subtle expectation being violated, but at least we'll have you running the example and reproducing on that so I can actually see a failure.
To date it hasn't failed for me at all
To your second question, you can see the build process by examining package.json. Researching that build process should lead you to the answer

I have to admit that the example works as expected.
Still I have the same syntax error when "react-native": "src/index.ts" is present and I do assembleRelease.

I have to admit that the example works as expected.
Still I have the same syntax error when "react-native": "src/index.ts" is present and I do assembleRelease.

If it doesn't show up either in the example or with some simple change to the example (so I can reproduce it), then I can't reproduce it so I can't help, sorry

If it doesn't show up either in the example or with some simple change to the example (so I can reproduce it), then I can't reproduce it so I can't help, sorry

Hello again!
After setting up bitbucket pipelines for building the project, I again stumbled upon the issue.
The solution is to use "sed" command to remove the line containing "index.ts" pattern after "npm install":
sed -i '/index.ts/d' node_modules/react-native-device-info/package.json
Maybe it will be helpful to somebody. The issue is really weird, all other react-native modules work well.

@articobandurini so if you had a setup that reproduced this problem perhaps we could finally figure it out? I've never reproduced it so it hasn't been actionable for me. If you could put a github repo up that showed the problem, we could advance this

Would it be okay if I share the content of the package.json file?

Post a minimal reproducible example here on github. That's the gold standard for getting things done, with regard to reproducing and fixing problems. I can then clone it and see it fail. "minimal" is emphasized

I don't know if it may help, but I had a similar tsc issue after upgrading this library. After some digging I also identified this particular commit
It was actually a problem with the typescript version. Indeed export type and import type statements are only supported from version 3.8 of TypeScript
Upgrading fixed the issue 👍

@antoinefBam that explains it and moves things forward, thank you. I can add documentation around this. Too late for the breaking change alas.

I have the same error today after upgrading to 8.0.1 from 2.x.
I had to remove Line 5react-native": "src/index.ts", from node_modules/react-native-device-info/package.json to make it work.

Thanks  it worked

I had a similar issue. I upgraded it from 2.1.2 to the 8.4.4 version and my react-native version is  (0.59.10).
I don't use typescript in my project.
Having the following dev dependencies fixed this issue for me.
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/runtime": "^7.9.2",
//other dev dependencies
}
Found this solution from the accepted answer from this, https://stackoverflow.com/questions/62270438/react-native-error-bundling-failed-syntaxerror-react-native-projects-appone-n

Hey @mikehardy, Yeah upgrading the react-native is on our road map. But I have to wait till January to do that.
BTW, I'm using the Xcode version 13.1 and it's working after a few modifications in the Podfile.

I have the same error today after upgrading to 8.0.1 from 2.x.
I had to remove Line 5react-native": "src/index.ts", from node_modules/react-native-device-info/package.json to make it work.

it worked thanks.

I had a similar issue. I upgraded it from 2.1.2 to the 8.4.4 version and my react-native version is (0.59.10). I don't use typescript in my project. Having the following dev dependencies fixed this issue for me.
"devDependencies": { "@babel/core": "^7.9.0", "@babel/runtime": "^7.9.2", //other dev dependencies }
Found this solution from the accepted answer from this, https://stackoverflow.com/questions/62270438/react-native-error-bundling-failed-syntaxerror-react-native-projects-appone-n

@mikehardy
Better to add some info like below in the change log for people who do not use typescript:
https://github.com/react-native-device-info/react-native-device-info/commit/c50b1b93621e6241331e5422c28ec774845a304a
"
if you don't use typescript, Babel added support type-only imports/exports through this merge request and is available from version 7.9.0.
so update your babel version as shown below:
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/runtime": "^7.9.2",
//other dev dependencies
}
"
after this sentence:
"Note, if you use typescript, this requires a minimum version of typescript 3.8"
I have tested on my project. The versions were "7.7.4". After updating to "^7.9.0" and  "^7.9.2", it works.
Besides, I have check the example project, they are  "@babel/core": "^7.12.9" and "@babel/runtime": "^7.12.5", which may explain the reason.
https://github.com/react-native-device-info/react-native-device-info/blob/master/example/package.json


HEVC being deleted

I have a couple of old tv players that don't like x265 so I have been trying to convert everything with the script. But I have ran into the issue that when the script runs into HEVC x265 or HEVC 10 bit it will either rename the file to .original and move to the next file or it will encode to x264 then delete both files. I am using NVENC. on GTX1050ti.
I couldn't find any information regarding this behavior and I'm not sure where the log files are or what to look for. FFMPEG on it's own converts them fine as does handbrake. Then the script will copy both the audio and video streams and add the metadata.

I'll check it out, thanks for bringing it up.
Can you post the [MP4] section of your autoprocess.ini file so I can test it out?

Sure thing.. Here you go
[MP4]
ffmpeg = C:\ffmpeg\bin\ffmpeg.exe
ffprobe = C:\ffmpeg\bin\ffprobe.exe
threads = 0
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = false
relocate_moov = True
video-codec = nvenc_h264,h264_nvenc,h264,x264
video-bitrate = 15000
resolution-bitrate-restriction =
video-max-width = 1920
qmin = 17
qmax =
global_quality =
maxrate = 25000
minrate =
bufsize = 40000
nvenc_encoder_gpu = 0
nvenc_profile = 2
nvenc_preset = slow
nvenc_rate_control = vbr_hq
nvenc_temporal_aq = True
nvenc_weighted_prediction = False
nvenc_rc_lookahead = 32
enable_nvenc_decoder = False
enable_nvenc_hevc_decoder = False
nvenc_decoder_gpu = 0
nvenc_hevc_decoder_gpu = 0
h264-max-level = 4.1
use-qsv-decoder-with-encoder = False
enable_dxva2_gpu_decode = True
pix-fmt = nv12, yuv420p
quality =
ios-audio = False
ios-first-track-only = False
ios-audio-filter =
ios-move-last = False
max-audio-channels = 2
audio-codec = aac
audio-language = en
audio-default-language = en
audio-channel-bitrate = 256
audio-filter =
audio-copy-original = False
audio-first-track-of-language = False
subtitle-codec = mov_text
subtitle-language = en
subtitle-default-language = en
subtitle-encoding =
fullpathguess = True
convert-mp4 = True
tagfile = True
tag-language = en
download-artwork = Poster
download-subs = False
embed-subs = True
embed-only-internal-subs = True
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
aac_adtstoasc = False
postopts =
preopts =
video-crf =
use-hevc-qsv-decoder = False
video-profile =
vsync = -1
burn_in_forced_subs = True
burn_in_full_subs = True
handle_m2ts_files = False
sample_rate =
enable_hdr_sdr_tonemapping = False
enable_opencl_hdr_sdr_tonemapping = False
init_hw_device = opencl=gpu:0
forceconvert = False

I'll definitely look into adding recycle bin support, because occasionally that would be useful for me as well.
I have a few ideas of what might be happening, I'll commit a potential fix.

I've been meaning to remove the qtfaststart requirement since ffmpeg can handle it, and it might have caused some weird issues in your situation.
Also, just in case, set nvenc_rc_lookahead to 0, as there is a nvidia driver bug that is crashing ffmpeg when using that with copy-back decoders like dxva2/nvdec. It might have been fixed by now, but I haven't checked it out in a while.

Thanks, will give it a try when back home. Also, thanks for looking into the recyclebin. I have to use the recycle from cmdutils because there is now way to call the recyclebin from batch files, not sure with python, but the recycle.exe from cmdutils works great and sends them to the recyclebin.

Yeah, relocate_moov = True -- I had added in ffmpeg's method of running qtfaststart a while ago and forgot to disable the original qtfaststart as it was no longer needed. It was possible that it is attempting to relocate the moov atom twice before, but now it will only do it once.

Ok, I ran the script on a test file that was also being deleted. It still deleted both files if original delete was true. Here is the mediainfo file. It is not HEVC. It is AVC and MPEG audio, which is weird anyway. When I get back and can access my library I will try on the HEVC files.
test file.txt

Ok after making the suggested changes, the HEVC convert but they are alot bigger. Original is 131mb converted is 359mb, would be nice to keep them smaller if there is a way. Also, the AVC file is still being deleted and watching it stalls at 43 converting and then jumps ahead in the script to try and tag but it has already deleted the file. Here is the HEVC media info and the index log where I ran it on both files.
index.log
.
hevc.txt

Have you tried setting nvenc_rc_lookahead=0  ?

Yep, I made the two changes in the ini file to what you suggested above.
relocate_moov = false
nvenc_rc_lookahead = 0
The couple of HEVC files I ran the script on converted fine but were 3 times the size of the original.
I have several files from the AVC Test example I posted that still delete after making the changes. I can send you a test file if you have a prefered upload method, I have about 265 of them and they are around 80-100mb each.

Email me a link to a couple of those files, whether it be onedrive, gdrive, etc. I'm having trouble reproducing this so far.
<EMAIL_ADDRESS>

You should have a link to a shared folder in your email. Let me know if you need more. I added the smallest files of each problem that I could.

Thanks got it, I'll check them out.

No Problem, thanks for looking and trying to figure it out.

Ok, able to reproduce... looks like it's due to something I added a long time ago to detect when ffmpeg starts to output warnings about "non-monotonous dts in output stream"
copy/paste from code comments I added with it:
            # If the audio is being converted but the video is not, sometimes ffmpeg will spam warnings about              # how there is a "non-monotonous dts in output stream" -- This basically means that the sound is going             # to be out of sync with the video and the only way to fix this it to re-encode the video along with the sound.             # I don't feel like reorganizing everything to support sending the same file back through ffmpeg with different commands             # Instead, we're going to close the current ffmpeg instance, and pipe the file through manual.py with a              # new option to force re-encoding.             # The script will wait here until the subprocess is finished, in which it then exits this function and             # pretends that everything is a-okay so that sabn/nzbget/etc scripts will properly autoimport the file.
As mentioned, it opens up another manual.py process and forces the video stream to be encoded. Apparently, this is failing when the script is initiated with manual.py and a file that needs to be renamed .original.
I'll add an option to disable this behavior, as it doesn't always mean the audio is out of sync... just sometimes.

So it is probably more difficult to rename the .orginal back to .mp4 after the error and pipe it back through than to just have the option to disable it. At least I know I'm not crazy. LOL. Thanks for looking, just let me know how to proceed when you are ready. Any suggestions on the files that are triple the size of the originals? It's mainly x265 or xvid files that are converted to x264.

As far as the size increases, that is to be expected when converting x265 to x264, to keep the same quality x264 will require a larger file.
The one that you mentioned "doesn't delete but doubles", the file size increase is from the audio stream increasing in size.  audio-channel-bitrate = 256 -- this is probably too high, I set it to 128 for everything I do, but that's why the file size is increasing in that case.

I ended up just disabling it all the time, as it's very rarely needed. Just pull the latest commit and it should work fine.

Thanks, awesome work, I can't thank you enough.

No problem, I'll properly fix it when I have some free time. :D Thanks for reporting.

I did find another file that still deletes after the changes. It was just the 1 out of about 150 so far that I've processed. But it's x264 and AAC. Instead of just tagging it renames to original and fails to encode but doesn't delete original with it set to true in autoprocess.ini.
I put it in the test folder I shared. I deleted the others but they may still show on your end. It is S04E20. I can manually encode it with ffmpeg so not a big deal. Just letting you know.
I am really interested in python can you tell me which file actually deletes the original so I can try to learn how to make it recycle? My current batch file works but I would like to recycle instead. Here is my current batch file, it processes each file and moves it with filebot into a folder structure and naming for Plex, then deletes any empty folders in the directory it's ran from.
SInce all my files have already been named with filebot it's fairly quick at moving.
for /R "%CD%\Original" %%i IN (".") do (
py -3 D:\Proc\manual.py -i "%%~fi" -a
"C:\Program Files\FileBot\filebot.exe" -rename "%%~dpni.mp4" -non-strict --format G:/TV/Converted/"{n}/{'Season '+s}/{n} - {s00e00} - {t}" --db TVDB --log info
for /f "delims=" %%d in ('dir /s /b /ad ^| sort /r') do rd "%%d"
)
Pause

It's attempting to burn in the subtitle stream and tripping on the comma in "Bob's"... I've had a lot of problems with commas and subtitle burn in, and I thought I had taken care of it, but I guess not!

I didn't even think about the apostrophe, I tried without the exclamation mark and it still failed. I will remember that going forward. I've ran a few hundred more files and that is still the only one that gave me an issue. Thanks again.

So, I changed my batch to name the files and folders on first stage with no apostrophe and then the automator ran and then my batch renamed them with the apostrophe and moved them to the finished folder. The only problem is that without the apostrophe it didn't tag the files with metadata and poster.

I'm going to fix the script so that it works with apostrophes (whoops, called it a comma), it already does in 99% of cases, just not in this one case.

Awesome, Thanks..


Issue tracker missing from mod page

I found this through the source link but i wouldn't assume everyone knows the issue tracker and source code link to the same place

Thanks, added now.


Compatibility with Symfony 3

Replaces security.context by security.token_storage
M6Web\Bundle\DomainUserBundle\EventListener\UserAccessListener already has the correct type hint.

we should extends the tests to php7 (and remove old version of php5) and sf3

@omansour done

v2.2.0


As a user, I want to add the same tag(s) to multiple persons in one command

so that I can add the same tags to multiple persons easily and quickly
E.g. addtag 2, 3-5, 8 t/friend

As a lazy user that look for convenience in applications


Create log file

Add a log file to the data output.
The log should contain all actions taken by the program in the correct order

Completed application logging
Need to add logging for panics

Updated logging to use optional args as well as created separate map for panic log messages


Quick start and API documentation not useful

Type of issue
Typo
Description
On pages that are supposed to document a specific Azure library(in this case Azure.ResourceManager.CostManagement) a pointer to quick start does not point to a quick start for the library, but rather a general quick start for Azure libraries. This is completely useless when trying to learn about cost management. Also the link pointing to API documentation points to all the API documentation instead of the documentation of the library the page is about.
I'm sure somebody set a standard that this complies to, this is usually the answer to such remarks, but the page might as well be deleted because in this state it's just a red herring that clogs up searches for useful information. In this state it provides no useful information at all.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.costmanagement-readme?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/api/overview/azure/latest/resourcemanager.costmanagement-readme.md
Document Version Independent Id
c2c1f5a2-83a5-377d-6635-4f3c540cdd12
Article author
@azure-sdk
Metadata

ID: ad33ea51-a7ff-1a33-dd7b-c12474097b78
Service: costmanagement

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Thank you for your feedback @hugovdb1965 , @HarveyLink please look into this issue.


pugixml: 1.13 -> 1.14

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/zeux/pugixml/releases.
meta.description for pugixml is: Light-weight, simple and fast XML parser for C++ with XPath support
meta.homepage for pugixml is: https://pugixml.org
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.14 with grep in /nix/store/0sw5g74l1apjkdmd6pkxc46w63k2ilfm-pugixml-1.14
found 1.14 in filename of file in /nix/store/0sw5g74l1apjkdmd6pkxc46w63k2ilfm-pugixml-1.14

Rebuild report (if merged into master) (click to expand)

56 total rebuild path(s)

56 package rebuild(s)

First fifty rebuilds by attrpath
PlistCpp
adriconf
blender
blender-hip
cegui
cemu
cutterPlugins.rz-ghidra
darktable
dolphin-emu
filezilla
frigate
gerbera
gnomeExtensions.x11-gestures
gnss-sdr
hikounomizu
kiwix
kiwix-tools
kodi-wayland
kodiPackages.pvr-iptvsimple
libgourou
libkiwix
libxisf
mame
mame-tools
mkvtoolnix
mkvtoolnix-cli
mpvScripts.convert
mspds
mudlet
ogre
ogre_13
ogre_14
opendungeons
openvino
organicmaps
osl
pantheon.elementary-greeter
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-with-plugs
pantheon.touchegg
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators
photoprism
photoqt
poedit
pugixml
python310Packages.openvino
python311Packages.openvino
rizinPlugins.rz-ghidra
rpcs3

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0sw5g74l1apjkdmd6pkxc46w63k2ilfm-pugixml-1.14 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pugixml https://github.com/r-ryantm/nixpkgs/archive/edc2eeaf4849bda75afaf67f127164462892704f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/edc2eeaf4849bda75afaf67f127164462892704f#pugixml

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0sw5g74l1apjkdmd6pkxc46w63k2ilfm-pugixml-1.14
ls -la /nix/store/0sw5g74l1apjkdmd6pkxc46w63k2ilfm-pugixml-1.14/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @pSub for testing.

Result of nixpkgs-review pr 259438 run on x86_64-linux 1

1 package marked as broken and skipped:

frigate

7 packages failed to build:

blender
dolphin-emu
openvino
openvino.python
osl
python310Packages.openvino
python311Packages.openvino

53 packages built:

PlistCpp
adriconf
blender-hip
cegui
cemu
cutterPlugins.rz-ghidra
darktable
filezilla
gerbera
gnomeExtensions.x11-gestures
gnss-sdr
hikounomizu
kiwix
kiwix-tools
kodi-wayland
kodiPackages.pvr-iptvsimple
libgourou
libkiwix
libxisf
mame
mame-tools (mame-tools.tools ,mame.tools)
mkvtoolnix
mkvtoolnix-cli
mpvScripts.convert
mspds
mudlet
ogre (ogre_14)
ogre_13
opendungeons
organicmaps
pantheon.elementary-greeter
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-with-plugs
pantheon.touchegg
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators
photoprism
photoqt
poedit
pugixml
rizinPlugins.rz-ghidra
rpcs3
stuntrally
touchegg
vkdt
vkdt-wayland
waylandpp
waylandpp.bin
waylandpp.dev
waylandpp.devman
waylandpp.doc
waylandpp.lib
xib2nib

rpcs3 recovered and now cutterPlugins.rz-ghidra fails because of cutter (see hydra).
Result of nixpkgs-review pr 259438 run on x86_64-linux 1

1 package marked as broken and skipped:

PlistCpp

1 package failed to build:

cutterPlugins.rz-ghidra

59 packages built:

adriconf
blender
blender-hip
cegui
cemu
darktable
dolphin-emu
filezilla
frigate
gerbera
gnomeExtensions.x11-gestures
gnss-sdr
hikounomizu
kiwix
kiwix-tools
kodi-wayland
kodiPackages.pvr-iptvsimple
libgourou
libkiwix
libxisf
mame
mame-tools (mame-tools.tools ,mame.tools)
mkvtoolnix
mkvtoolnix-cli
mpvScripts.convert
mspds
mudlet
ogre (ogre_14)
ogre_13
opendungeons
openvino
openvino.python
organicmaps
osl
pantheon.elementary-greeter
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-with-plugs
pantheon.touchegg
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators
photoprism
photoqt
poedit
pugixml
python310Packages.openvino
python311Packages.openvino
rizinPlugins.rz-ghidra
rpcs3
stuntrally
touchegg
vkdt
vkdt-wayland
waylandpp
waylandpp.bin
waylandpp.dev
waylandpp.devman
waylandpp.doc
waylandpp.lib
xib2nib

Maybe @wegank wants to consider undrafting and merging.

@ofborg build pugixml pugixml.passthru.tests

Result of nixpkgs-review pr 259438 run on x86_64-linux 1

1 package built:

pugixml


Invalid validation for _id field

FerretDB version
v1.8.0
Backend
Any.
Environment
Does not matter.
What did you do?
db.test.insertOne({_id: 1, v: {_id: ["foo", "bar"]}})`

What did you expect to see?
{ acknowledged: true, insertedId: 1 }

What did you see instead?
MongoServerError: The '_id' value cannot be of type array

Our validation for the _id field incorrectly checks nested documents. Only the top-level _id field should be checked. See references to this issue in tests.

Is this related to the fact that connect-mongo works with e.g. 0.9.3 but not with 1.3.0? (It now complains about invalid setting of _id and I'm not doing that anywhere in  my application code)

@rpavlik I updated the description. Does it look similar to your problem?

Hi! Can I grab this issue?

@slavabobik sorry, we missed that 😬 Sure!

@AlekSi no worrier, in my previous message I forgot to mention you, my bad 😃

@slavabobik any news? Anything we could help you with?

@AlekSi I just need a little bit more time, approximately 2-3 days

@AlekSi I've opened the PR https://github.com/FerretDB/FerretDB/pull/3523

https://github.com/FerretDB/FerretDB/pull/3523#discussion_r1356662153

@AlekSi as I see, you reopened the issue, do I missed(or break) something? I could fix quickly :)


start default outgoing with tone

outgoing-ivr begins with 0.25s of silence, then there's a very small pause at the beginning of the statement. Some people are impatient and think the phone does not work. Play a short tone like a 0.25s or 0.5s fading dialtone, or an 0.25s DTMF tone or two, or 0.5s both.

https://github.com/kra/futel-installation/commit/d79367aeb3534049a484e6494e60b3f0dc302caf
Adds some tones, we may wish to change these, but for now it makes it clear that the phone is working.


Fix Non-Latin string encoding for proxy

Fixes #57  added excluded headers
removed some memory allocations for string values

CC @SamKr

You sure? I was going to close mine in favor of yours after you updated it with the changes I requested so that you would get recognition for it in the project.


Alertmanager.rb: service typo correction

service 'prometheus' -> service 'alertmanager'
I'm pretty sure this was a typo to begin with.
@elijah

I don't know what to say about Travis failing. The tests pass locally...


Create a release.yml file containing changelog settings for a release

See https://github.com/ai-cfia/github-workflows/issues/135

Won't do. See PR comments


Minor UI changes

The title was overlapping with the instructions, so I fixed it. Also added some styling to buttons.

Closes #13


CLOUDSTACK-9280: System VM volumes can be expunged if no SSVM exists.

This commit adds a special SSVM endpoint which simply returns true for
all operations sent to it, without actually doing anything. This
allows for destroyed volumes of system VMs to be expunged when there
are no hosts (and thus no system VMs) remaining to handle the volume
destruction.

New version of #1406, opened against master instead of the 4.6 branch.

CI RESULTS
Tests Run: 85
  Skipped: 0
   Failed: 1
   Errors: 1
 Duration: 10h 41m 20s

Summary of the problem(s):
FAIL: Test destroy(expunge) Virtual Machine
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/git/cs1/cloudstack/test/integration/smoke/test_vm_life_cycle.py", line 646, in test_09_expunge_vm
    self.assertEqual(list_vm_response,None,"Check Expunged virtual machine is in listVirtualMachines response")
AssertionError: Check Expunged virtual machine is in listVirtualMachines response
----------------------------------------------------------------------
Additional details in: /tmp/MarvinLogs/test_vpc_routers_NJRMT6/results.txt

ERROR: Test to verify access to loadbalancer haproxy admin stats page
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/git/cs1/cloudstack/test/integration/smoke/test_internal_lb.py", line 854, in tearDown
    raise Exception("Cleanup failed with %s" % e)
Exception: Cleanup failed with Job failed: {jobprocstatus : 0, created : u'2016-05-24T12:25:52+0200', jobresult : {errorcode : 530, errortext : u'Failed to delete network'}, cmd : u'org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd', userid : u'fb39f9f4-2168-11e6-9284-5254001daa61', jobstatus : 2, jobid : u'a7e1d97d-e770-43f6-83a7-2d81ada1521e', jobresultcode : 530, jobresulttype : u'object', jobinstancetype : u'Network', accountid : u'fb39dea8-2168-11e6-9284-5254001daa61'}
----------------------------------------------------------------------
Additional details in: /tmp/MarvinLogs/test_network_HC1DJD/results.txt

Associated Uploads
/tmp/MarvinLogs/DeployDataCenter__May_24_2016_06_38_46_2TM014:

dc_entries.obj
failed_plus_exceptions.txt
runinfo.txt

/tmp/MarvinLogs/test_network_HC1DJD:

failed_plus_exceptions.txt
results.txt
runinfo.txt

/tmp/MarvinLogs/test_vpc_routers_NJRMT6:

failed_plus_exceptions.txt
results.txt
runinfo.txt

Uploads will be available until 2016-07-25 02:00:00 +0200 CEST
Comment created by upr comment.

ACS CI BVT Run
Sumarry:
Build Number 186
Hypervisor xenserver
NetworkType Advanced
Passed=68
Failed=5
Skipped=3
Link to logs Folder (search by build_no): https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
Failed tests:

test_vpc_vpn.py

ContextSuite context=TestRVPCSite2SiteVpn>:setup Failing since 19 runs

ContextSuite context=TestVpcRemoteAccessVpn>:setup Failing since 19 runs

ContextSuite context=TestVpcSite2SiteVpn>:setup Failing since 19 runs

test_volumes.py

test_06_download_detached_volume Failed

test_vm_life_cycle.py

test_10_attachAndDetach_iso Failed

Skipped tests:
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_deploy_vgpu_enabled_vm
Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_routers.py
test_reset_vm_on_reboot.py
test_snapshots.py
test_deploy_vms_with_varied_deploymentplanners.py
test_login.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_disk_offerings.py

Updated to latest master.

This pull request has been updated with another commit that fixes a bug where volumes cannot be expunged because the loading of the volume fails to find a primary data store (despite the expunger being able to handle this scenario). Will be working on some unit tests for this.

The OOBM power off test keeps failing. I've run the test locally with the simulator and it succeeds fine. Going to try to kick Travis again to see if it works (third time's the charm?).

Looks like Travis worked this time.

@ProjectMoon can you fix the conflicts, thanks

Updated to latest 4.8. Will also address the comments too.

Addressed the comments. For some reason the tests for VolumeDataFactoryImpl were being skipped. Will try to see why.

Thanks @ProjectMoon can you squash your commits.
@murali-reddy @abhinandanprateek can you help review this?

@rhtyd, in my opinion the two commits are functionally separate enough that they should remain separate (and this might have been asked for in one of the various previous incarnations of this PR--I don't remember). I think rolling them into one commit puts too many things in one change. The smaller commits allows reverting of functionality easier, etc. If the change is rebased/fast-forward merged, then it shouldn't be any different than if there were two PRs.


Issue moving to Quilt

I'm moving to Quilt for a few quilt-only mods, but swapping out FAPI for QFAPI results in a crash.
Log: https://mclo.gs/gndrRHj

This is more of a qsl issue and I have no clue what causes it. Somehow a mixin class is loaded too early or something

@Martmists-GH could you do a manual binary search to try and find which mod(s) specifically are causing the issue? Considering the crash is related to mixins, this might be a conflict between a mod and Quilt Loader? Not sure, and there's way too many mods to try and find the issue myself tbh


enabledRemoteNotificationTypes is not supported in iOS 8.0 and later.

https://github.com/phonegap/phonegap-plugin-push/commit/855f1abae8f3edca51a459f546db169515149128

@myso-kr Are you having this problem with Nativescript or Phonegap? I noticed you tagged a phone gap commit.

@myso-kr @spstratis
Thanks.
The plugin utilizes this API for runtime lower than iOS 8 to check for areNotificationsEnabled. Technically speaking, if you are testing against at least iOS 8 you should not get any issues with the unsupported enabledRemoteNotificationTypes because the plugin will use the new API from UIApplication - isRegisteredForRemoteNotifications. Otherwise the check will fallback to enabledRemoteNotificationTypes.


Stop adding additional keys to derived entity types

Coverage increased (+0.0001%) to 99.892% when pulling 60b17a06440182b7102dab054252c7e71fc693e1 on CyberiaResurrection:FixKeySetup into 18d5e68fb803a9fdee998d229bfd6634642ca148 on Algo-Web:master.


added default options to decompiler for mips support

Setting the following attributes to DecompInterface, permits resolution of function calls in the output pseudocode for MIPS targets.
decomp.toggleCCode(true);
decomp.toggleSyntaxTree(true);
decomp.setSimplificationStyle("decompile");

For example, calls such as (*(code *)PTR_strlen_005b5ca0)(); will now appear as sVar1 = strlen(param_1);.
Additionally, thunk functions have been removed from being output as pseudocode.

It looks good, merging... Thanks!


Token API version 2019-08-01 is supported in Linux Consumption

Under https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=dotnet#using-the-rest-protocol

Please remove the note regarding the need to use api version 2017-09-01 in Linux Consumption
Additionally under the api-version description remove " (unless using Linux Consumption, which currently only offers "2017-09-01" - see note above)."

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

ID: f57d3177-ce9e-ebfa-03a7-45beb8ca3212
Version Independent ID: a59df23d-f3ac-9809-61d3-5741e31f020a
Content: Managed identities - Azure App Service
Content Source: articles/app-service/overview-managed-identity.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

@balag0, Thanks for the feedback! We are taking a look into this and will get back to you soon.

balag0, Apologies for the delay! we'd been discussing on this internally (author and PG). Yes. The API version 2019-08-01 is supported now.
I have raised a PR to remove those two points( 1 and 2) that you highlighted, once the PR is merged the doc will reflect the changes published.
Thanks for taking time to report this issue and much appreciate your valuable feedback. We will close this thread for now.


Snmp exporter doesn't appear in prometheus target

What did you do?
Integrated snmp-exporter with prometheus-operator
What did you expect to see?
Should see snmp-exporter in targets but I could see snmp in prometheus configuration file.
What did you see instead? Under which circumstances?
I don't see snmp target in targets.  Am I missing anything?

Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-30T21:39:16Z", GoVersion:"go1.11.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2+coreos.0", GitCommit:"b427929b2982726eeb64e985bc1ebb41aaa5e095", GitTreeState:"clean", BuildDate:"2018-01-18T22:56:14Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
insert how you created your cluster: kubespray

Manifests:
Service-Monitor:

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: snmp-exporter
  labels:
    k8s-app: snmp-exporter
    prometheus: kube-prometheus
spec:
  jobLabel: k8s-app
  selector:
    matchLabels:
      k8s-app: snmp-exporter
  namespaceSelector:
    matchNames:
    - monitoring
  endpoints:
   - interval: 60s
     params:
       module: [if_mib]
     static_config:
       - target:
         - <IP_ADDRESS>
     metrics_path: "/snmp"
     scrapeTimeout: 30s
     bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
     tlsConfig:
        insecureSkipVerify: true
   - interval: 60s
     params:
       module: [if_mib]
     static_configs:
       - targets:
         - <IP_ADDRESS>
     metrics_path: "/snmp"
     scrapeTimeout: 30s
     bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
     tlsConfig:
        insecureSkipVerify: true

Service Deployment
apiVersion: apps/v1beta1
kind: Deployment
metadata:
  name: snmp-exporter
spec:
  replicas: 1
  selector:
    matchLabels:
      k8s-app: snmp-exporter
  template:
    metadata:
      labels:
        k8s-app: snmp-exporter
      name: snmp-exporter
    spec:
      containers:
      - image: prom/snmp-exporter
        command: ["/bin/snmp_exporter"]
        args: ["--config.file=/etc/snmp_exporter/snmp.yml"]
        name: snmp-exporter
        ports:
        - containerPort: 9116
          name: metrics

static_targets does not exists, you will want to use the additional scrape configs feature for using the snmp exporter.

@brancz Thank you for your response. I removed static config and changed to below config which isn't working. Is this something only works with additional scape configs?
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: snmp-exporter
  labels:
    k8s-app: snmp-exporter
    app: snmp-exporter
spec:
  jobLabel: k8s-app
  selector:
    matchExpressions:
      - {key: k8s-app, operator: Exists}
  namespaceSelector:
    matchNames:
    - monitoring
  endpoints:
  - port: snmp-metrics
    interval: 60s
    params:
      module: [if_mib]
      target:
        - <IP_ADDRESS>
    metrics_path: "/snmp"
    scrapeTimeout: 30s
    bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
    tlsConfig:
      insecureSkipVerify: true

Yes you're going to have to do this with an additional scrape config, as it's blackbox type probing, and requires careful relabelling.

Thanks @brancz I'm closing this issue.


Escape ANSI-codes

Hi. Many CLI tools output highlighted, colorized text. Special ANSI-codes are used in this cases. For example ruby linter fasterer output:
fasterer | cat -A
^[[0;31;49mtestdata/examples.rb:3^[[0m Array#shuffle.first is slower than Array#sample.$

where ^[[0;31;49m ... ^[[0m - red-color ANSI-codes.
I tried to handle this ANSI-codes via efm masks, but i didn't cope with it. May be is there solution for escaping ANSI-codes?

@vk26 👋You can use something in the middle to remove ANSi-codes. For example:
fasterer  | sed 's/\x1b\[[0-9;]*m//g' | cat -A

@mgrachev Good idea! Thanks :+1:


Release of evaluation groundtruth mesh

Hi, thank you for sharing the excellent code.  The code looks really clean to start with! Regarding the evaluation in the CVPR 23 paper, 4 sequences from ScanNet and another 4 from 7-Scenes datasets are evaluated for the reconstruction quality. For future comparison, I wonder if you could kindly provide the ground truth used for the evaluation, so that we can make sure the sames are compared against. Thanks a lot!

Thanks for your interest. They are all included in the example datasets mentioned in the README: https://drive.google.com/drive/folders/12E4cTIIxmShV_ENkcvzKOQunsa0TqDVQ?usp=drive_link.
Maybe I should improve README to make them more salient as well!

Indeed, sorry I didn't notice it. The GT meshes of 7-scenes data are included in the provided link. However I couldn't find the GT meshes of scannet data.
Although the author of manhattan sdf does provide a version of GT meshes for scannet data, but the used coordinate frame in the scene 0580_00 seems to be inconsistent.. Therefore I wonder if you could provide a corrected GT version?

Sorry for the confusion, I shall re-upload.
Just want to confirm -- which coordinate system do you desire? The metric system (from the GT poses), or the normalized system?

No problem, the metric one from the GT poses is preferred. Thanks a lot!
By inconsistency in the coordinate system, I actually mean the GT poses of the scene 0580 used by the Manhattan SDF is different from the original scannet dataset. Maybe this is the reason why its numbers in Scene 0580 in your Tab 2 of your papers supplementary are so low..

Good catch, I quickly checked and you seem correct.

Thanks for your quick check. Lately I also received the reply (link: https://github.com/zju3dv/manhattan_sdf/issues/57) from the Manhattan SDF author, which clarified that the coordinate inconsistency was caused by a rotation they manually tuned to align with gravity direction. The rotation is as follows:
rotation = np.array([[ 9.81055493e-01, -3.73636465e-04, -1.93726561e-01],
                     [-3.73636465e-04,  9.99992631e-01, -3.82080710e-03],
                     [ 1.93726561e-01,  3.82080710e-03,  9.81048124e-01]])

With this rotation, I can now align their GT mesh with the reconstruction from the GT poses. Therefore, I see no need to re-upload and we can use the GT meshes by Manhattan SDF without any issues.


feat(theme-classiic, theme-translations): Added text selection option instead of breadcrumb icon

First, I'm sorry. I'm not good at English skill. so, I may use miss expression and have a wrong understanding. If you point out any mistake, I appreciate.
I added the breadcrumbsHomeText option to the themeConfig.
Added it to:
const config = {
  themeConfig: {
    breadcrumbsHomeText: false,
  },
};

if set false or if not set (breadcrumbs icon case):

if set true (breadcrumbs text case):

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

I don't want to use breadcrumb icon. I want to use substitute text for icon.
There may be other people besides me who want to use the text.
so, I added an option to make it text instead of icon.
I was wondering if I should set the option to themeConfig.　Because @docusaurus/preset-classic have breadcrumbs options. but, I chose to add option in themeConfig.  I thought it was appearance option.
Test Plan

case 1)

Add breadcrumbsHomeText option to themeConfig of docusaurus.config.js with false

If breadcrumb icon is displayed in breadcrumb, it's OK
case 2)

Add breadcrumbsHomeText option to themeConfig of docusaurus.config.js with true

If Home is displayed in breadcrumb, it's OK
case 3)

Do not add breadcrumbsHomeText option to themeConfig of docusaurus.config.js

If breadcrumb icon is displayed in breadcrumb, it's OK
case 4)

Change theme.docs.breadcrumbs.home.text of one language of theme-translations from Home to any string
Add breadcrumbsHomeText option to themeConfig of docusaurus.config.js with true

If the written string is displayed in breadcrumb, it's OK
case 5)

Change theme.docs.breadcrumbs.home.text of one language of theme-translations  from Home to any string. but language different from case4
Add breadcrumbsHomeText option to themeConfig of docusaurus.config.js with true

If the written string is displayed in breadcrumb, it's OK

Also, the entire presence of the home icon is probably unnecessary. Many SEO guides recommend the breadcrumbs to NOT have a common starting point because its basically useless. (For a similar reason, many recommend breadcrumbs to not end with the current page's title either.) We only have it so that root-level docs can at least have a non-trivial breadcrumbs list. It's purely meant for aesthetic purposes and does not try to be informative.

Sorry, I didn't understand enough.
Thank you for your reply.


Delete contact

As a long time user, I can delete contacts to keep my address book relevant and up to date

Marked as done


Regression: RUSTSEC-2018-0007 triggers error for trust-dns-proto 0.20.0-alpha.3

Describe the bug
In my CI run just now, I had this failure:
error[A001]: Stack overflow when parsing malicious DNS packet
    ┌─ /github/workspace/Cargo.lock:218:1
    │
218 │ trust-dns-proto 0.20.0-alpha.3 registry+https://github.com/rust-lang/crates.io-index
    │ ------------------------------------------------------------------------------------ security vulnerability detected
    │
    = ID: RUSTSEC-2018-0007
    = Advisory: https://rustsec.org/advisories/RUSTSEC-2018-0007
    = There's a stack overflow leading to a crash when Trust-DNS's parses a
      malicious DNS packet.

      Affected versions of this crate did not properly handle parsing of DNS message
      compression (RFC1035 section 4.1.4). The parser could be tricked into infinite
      loop when a compression offset pointed back to the same domain name to be
      parsed.

      This allows an attacker to craft a malicious DNS packet which when consumed
      with Trust-DNS could cause stack overflow and crash the affected software.

      The flaw was corrected by trust-dns-proto 0.4.3 and upcoming 0.5.0 release.
    = Solution: Upgrade to >=0.4.3 OR >=0.5.0-alpha.3
    = trust-dns-proto v0.20.0-alpha.3
      ├── trust-dns-https v0.20.0-alpha.3
      │   └── trust-dns-resolver v0.20.0-alpha.3
      │       ├── nominl v0.1.0
      │       └── tools v0.1.0
      ├── trust-dns-resolver v0.20.0-alpha.3 (*)
      └── trust-dns-rustls v0.20.0-alpha.3
          ├── trust-dns-https v0.20.0-alpha.3 (*)
          └── trust-dns-resolver v0.20.0-alpha.3 (*)

This is pretty surprising, since I haven't changed the trust-dns version in my dependency graph recently -- this was working fine just hours ago.
Expected behavior
I did not expect v0.20.0-alpha.3 to trigger an error for a vulnerability that is supposed to be resolved by version >=0.5.0-alpha.3.
Device:

OS: ubuntu-latest on GitHub CI
Version: Step 2/6 : ENV deny_version=0.8.4

FWIW, I'm can also reproduce this locally with cargo-deny 0.8.4.

     Affected versions of this crate did not properly handle parsing of DNS message
     compression (RFC1035 section 4.1.4). The parser could be tricked into infinite
     loop when a compression offset pointed back to the same domain name to be
     parsed.

     This allows an attacker to craft a malicious DNS packet which when consumed
     with Trust-DNS could cause stack overflow and crash the affected software.

     The flaw was corrected by trust-dns-proto 0.4.3 and upcoming 0.5.0 release.
   = Solution: Upgrade to >=0.4.3 OR >=0.5.0-alpha.3
   = trust-dns-proto v0.20.0-alpha.3
     └── trust-dns-resolver v0.20.0-alpha.3
         └── fail v0.1.0

warning[A003]: `net2` crate has been deprecated; use `socket2` instead
   ┌─ /Users/djc/tmp/fail/Cargo.lock:36:1
   │
36 │ net2 0.2.37 registry+https://github.com/rust-lang/crates.io-index
   │ ----------------------------------------------------------------- unmaintained advisory detected
   │
   = ID: RUSTSEC-2020-0016
   = Advisory: https://rustsec.org/advisories/RUSTSEC-2020-0016
   = The [`net2`](https://crates.io/crates/net2) crate has been deprecated
     and users are encouraged to considered [`socket2`](https://crates.io/crates/socket2) instead.
   = Announcement: https://github.com/deprecrated/net2-rs/commit/3350e3819adf151709047e93f25583a5df681091
   = Solution: No safe upgrade is available!
   = net2 v0.2.37
     ├── mio v0.6.23
     │   └── tokio v0.2.24
     │       ├── trust-dns-proto v0.20.0-alpha.3
     │       │   └── trust-dns-resolver v0.20.0-alpha.3
     │       │       └── fail v0.1.0
     │       └── trust-dns-resolver v0.20.0-alpha.3 (*)
     └── miow v0.2.2
         └── mio v0.6.23 (*)

advisories FAILED

Thanks for the short repro, will try and get a fix in tomorrow.

So this is a regression in the semver crate with regard to version requirements with pre-release identifiers  (see https://github.com/RustSec/rustsec-crate/issues/218 for links to various issues). Until this is fixed in the rustsec crate, I'm going to add a workaround in cargo-deny to do an additional filter pass to weed these out.

Thanks!


Hello, we really like your application, it's very cool. Now I need to search for files on my computer, but with disk permissions enabled, I still cannot find any files. Please pay attention to this issue and look forward to your reply! thank you

Description
Now I need to search for files on my computer, but with disk permissions enabled, I still cannot find any files. Please pay attention to this issue and look forward to your reply! thank you!

Steps To Reproduce
Shortcuts open raycast

select Search files ,click enter

type file name

Current Behaviour
No response
Expected Behaviour
search any files correct

This issue is not related to the API or extensions. Could you please use the Send Feedback command inside Raycast or use the #help or #bugs channel in our Slack Community 😊


Pagination to load required page directly

Hi Team,
The library supports pagination and it even has functionality to handle back pressure. However, it seems the library does not have the support to offset.  Is there anyway to load particular page directly instead reading all the results page by page to read particular page.
Thanks in advance.

I do not believe specifying an offset is supported in the LDAP protocol:
https://automatthew.wordpress.com/2007/09/25/paging-in-openldap-or-what-no-limit-or-offset-2/
https://tools.ietf.org/html/rfc2696:

The client MUST consider the cookie to be an opaque structure and
make no assumptions about its internal organization or value. When
the client wants to retrieve more entries for the result set, it MUST
send to the server a searchRequest with all values identical to the
initial request with the exception of the messageID, the cookie, and
optionally a modified pageSize. The cookie MUST be the octet string
on the last searchResultDone response returned by the server.
Returning cookies from previous searchResultDone responses besides
the last one is undefined, as the server implementation may restrict
cookies from being reused.

Closing as this is not feasible at the protocol level.

Possible resolution in #553

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.