Move project from personal space to this organization

Move the repository from my personal space over to this organization
Closes #144
Here's what's changed
Added:

GitHub action for pushing signed tags: pep440 and latest
GitHub action for creating release
GitHub action tags for docker image: pep440, latest and sha (long)

Changed:

GitHub action on clause for deployment check - Run check when a new package is published instead of on branch main
GitHub action on clause for publishing docker image - Run action when a new release is published instead of on branch main
Deploy scripts updated tags and URLs
Documentation to reflect URLs and tags

Cleane up releases, packages and tags created during development

Remember to update deploy scripts on dev and prod when this PR has been approved


Feature: Find seeds with spawn in biome/x distance from 0, 0

It would be awesome to be able to more narrowly search for seeds that have the spawn set either in a particular biome (only possible if that biome is surrounded by enough water to stop the spawn wandering. Or to just say that the spawn has to be at most x blocks away from 0, 0 allowing for very similar behavior.
I'm trying to find a Seed that has the player spawning on a mushroom island which is quite rare and therefore requires a lot more searching. Manually clicking the regenerate button, again and again, is much too slow to give any kind of results.
Thanks for such a awesome tool

Hi! Thank you so much for your interest, but I guess I should add why I'm currently not developing this feature.
Guessing the right spawn is a very CPU intensive process that, as far as I know, can't be done while searching for biomes that match a given criteria. For this reason the app just shows you spawn after finding a given seed.
I sadly don't see this feature being added in the near future, but maybe something will change!
I'll re-open this issue if this will ever be the case.


Get-or-create & channel filter & idempotency key

Motivation
Based on previous changes to Python that added a few functionalities,
now adding support to the other libraries:

GetOrCreate: #223
Idempotency Key: #230
Channel filter: #228

Solution

All languages: Use the get_or_create bindings
Ruby:

Idempotency key & channel filter: options hash

Kotlin:

Idempotency-key: under PostOptions
Channel filter: under MessageListOptions or MessageAttemptListOptions

Java:

Idempotency-key: under PostOptions
Channel filter: under MessageListOptions or MessageAttemptListOptions

Javascript:

Idempotency-key: under PostOptions
Channel filter: under MessageListOptions or MessageAttemptListOptions

Go:

Idempotency-key: under PostOptions
Channel filter: under MessageListOptions or MessageAttemptListOptions

These seem like completely unrelated changes. Can you please split them to separate PRs?

Can't wait for channel filter's, would help out our users a lot!

In addition to my previous comment; this PR changes A LOT of formatting, this is not good and makes it impossible to review.
Speak to @svix-frank on what to do, but if you absolutely must reformat (and Frank agrees), do it in a separate PR.

his PR changes A LOT of formatting

@svix-stephanie it looks like you ran go fmt on all the generated files.  Though the new formatting is technically correct, lets undo these changes.  We chose not to format these files as we did not want to require go to be installed in order to update the internal generated files.

Should this be closed? (replaced by another PR already?) or is it still live?


ensure the specialized serializers loaded on include by restpack

Fixes #527, closes #526, closes #523
#530 will depend on this work. Also this relies on an updated version of restpack serializer, https://github.com/edpaget/restpack_serializer/pull/3 so it'll fail till that become available via the dev branch.

I am having some trouble with the Docker build I will get this in once I short it out.

I had some problems with the postgtes image. I had to manually hack it a bit to work. Not sure if you have the same error but let me know if you do.


Mixpanel: Add Active Bots Line Daily showing the bots that are not canceled or completed

blocked until we're switching over to DB create and DB complete events in mixpanel next week. (Now we don't have enough data to show a correct one week chart since the events were only created recently


Bgoyal appsec regex review

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 4 committers have signed the CLA.:x: b-goyal:x: ConfluentJenkins:x: cchristous:x: sp-guptaYou have signed the CLA already but the status is still pending? Let us recheck it.


2023-02-28

:loud_sound:Crisp Weekly 2023-02-28 is now in collecting.

/post

Conditional CSS
https://ishadeed.com/article/conditional-css/

/post

Examples of floating point problems
https://jvns.ca/blog/2023/01/13/examples-of-floating-point-problems/

/post

20 Things I’ve Learned in my 20 Years as a Software Engineer
https://www.simplethread.com/20-things-ive-learned-in-my-20-years-as-a-software-engineer/

/post

pip and cargo are not the same
https://blog.williammanley.net/2022/02/23/pip-and-cargo-are-not-the-same.html

/post

Thoughts on the Python packaging ecosystem
https://pradyunsg.me/blog/2023/01/21/thoughts-on-python-packaging/

/post

Accessible hamburger buttons without JavaScript
https://www.pausly.app/blog/accessible-hamburger-buttons-without-javascript

/post

Using {Blocks} in Rust & Go for Fun & Profit
https://taylor.town/code-blocks

/post

RTS DEVLOG #8: HOW TO BEAT LAG
https://www.construct.net/en/blogs/ashleys-blog-2/rts-devlog-beat-lag-1607

/post

Virtual DOM is pure overhead
https://svelte.dev/blog/virtual-dom-is-pure-overhead
Virtual DOM is not faster than real DOM.

/post

How We Reduced Our iOS App Launch Time by 60%
https://doordash.engineering/2023/01/31/how-we-reduced-our-ios-app-launch-time-by-60/

/post

The technology behind GitHub’s new code search
https://github.blog/2023-02-06-the-technology-behind-githubs-new-code-search/

/post

2022 Review | The adoption of Rust in Business
https://rustmagazine.org/issue-1/2022-review-the-adoption-of-rust-in-business/

/post

Three bugs in the Go MySQL Driver
https://github.blog/2020-05-20-three-bugs-in-the-go-mysql-driver/

/post

The evolution of Facebook’s iOS app architecture
https://engineering.fb.com/2023/02/06/ios/facebook-ios-app-architecture/

/post

Writing Javascript without a build system
https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/

/post

Apache Kafka Beyond the Basics: Windowing
https://www.confluent.io/blog/windowing-in-kafka-streams/

:fireworks:Congratulations!
:scroll:Crisp Weekly 2023-02-28 is published on https://crispgm.github.io/weekly/2023/02/28/weekly.html.


Rating system

Write a program rating system in c

Not sure what the purpose of this is, but this is unrelated to the content of this repository.


No "emod" property

Getting an error about "Type XXX does not have 'emod' property" when running with Angular 13.

I've tried 0.4.0 with Angular 13 and it seemed to work ok; however, I've just published a 1.0.0 version of ngx-diff that was built with Angular CLI 13. I've tested this working in the demo app on the demo branch and it looked ok.
Let me know if that fixes your problem. Otherwise a repro or more details on the error would help. Thanks!

Closing as no response to this issue since my last comment. Please open a new issue if there's still a problem. Thanks.


Warning when building project in Eclipse

In the AEM Developer Tools, when starting a Run as > Maven install, then following warning is displayed in the Problems panel:
Description: No grammar constraints (DTD or XML Schema) referenced in the document.
Resource:    TEST-org.myorg.example.core.impl.TestHelloServiceImpl.xml
Path:        /example.core/target/surefire-reports
Location:    line 1
Type:        XML Problem

This one is simply warning us that our XML files don't specify a schema. Well, have no intention to do that.
The question is what can we do ... one possibility is to turn off the XML validation per-project when generating them inside Eclipse.

It seems there is another mechanism, in the Validation preferences we can configure the XML validator to not be executed for certain project natures. It would be good to make use of that.

This issue has been fixed in the Sling IDE Tooling project ( see SLING-4450: Configure the XML validator to not run for content projects ) and will be incorporated in the next AEM Developer Tools public release.
If you'd like to build a fix yourself, please follow the instructions from Sling IDE Tooling - building from source.


Point help pages at Stable vs Master

Environment
Windows build number: [Version 10.0.18363.836]
PowerToys version: v0.17.0
PowerToy module for which you are reporting the bug (if applicable):

General settings

Steps to reproduce
open help link for windowwalker, page opens with 404.
https://github.com/microsoft/PowerToys/blob/master/src/modules/windowwalker
Expected behavior

Screenshots

We need to point the release at stable instead of master, master is our main working branch and WW is moving into launcher.

In retro spec, i think we should point here to the wiki versus the MD files for non-dev related docs.

Fixed in 0.19.0, please visit https://github.com/microsoft/PowerToys/releases/ for the latest release


busybox's unzip cannot read miniz-produced zips because of streaming flag

I implemented a simple zip-like utility based on miniz: https://github.com/vadimkantorov/nanozip/blob/master/nanozip.c (roughly a sequence of mz_zip_writer_init_file, mz_zip_writer_add_mem, mz_zip_writer_add_file, mz_zip_writer_finalize_archive, mz_zip_writer_end).
Unfortunately, busybox's restricted unzip cannot decompress miniz-produced zips and fails with unzip: zip flag 8 (streaming) is not supported at https://git.busybox.net/busybox/tree/archival/unzip.c#n743
Would you have any advice? Is it possible to ask miniz to not use this flag?
Thank you!

miniz writes the compressed and uncompressed file size after the data, for that the streaming flag is required.
If the streaming flag was removed, miniz would have to update these sizes in the file header before the file data after the compressed file size is known, that is after finishing the data.

miniz writes the compressed and uncompressed file size after the data, for that the streaming flag is required.
If the streaming flag was removed, miniz would have to update these sizes in the file header before the file data after the compressed file size is known, that is after finishing the data.

Is this issue fixed by setting the MZ_ZIP_FLAG_WRITE_HEADER_SET_SIZE flag?


Add metric for propagated transactions size

Describe the feature
We currently have the following metrics for transactions:
https://github.com/paradigmxyz/reth/blob/c066aa60af38baa173aaa12d38803ea9062f2703/crates/net/network/src/metrics.rs#L56-L61
The propagated_transactions metric is useful, but does not necessarily give us insight into the network load caused by propagation. We could do that by adding a similar metric that counts the size of the propagated transactions in bytes.
Additional context
No response

@Rjected I'd like to pick this up!

would like to work on this with some guidance :)

cool, this will be possible after #6012 , merging shortly
fyi @emhane

@1010adigupta have you had time to work on this? do you need any help?

@Rjected I can take this up on the weekend if Adi is cool with it :)

@Rjected I can take this up on the weekend if Adi is cool with it :)

Sure, if you have time go for it!

@Rjected I can take this up on the weekend if Adi is cool with it :)

yeah sure you can take this up, was not able to look into it much :)

would be really nice if this was grouped by version (eth66 or eth68) and tx type. that can also be a separate issue though.

hey @onbjerg! no blockers as such but i'm still working on a wip pr. will updated by late friday/early saturday if that works. thanks :)


Which File To Take When Exporting Compiled Binary?

Hello, first off, love the project.
I have a custom wrapper around avr dude for flashing all my projects, which I use to flash bootloaders and programs.
I needed to compile a version of this since I use a different pin for sd card, so I do that and then flash the bootloader.
When I am making updates to the program, I use export compiled binary and then the avr-objcopy.
However, the export compiled binary gives two files using your board manager, one labeled with bootloader which is larger.
Which file am I meant to take, or does it not matter?

I am fairly certain it's the non-bootloader one, but would taking the bootloader one overwrite the bootloader?


Handling materials with alpha blend transparency and roughness

Consider this pathological example where the baseColorTexture is a solid orange circle with a transparent background and the roughness is 0.5.
GLTF Viewer (and other online viewers) thinks it looks like this:

But Filament's gltf_viewer thinks it looks like this:

It appears that most implementations also apply the alpha channel to the light reflected due to roughness, but gltf_viewer apparently treats it like glass with a rough surface (which would reflect light). Both seem equally valid and I can't find anything definitive in the spec regarding how they should be handled.

glTF is unfortunately under specified in that area. Filament does allow to obtain the other behavior by setting the blend mode to "fade" on the material. Our default behavior is to be physically correct (alpha doesn't apply to specular lighting since it's by definition reflected light).
@prideout could you check this glTF file to see if there's a piece of information we're not interpreting right that would help match other viewers?

This model uses gltf BLEND which we translate to filament TRANSPARENT (+ depth write enabled) rather than FADE.  I tried FADE and it looked more like Rupert's screenshot, but looks weird at certain angles.

The problem with fade is that it's quite wrong to create glass etc.


Better secret

Coverage increased (+0.11%) to 90.93% when pulling 32ccddc71cee9336c937e78c223bfe5f83802006 on isocolsky:better_secret into 22e71f3ad010520eea94fac4653d921fba934a2e on bitpay:master.


Robyn future budget allocation feature status

Hello all,
Great work on the project!
I was wondering what is the expected release date for the future allocation feature. I have been looking forward for this for quiet some time and would really appreciate it if there is hope for the near future 😁
Thanks

Hello Team!
I would like to know about this feature too. Just wondering if there's any news on when we can expect the Budget allocation for the future time period feature to be available? If not, are there any workarounds we could explore in the meantime?

Hi all, I apologize for the delay because of our internal resource uncertainty. Unfortunately I can't provide further timeline. What I can promise is that I'll do my best to ship these features as soon as our capacity allows.


Added best practices category for ATS

George, please take a minute to sign the CLA.
Thanks.

Hi Georg, the review is finished. This will be merged after you have signed the CLA.
Thanks.

Upon merge, add include block.

Removed this section from beginning of doc, because these docs do not exist yet and this was breaking the build:
In addition, take a look at the how-to's for building a custom action:

How to Create a Combined Action
How to Create a Search Context Action
How to Create an Unsupported Widget Action
How to Create a Function Action

Georg, in future PRs, please do not include links to docs that do not exist yet.

I’ve forwarded this info to the author.
Is there already a way how we can check links ourself?
Von: Adam Dupaski<EMAIL_ADDRESS>Gesendet: Donnerstag, 22. Juni 2017 10:26
An: mendix/docs<EMAIL_ADDRESS>Cc: Georg Holz<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [mendix/docs] Added best practices category for ATS (#499)
Removed this section from beginning of doc, because these docs do not exist yet and this was breaking the build:
In addition, take a look at the how-to's for building a custom action:

How to Create a Combined Action<../refguide-ats-1/create-a-combined-action>
How to Create a Search Context Action<../howtos/create-search-context-action>
How to Create an Unsupported Widget Action<../refguide-ats-1/create-unsupported-widget-action>
How to Create a Function Action<../howtos/create-function-action>

Georg, in future PRs, please do not include links to docs that do not exist yet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mendix/docs/pull/499#issuecomment-310311906, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASpCvdtdzemrNcPu5ycUYsrE-zXHx9UEks5sGiUEgaJpZM4N_v2k.

That seems like a matter of internal coordination for the authors of these docs.


[BUG] DataTypeNotSupportedError: Data type "Object" in "Product.type" is not supported by "mysql" database.

Information

Version: 6.x
Packages:
"@tsed/ajv": "^6.79.1",
"@tsed/common": "^6.79.1",
"@tsed/core": "^6.79.1",
"@tsed/di": "^6.79.1",
"@tsed/exceptions": "^6.79.1",
"@tsed/json-mapper": "^6.79.1",
"@tsed/platform-express": "^6.79.1",
"@tsed/schema": "^6.79.1",
"@tsed/swagger": "^6.79.1",
"@tsed/typeorm": "^6.79.1",
"typeorm": "^0.2.39"

Example
My config typeorm

const typeormConfig: MysqlConnectionOptions = {
    type: 'mysql',
    host: process.env.DATABASE_HOST,
    port: +process.env.DATABASE_PORT,
    username: process.env.DATABASE_USERNAME,
    password: process.env.DATABASE_PASSWORD,
    database: process.env.DATABASE_NAME,
    bigNumberStrings: false,
    name: "default",
    synchronize: true,
    entities: [`${__dirname}/src/entity/*{.ts,.js}`],
    migrations: [`${__dirname}/src/migrations/*{.ts,.js}`],
    subscribers: [`${__dirname}/src/subscriber/*{.ts,.js}`],
    logging: process.env.IS_DEV == 'true'
}

Acceptance criteria

[ ] Criteria 1

Hello @thanhchuongbmd
this issue is related to typeorm project. Open an issue on his repo please.
see you
Romain


Rename single letter keys/variables

We shouldn't need comments like these:
# The following abbreviations are used throughout the code:
# W: edge weights
# B: condensation likelihoods
# H: clustering coordinates
# Y: edge truth labels
# L: hit truth labels
# P: Track parameters

;)

Should also do something about model_outupt["x"] (which can be confused with data.x)


zip_archive is either False or a filename, which is confusing. should have zip names depend on album name to make download easier

I noted that zip_archive must be set to a file name. The documentation mentions this, but after looking at zip_archive = False a lot, I thought it was supposed to be True.  I understand this is an user error, but perhaps an error would help the users not stab themselves unintentionally...
That said, I have a gallery where I have multiple albums. With the current system, it means every album's archive will be called archive.zip or something like that. When people download this, their browser will simply rename them to things like archive (2).zip and so on. It would be nice if we can set zip_archive = True and the zip name is determined by the album directory name. This way, people viewing the gallery can download multiple galleries without having colliding zip names.

Not sure to understand the issue with = False.
As stated in the example settings file you can already set it to '{album.name}.zip' to use the album name.

Originally when I saw that zip_archive = False, I thought that it can be set to True, but this didn't work and had no warning. I ended up spending probably around 20 minutes trying to figure it out before I remembered the docs. This is a bit misleading to newer users as the type on the zip_archive variable is not enforced.
Not the biggest deal, and thanks for the idea to interpolate the album name.

Oh I see, indeed it would make sense to prevent using = True as it crashes silently.

Thanks for the prompt response!!


Update old boolean defaults to CLIFilters

Running prompt-toolkit/examples/autocompletion.py was failing with:
[ptpy2] C:\Users\dg\Documents\Python\python-prompt-toolkit\examples>python autocompletion.py
Traceback (most recent call last):
  File "autocompletion.py", line 58, in <module>
    main()
  File "autocompletion.py", line 53, in main
    text = get_input('Give some animals: ', completer=animal_completer)
  File "c:\users\dg\documents\python\python-prompt-toolkit\prompt_toolkit\shortcuts.py", line 266, in get_input

    application=create_default_application(message, **kwargs),
  File "c:\users\dg\documents\python\python-prompt-toolkit\prompt_toolkit\shortcuts.py", line 229, in create_default_application
    enable_open_in_editor=enable_open_in_editor).registry
  File "c:\users\dg\documents\python\python-prompt-toolkit\prompt_toolkit\key_binding\manager.py", line 32, in __init__
    assert isinstance(enable_vi_mode, CLIFilter)
AssertionError

Thanks a lot @darikg !
Merged in https://github.com/jonathanslenders/python-prompt-toolkit/commit/5cde3abbafba80b9fef32d1a656704f6c30d3f4b and https://github.com/jonathanslenders/python-prompt-toolkit/commit/b9f5924b5e6a01416aca8cf133fabe516c529984
I really appreciate it.
Jonathan


[ISSUE #5061] Fix the slave broker cannot synchronize timer metrics

Codecov Report

Merging #5065 (48132d1) into develop (2298d9b) will decrease coverage by 0.04%.
The diff coverage is 6.45%.

@@              Coverage Diff              @@
##             develop    #5065      +/-   ##
=============================================
- Coverage      43.26%   43.22%   -0.05%
- Complexity      7764     7766       +2
=============================================
  Files            995      995
  Lines          69116    69153      +37
  Branches        9152     9154       +2
=============================================
- Hits           29902    29890      -12
- Misses         35453    35505      +52
+ Partials        3761     3758       -3

Impacted Files
Coverage Δ

...ocketmq/broker/processor/AdminBrokerProcessor.java
26.14% <0.00%> (-0.44%)
:arrow_down:

.../org/apache/rocketmq/store/timer/TimerMetrics.java
67.42% <28.57%> (-1.33%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...a/org/apache/rocketmq/broker/BrokerController.java
43.84% <0.00%> (-3.52%)
:arrow_down:

...he/rocketmq/broker/processor/PopReviveService.java
37.72% <0.00%> (-1.78%)
:arrow_down:

...ocketmq/broker/processor/SendMessageProcessor.java
44.63% <0.00%> (-1.48%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
62.38% <0.00%> (-0.92%)
:arrow_down:

...rocketmq/broker/processor/PopMessageProcessor.java
37.63% <0.00%> (-0.54%)
:arrow_down:

.../org/apache/rocketmq/store/ha/DefaultHAClient.java
61.53% <0.00%> (-0.52%)
:arrow_down:

...org/apache/rocketmq/store/DefaultMessageStore.java
53.24% <0.00%> (-0.16%)
:arrow_down:

... and 13 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix for DisplayObject/DisplayObjectContainer - getting dimensions or bounds do NOT retrieve proper values

This PR changes:

Nothing, it's a bug fix

Describe the changes below:
This PR fixes getLocalBounds() for PIXI Sprite, Strip and Graphics, because their getBounds overrides the DisplayObjectContainer's getBounds and so we override their getLocalBounds as well for them to work properly. This is due to the the new changes to getting bounds for PIXI.DisplayObjectContainer done in a previous PR that is already merged: #2639

Great thanks. Sorry for the one extra incorrect commit.


Case Insensitive Filtering

Hello,
I would like to be able to do graphql-queries that are case-insensitive.
Is my feature request related to a problem?
Yes it is. We want to do a case-insensitive search using filtering. Posting a constraint using the where syntax always results in case-sensitive results.
query {
  Entities(where: {myField_contains: "abraCadabra"}){
    myField
    anotherField
    andMoreFields
  }
}

This query does not result in entities containing the strings as AbraCadabra or abracadabra but only the one matching the case.
The solution I'd like
In addition to myField_contains I would like to have something like myField_icontains where results are filtered ignoring case.
Ther query would then be:
query {
  Entities(where: {myField_iContains: "abraCadabra"}){
    myField
    anotherField
    andMoreFields
  }
}

Alternatives I've considered
An even more elaborated idea would be to be able to apply regular expressions as filter constraints. Hasura has something like that https://hasura.io/docs/1.0/graphql/manual/queries/query-filters.html#text-search-or-pattern-matching-operators-like-similar-etc. In a RegExp, one could that way put case-sensitivity flags as needed by the given use-case.
A possible query would then be:
query {
  Entities(where: {myField_iLike: "^[abcdr]+$"}){
    myField
    anotherField
    andMoreFields
  }
}

And result in all entities matching the regular expression ^[abcdr]+$.

When working with EF Core case sensitive queries are a pain if the collation is case insensitive. I think LINQ containing Equals("foo", StringComparison.IgnoreCase") would produce an exception and EF.Functions.Collate should be used instead. I'm assuming here that Hot Chocolate translates to LINQ and EF Core does the rest.

Hi @JuStTheDev
Thanks for opening this issue. We are currently redesign filtering completely in 11. With the new implementation it will be easy to just add the things you need

Closing this issue since it is solved with the new hotchocolate.data api.

@michaelstaib Can you please explain what new api you mean?

New API ... aka HotChocolate.Data

Leaving this here maybe it will help others. I've added my solution to the discussion below
https://github.com/ChilliCream/graphql-platform/discussions/3915#discussioncomment-6517235


Missing Java asn1.DLSet and asn1.DLSequence

I'm about to port some java code that leverages this.  I don't see it in C#, but it's present in Java BC
https://github.com/bcgit/bc-java/blob/ae63147936376e85e068c7b63373d4e930c3fe58/core/src/main/java/org/bouncycastle/asn1/DLSequence.java
https://github.com/bcgit/bc-java/blob/ae63147936376e85e068c7b63373d4e930c3fe58/core/src/main/java/org/bouncycastle/asn1/DLSet.java

The BC Java ASN.1 API was revamped a few years ago, but those changes weren't carried over to BC C#, which still uses the older style. So unfortunately, a literal translation will not be possible, but it's usually pretty simple to convert nonetheless.
Is the code you want to port a part of the Java BC distribution?

I can port this myself, but just wanted to be ready for conflicts in case I get them.

When I inherit from  : Org.BouncyCastle.Asn1.Asn1Sequence, IEnumerable the compiler acts really strange.  It says that I'm not implementing the member/method, but I am.  I even let intellisense create it for me.
Is there something special/unusual about the base class to confuse VS2017?
CS0534	'DLSequence' does not implement inherited abstract member 'Asn1Object.Encode(DerOutputStream)'
CS0115	'DLSequence.Encode(DerOutputStream)': no suitable method found to override

Also it does seem like this class is implemented in the Java BC distro
https://github.com/bcgit/bc-java/blob/ae63147936376e85e068c7b63373d4e930c3fe58/core/src/main/java/org/bouncycastle/asn1/DLSequence.java

Can I see your code? Maybe I can help.

Make sure your override is marked internal

To be clear, I would guess porting the ASN.1 classes (DLSequence etc.) is not the way to go. By "usually pretty simple to convert" I meant to convert the java code you're actually porting (that uses the ASN.1 API) to use the existing C# API instead.


Switch parentclosepolicy worker to internal types

What changed?

Switched parentclosepolicy worker to internal types

Why?
To propagate internal types throughout Cadence codebase

How did you test it?

Potential risks

Coverage increased (+0.04%) to 59.361% when pulling f5af355c0c65b4b24ac8779c1209ec98ad4f8d1f on vytautas-karpavicius:parentclosepolicy-worker-internal-types into bb71629e4694f83025afe797d5e2b51a2d0b98df on uber:master.


Allow the volume provisioner to be run outside of k8s

Add flags -master and -kubeconfig to the volume provisioner so the volume provisioner can be run outside of k8s. This makes development easier as deployment isn't needed.

Requires legal approvals. Assigned to myself to complete.


Comma key and non-english layouts

It's impossible to enter russian letter "б", because it uses the same key as comma. https://github.com/Pathologic/Selector/commit/41f70ce5478709b60abdd7b843f42c99c1c51ff7 - I've fixed it, but maybe there's more suitable way to fix? My JS is poor :cat:

Hello I have make a change for your issue, could you please try it and give me a feedback, because I cannot test it, thanks in advance...

Now it works, thank you.


Looping sub-routines to run each other causes crash

Steps to reproduce:

Add 2 routines with sub-routine tasks set to run each other.
Execute either of the 2 routines.

This makes Project Builder stall for a while and then crash.
Nothing bad such as data loss seems to happen, and I didn't really expect anything else. But it would be better if the program didn't crash and gave an error instead.

2a727e6

I can get it to crash by creating subroutines to cycle and then executing another subroutine pointing into them.
Steps to reproduce:

Add routines 1 and 2 with sub-routine tasks set to run each other.
Add routine 3 with sub-routine task to run either routine 1 or 2.
Execute routine 3.

Maybe this isn't actually worth fixing. I don't know what the complexity of a full solution would be, and any user doing this shouldn't be surprised if they get a crash.

c71fbd4 🤦♂


⚠ Bofrost.de has degraded performance

In 424f902, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1485 ms

Resolved: Bofrost.de performance has improved in c4d6af2.


NPC vehicles not seen

Your work is truly attractive and I am trying to reproduce the benchmark. However, I see no NPC vehicles when I run the benchmark, just the ego-vehicle navigating for each episode. Is that normal? Is the benchmark working without NPC vehicles?
I'm using Carla 0.8.2 by running ./CarlaUE4.sh -carla-server.
I tried to solve it by myself, and I found that each episode will reset the client with default CarlaSettings. The default CarlaSettings should at least generated 20 NPC vehicles (but I see None). Anyway, I tried to solve this, but I have no idea now. Thank you very much if you have any idea.

Did you figure it out?


Be More Specific on how to use Templates

Describe the desired behavior
Templates have to blank routing or authentication
Describe the current behavior
Docs do not mention this and can be interpretted as the package used instead.
Is this request related to a current issue?
No
Additional Context

You mean like this table in the README?

lets do some word smithing on item 2 to be more specific on template and not seem like its the package name.


Is there a way to retrieve replies on a tweet?

For example if I were to look at this tweet, is there a way to collect the replies on it? I'm currently using the tweet.details method to get the individual tweet, but there doesn't seem to be a way I might be able to chain this together to collect replies on tweets. Any help or advice would be much appreciated! And thank you for all the awesome work you're doing on this API 💯

Currently, fetching of replies is not supported, but it's being worked on https://github.com/Rishikant181/Rettiwt-API/issues/433

Absolutely amazing! Thank you! 🥇

Duplicate of #433

Hi @Rishikant181, I was looking to accomplish this for one of my projects, but I noticed you marked #433 as "not planned". Is that not possible? (I was thinking of a replyTo field in TweetFilter)
Or maybe I missed another way to do it that you've implemented since then?
Thank you!

@Jeto143 Fetching replies is proving to be quite the headache owing to the nested nature of the conversations that exist in the replies section of a tweet. I'm still grinding my gears over trying to figure out an elegant and maintainable method to filter out the replies but so far, it has been unfruitful. As such, the issue has been marked as not-planned. As soon as a viable solution is deemed to be somewhat plausible, the issue will be updated.
TL;DR: Fetching and filtering replies is proving to be difficult :(

@Rishikant181 The conversation_id operator seems to be the closest, although it only seems to work on opening tweets (not replies). E.g.:
Tweet: https://twitter.com/DaMJFan/status/1451509766866587649
Replies: https://twitter.com/search?q=conversation_id%3A1140437409710116865
(I'm assuming Rettiwt-Core performs these types of query from the looks of its code, but I'm not 100% sure.)


ldap template typo

I think this is a typo:
...
bindDn="<%= @auth_config['ldap']['bind_dn']%>,<%= @auth_config['ldap']['user_base_dn'] %>"
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
userBaseDn="<%= @auth_config['ldap']['user_base_dn'] %>"

According to official documentation:
....
bindDn="cn=Manager,dc=example,dc=com"
...
userBaseDn="ou=People,dc=test1,dc=example,dc=com"

it's breaking ldap authentication
please merge following to fix this

I already raised the issue in #84 to report the same issue.

@SydOps thanks, just noticed
I don't really understand how that fix https://github.com/puppet-community/puppet-rundeck/commit/57dd07315844a499e832c26ebb3b60d228828ab1 will solve this (and yours) issue


Fungible Tokens icons are shifted on Token details page

Describe the bug
Fungible Tokens icons are shifted on Token details page.
To Reproduce
Steps to reproduce the behavior:

Go to FTs details page
Open Token details page
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS
Browser FF, Chrome
Version 122

Additional context
Reproducible on dev branch.

Fixed here: https://github.com/superhero-com/superhero-wallet/issues/2673

Fixed, LGTM


npm-shrinkwrap.json is not being updated to match package.json

I like release-it a bit better than the default npm version command since release-it has better support for named prerelease tags like beta, RC, etc.  I like to run npm shrinkwrap to freeze my dependency versions and I check in my npm-shrinkwrap.json into GIT.
However, I notice that release-it doesn't update the npm-shrinkwrap.json file like npm version does by default. This makes the package.json and the npm-shrinkwrap.json file out of sync showing different version numbers.
Could you make an update of the npm-shrinkwrap.json version number to match the package.json version number during a release when npm-shrinkwrap.json exists?

I'm not sure about the npm-shrinkwrap.json structure, but did you try to add it to the pkgFiles array in the configuration?

Adding npm-shrinkwrap.json to the pkgFiles works

Glad it works for you, @eugef.


client: fix sticky WASDCamera keys

Release WASDCamera keys in all GameStates except LOGIN_SCREEN, STARTING, and UNKOWN states.

Possible fix for issue #7438

I was unable to reproduce the sticky keys described once the WASDCameraListener was releasing keys during the LOADING GameState.
My testing wasn't very thorough and I was loading regions very quickly, so it was hard to time the key release perfectly with the game loading. Please let me know if the bug still exists!

This was addressed in f57abb7a7c09ec5504a8aa6a262c1045d52e3e2f


placeholder for line number

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[ ] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish

I'd like to have a placeholder (as in execute and preview) to get the number of line(s) currently selected and being respected to --tac and maybe --reverse. eg. {n} and {n+} for multiple selection.
my use-case is to make external commands know about the line number(s) in the original file (or pipe stream).

very cool!  killing feature! :) 🍾


TablesGenerator.com support

Any plans to support automatic copy-paste from Word or easy code creation through TablesGenerator.com or equivalent?

Any plans to support automatic copy-paste from Word

This is something the library can't do, sadly (the library is just a .typ file); please open a feature request issue upstream (on https://github.com/typst/typst) for this! (Don't forget to select the web app feature request template!)

or easy code creation through TablesGenerator.com or equivalent?

Perhaps you're looking for something like this? https://github.com/maxcrees/tbl.typ
However, a separate library to generate code from e.g. markdown tables and stuff could be interesting (might be out of scope for the base library, though).


This library doesn't work with PlatformIO even though it is listed as an installable library

I get this problem when using pio: https://arduino.stackexchange.com/questions/88306/pinstatus-does-not-name-a-type, however when I switched to Arduino IDE it's resolved automatically.

For anyone else running into this issue: https://arduino.stackexchange.com/a/88377/82196


Expected a string version for electron version, got a "object"

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
I'm getting this error when I run electron-forge start:
An unhandled error has occurred inside Forge:
Expected a string version for electron version, got a "object"
Error: Expected a string version for electron version, got a "object"
``
But the error is incorrect.

<!-- For bugs and questions, please answer these questions to the best of your ability. -->

**Console output when you run `electron-forge` with the environment variable `DEBUG=electron-forge:*`. (Instructions on how to do so [here](https://www.npmjs.com/package/debug#usage)). Please include the stack trace if one exists.**

WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
electron-forge:lifecycle Process Started: Checking your system +0ms
electron-forge:lifecycle Process Succeeded: Checking your system +184ms
electron-forge:runtime-config setting key: verbose to value: false +0ms
WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
electron-forge:lifecycle Process Started: Locating Application +0ms
electron-forge:project-resolver searching for project in: /home/spaceboyross/paradise-client +0ms
electron-forge:project-resolver electron-forge compatible package.json found in /home/spaceboyross/paradise-client/package.json +19ms
electron-forge:lifecycle Process Succeeded: Locating Application +20ms
electron-forge:util Could not read package.json for moduleName=electron-prebuilt-compile { [Error: ENOENT: no such file or directory, open '/home/spaceboyross/paradise-client/node_modules/electron-prebuilt-compile/package.json']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path:
'/home/spaceboyross/paradise-client/node_modules/electron-prebuilt-compile/package.json' } +0ms
electron-forge:util Could not read package.json for moduleName=electron { [Error: ENOENT: no such file or directory, open '/home/spaceboyross/paradise-client/node_modules/electron/package.json']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path:
'/home/spaceboyross/paradise-client/node_modules/electron/package.json' } +4ms
electron-forge:util Could not read package.json for moduleName=electron-prebuilt { [Error: ENOENT: no such file or directory, open '/home/spaceboyross/paradise-client/node_modules/electron-prebuilt/package.json']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path:
'/home/spaceboyross/paradise-client/node_modules/electron-prebuilt/package.json' } +0ms
electron-forge:util getElectronVersion failed to determine Electron version: projectDir=/home/spaceboyross/paradise-client, result=null +0ms
electron-forge:lifecycle Process Started: Preparing native dependencies +11ms
electron-forge:lifecycle Process Failed: Preparing native dependencies +2ms
An unhandled error has occurred inside Forge:
Expected a string version for electron version, got a "object"
Error: Expected a string version for electron version, got a "object"
at new Rebuilder (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/electron-rebuild/lib/src/rebuild.js:62:19)
at rebuildWithOptions (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/electron-rebuild/lib/src/rebuild.js:316:23)
at doRebuild (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/electron-rebuild/lib/src/rebuild.js:323:16)
at /home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/dist/util/rebuild.js:27:57
at Generator.next ()
at Generator.tryCatcher (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:97:49)
at /home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:201:15
at /home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/dist/util/rebuild.js:53:22
at _promise2.default (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/dist/util/ora-handler.js:46:5)
at new Promise ()
at new F (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/core-js/library/modules/_export.js:36:28)
at asyncOra (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/dist/util/ora-handler.js:45:10)
at /home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/dist/util/rebuild.js:25:36
at Generator.next ()
at Generator.tryCatcher (/home/spaceboyross/.nvm/versions/node/v11.0.0/lib/node_modules/electron-forge/node_modules/bluebird/js/release/util.js:16:23)

**What command line arguments are you passing?**

**What does your `config.forge` data in `package.json` look like?**

"forge": {
"make_targets": {
"win32": [
"squirrel"
],
"darwin": [
"zip"
],
"linux": [
"deb",
"rpm"
]
},
"electronPackagerConfig": {
"packageManager": "npm"
},
"electronWinstallerConfig": {
"name": "Paradise"
},
"electronInstallerDebian": {},
"electronInstallerRedhat": {},
"github_repository": {
"owner": "",
"name": ""
},
"windowsStoreConfig": {
"packageName": "Paradise",
"name": "paradise-client"
}
}

**Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using `electron-forge init` is a good starting point, if that is not the
source of your problem.**

Run `electron-forge start`

In order to debug your problem further, we need a minimal testcase to reproduce your problem. Using electron-forge init as a base, could you please create a minimal Electron app that illustrates the issue you described, and post a link to it here, with details on how you created the app?

All I did was run electron-forge init, added a few packages for voxel.js and then ran electron-forge start.

I can't reproduce this on Linux with Electron Forge 5.2.2:
npx electron-forge init someapp
cd someapp
npm start

I'm closing this because I can't reproduce this error with the repro instructions given. I will be happy to reopen this if you manage to reproduce this when you run
DEBUG="electron-rebuild*,electron-forge*" electron-forge start

Having almost the same problem.  Everything runs fine with a newly init'd project.  But, when I clone my repo and fire it up, I get the electron version as object error.  Pasted in my debug below.  Repo I'm cloning is at https://github.com/Cogulator/Cogulator/.
$ DEBUG="electron-rebuild*,electron-forge*" electron-forge start
WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
electron-forge:lifecycle Process Started: Checking your system +0ms
electron-forge:lifecycle Process Succeeded: Checking your system +211ms
electron-forge:runtime-config setting key: verbose to value: false +0ms
WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
electron-forge:lifecycle Process Started: Locating Application +0ms
electron-forge:project-resolver searching for project in: /Users/sestes/Development/Cogulator +0ms
electron-forge:project-resolver electron-forge compatible package.json found in /Users/sestes/Development/Cogulator/package.json +9ms
electron-forge:lifecycle Process Succeeded: Locating Application +10ms
electron-forge:util Could not read package.json for moduleName=electron-prebuilt-compile { [Error: ENOENT: no such file or directory, open '/Users/sestes/Development/Cogulator/node_modules/electron-prebuilt-compile/package.json']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path:
'/Users/sestes/Development/Cogulator/node_modules/electron-prebuilt-compile/package.json' } +0ms
electron-forge:util Could not read package.json for moduleName=electron { [Error: ENOENT: no such file or directory, open '/Users/sestes/Development/Cogulator/node_modules/electron/package.json']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path:
'/Users/sestes/Development/Cogulator/node_modules/electron/package.json' } +2ms
electron-forge:util Could not read package.json for moduleName=electron-prebuilt { [Error: ENOENT: no such file or directory, open '/Users/sestes/Development/Cogulator/node_modules/electron-prebuilt/package.json']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path:
'/Users/sestes/Development/Cogulator/node_modules/electron-prebuilt/package.json' } +1ms
electron-forge:util getElectronVersion failed to determine Electron version: projectDir=/Users/sestes/Development/Cogulator, result=null +0ms
electron-forge:lifecycle Process Started: Preparing native dependencies +11ms
electron-rebuild rebuilding with args: [Arguments] {
'0':
{ buildPath: '/Users/sestes/Development/Cogulator',
electronVersion: null,
arch: 'x64' } } +0ms
electron-forge:lifecycle Process Failed: Preparing native dependencies +2ms
An unhandled error has occurred inside Forge:
Expected a string version for electron version, got a "object"
Error: Expected a string version for electron version, got a "object"
at new Rebuilder (/usr/local/lib/node_modules/electron-forge/node_modules/electron-rebuild/lib/src/rebuild.js:62:19)
at rebuildWithOptions (/usr/local/lib/node_modules/electron-forge/node_modules/electron-rebuild/lib/src/rebuild.js:316:23)
at doRebuild (/usr/local/lib/node_modules/electron-forge/node_modules/electron-rebuild/lib/src/rebuild.js:323:16)
at /usr/local/lib/node_modules/electron-forge/dist/util/rebuild.js:27:57
at Generator.next ()
at Generator.tryCatcher (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:97:49)
at /usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:201:15
at /usr/local/lib/node_modules/electron-forge/dist/util/rebuild.js:53:22
at _promise2.default (/usr/local/lib/node_modules/electron-forge/dist/util/ora-handler.js:46:5)
at new Promise ()
at new F (/usr/local/lib/node_modules/electron-forge/node_modules/core-js/library/modules/_export.js:36:28)
at asyncOra (/usr/local/lib/node_modules/electron-forge/dist/util/ora-handler.js:45:10)
at /usr/local/lib/node_modules/electron-forge/dist/util/rebuild.js:25:36
at Generator.next ()
at Generator.tryCatcher (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/util.js:16:23)

Does this happen with Electron Forge v6?

I'm on 5.2.3.  I can try v6 if you'd like.

I meant, does this also happen with v6?

Same result...
$ npx<EMAIL_ADDRESS>start
npx: installed 376 in 59.809s
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
An unhandled rejection has occurred inside Forge:
Cannot find module '/Users/sestes/Development/Cogulator/node_modules/electron'
Error: Cannot find module '/Users/sestes/Development/Cogulator/node_modules/electron'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:22:18)
at require (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/start.ts:60:28)
at Generator.next ()
at step (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:221)
at _next (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:409)
at /Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:477
at new Promise ()
at /Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:97
at forgeSpawn (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/start.ts:59:9)
at forgeSpawn (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/start.ts:55:25)
at Generator.next ()
at step (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:221)
at _next (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:409)

Got farther that time.  Made it past Preparing Native Dependencies.  Now it's complaining about not having the electron node_module.
$ npx<EMAIL_ADDRESS>start
npx: installed 376 in 59.809s
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
An unhandled rejection has occurred inside Forge:
Cannot find module '/Users/sestes/Development/Cogulator/node_modules/electron'
Error: Cannot find module '/Users/sestes/Development/Cogulator/node_modules/electron'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:22:18)
at require (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/start.ts:60:28)
at Generator.next ()
at step (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:221)
at _next (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:409)
at /Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:477
at new Promise ()
at /Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:97
at forgeSpawn (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/start.ts:59:9)
at forgeSpawn (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/start.ts:55:25)
at Generator.next ()
at step (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:221)
at _next (/Users/sestes/.npm/_npx/33930/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/dist/api/start.js:40:409)

Got electron installed, but v6 is choking on index.js.  Are there different formatting requirements in v6?
$ npx<EMAIL_ADDRESS>start
npx: installed 376 in 50.727s
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Launching Application
App threw an error during load
/Users/sestes/Development/Cogulator/src/index.js:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { import { app, BrowserWindow } from 'electron';
^
SyntaxError: Unexpected token {
at new Script (vm.js:74:7)
at createScript (vm.js:246:10)
at Object.runInThisContext (vm.js:298:10)
at Module._compile (internal/modules/cjs/loader.js:678:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at loadApplicationPackage (/Users/sestes/Development/Cogulator/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:287:12)
at Object. (/Users/sestes/Development/Cogulator/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:328:5)
npx: installed 376 in 50.727s
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Launching Application
App threw an error during load
/Users/sestes/Development/Cogulator/src/index.js:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { import { app, BrowserWindow } from 'electron';

The config format changed in v6, we haven't yet written an importer for it.
Also, the latest version of v6 at the time of this comment is beta 30.

Gotcha.  Something shook loose after running with v6.  Now, when I run electron-forge start, it comes up fine.  npm list electron-forge still shows v5.2.3.  Not sure what the magic was.

That is bizarre.

One last note... had to revert my package.json for an unrelated issue and the problem reappeared.  I’m guessing there’s  a module incompatibility.  Anywho, I can go through the same process to get in running again.  Thanks for the help.

@Tapestes well, one problem is that you have different versions of Electron specified. Remove electron from dependencies and update electron-prebuilt-compile to 3.0.10.

OK, I know why this error happens. This is the error you get if you don't run npm install (or yarn, if you use yarn) before running electron-forge start.
What you really should do instead of running the globally installed electron-forge is run npm start, since electron-forge is listed in devDependencies. The globally installed Forge should only be used for init, import, and install subcommands, unless you have a really good reason.


querydsl does not compile on debian

Hi,
I encountered a four problems while trying to compile querydsl from sources on a stable debian by running mvn -Pquickbuild,jdo clean install:

A couple of dependencies problems
A javadoc problem
An ambiguous reference to Module
A problem with maven-plugin-plugin

I could solve the first three but am stuck with the fourth:
The first two I could solve by modifying a bit pom.xml:
@@ -78,6 +78,18 @@
   </properties>

   <dependencies>
+    <!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
+<dependency>
+    <groupId>javax.xml.bind</groupId>
+    <artifactId>jaxb-api</artifactId>
+    <version>2.4.0-b180830.0359</version>
+</dependency>
+<!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api -->
+<dependency>
+    <groupId>javax.annotation</groupId>
+    <artifactId>javax.annotation-api</artifactId>
+    <version>1.3.2</version>
+</dependency>
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
@@ -333,6 +345,7 @@
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>2.10.3</version>
         <configuration>
+         <source>8</source>
           <outputDirectory>${project.build.directory}/dist/apidocs</outputDirectory>
           <reportOutputDirectory>${project.build.directory}/dist/apidocs</reportOutputDirectory>
           <groups>
@@ -737,6 +750,7 @@
         <version>2.9.1</version>
         <configuration>
           <detectJavaApiLink>true</detectJavaApiLink>
+         <source>8</source>
         </configuration>
       </plugin>
       <plugin>

For the third one, I had to make the reference to Module explicit in a java file:
--- a/querydsl-sql/src/test/java/com/querydsl/sql/SelectBase.java
+++ b/querydsl-sql/src/test/java/com/querydsl/sql/SelectBase.java
@@ -45,6 +45,7 @@ import com.querydsl.core.testutil.Serialization;
 import com.querydsl.core.types.*;
 import com.querydsl.core.types.dsl.*;
 import com.querydsl.sql.domain.*;
+import com.querydsl.core.Module;

 public class SelectBase extends AbstractBaseTest {

As for the fourth error, here is the tail of the build process output:
[INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ querydsl-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-javadoc found 6 mojo descriptors.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Querydsl 4.2.3-SNAPSHOT:
[INFO]
[INFO] Querydsl ........................................... SUCCESS [  1.957 s]
[INFO] Querydsl - Core module ............................. SUCCESS [ 11.755 s]
[INFO] Querydsl - Codegen module .......................... SUCCESS [  3.757 s]
[INFO] Querydsl - APT support ............................. SUCCESS [  9.620 s]
[INFO] Querydsl - Spatial module .......................... SUCCESS [  4.719 s]
[INFO] Querydsl - SQL support ............................. SUCCESS [  9.620 s]
[INFO] Querydsl - SQL Spatial support ..................... SUCCESS [  3.119 s]
[INFO] Querydsl - SQL codegen support ..................... SUCCESS [  3.642 s]
[INFO] Querydsl - SQL Spring support ...................... SUCCESS [  2.035 s]
[INFO] Querydsl - Maven plugin ............................ FAILURE [  0.912 s]
[INFO] Querydsl - JDO support ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  51.432 s
[INFO] Finished at: 2019-12-06T10:52:36+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.4:descriptor (default-descriptor) on project querydsl-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.4:descriptor failed.: IllegalArgumentException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :querydsl-maven-plugin

I ran maven again with the -e switch (see full build output attached) but that does not enlighten me very much. Any idea how I could correct this?
build.log
Java/Maven versions:
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=atte
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version      Architecture Description
+++-==============-============-============-===================================
ii  maven          3.6.0-1      all          Java software project management an
$ dpkg -l|grep jdk
ii  default-jdk                              2:1.11-71                            amd64        Standard Java or Java compatible Development Kit
ii  default-jdk-headless                     2:1.11-71                            amd64        Standard Java or Java compatible Development Kit (headless)
ii  openjdk-11-jdk:amd64                     11.0.5+10-1~deb10u1                  amd64        OpenJDK Development Kit (JDK)
ii  openjdk-11-jdk-headless:amd64            11.0.5+10-1~deb10u1                  amd64        OpenJDK Development Kit (JDK) (headless)
ii  openjdk-11-jre:amd64                     11.0.5+10-1~deb10u1                  amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-11-jre-headless:amd64            11.0.5+10-1~deb10u1                  amd64        OpenJDK Java runtime, using Hotspot JIT (headless)

Yours,

Hi,
I'm pretty sure the library is not even ported to java 8 yet not even thinking about java 11.
That explains the problems you encountered if you look at Travis tests and compilation is done using openjdk8 atm.
Anyways, looking as the error comes from maven-plugin-plugin which is in version 3.4. It's using old ASM version and there were byte code changes between jdk releases. That's the reason it can not read the your classes and fails. Long story short:
I would try to upgrade the plugin to 3.6 (or at least increase the ASM dependency)
https://issues.apache.org/jira/browse/MPLUGIN-336
https://blogs.apache.org/maven/entry/apache-maven-plugin-tools-version1
Why do you need to build it under java 11?

Hi kamko,
Thanks for your prompt answer. Actually, I do not need to build it under Java 11. I run a Debian  stable (buster), for which JDK 11 seems to be the default (and Java 8 is not packaged for the current stable). I installed Java 8 and the build went fine.
Thanks!

Java 11 compilation support comes with QueryDSL 5.x. 5.x will target Java 8 minimally.


bugfix: rollback active xa connection fail

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

fixes #4710
当tc下发回滚时，rm的xaconnection还处于活动中时无法进行rollback，必须要先end再rollback，而XAER_RMFAIL不同的异常msg是不同的，所以需要对msg内容再做一次判断
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

避免本地和 TC 并发触发回滚


Enhancement: Add eventTypeId to 'purview retentionlabel add' command

We forgot something when building the purview retentionlabel add command.
https://pnp.github.io/cli-microsoft365/cmd/purview/retentionlabel/retentionlabel-add/
If you configure the --retentionTrigger option to dateOfEvent, you would need to configure a retention Event Type Id.
This is not really clear in the documentation currently, how to do it. That's why we forgot it.
We need an extra optional option set that is only required when dateOfEvent is used:
Options

Option
Description

--eventTypeId [eventTypeId]
The Id of the event type that is used to in case of an event-based label. Specify when using retentionTrigger with the value dateOfEvent. Specify either eventTypeId or eventTypeName, but not both.

--eventTypeName [eventTypeName]
The display name of the event type that is used to in case of an event-based label. Specify when using retentionTrigger with the value dateOfEvent. Specify either eventTypeId or eventTypeName, but not both.

Examples
Create an event-based retention label that retains documents as records and deletes them one year after a Contract Expiry event date.
m365 purview retentionlabel add --displayName 'some label' --behaviorDuringRetentionPeriod retain --actionAfterRetentionPeriod delete --retentionDuration 365 --retentionTrigger dateOfEvent --eventTypeName "Contract Expiry"

Remarks
The following should be added in the request object when posting to purview. This binds the event type to the label.
<EMAIL_ADDRESS>: "https://graph.microsoft.com/beta/security/triggerTypes/retentionEventTypes/<retentionEventTypeId>"

When using eventTypeName we need to get the ID from Purview, just like it's done in the purview retentioneventtype list command. We cannot use a $filter parameter on the retentionEventType graph endpoint.
Let's filter client side. Typically, organisations won't have large lists of event-types, so this is OK, performance wise.

Would like to work on this one!

Nice! All yours!


Added NVM prompt for themes to use

This adds a prompt to show the current node version set in NPM by using the function nvm_prompt.
I don't know if you want me to add the capability in any of the themes, but I would be happy to.

Hey @clintberry
Want to revisit this PR?


[WIP] Removed token dependencies

(ci) test this please

(ci) test this please.

(ci) test this please

(ci) test this please

(ci) test this please

(ci) test this please

(ci) test this please

Closing due inactivity


Error message when launching LEGO Marvel Superheroes

Describe the bug

A clear and concise description of what the bug is.
When I try and launch the game, I get an error and it doesn't launch
Which Remix version (include branch and commit info for dxvk and bridge if not a stable build)
0.1.1
Which GPU
RTX 2060 12GB
Which GPU driver version
527.56
Which game build (and whether it is from Steam/GOG/Other)
Steam
Attach logs!
NvRemixBridge.log
NvRemixBridge.log
d3d9.log
d3d9.log
The game specific log will be named gamename_d3d9.log
LEGOMARVEL_d3d9.log

To Reproduce
Steps to reproduce the behavior:
Extract remix-0.1.1.zip to th LEGO Marvel Superheroes folder
Run game
Expected behavior
A clear and concise description of what you expected to happen.
For the game to run with RTX remix
Screenshots
If applicable, add screenshots to help explain your problem.

I'm pretty sure this game is too new to run with RTX remix. Anything that came out during the PS3/360 era is very unlikely to work

Error message tells exactly why it isn't working. It requires Shader Model 3, so it probably depends on shaders to work, which makes it incompatible with Remix.
You may google to find out if this game can be tweaked to run without depending on shaders

Sorry for my late reply, I have found a way to play Lego Marvel Superheroes without Shader model 3, but it overrides the d3d9.dll that is used in RTX Remix, and it's not working without it

Shader-based games are not in scope for Remix, as it's a difficult technical problem to solve. We therefore have no plans to support them for now. (There is extremely limited support for vertex shaders in some games, but it's focused on specific use cases that we can currently support.)


Order finding port from C# to Q#

Ported Program.cs to Program.qs file for the order finding sample.
Port order-finding sample to Q# #376

@msoeken Thank you for your valuable feedback. I will make note of these as I contribute more in the future.


remove FragmentBreadcrumb

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

#864  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nelsitoPuglisi and the rest of your teammates on  Graphite

Closing as stale


[main] RBAC registry secret tests

As part of this PR:

Renamed rbac_secrets_test.go to rbac_opaque_secrets_test.go
Created rbac_registry_secrets_test.go with tests for RBAC registry secret - QA Task: https://github.com/rancher/qa-tasks/issues/1348

Backport PRs will be created and updated here when this PR gets approved:

2.8:
2.9:
2.10:

lgtm


docs(scully): put link to set up angular project & note  needed chromium support

make it easier for beginners to start with

sorry, haven't seen contribution guidelines. hope u can work with it anyway

added to the new section the need of chromium support. this is sadly a common issue for me in the working environment.


Convert email body from markdown to plaintext

Before, we were being inconsistent with how we were treating the body of emails. Sometimes we treated it as markdown, passing the email body through the markdownify filter to display it in HTML. Some authors also have been editing via Siteleaf, which I believe assumes content are in markdown.
The email body is simply plaintext, it's not markdown! We were already treating it that way with the "copy to clipboard" button, and the mailto: links (leading to getting different results depending on your method of copy-pasting), and that was right way to think about it. Once the body is in an email client, it's not formatted like markdown, and the original letter authors weren't trying to write markdown.
We need to

Stop writing emails as though they are markdown. They should be treated as plaintext, what you see is what you get. That means Siteleaf has to go, and we should stop trying to hack the email bodies, adding extra newlines to get paragraphs where we want them.
Display the plaintext bodies in a nice way.

For 1. I clean up all the emails to a fresh start. For 2 I have a solution below.
This converts all newlines to <br> tags, resulting in something that both looks good (nearly identical as with the <p> tags from markdownify) and can be copied and pasted exactly as originally written.
We now need to escape the content, in case someone puts something that's valid HTML (e.g. <YOUR NAME HERE>). I think this is necessary, I don't think we can trust our email reviewers to catch all cases that might break this. I also think that this is sufficient, but perhaps I'm missing something that could break things?
Closes #1349

Also, I am now realizing that because the content is not markdownified via the copyToClipboard route, all of the \[ and \] throughout our templates are showing up exactly like that for many people when they click that button! We need to remove those escape characters!

See comments on initial issue.

@NickCrews I'm partially addressing this (post-Gatsby) in #1609. Waiting on feedback but closing this for now since it's for Jekyll.


Enhance MET code to interpret NetCDF COARDS convention as CF compliant file

Location to get COARDS convention files:
https://portal.nccs.nasa.gov/datashare/gmao_ops/pub/fp/forecast/Y2019/M06/D24/H00/

Per http://cfconventions.org/, the CF conventions generalize and extend the COARDS conventions.  Therefore, we can interpret COARDS files as being CF-compliant.
Enhanced the logic in the is_netcdf_file.cc source code to check for "CF-", "CF", and "COARDS".  Tested using the data mentioned above.  Committed change to the master_v8.1 branch directly and the develop branch.

Fixed in develop and master_v8.1.


Add a is_passing widget to readme

Application
So we can tell at a glance weather all demos are passing their unit tests.

This is addressed in PR #111.


Request - RTL Support

This is a great lib,
I loved it. Is this lib supports RTL?

It should already be in there


Redirect to culture url if culture is missing

If the url is missing, e.g. https://host.com/home/index then the user should be redirected to https://host.com/{culture}/home/index. The culture should be determined by

Cookie If any culture values are available in any cookie. Default to CookieRequestCultureProvider
Accept-Language Determine the culture by deducing header values. Default to AcceptLanguageHeaderRequestCultureProvider.
Default Use specified default request culture

[x] Write test for flow
[x] Document
[x] Implement
[ ] Extensions methods for IServiceCollection and IApplicationBuilder

Fixed by 11aa94f1cf4d25937f82cfc9377157fe3182f411.


Support Markdown hovers for CodeLens

A CodeLens currently takes a Command which only allows a plain text hover via a tooltip property. It would be nice to support a rich Markdown based hover for Code Lens as supported in other APIs.
We are currently adding a decoration that has such a rich Markdown hover, but would like to show the same rich markdown hover from our Code Lenses.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


LineChart crashes if no entries

Instead of showing the 'no data available' perspective of the chart, with version 2.1.5 of Charts the view now crashes when there are no data items to be shown...when the chart is instructed to draw the circles on the line (the no data available view shows correctly if drawCirclesEnabled = false).
LineChartRenderer.drawCircles() is the culprit, particularly the forced unwrap on the following line within drawCircles()
let entryFrom = dataSet.entryForXIndex(_minX)!

This can be protected against by adjusting the test above this line to include a check for 0 data entries:
if (!dataSet.isVisible || !dataSet.isDrawCirclesEnabled || dataSet.entryCount == 0)
 {
       continue
 }

Thanks!!! :-)


Session issue in Chrome

I notice from couple months ago a strange behavior while I run the sample in Chrome browser, the visits session increment by two instead of one!! I upgrade the Chrome today, but the same behavior occurs, i'm not sure what causes this bug

If you open Fiddler or look at the request paths on the server you'll often see the browser make two requests. One request is for the page you actually asked for (http://localhost/) and the other is for the icon that goes on the tab next to the title (http://localhost/favicon.ico).

You are right @Tratcher strange I don't know why this happen in Chrome only!!


UI: Ongoing and Incomplete section doesn't show the current Task ID

Both has Task ID 1? This disables any task related operations.

The number at the front represent the number order of the list. I can add in a Task ID into the card without making it confusing


Is Deformable-DETR trained for ~48 epochs, not 58 epochs?

Hi,
First, thank you for the great work :-)
While I was reading the paper, I found that the "Generalization to Deformable-DETR" section below mentions that the model is trained for ~48 epochs on LVIS data.

But the config file, configs/DeformDETR_L_R50_4x.yaml, shows that it trains 180k iterations with 32 batch size.
https://github.com/facebookresearch/Detic/blob/bdf9eb82a9fb8f052b1511fbfc61bcabfc3cde51/configs/Base-DeformDETR_L_R50_4x.yaml#L30
Considering that the LVIS training data consists of about 100k images, the training epoch is 180k batch iterations * 32images/batch / 100k images/epoch should be ~58 epochs.
Am I missing something, or was 48 epochs typo?
Best regards,
Han-Cheol

Hi,
You are correct. It should be 58 epochs. We will correct this in future revisions. By 48 epochs we are following the COCO naming convention where 1x = 12 epochs. Apparently this is not true for LVIS.
Best,
Xingyi


Parsing of small plantuml fails on (presumably) missing visibility

I was looking into the parsing abilities of your changes in 2.1. It looks quite promising to me. It failed though to parse this file:
@startuml

hide empty methods

package Heptacom\HeptaConnect\Playground\Dataset {
    class Cap {
        + type : CapType
    }
}
@enduml

It fails with this stacktrace:
InvalidArgumentException:

vendor/puml2php/puml-parser/src/Lexer/Token/Tokens.php:36
vendor/puml2php/puml-parser/src/Lexer/Token/Tokens.php:50
vendor/puml2php/puml-parser/src/Parser/Parser.php:149
vendor/puml2php/puml-parser/src/Parser/Parser.php:73
vendor/puml2php/puml-parser/src/Parser/Parser.php:114
vendor/puml2php/puml-parser/src/Parser/Parser.php:68
vendor/puml2php/puml-parser/src/Parser/Parser.php:50

I can follow the stacktrace but the exception is not helpful to understand where the tokenizing begins to fail. So the best would be to solve these two steps:

have a understandable error message. There are already exceptions that can tell exact positions in uml code (I saw some related to #10  ) . Maybe we can get this in there as well
understand why the above plantuml code fails and fix either the incoming uml code or tokenizer

https://github.com/tasuku43/puml-parser-php/pull/14 Fixed a problem that caused an infinite loop when property type information immediately preceded the closing parentheses.

Thank you for the quick release after your fix @tasuku43 I will have a look :)


DASHBUILDE-98: Static data set definition does not open in data set editor (0.4.x)

Fix + test
@romartin Can you review & merge please?

+1

Closed: 67b24f2681292e41d7819effcc4dcacad2e91e00


use foreign_cc to build wee8

Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>Description:
To propagate CC context better down to gn/ninja.
Additionally, added use_glib=false so glib is no longer needed.
Risk Level:
Testing:
Docs Changes:
Release Notes:

Did you see #151? It should address all CC-related problems that you might have.
This is a nice PR, I actually didn't know you can override configure_make this way, so thanks for doing that! Having said that, I'd rather keep this hermetic and working as tested, for the time being, since:

This is going to be migrated to BUILD files soon, anyway (I have a working version, but I'm still trying to figure out a weird ASan error).
I have a few more PRs staged (pending #151) to hook sanitizers, update V8, etc. that I'm not sure will work with this approach,
I'm trying to get this shipped in 1.3 (i.e. over the next few days), so I'd prefer to avoid unnecessary changes right now,
I'm not sure if this solves anything that isn't already addressed by #151, since it seems that the make step is still executed as a single job and not distributed.

But I'm happy to discuss if you disagree.

Since this is separate from this discussion, could you send a separate PR with use_glib=false (and revert CircleCI image to envoyproxy/envoy-build:cd8574de783791b3353579b489222bfda74888da)?

Also, this breaks with GCC (see #151 for how it's fixed there with is_clang).

I tested with libc++ and this work as is. Didn’t test gcc but I guess a couple of select should make it work.
Sanitizer flags should be already passed down in this way so I guess ASAN is already working from the CI result, though I haven’t verified it.

@lizan do you want to finish this before I start upstreaming V8, or should I upstream it as-is and migrate to BUILD files in a few weeks?

@PiotrSikora let's drop this and migrating to native BUILD that you have :)


Provide mixedFilesFirst option for explorer.sortOrder

#46127 exists, but I can’t for the life of me find the issue that it is supposed to be a duplicate of. It would be helpful to give people an actual issue number for duplicates.

https://github.com/Microsoft/vscode/issues/27286


[TS migration] Migrate Onyx.js to Typescript (react-native-onyx)

Typescript migration (react-native-onyx)
Make sure you read through our TypeScript's style guide, cheatsheet and PropTypes conversion table before you start working on this migration issue.
Files
lib/Onyx.js
lib/index.js

Will be handled by agencies

I am happy to work on this issue

This issue is internal @AnshuAgarwal24

We still have to migrate other files before starting this one

Hey! I’m Błażej Kustra from Software Mansion, an expert agency, and I'm brave enough to work on this issue!

Update: I discussed with Rory that it would be best to split this PR into multiple - I'm working on this

Update: A lot of PRs were merged, I'm preparing the last one to migrate remaining (private) methods from Onyx.js file


Feature Request: Allow modules to be included based on golang build tags

For example, a journaldlogreceiver is being added to the contrib collector. This component will only have a meaningful implementation for Linux builds.
Without this feature, such components must rely on dummy implementations. In the case of journaldreceiver, such an implementation will simply return an error stating that the receiver is not available on non-Linux distributions.

This would mean that you'll end up with the same distribution having different components based on the arch? Isn't that confusing to users reading the documentation for, say, "otelcol-contrib" and seeing references to journaldreceiver, but a cryptic runtime error when they use it on an unsupported platform? From an UX perspective, I would prefer if this receiver was included but would log a big warning if it's configured on a windows host.

This would mean that you'll end up with the same distribution having different components based on the arch?

Yes, and I think that this is the effective result whether it is handled at the builder level or not. You make a great point about UX though. A dummy component would give the ability to provide a clearer error message.
The notion of components that are limited to specific platforms is similar to current limitations based on signal type. If a user incorrectly assumes that X processor is useful for metrics, they'll eventually learn otherwise, whether by documentation or error message.
Thanks for considering. I didn't want to make any assumptions about the preferred approach. Your point about controlling the error message gives us a clearer direction.


class not change on watch

Environment
Working directory: /home/projects/nuxt-starter-thxhbg                                                             10:28:32
Nuxt project info:                                                                                10:28:32

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.8.0
CLI Version:      3.9.1
Nitro Version:    2.7.0
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

👉 Report an issue: https://github.com/nuxt/nuxt/issues/new                                                       10:28:32
👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new
👉 Read documentation: https://nuxt.com
Reproduction
https://stackblitz.com/edit/nuxt-starter-thxhbg
Describe the bug
Open https://nuxtstarterthxhbg-qrf2--3000--f76cc998.local-credentialless.webcontainer.io/#description (with hash # description)
variable isHash is true, but the class of
<a href="#description" :class="[isHash ? 'is-hash' : 'no-hash']"       >Put #description hash</a     >
appears 'no-hash'

Additional context
No response
Logs
No response

This is a hydration error because hash is not defined on the server. If class/style attributes do not match between client and server, Vue does not then update them.


Revert "Warn users for Python 2"

Reverts chainer/chainer#7766

pfnCI, test this please.

Jenkins CI test (for commit 6bac92f04bed985c6f8d7fdcbffb7dd551e55956, target branch master) failed with status FAILURE.

LGTM


KeyError when running a transpiled dynamic circuit

Environment

Qiskit version: 1.2.4
Qiskit runtime version: 0.30.0
Python version: 3.11.3
Operating system: macOS

What is happening?
When I send a transpiled dynamic circuit through the runtime sampler primitive it gives me a KeyError in the isa validation step. Looking at the function it looks like the number of qubits for the instruction IfElseOp does not match the number of qubits in the block inside the IfElseOp. It looks like it's the reason why the code here fails. Taking back the code in the function that looks into it :
from qiskit.circuit import QuantumCircuit, ControlFlowOp
for instruction in trans.data:
    operation = instruction.operation
    if isinstance(operation, ControlFlowOp):
        blocks = operation.blocks
        break
print('qubits in the instruction IfElse: ', instruction.qubits)
print('qubits in the sub circuit of the instruction IFElse: ', blocks[0].qubits)

it prints 2 different qubits (the transpiled and not transpiled ones) when they should be the same
qubits in the instruction IfElse:  (Qubit(QuantumRegister(127, 'q'), 18),)
qubits in the sub circuit of the instruction IFElse:  [Qubit(QuantumRegister(1, 'my_qubit'), 0)]

How can we reproduce the issue?
from qiskit_ibm_runtime import QiskitRuntimeService, Sampler
from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager
from qiskit.circuit import QuantumCircuit, QuantumRegister, ClassicalRegister

service = QiskitRuntimeService(channel='ibm_quantum')
backend = service.backend('ibm_cusco')

pm = generate_preset_pass_manager(backend=backend, optimization_level=2)

qubits = QuantumRegister(1, name='my_qubit')
clbits = ClassicalRegister(1, name='bit')
circuit = QuantumCircuit(qubits, clbits)

circuit.h(qubits[0])
circuit.measure(qubits[0], clbits[0])
with circuit.if_test((clbits[0], 0b01)):
    circuit.x(qubits[0])
circuit.measure(qubits[0], clbits[0])

trans = pm.run(circuit)
trans.draw('mpl', idle_wires=False)

sampler = Sampler(mode=backend)
job = sampler.run([trans])

returns this error :
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Cell In[1], line 24
     21 trans.draw('mpl', idle_wires=False)
     23 sampler = Sampler(mode=backend)
---> 24 job = sampler.run([trans])

File [~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/sampler.py:123](http://localhost:8889/~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/sampler.py#line=122), in SamplerV2.run(self, pubs, shots)
    119 coerced_pubs = [SamplerPub.coerce(pub, shots) for pub in pubs]
    121 validate_classical_registers(coerced_pubs)
--> 123 return self._run(coerced_pubs)

File [~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/base_primitive.py:176](http://localhost:8889/~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/base_primitive.py#line=175), in BasePrimitiveV2._run(self, pubs)
    174 for pub in pubs:
    175     if getattr(self._backend, "target", None) and not is_simulator(self._backend):
--> 176         validate_isa_circuits([pub.circuit], self._backend.target)
    178     if isinstance(self._backend, IBMBackend):
    179         self._backend.check_faulty(pub.circuit)

File [~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/validations.py:88](http://localhost:8889/~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/validations.py#line=87), in validate_isa_circuits(circuits, target)
     81 """Validate if all circuits are ISA circuits
     82
     83 Args:
     84     circuits: A list of QuantumCircuits.
     85     target: The backend target
     86 """
     87 for circuit in circuits:
---> 88     message = is_isa_circuit(circuit, target)
     89     if message:
     90         raise IBMInputValueError(
     91             message
     92             + " Circuits that do not match the target hardware definition are no longer "
   (...)
     97             "this coupled with operator transformations."
     98         )

File [~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py:97](http://localhost:8889/~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py#line=96), in is_isa_circuit(circuit, target)
     91     return (
     92         f"The circuit has {circuit.num_qubits} qubits "
     93         f"but the target system requires {target.num_qubits} qubits."
     94     )
     96 qubit_map = {qubit: index for index, qubit in enumerate(circuit.qubits)}
---> 97 return _is_isa_circuit_helper(circuit, target, qubit_map)

File [~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py:72](http://localhost:8889/~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py#line=71), in _is_isa_circuit_helper(circuit, target, qubit_map)
     70 if isinstance(operation, ControlFlowOp):
     71     for sub_circ in operation.blocks:
---> 72         sub_string = _is_isa_circuit_helper(sub_circ, target, qubit_map)
     73         if sub_string:
     74             return sub_string

File [~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py:60](http://localhost:8889/~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py#line=59), in _is_isa_circuit_helper(circuit, target, qubit_map)
     57 operation = instruction.operation
     59 name = operation.name
---> 60 qargs = tuple(qubit_map[bit] for bit in instruction.qubits)
     61 if (
     62     not target.instruction_supported(name, qargs)
     63     and name != "barrier"
     64     and not circuit.has_calibration_for(instruction)
     65 ):
     66     return (
     67         f"The instruction {name} on qubits {qargs} is not supported by the target system."
     68     )

File [~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py:60](http://localhost:8889/~/VirtualEnv/qiskit12/lib/python3.11/site-packages/qiskit_ibm_runtime/utils/utils.py#line=59), in <genexpr>(.0)
     57 operation = instruction.operation
     59 name = operation.name
---> 60 qargs = tuple(qubit_map[bit] for bit in instruction.qubits)
     61 if (
     62     not target.instruction_supported(name, qargs)
     63     and name != "barrier"
     64     and not circuit.has_calibration_for(instruction)
     65 ):
     66     return (
     67         f"The instruction {name} on qubits {qargs} is not supported by the target system."
     68     )

KeyError: Qubit(QuantumRegister(1, 'my_qubit'), 0)

What should happen?
The qubits of the block and the instruction should match.
Any suggestions?
No response

The qubit instances in the block and in the qargs are not required to match - the point of qargs is to provide a mapping for what objects the inner qubits actually refer to.
This appears to be a bug in the Runtime ISA circuits check, not Qiskit.

Fwiw, I think @yaelbh might already have fixed this bug, or have a PR somewhere around that does.

I can confirm that I was able to reproduce the issue using Qiskit 1.2.4 and qiskit-ibm-runtime 0.30 and that with qiskit-ibm-runtime 0.31 the run completes without any error.
So I'm going to close this one as this is resolved in a newer version of qiskit-ibm-runtime.


[WIP] Clear any inherited benchmarks in the forked child

https://bugzilla.redhat.com/show_bug.cgi?id=1424716
Our benchmark extension stores the hash of results in a class variable
indexed by the thread id [1].  Because we fork, this hash is inherited and
threads are copied so we'll inherit any benchmarks the parent process is
currently processing.
[1]
https://github.com/ManageIQ/manageiq-gems-pending/blob/34299c6baa225d0492f42e4caf61d189dc468c48/lib/gems/pending/util/extensions/miq-benchmark.rb#L53

Closing in favor to https://github.com/ManageIQ/manageiq-gems-pending/pull/139


[Suggestion] Add a Play VFX Button

Currently it is not possible to play the entire VFX for an action/spell. The only way to play the entire VFX animation is to replace the TMB with another.
As someone who RP's in XIV and relies on the VFX editor for spell animations for "added effect", it would be a great addition to add a play button to play the entire VFX without needing to replace TMB's.
If this function already exits then please let me know where it is as I can't seem to find it.
Cheers.

You can already spawn a VFX to preview it using the "spawn" button. Do you mean playing a .tmb file?

Apologies for the late reply. And yes, sorry I did mean playing the .TMB file. Sorry for the confusion.

added in the last update


Colored ProgressBar

This is a feature request proposing an addition to the ProgressBar view.
Problem description
Currently, ProgressBar uses the theme's highlight color as the bar's color, and that is not customizable. It may be desiderable to have progress bars with customized bar colors.
Proposal
Extend the ProgressBar API in a backward-compatible way to optionally specify a custom color.
As a tentative implementation, a custom_color: Option<Color> field could be added to ProgressBar, initialized as None by default. New methods could be added to modify the new field. Then, when printing, ProgressBar would use its custom color if specified, or the theme's highlight otherwise.

The issue looks simple enough that I may try implementing it myself, if the proposal is approved.

Hi, and thanks for the idea!
Adding such a custom color could be an option (though you may want to take a ColorType to let people use palette colors if they need).
Another option is something we've been working toward recently, which is locally overriding the theme. The idea is to derive a new theme just for this ProgressBar, by taking the parent theme and replacing the Highlight color from the palette with a new custom color. This effectively achieves the same result, but is a bit more general as it lets users override any color for any view.
The main issue with this solution is that users need to know what color to override: they would need to read the documentation, see the mention of Highlight, and override this color. This is all a bit less obvious than an inherent method.
Note that these two methods are not incompatible - we may add a custom_color to ProgressBar, and still let users apply local themes overrides. This may be a way to see how convenient it is in real conditions.
TLDR: let's do it!


NBE WIP

有生之年系列

What is the plan on this?

What is the plan on this?

It's probably abandoned. We will need to switch to using a proper JIT compiler and use the current core language directly for closures.

New HOAS! https://github.com/aya-prover/locally-nameless-aya-draft/pull/78


PubSub subscription.pull() fails silently in multiprocessing

Python multiprocessing is broken by grpcio==0.1.6.
Downgrading to grpcio==0.1.4 is a workaround.
The 'spawn' context option should be a workaround but is not because RLock objects are present and cannot be pickled for transmission to child processes.

OS type and version
MacOs and linux (Google App Engine Flex)

Python version and virtual environment information python --version
python 3.6.2

pip freeze
cachetools==2.0.1
certifi==2<IP_ADDRESS>
chardet==3.0.4
dill==<IP_ADDRESS>
future==0.16.0
gapic-google-cloud-pubsub-v1==0.15.4
google-auth==1.1.0
google-cloud-core==0.26.0
google-cloud-pubsub==0.27.0
google-gax==0.15.14
googleapis-common-protos==1.5.2
grpc-google-iam-v1==0.11.3
grpcio==1.6.0
httplib2==0.10.3
idna==2.6
monotonic==1.3
oauth2client==3.0.0
ply==3.8
proto-google-cloud-pubsub-v1==0.15.4
protobuf==3.4.0
pyasn1==0.3.5
pyasn1-modules==0.1.4
requests==2.18.4
rsa==3.4.2
six==1.11.0
tenacity==4.4.0
urllib3==1.22

Stacktrace if available
fails silently

Steps to reproduce
. virtualenv -p python3 env
. . env/bin/activate
. pip install google-cloud-pubsub==0.27.0
. create topic and subscription for example (see below)
. python <example>.py

Code example

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Works with grpcio==0.1.4
# Fails silently with grpcio==0.1.6 (the default 2017-09-18)

from multiprocessing import Process

from google.cloud import pubsub

class MyClass(object):
    def __init__(self):
        c = pubsub.Client()
        t = c.topic('my-topic')  # created previously
        self._sub = t.subscription('my-sub')  # created previously

    def print_messages(self):
        print('starting worker...')

        while True:
            try:
                envelopes = self._sub.pull()

                if envelopes:
                    ack_id, message = envelopes[0]

                    print(
                        'ack_id: {}\ndata: {}; attributes: {}'.format(
                            ack_id, message.data, message.attributes
                        )
                    )

                    self._sub.acknowledge([ack_id])
            except KeyboardInterrupt:
                break

        print('shutdown worker.')

if __name__ == '__main__':
    my_class = MyClass()
    p = Process(target=my_class.print_messages)
    p.start()

    try:
        p.join()
    except KeyboardInterrupt:
        print('shutdown parent.')

Related issues are:

#3925 (priority:p2+)
#3890 (priority:p1)

The root problem appears to be that grpcio==0.1.6 starts threads during import.
Hence, when the main thread is forked by multiprocessing.Process.start(), these threads are left behind or otherwise messed up.
Therefore an alternate workaround could be to do a lazy import in the worker.
-> This works, as illustrated by the reworked example:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Works with grpcio==0.1.6 because import is lazy

from multiprocessing import Process

class MyClass(object):
    def __init__(self):
        pass

    def _lazy_init(self):
        from google.cloud import pubsub

        c = pubsub.Client()
        t = c.topic('my-topic')  # created previously
        self._sub = t.subscription('my-sub')  # created previously

    def print_messages(self):
        print('starting worker...')
        self._lazy_init()

        while True:
            try:
                envelopes = self._sub.pull()

                if envelopes:
                    ack_id, message = envelopes[0]

                    print(
                        'ack_id: {}\ndata: {}; attributes: {}'.format(
                            ack_id, message.data, message.attributes
                        )
                    )

                    self._sub.acknowledge([ack_id])
            except KeyboardInterrupt:
                break

        print('shutdown worker.')

if __name__ == '__main__':
    my_class = MyClass()
    p = Process(target=my_class.print_messages)
    p.start()

    try:
        p.join()
    except KeyboardInterrupt:
        print('shutdown parent.')

This is definitely caused by grpc/grpc#12455. I am pinning the client libraries to < 1.6 to work around this issue for now.