Is Element still maintained?

Existing Component
Yes
Component Name
Element
Description
First off, thank you for creating this feature-rich framework. It has been a pleasure using it in our project. Before an upcoming A11y audit I wanted to submit a few pull requests when I noticed that my issues were already resolved in existing pull requests. Then I noticed that the last activity in the repo was in November :( and now I am wondering if the project has been abandoned?
I would appreciate a short statement regarding the future of Element - will it still be maintained going forward? Are there any particular areas where others can assist?

I'm also interested about it. Maybe this project isn't maintained anymore or maybe it's cause of a tough situation in China....

@iamkun @ziyoung
Could you provide some comments?

Should we switch on Quasar now ?

Should we switch on Quasar now ?

I am going to use Quasar if there is no news about Element in march

Hello, are there any news? Thanks

Just touching-base to keep the issue afloat..

A new version was released yesterday.

@iamkun Your comments to the issue still will be appreciated

yeaaaahhhhh Element still alive. For how long ?

This year I will switch all my projects on quasar 😢  , sorry dudes but your communication is too weak, not a good sign for the future.

YES! 🎉🎉🎉 Element Plus - A Vue.js 3.0 UI library 🎉🎉🎉
element-plus/element-plus#147


produce Tag instances in the parser

Fixes #111

(rebased and updated)

Hm, I don't know why the docs are failing..

That is very odd.
I printed out stdin inside the usage-docs command and it looks pretty reasonable - if I cull all the docs content so it's short, it just says something like:
[{"root":"/Users/dbr/code/taskchampion/docs","config":{"book":{"authors":["Dustin J. Mitchell"],"language":"en","multilingual":false,"src":"src","title":"TaskChampion"},"output":{"html":{"default-theme":"ayu"}},"preprocessor":{"usage-docs":{"command":"target/debug/usage-docs"}}},"renderer":"html","mdbook_version":"0.4.9"},{"sections":[]}]

..which is all in order
Ah, I think it's a bug in mdbook 0.4.8 (version in TC's Cargo.lock) - if I update to 0.4.9 it seems happy again
This change likely fixed it: https://github.com/rust-lang/mdBook/compare/7e01cf9...d325c60#diff-030bbc3b81baed9210053c583963f03bdcbcd802c2f065254400ffe6266306d6L233

I'll squash this if it's green.


cmd: dockerfile: resolve: replace all images with Chainguard's (Wolfi) - (if possible)

Description
Introduce a new subcommand something like resolve-chainguard or resolve --chainguard for dockerfile command. It should take Dockerfiles as input and rewrites all the container images with cgr.dev/chainguard/$PACKAGE corresponding.
If package is not exists, we can keep it as-i. Moroever, ask for a prompt like: "Package X not exist, do you want to file an package request proposal on Wolfi?`.
Motivation
Encourge the end users to use Wolfi/Chainguard images and spray the aweraness of those images around with the community.
Algorithm

Implement new subcommand
Aggregate all image indexes from sources
Traverse entire Dockerfile
3.1. Check if current image is exist on source
3.1.1. Check if image version/digest pinned
<IP_ADDRESS>. Check If specific tag exist on source
<IP_ADDRESS>. Continue if not exist
3.2. Replace the image
3.3. Otherwise, keep it as-is
Write new Dockerfile

Source of Truth
To get all available chainguard images, we need some source of truth:

Makefile of Wolfi
chainguard-images repo
Any other way?

Related Work
The idea is similar to PR: dockerfile/resolve, the command actually rewrites all the images to pin their digest. /cc @developer-guy
Open Questions

Does it make sense in overall?
What if image pinned with its version/digest and that specific version of package is not exist on source? Should we respect only latest tags for this concern?
Is cosign right place to implement this? (Since its already widely adopted by open-source projecs) Would wolfictl be more suitable?

Waiting your thoughts!

I don't think Cosign should be opinionated on base image preferences. If you wanted to implement a replace-all-references function, it should be implemented such that you take a path to the image you want, rather than hardcode a preference.

+1 on @haydentherapper comments


[SPARK-35200][CORE] Avoid to recompute the pending speculative tasks in the ExecutorAllocationManager and remove some unnecessary code.

What changes were proposed in this pull request?
Avoid to recompute the pending speculative tasks in the ExecutorAllocationManager, and remove some unnecessary code.
Why are the changes needed?
The number of the pending speculative tasks is recomputed in the ExecutorAllocationManager to calculate the maximum number of executors required.  While , it only needs to be computed once to improve performance.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests.

Can one of the admins verify this patch?

@cloud-fan @Ngone51  Kindly review, thanks.

cc @tgravescs

Thank you, @weixiuli and all.
Merged to master for Apache Spark 3.2.0.


support Provenance query on target parameter

to enable getting a Provenance where one has a Resource, one should be able to query Provenance using the target query parameter. Today query is supported on Provenance but only on the _id parameter.

This is beyond current PDF. Do we want to add this?

Search on Provenance does not appear to be a us-core or IPA capability. Where as IHE does have a use-case, the mXDE grouping, where Provenance is needed.

although this is a change from the PDF, it is important enough, and for those servers that support Provenance it is an easy support.


Bug on Remove Liquidity and Wallet Address

Hi team i want to report 2 bugs i found on Klaytn DEX :

Remove Liquidity not working

As you can see i have DAI-WKLAY LP, but when i want to remove my liquidity, it's not working. Only blank. Please fix it team

Wallet Address 0x is not shown

As you can see there is no 0x on wallet address on red circle, please fix it team.
I will be glad if it's fixed before mainnet, thanks

The Liquidity issue has been fixed, but the 0x on the wallet address has not been

@kevinyusuf1607sw the 0x has been added on the wallet address

thanks for fixing it team


Use of a proxy

How do i use a proxy to hide the secrets from the frontend?
Is this included in the package?

The client should have a backend component which shouldn't reveal anything to the user. You won't need to hide anything, in that case.

And the component on the backend is a proxy?

@ismaelaarab  and @hkmix I am trying to understand this as well.  Can you please elaborate on how to do this with the package?

@cmosguy What exactly are you trying to hide?

@hkmix i am trying to understand how to implement the backend as a proxy with this package.  I have read the article here: http://alexbilbie.com/2014/11/oauth-and-javascript/ but what I have failed to understand is how to go about implementing this proxy in NGINX or in PHP.
Am I supposed to do the proxy at PHP level?  Also how do I send Cookie: is that header or is that built into the request?
GET /ajax/resource/123 HTTP/1.1
Cookie: <encrypted cookie with tokens>
Host: example.com

@cmosguy You implement it at the site level, using whatever language/framework you prefer. You can use PHP or anything else. Nginx is just the HTTP server. Interact with the cookie as per the language, so for PHP: http://php.net/manual/en/features.cookies.php
The idea is to run a backend server with your client secret that processes requests in between the frontend and the OAuth server. The backend will hold the client secret and encrypt and decrypt the cookie. You can also use a database to store the token info and use sessions instead of cookies.

@cmosguy Here is a tutorial that can help you. They use guzzle package to create the proxy. http://esbenp.github.io/2015/05/26/lumen-web-api-oauth-2-authentication/
Here is another package for handling the proxy but it's only for laravel 4. https://github.com/thinkingmik/api-proxy-laravel

@ismaelaarab and @hkmix thanks so much for your help.  I am going to go over these links.  I think I now have a better understanding of how to attack this proxy problem.
Cheers!

@cmosguy were you able to get it up and running?

@pavankataria sort of... I went in a different direction because the project got nixed.  will circle back at another time.


NATSNoServersException if connecting from .NET Core 2.0

Hi,
I'm facing the issue, that connecting from a .NET Core 2.0 console application, no connection can be established. I got always a "NATSNoServersException" with the reason "Unable to connect to server". If I connect from a .NET 4.6.2 console application with the absolutely same source code all is going well.
Is there any known issue about this? By the way I'm using the NuGet Package 0.8.0 which is might be a bit outdated compared to the version on GitHub. Do you recommend to compile and use the GitHub code over the published Nuget package?
Best regards,
Danny

Hi Danny,
Thank you for using NATS, and for raising this issues.  There is no known issues in this area...  can you provide verbose server output from a time when this happens?  To do this, run the NATS server with the -DV flag, e.g. gnatsd -DV
Master branch will be more up to date, but v0.8.0 should be stable.
Thanks,
Colin

I'm going to go ahead and close this - if you a still encountering this problem, please feel free to re-open this issue.  Thanks!


Dockerfile and config changes.

Fix dockerfile ports, and force copy node_modules.
Update config host.

Related to: https://github.com/RackHD/RackHD/pull/109

:+1:

:+1:


ctypes, cffi provides just the same, but much more?

I'm just wondering whether there is anything here which is not in ctypes or cffi.
The documentation does not mention this at all. Maybe this can be added.

off the top of my head, the segfault handler cannot be recreated using cffi or ctypes, but this doesn't really make sense to say in the first place. sure, you could replicate many of this library's features using those, but one of the reasons this exists is so that you don't have to.
from developing this lib, i can tell you first hand that ctypes can be a pain in the ass to work with (especially when it comes to type safety).
you could apply this question to really anything. "why should i use a framework like fastapi or django when i can just get more out of it by handwriting a server in c?"
but even then, you could probably say back "ctypes isn't that hard to use, youre just bad" or something like that, which in that case youre forgetting that this library targets python developers who are looking to toy around with the language without having to get into the messy stuff.
i agree, if you do need a hardcore ffi, then this library isn't the right choice, but that's not why this exists. i merely wrote the bindings because nobody else (that i had seen at least) had made a type safe ffi yet. that, and it was a fun project to do.

You can see my question also as a request to clarify the documentation regarding that aspect. Your answer here still does not really clarify it for me. I still don't really understand it.

you could apply this question to really anything.

If the question makes sense, i.e. some projects are related, and their difference is not totally obvious (like your lib vs ctypes), then I think it's always good to explain in the readme or documentation.
So you say your lib is easier than ctypes? In what way? Looking at your examples, what I remember from ctypes looks just as simple.
You say things can be replicated using ctypes or cffi? This confuses me. From the name and readme of your lib, it sounds like this is mostly about having pointers in Python. But this does not need to be replicated, it's directly there in ctypes. The code even looks similar, whether I use your lib or ctypes.
I also don't see how your lib is type safe while ctypes or cffi is not. It's just type safe in the same way, or not? At least I don't exactly understand what you mean by that.
Maybe I totally misunderstand something here, but then it would be good to better explain it in the readme.

as i said, this library isnt supposed to rival ctypes or be a prod ready ffi at all. it's a toy library designed to make messing with the languages internals easier. if you want to use all of ctypes' weird things, i really don't care, that's not why i built this.
by saying "it's easier", i mean less lines of code, and how "clean" it is. i didn't think i really needed to specify "how", since it's pretty obvious (assuming youre talking about the bindings).
im not sure how you don't see the type safety problems. let's say you put a c_int into a ctypes.pointer. when you access ptr.contents, you have no idea what that actually is, other than just some arbitrary c type. im not saying this behavior should be changed (and it shouldn't, since something else can touch the memory of that ctypes.pointer, which would break type safety), but it's more just frustrating to work with for most cases.
note that ctypes also has many, many, many problems relating to how "pythonic" it is, that im not even going to get into here (and also another reason why this was built).
you seem to have some motive to attack this library for whatever reason. please remember that this library is a toy, not a production ready ffi. i created it as a joke in the first place, just to see if i actually could do it, and then progressed to adding more useful features over the months, but that "joke library" factor is still at the heart of this library.

now one more thing, please do not take anything here personally. ive seen your projects, and you are an exceptionally talented developer. it may seem as im overreacting or something along those lines, but this is actually a really good question that ive been asked wherever several times, but the answer is just too long to give them.
i think it's just hard for people to understand the actual nature of this library at times.

Yes I get that the lib started as a toy experiment, but I was just curious anyway. Of course I don't take anything personally or as an attack or anything like that. Maybe I just didn't look too closely at the lib. I'm also currently somewhat distracted with a newborn child... :)
Regarding type safety in ctypes, you have POINTER(c_int) as a type, where contents will always be a c_int, if I remember correctly? Or not? Or maybe it wrapped that as int? But then c_int was a special case here. I remember I needed to do some wrapper for this long time ago (search for c_int here).

maybe they changed it. i just remember having to put # type: ignore on a bunch of ctypes code

Ah, that's what you mean by type safety. So just checking the types in mypy or whatever you use? But the actual types should be correct.
https://github.com/python/mypy/issues/7540 is maybe about that? When you google mypy + ctypes, a couple of things show up.

how would this work with function pointers?


add bitcode for ios 9

?

One of the parse files needed to be redownloaded since they updated them to
meet apples requirements for having bit code.
On Mon, Oct 26, 2015 at 7:04 AM Andrew Clissold<EMAIL_ADDRESS>wrote:

Closed #52 https://github.com/aclissold/the-oakland-post/issues/52.
—
Reply to this email directly or view it on GitHub
https://github.com/aclissold/the-oakland-post/issues/52#event-445028319.

Oh! Well I just updated parse to the latest version so that should help, thanks for the info!


About source code

Hi, a great job！
May I ask when to release the source code？
Not in November 2022？

Hi, The code is now released. Sorry for the delay.


Update processing to match current server behaviour

Some of the endpoints seem to be returning data that does not match the current API documentation:

artist info (e.g. user and sitewide artist stats) has a single artist_mbid instead
artist map has additional information: for each country, an artists field containing a list of artist info
the result of the listens endpoint includes a new timestamp field (oldest_listen_ts)
the mbid_mapping field of a recent listen now has several additional fields (artists, caa_id, caa_release_mbid and recording_name)

the artists field is a list of artist credits (artist_mbid + artist_credit_name + join_phrase)
artists, caa_id and caa_release_mbid also appear in the data for the recording and release statistics

See also LB-1405.

In addition, MessyBrainz IDs may now be obsolete - they will be useless to API users (MessyBrainz is now an internal component of ListenBrainz instead of its own user-facing project). Only delete-listens still mentions them, but we don't have that endpoint yet anyway.


Fixed timeout issue

The timeout property is not being used in GetConnect.
Fixed to utilize the timeout value:

Mobile - The value is applied to both connection and request timeout.
Web - The value is applied to request timeout.

Very nice!
LGTM

Hello,
I want to ask how to get the error if the http request is timeout.
I use this code but i cannot get the result if the request is timeout :
try{
post(url+'/student/addStudent', postData).then((value){
print('val : '+value.statusCode.toString());
});
} catch (err){
print("err : "+err.toString());
}
I need to show a snackbar when the http request is timeout.
Thank you and kind regards

Anyway this i think it still have a bug.
i write this code on base_provider.dart
import 'package:get/get_connect/connect.dart';

class BaseProvider extends GetConnect {
  @override
  void onInit() {
    httpClient.defaultContentType = "multipart/form-data";
    httpClient.timeout = Duration(seconds: 2);

    super.onInit();
  }
}

And then on UserProvider i write this :
import 'dart:async';

import 'package:get/get.dart';
import 'package:myget/providers/base_provider.dart';

class UserProvider extends BaseProvider {
  final url = 'http://<IP_ADDRESS>/student/api';
  final sessionid = '5f0e6bfbafe255.00218389';

  // add user
  Future<Response> postData(String name, String email, String phone) async {
    final postData = FormData({
      'session_id': sessionid,
      'student_name': name,
      'student_phone_number': phone,
      'student_gender': 'male',
      'student_address': email
    });

    var response = await post(url+'/student/addStudent', postData);

    print(response.body.toString());

    return response;
  }
}

There are 2 error :

On my PHP API file, i add code sleep(4); So the API will be called after 4 second, but in the application i set the timeout is 2 second and it still run and timeout is not affect.
Another error is when i don't set the timeout from the onInit(). And then on the PHP API file, i add code sleep(7); After that when i call function postData, there are no result. This error is not happen when i use get 4.1.4, but the error happen at get 4.3.8

Thank you and kind regards


Ledger: learn a basic typed transaction interface

This is still very incomplete, but it's enough that we can do some
serious examples with it, so I think it's worth committing.
I've converted a couple of examples to use it, particularly Crowdfunding and MultiSigStateMachine. I don't know whether we want to actually do this or whether I should make additional examples that use it instead.

Should be much improved.

Okay, let's merge this as a step.


Contribution-guide: added a basic contributing guide

This PR adds the following:

[x] Featured Pull-Requests Must-Components.
[x] Steps to contribute.

The contribution guideline is inspiring and really fits the large development scale and order it
It's absolutely approved


Move MessageHandler to NetworkConnection

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity decreasing per file
==============================
+ Assets/Mirror/Runtime/MessagePacker.cs  -2

See the complete overview on Codacy


The Chinese version has another translator

Sorry for my fault, I forgot to tell you that the Chinese version was translated by me and a colleague, I've put his name(yuyi) in the Conclusion page:
https://windsting.github.io/little-aspnetcore-book/book/chapters/conclusion/#特别致谢
Would you please add his name on your page? Thank you in advance.

Does this look good?

windsting, yuyi (Simplified Chinese)

👌 yes, that will be good, thank you.

Done: https://github.com/nbarbettini/little-aspnetcore-book/commit/83f2998961253cd08a3e72dbc8c546efa50ba271
Thank you both for your work!


Dictionary ModelBinding with an empty prefix has unvalidated keys

Trying to model bind the following:
"?[0].Key=key0&[0].Value=10"

public void DoThing(IDictionary<string, int> p)
{
}

Will result in ModelState.IsValid == false. The keys [0].Key and [0].Value are marked as unvalidated.
If you use a prefix in the query string, this issue doesn't occur. "?p.[0].Key=key0&p.[0].Value=10"

Very likely fixed as part of 22f1881cc641c390773783ba5a982e63a3b91464 - this no longer repros.
Enabled tests in 6e1226bfe46f75c894dfc162dc77435f0dbef208


Use built-in NATS service in the single process deployment

User Story
Make it possible to use the shipped NATS service in the single process.
Acceptance criteria

[ ] Default config uses the shippped nats for registry / cache / stores
[ ] The startup process is "graceful enough" to accept that the NATS service need some startup time.

Registry default is now nats-js-kv: https://github.com/owncloud/ocis/pull/8011

Default config uses the shippped nats for registry / cache / stores

Cache and store switch missing? @micbar @kobergj

caches and stores are also running on nats-js-kv now. Only nats authentication is open.

caches and stores are also running on nats-js-kv now

Should we close then? Seems like all acceptance criteria are fulfilled of this ticket


Feat: can add some more audio books for premium subscription

Describe the feature
can add audio books that only accessible if user have premium subscription
Add ScreenShots

add this section just below all-user-access audiobooks
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

hii @abhi03ruchi can u pls assign me this so i can raise pr

read the message given by github bot above .
github bot assigns everyone issue with these labels by default .
work on the issue and raise pr . depending on ur work , we will review , assign level and merge ur pr .


Found Some Spelling Mistakes on Maintenance page.

Here

It will not take a long time till we get the error fiked.
-->It will not take a long time till we get the error fixed.

We wii live again in
--> We will live again in,

Hi
we can fix this in our next update


[move-prover] Instantiate types in borrow edges

Fixes #9156.
The reason for the bug is shown here:
pub enum BorrowEdge {
  ...
  Field(QualifiedInstId<StructId>, usize),  // the type instantiation here is wrong
}

Commit: [move-prover] instantiate edge types for borrow analysis fixes the
bug and its effect can be shown in the associated fixup! commit.
But in order to show the effect of this with a new test case, we need to change
the way how a BorrowEdge is displayed. That is what the rest of the commits
are about.
Motivation
Bug fix
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
CI, with new test cases

/land


feat: attempt to build with use frameworks

Summary
Attempting to fix #371

Without this PR:

With:


aws_elasticache_replication_group  supports auto_minor_version_upgrade parameter

Describe the Feature
auto_minor_version_upgrade - (Optional) Specifies whether a minor engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Defaults to true.
https://registry.terraform.io/providers/hcavarsan/aws/latest/docs/resources/elasticache_replication_group#auto_minor_version_upgrade
Use Case
It's defaults to true which might be not desired under some circumstances.

While aws_elasticache_replication_group accepts an auto_minor_version_upgrade input, it actually is ignored and does nothing.


Cannot download multimedia if nested inside panopto folder

Hi, my friend is trying to download multimedia using the CLI and it not downloading multimedia if the multimedia folder has more folders.
Lumi shows that it has media files in the home page

But it is nested inside a folder

Shows up on lumi

--list-multimedia gets stuck and had to ctr-c
--download-to works

--download-multimedia-to doesnt work, even though it shows downloaded

No multimedia folder showed up

Also, when I try downloading any multimedia/weblectures i get a 262 bytes file

Also, when I try downloading any multimedia/weblectures i get a 262 bytes file
I'm unable to replicate this issue. Perhaps you can try a different version of ffmpeg? Mine was installed via chocolatey when I tested.

Reopening as original issue isn't fixed. @francisyzy it would be helpful if you can get your friend to sent a HAR of him accessing the multimedia for EG1311.

@JingYenLoh Sent you the HAR, this to show that it cannot list the multimedia in EG1311 but can list multimedia in other mods


[Android CI] Excluding createBundleReleaseJsAndAssets in gradle tasks no longer possible on 72.5

New Version
0.72.5
Old Version
0.71.8
Build Target(s)
Android in Release/Debug flavors
Output of react-native info
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 3.57 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 16.18.0
path: ~/.nvm/versions/node/v16.18.0/bin/node
Yarn:
version: 1.22.15
path: ~/.nvm/versions/node/v16.18.0/bin/yarn
npm:
version: 8.19.2
path: ~/.nvm/versions/node/v16.18.0/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /Users/jbastien/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.1
- iOS 16.1
- macOS 13.0
- tvOS 16.1
- watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9862592
Xcode:
version: 14.1/14B47b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.19
path: /usr/bin/javac
Ruby:
version: 3.2.2
path: /Users/jbastien/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: false
Issue and Reproduction Steps
react-native info is a bit wonky but our project uses Hermes on Android and everything else works as expected.
Issue:
Excluding gradle tasks app:createBundleDebugJsAndAssets app:createBundleReleaseJsAndAssets no longer works.
On the CI this important for us because when we run our native android tests we do not require the bundles for those.
STR:
On 0.71.8: ./gradlew test -p . --no-daemon -x :app:createBundle<ourVariant>ReleaseJsAndAssets -x :app:createBundle<ourVariant>DebugJsAndAssets --stacktrace --info working
On 0.72.5: ./gradlew test -p . --no-daemon -x :app:createBundle<ourVariant>ReleaseJsAndAssets -x :app:createBundle<ourVariant>DebugJsAndAssets --stacktrace --info not working.
> Task :app:merge<ourVariant>ReleaseResources FAILED
:app:merge<ourVariant>ReleaseResources (Thread[Execution worker Thread 2,5,main]) completed. Took 0.05 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:merge<ourVariant>ReleaseResources'.
> Querying the mapped value of flatmap(provider(task 'createBundle<ourVariant>ReleaseJsAndAssets', class com.facebook.react.tasks.BundleHermesCTask)) before task ':app:createBundle<ourVariant>ReleaseJsAndAssets' has completed is not supported

To resolve this issue or at least help I have added both variants to debuggableVariants. But this creates other issues that are blocking us. Removing the release variant from debuggableVariants makes our CI fail due to Java heap size:
 w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
16:53:07
16:53:07  FAILURE: Build failed with an exception.
16:53:07
16:53:07  * What went wrong:
16:53:07  A problem was found with the configuration of task ':app:createBundle<ourVariant>ReleaseJsAndAssets' (type 'BundleHermesCTask').

Thanks for helping

This is happening as now we're using the Artifacts API from AGP to populate the APK. So if you exclude the task, the APK will still attempt to query the task to ask for its output (hence the error).
Using debuggableVariant should be the preferred way to achieve what you're looking into doing. The Java Heap space should be easy to fix if you increase the JVM memory in your gradle.properties file:
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m

This is happening as now we're using the Artifacts API from AGP to populate the APK. So if you exclude the task, the APK will still attempt to query the task to ask for its output (hence the error).
Using debuggableVariant should be the preferred way to achieve what you're looking into doing. The Java Heap space should be easy to fix if you increase the JVM memory in your gradle.properties file:
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m

Thanks we ended up doing exactly this in the end, we had no choice but to remove the release flavor from the debuggableVariant as we had problem with some assets not being assembled releasing in prod and absolutely needing to build the JS bundle for our tests was not ideal.
We ended up isolating our tests under the variant debug and no longer run test but testDebug, which is no longer triggering the release gradle steps.


Uri bug in 0.22, 0.23 series

This test passes in 0.21.28 version of http4s-core:
  test("0.21.28") {
    uri"example.com".addPath("/path") should be(Uri.unsafeFromString("example.com/path"))
    uri"".addPath("/path") should be(Uri.unsafeFromString("/path"))
  }

How should this test pass in any 0.22.X or 0.23.X version? I tried to make it pass, but I could not:
  test("0.22.0-M1") {
    uri"example.com".addPath("/path") should be(Uri.unsafeFromString("example.com//path"))
    uri"".addPath("/path") should be(Uri.unsafeFromString("//path"))
  }

I know that in 0.22.X series, there was a refactoring related to Uris, but it looks like some things do not work the same anymore. There are more issues related to this one here and here.
Just like @ScalaWilliam said, it looks like uri"".addPath("/path") and Uri.unsafeFromString("//path") have the same toString(), but a different internal representation.
Is also the change from uri"example.com".addPath("/path") should be(Uri.unsafeFromString("example.com/path")) to uri"example.com".addPath("/path") should be(Uri.unsafeFromString("example.com//path")) a bug or a feature?
I have reproduced the bug in the project here. Try to run the tests with different http4s-core version to see that the first one only passes in 0.21.X series and the second one never passes.

This seems to be the case in the 1.0.x series as well. The following property test always fails on path with redundant leading slash:
import munit.ScalaCheckSuite
import org.http4s.Uri
import org.http4s.laws.discipline.arbitrary.*
import org.scalacheck.Prop.forAll
import org.scalacheck.{Arbitrary, Gen}

class UriTest extends ScalaCheckSuite:

  val uris: Gen[Uri] = Arbitrary.arbitrary[Uri]

  property("Uri should be isomorphic") {
    forAll(uris) { uri =>
      assertEquals(Uri.unsafeFromString(uri.toString), uri)
    }
  }

@mbablok there are known issues with Arbitrary[Uri]. Recently have discussed it in #5586. I dare say the equality failure of the Uri roundtrip doesn't signal problems with the parsing of Uri itself. At least, because of encoding special chars in the fragment part of a Uri.

Oh, I haven't seen this issue, sorry, and it seems very spot on. Does that mean that main branch (the http4s:series/0.22 is not yet merged with main) implementation of Arbitrary[Uri] can create invalid (in terms of RFC 3986) uris, and then roundtripping makes them valid, and hence the test fails?
I see now that the original problem is not really related to my issue. munit shows it nicely
1281:    assertEquals(uri"".addPath("/path"), Uri.unsafeFromString("//path"))
1282:
values are not the same
=> Obtained
Uri(
  None,
  None,
  /path,
  ,
  None
)
=> Diff (- obtained, + expected)
   None,
-  None,
-  /path,
+  Some(
+    Authority(
+      None,
+      RegName(
+        path
+      ),
+      None
+    )
+  ),
   ,
+  ,

And I think this is the correct behaviour, though I am very far from being an URI expert ;)

I've also found the Uri allows for two scheme
repro: scala-cli run  https://gist.github.com/daddykotex/85463a8020f2c239273106783f1897a3


Organize project tree

For now spaceship is almost 1K lines of code. I'm feeling uncomfortable scrolling from one part to another every time I need to make a change.
We have to think about project structure and find a way to split one big file into smaller ones, for example. In any case, we need to reorganize project structure because there is a lot of requested features and adding them would make source code even larger.

#148 introduces a lot of changes in project structure. This issue may be closed since the problem is resolved.


improve lock deps detection

Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
Better yarn.lock changes detection
I've opened this issue in the past, since it broke our production
https://github.com/vercel/turbo/issues/2606
In the world of micro_packages almost every pull request includes lock change which triggers release of all the packages.
Describe the solution you'd like
The behavior that would be the most correct will be to detect changes is:

if a resolution of dependency changed
and this dependency affects this package
then detect change

Describe alternatives you've considered
I can try to think of more complex of change detection logic using "turbo-prune" and comparing. But sounds like a lot of overhead to do it from outside.

Hi @yarinsa, I'm closing this in favor of #2162. If you feel that issue doesn't address your ask please feel free to reopen.


Allow spaces to exist in more than one network

Is your feature request related to a problem? Please describe.
I want the holders of my token ($MIGUEL, a token that exists both in the Ethereum Mainnet and the Polygon Mainnet thanks to bridging) to be able to vote on proposals without first migrating their tokens to one of the two chains.
Describe the solution you'd like
Either allowing to select multiple network for your space or adding an optional network key to the erc20-balanceof strategy to handle lookups in a different chain.
Describe alternatives you've considered
The only workaround right now is to require owners to move all their tokens to the selected chain previous to the snapshot, which is not optimal due to current gas prices.

Hi @m1guelpf  I think you are looking for multichain strategy https://snapshot.org/#/playground/multichain - with this you can get erc20-balanceof for both mainnet and polygon


Property with name class generates invalid Java code

When having properties with a name similar to one of the Java keywords it will generate Java code that is invalid.
Example:
{
  "openapi": "3.0.1",
  "components": {
    "schemas": {
      "Fare": {
        "type": "object",
        "properties": {
          "class": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FareClass"
              }
            ],
            "description": "Class for which this fare is valid.",
            "xml": {
              "name": "Class"
            },
            "example": "First"
          }
        }
      }
    }
  }
}

This wil generate:
@Generated(value = "openapi-processor-micronaut", version = "2023.2", date = "2023-06-13T08:59:00.859252900+02:00")
public class Fare {

    @JsonProperty("class")
    private FareClass class; // This does not compile

    public FareClass getClass() {
        return class; // This does not compile
    }

    public void setClass(FareClass class) {
        this.class = class; // This does not compile
    }

}

Is there a way to fix this?

Unfortunately I cannot change the OpenAPI yaml, because it is from an external service. So changing the properties is not possible.
Please note that this happens for all the Java keywords.

right, it should avoid all keywords.
What I didn't suggest, was excluding the endpoint (https://openapiprocessor.io/spring/2023.2/mapping/endpoint.html#_excluding_endpoints) this would be an option to implement it manually.
Problem with this is, that it still generates the broken interface/classes. One would need to avoid compilation of them...

fixed in 2023.2.1, https://github.com/openapi-processor/openapi-processor-base/releases/tag/v2023.2.1
just published it, it will take about an hour before it is available on maven central.

Thanks for the fix! The code does not yet compile. It still generates the method as getClass which is not allowed:
public FareClass getClass() {  // 'getClass()' cannot override 'getClass()' in 'java.lang.Object'; overridden method is final
    return aClass;
}

Do you want me to open a new issue?

there is only one get and no set in Object, so it is just getClass.

next try :-)
fixed in 2023.2.2, https://github.com/openapi-processor/openapi-processor-base/releases/tag/v2023.2.2


Update MD file on new branch 2017-11-15_13-22-56

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


config-vm: Recycle the hook-process schema

We already have two ways to specify a process to launch (for the container process and for hooks).  This commit recycles the hook-process schema for launcing the hypervisor.  I prefer using the more-fundamental container process schema, but @crosbymichael felt it had too many properties that wouldn't apply to the hypervisor-launching case.

With opencontainers/runtime-spec#949 merged, I'm closing this PR and opening one against master with the same content: opencontainers/runtime-spec#962.


Being in water will crash the game.

Title.
crash-2023-07-02_10.46.32-client.txt
2023-07-02-2.log
Remove if dead.

This is from moreculling cloud culling, disable it and it wont crash.


Invalid path error thrown while using .NET6

Hey 👋 ,
ARM tools is throwing an error while using .NET 6.0. I have only latest .NET 6. installed with no older .NET (core) running along with it and I cannot install older version of .NET < 5. So requesting your instructions / help for an error free usage of this feature.

Does this occur consistently? Yes
Repro steps:

Configure dotnetPath as /usr/local/share/dotnet/sdk/6.0.101/dotnet
Quit VSCode and all its process.
Start VSCode and you will get this error popup

Action: startArmLanguageServer
Error type: Error
Error Message: Invalid path given for azureResourceManagerTools.languageServer.dotnetExePath setting. Must point to dotnet executable. Could not find file /usr/local/share/dotnet/sdk/6.0.101/dotnet
Version: 0.15.5
OS: darwin
OS Release: 21.3.0
Product: Visual Studio Code
Product Version: 1.64.2
Language: en
Directory Details
me@mycomputer sdk % pwd
/usr/local/share/dotnet/sdk
me@mycomputer sdk % tree -L 1
.
├── 6.0.100
└── 6.0.101

2 directories, 0 files
me@mycomputer sdk %

Call Stack
extension.bundle.js:16:210887
fulfilled extension.bundle.js:16:207809

@prnam Thanks for taking the time to report this.  We have a fix, but can't release it until next week due to our test team's schedule.  You can try it out here: https://github.com/microsoft/vscode-azurearmtools/releases/tag/v0.15.6.  Use F1 -> Install from VSIX...
Stephen


[ITensors] [BUG] AutoMPO conflicts with the Gnuplot.jl dependency StructC14N.jl

Description of bug
Describe the bug clearly and concisely.
When using the OpSum AutoMPO backend, an error is received: ERROR: LoadError: MethodError: convert(::Type{NamedTuple}, ::NamedTuple{(), Tuple{}}) is ambiguous.
How to reproduce
Detail steps to reproduce the behavior.
Reproduce by doing using Gnuplot then using OpSum and converting it to an MPO.
Code demonstrating bug
If applicable, provide a minimal working example of the bug.
using ITensors
using Gnuplot
let
  N = 10
  sites = siteinds("S=1",N)

  ampo = OpSum()
  for j=1:N-1
    ampo += "Sz",j,"Sz",j+1
  end
  H = MPO(ampo,sites)
end

Version information

output from versioninfo() surrounded by backticks (``)
Julia Version 1.7.1 Commit ac5cc99908 (2021-12-22 19:35 UTC) Platform Info: OS: macOS (x86_64-apple-darwin19.5.0) CPU: Apple M1 Max WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-12.0.1 (ORCJIT, westmere) Environment: JULIA_DIR = /Applications/Julia-1.7.app/Contents/Resources/julia

output from ] status ITensors surrounded by backticks (``)

     Status `~/.julia/environments/v1.7/Project.toml`
 [9136182c] ITensors v0.2.12

The error message traces back to the package StructC14N.jl  https://github.com/gcalderone/StructC14N.jl
which is a dependency of Gnuplot.jl.
Not sure whether StructC14N.jl needs to define the convert function better or not export it, or whether a similar action is needed within ITensor.

This is independent of ITensors.jl, for example:
julia> convert(NamedTuple, (;))
NamedTuple()

julia> using StructC14N

julia> convert(NamedTuple, (;))
ERROR: MethodError: convert(::Type{NamedTuple}, ::NamedTuple{(), Tuple{}}) is ambiguous. Candidates:
  convert(::Type{T}, x::T) where T in Base at essentials.jl:218
  convert(::Type{NamedTuple}, str) in StructC14N at /home/mfishman/.julia/packages/StructC14N/7Prm0/src/StructC14N.jl:16
Possible fix, define
  convert(::Type{NamedTuple}, ::NamedTuple)
Stacktrace:
 [1] top-level scope
   @ REPL[5]:1

I raised an issue over at StructC14N.jl: https://github.com/gcalderone/StructC14N.jl/issues/2

Great. Thanks for taking the time to look into this. I'll close it since it's therefore certainly a bug with StructC14N, and no action to be taken with ITensor.


Hello World: fix problem in haxe command

haxe --main isn't a valid parameter. Looks like it should be haxe -main.

It is a valid parameter starting from Haxe 4. Unfortunately I made these changes consistently across all of the manual already … Maybe we should have a note about this somewhere.


Negative 2D points in image with pinhole transform lock 2D view to top-left corner

Describe the bug
Logging negative 2D points in a 2D image will make it impossible to pan the 2D view of the image (it will be locked to the bottom left corner).
To Reproduce
import numpy as np
import rerun as rr

rr.init("images", spawn=True)

rr.log_image(
    f"world/camera/image/rgb", np.random.rand(500, 500, 3)
)
rr.log_pinhole(
    f"world/camera/image",
    child_from_parent=[[500, 0, 250], [0, 500, 250], [0, 0, 1]],
    width=500,
    height=500,
)
rr.log_points(
    f"world/camera/image/points", [[100,-100], [0, 0], [100, 100]]
)

And zoom into the image.
Remove the first point and things work fine. Remove the pinhole and things work fine as well.
Desktop (please complete the following information):

OS: Ubuntu 20.04

Rerun version
rerun_py 0.7.0 [rustc 1.69.0 (84c898d65 2023-04-16), LLVM 15.0.7] x86_64-unknown-linux-gnu prepare-0.7 9cf3033, built 2023-06-16T15:47:32Z

Updated version:
import numpy as np
import rerun as rr

rr.init("images", spawn=True)

rr.log("world/camera/image/rgb", rr.Image(np.random.rand(500, 500, 3)))
rr.log(
    "world/camera/image", rr.Pinhole(image_from_camera=[[500, 0, 250], [0, 500, 250], [0, 0, 1]], width=500, height=500)
)
rr.log("world/camera/image/points", rr.Points2D([[100, -100], [0, 0], [100, 100]]))


强烈建议实现按住鼠标右键的同时滑动滚轮会切换同组其他相邻编辑器的功能

Issue Type: Feature Request
It is strongly recommended that the right mouse button while sliding the scroll wheel will switch the functions of other adjacent editors in the same group. This seemingly simple function will greatly enhance the experience (especially when the code is read), and now these two The combination of buttons has no practical meaning, so it can be said to be a waste. I just because vscode doesn't have this function and I don't want to use it a bit. I can't completely abandon Sublime Text. Otherwise, I can concentrate on the use of vscode, so I hope this function can be implemented.
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 10.0.17134

Please use English when creating issues.
I do not understand what you mean by " will switch the functions of other adjacent editors in the same group". Please give an example.

Translate:
Feature Request:
While holding right mouse button

Scroll up/down - cycle through the tabs

Thank you for your reply.

Please use English when creating issues.
I do not understand what you mean by " will switch the functions of other adjacent editors in the same group". Please give an example.

Thank you for your reply.
for example:


logging is broken in 8.x

Your Environment

verdaccio version: 8.0.0-next-8.2
node version 20.17.0
package manager<EMAIL_ADDRESS><EMAIL_ADDRESS>os: windows@10
platform: win32

Describe the bug
Logging stops after initial startup messages:

To Reproduce

Start verdaccio 8.x
Run any npm command like npm install lodash
There's no logging of requests

Expected behavior

Should work as before
It works fine in 5.x, 6.x, 7.x

7.0.0-next-8.21 works (see "Get Logs" step):
https://github.com/mbtools/verdaccio-proxy-config-test-case/actions/runs/11095626797/job/30824505316
8.0.0-next-8.0 no logging (see "Get Logs" step):
https://github.com/mbtools/verdaccio-proxy-config-test-case/actions/runs/11096350384/job/30826093296
Maybe something went wrong with https://github.com/verdaccio/verdaccio/pull/4839

Thanks, I'll take a look when I'm finished with the vitest migration.

Looks like it's working now. Ty


Resumable Upload

hi @cnoon
Alamofire provide resumable upload?
Thank You.

Yes, inside Request. There is NSProgress property. It gives you abilities such as resume, pause, upload status, etc.

public func upload(
        method: Method,
        _ URLString: URLStringConvertible,
        headers: [String: String]? = nil,
        multipartFormData: MultipartFormData -> Void,
        encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
        encodingCompletion: (MultipartFormDataEncodingResult -> Void)?)
{
...
}

MultipartFormDataEncodingResult contains Request

Okey Thank You @huy-le

Thanks @huy-le! 🍻

Could you show a code example of a MultipartFormData upload where you Resume an upload after a connection timeout and the upload is halfway done and the resume and keep on from where it was?

Please help

Could you please give example? @huy-le


History of Shopping Lists

Implement functionality to save a history of previous shopping lists. Users will be able to access and review past lists from within the app, providing better tracking of their purchases.

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."


v8.2.0: TypeError: stat.isSocket is not a function

I was investigating balena-cli issue balena-io/balena-cli/issues/1306 and my preliminary findings suggest that:

balena-cli v10.16.0 works OK with balena-preload v8.1.4
balena-cli v10.17.1 and later (also v11.2.1) fail with balena-preload v8.2.0, with the error:

./balena-cli-11.2.1/balena preload test.img -a test-rpi -c current
Building Docker preloader image. [                        ] 0%
TypeError: stat.isSocket is not a function
    at onstat (/snapshot/balena-cli/node_modules/balena-preload/node_modules/tar-fs/index.js:103:14)
    at /snapshot/balena-cli/node_modules/balena-preload/node_modules/tar-fs/index.js:32:39
    at zalgoSafe (pkg/prelude/bootstrap.js:261:10)
    at pkg/prelude/bootstrap.js:901:9
    at pkg/prelude/bootstrap.js:337:5
    at pkg/prelude/bootstrap.js:315:14
    at FSReqWrap.wrapper [as oncomplete] (fs.js:603:17)

Interestingly, I've only reproduced the failure on Linux (Docker image debian:9.9), not macOS, so it looks like a system-dependent issue.
The offending pull request may be:
https://github.com/balena-io/balena-preload/pull/206/files

This is weird... I patched balena-cli/node_modules/balena-preload/node_modules/tar-fs/index.js for debugging, and added these console.log calls:
console.log(`[preload/tar-fs] onstat() filename="${filename}" stat=${require('util').inspect(stat)}`);
console.log(`
  isFile()="${stat.isFile()}"
  isDirectory()="${stat.isDirectory()}"
  isSymbolicLink()="${stat.isSymbolicLink()}"
  isFIFO()="${stat.isFIFO()}"`
);
if (stat.isSocket()) return onnextentry() // tar does not support sockets...

The result was:
[preload/tar-fs] onstat() filename="Dockerfile" stat={ mode: 33188,
  size: 361,
  blksize: 4096,
  blocks: 0,
  dev: 0,
  gid: 20,
  ino: 0,
  nlink: 0,
  rdev: 0,
  uid: 500,
  atime: 2019-06-16T13:37:18.530Z,
  mtime: 2019-06-16T13:36:44.320Z,
  ctime: 2019-06-16T13:36:44.320Z,
  birthtime: 2019-06-16T13:36:44.320Z,
  atimeMs:<PHONE_NUMBER>530,
  mtimeMs:<PHONE_NUMBER>320,
  ctimeMs:<PHONE_NUMBER>320,
  birthtimeMs:<PHONE_NUMBER>320,
  isFile: [Function],
  isDirectory: [Function],
  isSymbolicLink: [Function],
  isFIFO: [Function] }

      isFile()="true"
      isDirectory()="false"
      isSymbolicLink()="false"
      isFIFO()="false"
TypeError: stat.isSocket is not a function
    at onstat (/snapshot/balena-cli/node_modules/balena-preload/node_modules/tar-fs/index.js:114:14)
    at /snapshot/balena-cli/node_modules/balena-preload/node_modules/tar-fs/index.js:32:39
    at zalgoSafe (pkg/prelude/bootstrap.js:261:10)
    at pkg/prelude/bootstrap.js:901:9
    at pkg/prelude/bootstrap.js:337:5
    at pkg/prelude/bootstrap.js:315:14
    at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)

I have further checked these tar-fs lines:
var xfs = opts.fs || fs
var statNext = statAll(xfs, opts.dereference ? xfs.stat : xfs.lstat, cwd, ignore, opts.entries, opts.sort)

And found that opts.fs and opts.dereference are undefined, meaning it should be using the standard fs.lstat() function. I tried setting opts.dereference=true, so it used fs.stat() instead of fs.lstat(), and it made no difference (still results in the same TypeError).
So a seemingly standard fs.lstat('Dockerfile') call returns an object that does not have the isSocket() function, apparently in violation of the Node.js documented API. But we can't easily say it's a Node.js bug, because:

It works OK with a balena-cli npm installation on Linux and macOS.
It works OK with a balena-cli standalone (pkg) installation on macOS.
It does not work with a balena-cli standalone (pkg) installation on Linux.

So it's the combination of pkg (the tool that generates the standalone package) and Linux that causes it to fail. I have also investigated the version of Node.js used by pkg on Linux. It seems to use pre-selected minor/patch releases for a given major Node release, namely v10.4.1 for Node 10 and v8.11.3 for Node 8. pkg caches the fetched Node in the homedir:
/root/.pkg-cache/v2.5/fetched-v10.4.1-linux-x64
/root/.pkg-cache/v2.5/fetched-v8.11.3-linux-x64

I am not sure how / whether pkg modifies those fetched versions of Node, but I have tested with both of those (Node 8 and Node 10) and both equally result in that same TypeError.
Although I am none the wiser on the root cause of the problem, I have found that the following very simple tar-fs patch avoids the TypeError and allows balena preload to work:
    // if (stat.isSocket()) return onnextentry()
    if (stat.isSocket && stat.isSocket()) return onnextentry()

Given that neither tar-fs nor balena-preload use pkg but balena-cli does, a patch fix would perhaps belong to balena-cli rather than balena-preload or upstream. I am planning to create a balena-cli PR with that patch, so we can move on.

Related pkg pull request: https://github.com/zeit/pkg/pull/720


Fix crash when changing VideoStreamPlayer.Stream

Closes #72976.

Looks good! Could you squash the commits? See PR workflow for instructions.

Alright, I've squashed the commits. :-)

Thanks!


Nothing happens on clicking competitive companion icon

Describe the bug
When I click on the competitive companion icon, it should result in opening of a popup in clion but it doesn't. I have tested the competitive companion extension with cphelper in vscode and cpeditor too, they work fine.
To Reproduce
Steps to reproduce the behavior:

Go to any problem site like codeforces.com, open a problem page.
Click on Competitive Companion Icon.
Go to CLION
No popups, no errors, nothing.

Expected behavior
A popup should open, or a new file should be created automatically.
Environment (please complete the following information):

OS: MacOS Arm64
IDE: CLION
Programming Language: C++

Works fine with 2022.2.4 but not in 2022.3.1
Seems to be compatibility issue.

You should open CLION first before clicking on Competitive companion icon and I checked with CLION 2022.3.1 (CL-223.8214.51 / Lastest snapshot build) which works fine.

Yes I did so, and it worked a few times in CLION 2022.3.1, and the plugin would randomly crash a few times, then I had to restart CLION. So, it did not work consistently for me.

This is expected when you open any other tools that also work with competitive companion like cphelper, does the crash occur even without opening any of these tools ? If so, there should have been error reporting from CLION about the crash.

Yes, I had tried to run it with other tools closed, but it still isn't working. There are no errors either.

Created a new project, it worked for a few times and then this error and it stopped working.
com.intellij.diagnostic.PluginException: 5543 ms to call on BGT precache-slow-data@RunAutoCpAction#update@keyboard shortcut (com.github.pushpavel.autocp.config.actions.RunAutoCpAction). Revise AnAction.getActionUpdateThread property [Plugin: com.github.pushpavel.autocp]
at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:83)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.logTimeProblemForPreCached(ActionUpdater.java:490)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.ensureSlowDataKeysPreCached(ActionUpdater.java:484)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$callAction$6(ActionUpdater.java:201)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1086)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:201)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:161)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.updateActionReal(ActionUpdater.java:137)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$0(ActionUpdater.java:124)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.update(ActionUpdater.java:705)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$UpdateSessionImpl.presentation(ActionUpdater.java:814)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.doUpdateActionsInner(IdeKeyEventDispatcher.java:674)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:621)
at com.intellij.openapi.actionSystem.impl.Utils.lambda$runUpdateSessionForInputEvent$15(Utils.java:756)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1086)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$tryRunReadActionAndCancelBeforeWrite$19(ActionUpdater.java:428)
at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:63)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:128)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.tryRunReadActionAndCancelBeforeWrite(ActionUpdater.java:424)
at com.intellij.openapi.actionSystem.impl.Utils.lambda$runUpdateSessionForInputEvent$16(Utils.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:772)
at com.intellij.openapi.actionSystem.impl.Utils.lambda$runUpdateSessionForInputEvent$18(Utils.java:763)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:589)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:664)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:620)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.actionSystem.impl.Utils.lambda$runUpdateSessionForInputEvent$20(Utils.java:762)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:243)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:29)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.executeFirstTaskAndHelpQueue(BoundedTaskExecutor.java:216)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:212)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:205)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)

I think I got where to look for solving this issue. thanks for reporting the error.

The issue may have solved, I am not sure as I could not reproduce it, so please try this build.
AutoCp-v0.7.10.zip.

Sure, will give feedback after testing.

I am facing the same issue. BTW, haven't got that error message again yet.

when does this occur ?

First of all, after installing 0.7.10, it did not work, so I changed to a different project. Worked for once, then after solving a problem, I used Competitive Companion on another problem. Then, I put my laptop to sleep, when turned it on again, this was the popup in CLION.

Is this popup coming up again?

Yes


Update the developer guide to reference new firmware repo

https://github.com/MobiFlight/MobiFlight-Connector/wiki/Developer-Guide is out of date and still references the Arduino IDE. Update to point to the new firmware repo and readme there.

@neilenns - updated the description. Any additional infos that you think we should mention?

@DocMoebiuz I think it's sufficient just to get rid of all the old firmware details and say "see the other repo".


Issue because of my balance

Traceback (most recent call last):
File "C:\Users\Jettr\Desktop\Bloxflip-Smart-Bet-main\Martingale.py", line 209, in sendBets
balance = float(browser.find_element_by_css_selector(".MuiBox-root.jss220.jss44").text.replace(',', ''))
ValueError: could not convert string to float: ''
Please fix

Fixed I believe. Your authorization may have been invalid


print usage and exit if arguments are not provided + Add Makefile to setup configs

Print usage and exit if arguments are not provided.
Add makefile
make commands help in getting started along with reading the Readme file.
For example:
make setup - sticks the config files in the necessary folders and then they can be edited

@aarti @sds it seems like this PR broke sourcing assume-role: https://github.com/coinbase/assume-role/issues/54

Thanks for the ping @estraph! we will take a look soon.


Hang when using Lightning CLI from config file and DDP

🐛 Bug

When I use Lightning CLI to instantiate training from a YAML config file with DDP, I got the error below and the process will hang.

RuntimeError: SaveConfigCallback expected xxxx/lightning_logs/version_5/config.yaml to NOT exist. Aborting to avoid overwriting results of a previous run. You can delete the previous config file, set `LightningCLI(save_config_callback=None)` to disable config saving, or set `LightningCLI(save_config_overwrite=True)` to overwrite the config file.

Ctrl + C will not work. I have to kill the process manually.
I suspect this is because each DDP process tries to write the same config file to disk. Passing either save_config_callback=None or save_config_overwrite=True like suggested in the error message solves the issue.
To Reproduce

# bug.py
import torch
from torch.utils.data import Dataset, DataLoader

from pytorch_lightning import LightningModule
from pytorch_lightning.utilities.cli import LightningCLI

class RandomDataset(Dataset):
    def __init__(self, size, num_samples):
        self.len = num_samples
        self.data = torch.randn(num_samples, size)

    def __getitem__(self, index):
        return self.data[index]

    def __len__(self):
        return self.len

class BoringModel(LightningModule):
    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)

    def forward(self, x):
        return self.layer(x)

    def train_dataloader(self):
        return DataLoader(RandomDataset(32, 64), batch_size=2)

    def val_dataloader(self):
        return DataLoader(RandomDataset(32, 64), batch_size=2)

    def training_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("train_loss", loss)
        return {"loss": loss}

    def validation_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("valid_loss", loss)

    def test_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("test_loss", loss)

    def configure_optimizers(self):
        return torch.optim.SGD(self.layer.parameters(), lr=0.1)

if __name__ == "__main__":
    LightningCLI(BoringModel)

# bug.yaml
trainer:
  gpus: 2
  strategy: ddp
  max_epochs: 10

Run Lightning CLI
python bug.py fit --config bug.yaml

Expected behavior

There should be no error by default, without explicitly passing save_config_callback=None or save_config_overwrite=True to Lightning CLI.
Environment

CUDA:
- GPU:
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- available:         True
- version:           11.3
Packages:
- numpy:             1.21.2
- pyTorch_debug:     False
- pyTorch_version:   1.10.0
- pytorch-lightning: 1.5.5
- tqdm:              4.62.3
System:
- OS:                Linux
- architecture:
- 64bit
- ELF
- processor:         x86_64
- python:            3.8.12
- version:           #86~18.04.1-Ubuntu SMP Fri Jun 18 01:23:22 UTC 2021

Additional context

cc @carmocca @mauvilsa

Is your problem the error message or that you had to kill the process manually?
If it's the former, it's just warning you that the previous config file will be overwritten, and telling you what options you have.
If it's the latter, it's a general problem with DDP where processes can become unresponsive.

Once I got the error message, the process is stuck there. I don't see any training taking place, no Lightning training process bar whatsoever. The GPUs seem to be occupied when viewed in nvidia-smi, so I'm not sure if training is still going on?
My problem is more about the training script fails to run when I use Lightning CLI + DDP with default settings (without passing save_config_callback=None or save_config_overwrite=True). The error message is not just a warning, but the training in fact hangs (or at least I don't have any indicator it is still running). Having to kill the process manually is just an observation, not really the main problem.
I think using Lightning CLI + DDP would be a popular combination? It will be great it works without passing extra arguments by the users.

The first time it will work seamlessly. The CLI automatically saves the configuration file when it starts running for reproducibility.
Then, the second time it runs, if you are setup to use the same config file you'll get this error because we try to not mess with the user configuration unless we are explicitly told to (hence the flag).
In your error message you can see:

expected xxxx/lightning_logs/version_5/config.yaml to NOT exist

This means your experiment is reusing the same directory as a previous experiment.

@mauvilsa This questions comes up a lot. Do you think we should read the existing configuration file and check if they will be equal? Avoiding the error if they are.
If yes, should this be a byte check or a dictionary check? The former has the benefit that it would respect any user comments.

The first time it will work seamlessly. The CLI automatically saves the configuration file when it starts running for reproducibility.
Then, the second time it runs, if you are setup to use the same config file you'll get this error because we try to not mess with the user configuration unless we are explicitly told to (hence the flag).
In your error message you can see:

expected xxxx/lightning_logs/version_5/config.yaml to NOT exist

This means your experiment is reusing the same directory as a previous experiment.

It was a new, separate experiment. It was not writing to an old experiment. I didn't set the experiment folder, so Lightning created a new folder under lightning_logs/. I suspect the error was because the 2nd DDP process also tried to save the config file, of the same experiment, to the same folder. Perhaps Lightning can tell only 1 DDP process to save the config file?

Lightning can tell only 1 DDP process to save the config file?

We do this already: https://github.com/PyTorchLightning/pytorch-lightning/blob/0ee78e96efa71f962f4cfafa73588e4f6a0b8bce/pytorch_lightning/utilities/cli.py#L417-L424

I think I found the issue (and the solution?)
https://github.com/PyTorchLightning/pytorch-lightning/blob/e8169bbd467467383588ba5ac18f55e7d8e1d84f/pytorch_lightning/utilities/cli.py#L410-L424
The save config callback checks for config file existence BEFORE checking if the process is the 1st process. A simple fix will be moving the config file existence check inside the 1st process check
    def setup(self, trainer: Trainer, pl_module: LightningModule, stage: Optional[str] = None) -> None:
        # save the config in `setup` because (1) we want it to save regardless of the trainer function run
        # and we want to save before processes are spawned
        log_dir = trainer.log_dir
        assert log_dir is not None

        if trainer.is_global_zero:
            config_path = os.path.join(log_dir, self.config_filename)
            if not self.overwrite and os.path.isfile(config_path):
                raise RuntimeError(
                    f"{self.__class__.__name__} expected {config_path} to NOT exist. Aborting to avoid overwriting"
                    " results of a previous run. You can delete the previous config file,"
                    " set `LightningCLI(save_config_callback=None)` to disable config saving,"
                    " or set `LightningCLI(save_config_overwrite=True)` to overwrite the config file."
                )

            # save only on rank zero to avoid race conditions on DDP.
            # the `log_dir` needs to be created as we rely on the logger to do it usually
            # but it hasn't logged anything at this point
            get_filesystem(log_dir).makedirs(log_dir, exist_ok=True)
            self.parser.save(
                self.config, config_path, skip_none=False, overwrite=self.overwrite, multifile=self.multifile
            )

I tested the above in my local Lightning installation and the problem goes away. Perhaps I can make a PR for this if it's okay?

trainer.log_dir will broadcast the resulting directory to all processes. So all should have the same path.
https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pytorch_lightning/trainer/trainer.py#L1836
This is why we don't need to check the rank for the exception.
Can you validate if that's your case?

I'm not quite sure I understand your point, and what I should validate? Isn't it because all processes have the same path, the 2nd process will see the existence of a config file, which was saved by the 1st process, and throw the runtime error?
I can reproduce my problem with the Boring model as in the original post, at least with Lightning 1.5.5. I deleted the lightning_logs/ directory to have a clean logging folder, to ensure no duplicates or overwriting of experiments. Still, the problem still happened.

Yes, it's possible. Opened #11199 with the fix.

We are still seeing this issue today, with multi-node training.
Why not just  move the code block of file exists check  under the " if trainer.is_global_zero:" ?

Why not just move the code block of file exists check under the " if trainer.is_global_zero:" ?

I don't know much about DDP, so I could be wrong. But I guess it is like this because all processes should raise RuntimeError. I am not sure if there is a problem if only one process raises the error, since anyway this callback only saves the config. Still, assuming this is necessary, the code looks good. Only rank 0 checks whether the file exists, and only rank zero saves it after checking. So I don't see how the error could be incorrectly raised.
@guitangl note that this was fixed in #11199. So it could be that your case is different. It would be good if you debug and figure out the root cause.


Ring-MQTT camera streams constantly live - stream never stops

So I wanted to use WebRTC to improve the delay from the stream from my ring doorbell camera, which WebRTC does very well and gets it near instant, however, the livestream never turns off.
I have tried the intersection and background options, to ensure that when the card isn't in view that the stream stops but it never does. This leads to a new live stream event lasting 10 minutes in the Ring app.
There is no apparent difference in behaviour for any combination of intersection and background options.
Using the picture entity card in combination with generic camera integration shows the expected behaviour of the livestream turning off 10 minutes after leaving the view of the card. WebRTC card seems to keep the stream active.

So, an update: The stream sometimes stops correctly, but 1 in 5 times (ish) the stream will fail to close and the only way to stop the stream is to restart home assistant.

It's very difficult to debug because I don't have those devices.

I am seeing similar behavior. I have created a basic card with below config:
type: custom:webrtc-camera url: rtsp://123456-ring-mqtt:8554/123456_live title: Backyard Camera ui: true poster: >-   https://ha.domain.com:8123{{   states.camera.backyard_snapshot.attributes.entity_picture }} muted: true
Setting
ui: true removes the ring controls so you can't start a live stream
ui: false results in the stream immediately starting when you browse to the card

Same for me except where @btrudgill says the stream successfully closes maybe 1 in 5 times, I don't seem to be that lucky. It feels more like never successful. My doorbell runs on battery and solar only, so as long as I have this integration active it just drains the battery until the doorbell is dead. I'd love to use the streaming function but have had to kill it for now.

I noticed this behavior would stop if I stopped the RTSP to WebRTC add-on. So I pulled up the UI for this add-on, and found the stream for my Doorbell camera was set to persistent connection. I changed it to on-demand and my doorbell camera is no longer constantly streaming.

hello community! I have ring-mqtt add-on and WebRTC Camera (through HACS+Integration), which performed the setting for go2rtc, or at least I can see go2rtc.yaml file, but there is no integration (should I download it as well?)
It's basically working very well, I can see the video without any delay in WebRTC card (basic setting). But I got now constant streaming without using it, and only way to stop it and make it working fine was to restart HA.
This is the log from ring-mqtt, in case you can help me to figure it out why this happened (I don't know if it could happen again in the future), and if it helps, to debug any issue in the integration.
I'm sorry for my lack of knowledge on this matter, it's only a couple of weeks since I started in this world, still learning a lot every day :)
I have hiden some digits in my camera ID just in case it could be "dagerous" to have this info on the web. If I should delete this info please also appreciate your advice...
2024-09-09T06:11:07.233Z ring-rtsp [go2rtc] DBG [rtsp] new consumer stream=187f8863XXXX_live
2024-09-09T06:12:29.018Z ring-wrtc [Camara] Live stream WebRTC session has disconnected
2024-09-09T06:12:29.019Z ring-mqtt [Camara] ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX/stream/state OFF
2024-09-09T06:12:29.020Z ring-attr [Camara] ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX/stream/attributes {"status":"inactive"}
2024-09-09T06:12:29.065Z ring-rtsp [Camara] State indicates live stream has gone unexpectedly inactive
2024-09-09T06:12:29.074Z ring-rtsp [go2rtc] WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:170 > error=EOF url="exec:/app/ring-mqtt/scripts/start-stream.sh 187f8863XXXX live ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX {output}#killsignal=15"
2024-09-09T06:12:29.075Z ring-rtsp [go2rtc] DBG [streams] retry=0 to url=exec:/app/ring-mqtt/scripts/start-stream.sh 187f8863XXXX live ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX {output}#killsignal=15
2024-09-09T06:12:29.076Z ring-rtsp [go2rtc] DBG [exec] run rtsp args=["/app/ring-mqtt/scripts/start-stream.sh","187f8863XXXX","live","ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX","rtsp://<IP_ADDRESS>:8554/5c44715fe541ab46cde998c1dd8ad96f"]
2024-09-09T06:12:29.124Z ring-rtsp [Camara] Deactivating live stream due to signal from RTSP server (no more active clients or publisher ended stream)
2024-09-09T06:12:29.133Z ring-mqtt [Camara] Received set live stream state OFF
2024-09-09T06:12:29.187Z ring-rtsp [go2rtc] DBG [streams] producer=exec/rtsp
2024-09-09T06:12:29.187Z ring-rtsp
2024-09-09T06:12:30.187Z ring-rtsp [go2rtc] DBG [streams] retry=1 to url=exec:/app/ring-mqtt/scripts/start-stream.sh 187f8863c9a9 live ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX {output}#killsignal=15
2024-09-09T06:12:30.188Z ring-rtsp [go2rtc] DBG [exec] run rtsp args=["/app/ring-mqtt/scripts/start-stream.sh","187f8863XXXX","live","ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX","rtsp://<IP_ADDRESS>:8554/5c44715fe541ab46cde998c1dd8ad96f"]
2024-09-09T06:12:30.216Z ring-rtsp [Camara] Sending command to activate live stream ON-DEMAND
2024-09-09T06:12:30.231Z ring-mqtt [Camara] Received set live stream state ON-DEMAND rtsp://<IP_ADDRESS>:8554/5c44715fe541ab46cde998c1dd8ad96f
2024-09-09T06:12:30.232Z ring-mqtt [Camara] ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863c9a9/stream/state ON
2024-09-09T06:12:30.232Z ring-attr [Camara] ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863c9a9/stream/attributes {"status":"activating"}
2024-09-09T06:12:30.233Z ring-mqtt [Camara] Acquiring a live stream WebRTC signaling session ticket
2024-09-09T06:12:30.298Z ring-rtsp [Camara] State indicates live stream is activating
2024-09-09T06:12:30.569Z ring-mqtt [Camara] Live stream WebRTC signaling session ticket acquired, starting live stream worker
2024-09-09T06:12:30.570Z ring-wrtc [Camara] Live stream WebRTC worker received start command
2024-09-09T06:12:30.618Z ring-wrtc [Camara] Live stream transcoding process is starting
2024-09-09T06:12:30.893Z ring-wrtc [Camara] Websocket signaling for WebRTC session connected successfully
2024-09-09T06:12:31.267Z ring-wrtc [Camara] Live stream transcoding process has started
2024-09-09T06:12:31.442Z ring-attr [Camara] ring/6210f64d-ade6-4c52-9b61-95645d83664d/camera/187f8863XXXX/stream/attributes {"status":"active"}
2024-09-09T06:12:31.444Z ring-wrtc [Camara] Live stream WebRTC session is connected
2024-09-09T06:12:31.479Z ring-rtsp [Camara] State indicates live stream is active
2024-09-09T06:12:33.143Z ring-rtsp [go2rtc] DBG [exec] run rtsp launch=2.954772954s
2024-09-09T06:12:33.236Z ring-rtsp [go2rtc] DBG [rtsp] handle error="read tcp <IP_ADDRESS>:8554-><IP_ADDRESS>:38214: read: connection reset by peer"
2024-09-09T06:12:33.236Z ring-rtsp [go2rtc] DBG [rtsp] disconnect stream=187f8863XXXX_live
2024-09-09T06:12:43.248Z ring-rtsp [go2rtc] DBG [rtsp] new consumer stream=187f8863c9a9_live
Thank you for your support!

Hello everyone. I have the same problem. Has anyone managed to find a solution?

Hi, in mi case I had the check box for preloading ticked. In the generic camera setting. Hope it helps

Hi Guys, its Nov 2024 - just wondering has anyone managed to find a solution?
I have got ring stick up cams set up. With MQTT set up its always live stream and battery went down from 30 to 3% in few hours


Use a reference to a Writer in DynamicImage::save

Closes #276.

Also testing this edit-to-branch feature of github.

This leads to a bunch of errors. I'm closing this since it probably needs to compile locally first.

No reason to close pull requests that aren't yet ready.

@TyOverby nwin used the quick-push feature, where a branch is created on the fly when committing through the browser.

Oh, that makes sense.  Looks like PngEncoder needs to be changed to allow this.

@TyOverby Feel free to make go at it.

You can close it and make it on another branch, I thought it was a quick fix.


x/pkgsite: package removal request for git.sr.ht/~koukas/go-managesieve

What is the path of the package that you would like to have removed?
git.sr.ht/~koukas/go-managesieve

Are you the owner of this package?
Yes

What is the reason that you could not retract this package instead?
The project will be deleted entirely so no version should be available.

What is the reason that you could not retract this package instead?

Before deleting the project, you can publish a final release version that retracts itself and all prior releases. If you fetch that final release itself through proxy.golang.org, pkg.go.dev should pick up the final retraction.

Done.

All versions are retracted now. Thanks for your time!

Thanks for following up! Do you still need the package removed outright from pkg.go.dev, or does the retraction notice suffice?
(Note that removing a package from pkg.go.dev does not necessarily remove it from proxy.golang.org; see the FAQ at https://proxy.golang.org/.)

Done.


Handle tiles from java-vector-tile

Appears to be related to Issue 8.
Also, I'm now returning "type" when returning geometries, so that it's possible to produce WKT.

Thanks!

Would you be willing to push a release that includes this bugfix?
Also, should I update the readme to show the type in the output?  I realized I didn't do that.
Thanks!

I added the new type to the readme decode output and pushed over a new 0.0.9 release.

Awesome, thanks!


added presets for mistral7b

option to specify name of model on command line

Could you remove the model_name modification? Nothing against it in particular, but since this repo doesn't have any CI set up and I'm currently unable to test these repos - it's a bit hard to validate correctness from only reviewing code PRs.
I'm happy to merge the mistral change.

cool, i finally got around to this!
On Thu, Dec 21, 2023 at 3:36 AM Horace He @.***> wrote:

Could you remove the model_name modification? Nothing against it in
particular, but since this repo doesn't have any CI set up and I'm
currently unable to test these repos - it's a bit hard to validate
correctness from only reviewing code PRs.
I'm happy to merge the mistral change.
—
Reply to this email directly, view it on GitHub
https://github.com/pytorch-labs/gpt-fast/pull/63#issuecomment-1865428884,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQDRFGWMRUXQTEMIAGMS2DYKOVD7AVCNFSM6AAAAABA42KNVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVGQZDQOBYGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Subscribed. would love to see this get merged!


Basic Razor compiler features

[x] @inherits directive
[x] _ViewImports.cshtml support

Note that layouts is covered in #3.

Done


[Build] Switch the release pipeline to use the 1ES governed template

The 1ES governed template is the YAML version of the old CDPx build
pipeline -- it runs a bunch of checks before and after building the
code, makes sure that artifacts only flow out through approved channels,
etc., etc.
One critical difference between this pipeline and the original is that
we can only produce one artifact per job, and that that artifact
must be unique across the entire build. Therefore, I've separated the
x64 and arm64 artifacts into unique buckets: setup-x64 and
setup-arm64.
Some failures are expected, and therefore have been baselined:

The WiX static library is built with C4996 disabled, which is an
illegal configuration. This impacts PowerToysCustomActions.
boost x86 is built with a couple other warnings disabled, which is
also an illegal configuration.

The sdl.gdnbaselines file contains binary hash and rule pairings for
each of these failures, plus about 300 more that were automatically
included but not considered to be severe enough to fail the build.
The build takes about 1h 15m wall time, which we can bring down by
judiciously combining the signing steps for the installers.
Related to #28910 (we had to enable Control Flow Guard to pass the
BinSkim checks)

Sorry, what's up with the spell checker? I didn't remove those words, for sure

Sorry, what's up with the spell checker? I didn't remove those words, for sure

Looking into it.. It's going crazy

I think you were hit with a bad upgrade of spellcheck. It's been reverted on main already. Please merge main in so CI passes? :)

Alright, everything's green now :)

I moved this from the body so it doesn't clutter the commit

Note
Review this pull request with whitespace disabled for
the best experience!


Criticisms of Fluent and the entire localization system

Description

Let it be known that these are from the perspective of the man who has contributed the most yaml to the project so I won't really be talking about it's usage in C# code here, although @DrSmugleaf has voiced similar concerns.
I also would like to state that this system being released without any sort of linter or tooling is incredibly frustrating.
Bad

I'm not typing out comp-body-lizard-bottom-penis-frenum-cumstain for every single name in yaml.
This approach will drive off contributors to the project, and dash any hopes of having "DM-style ease of use" with yaml.
There's more that I can't formulate right now because I haven't eaten anything rn but i'll add to this later.

I don't think tooling or a gui for yaml will solve my issues with this system. Language support is good, yes. But if we're not accepting translations into the main codebase, we can expect codebases that actually DO use the fluent system to convert all those names themselves. We can provide tooling for THEM, but having those terrible strings in the main codebase is awful.
@DrSmugleaf said he'll document the issues with C# stuff underneath.

I'm not typing out comp-body-lizard-bottom-penis-frenum-cumstain for every single name in yaml.

We literally already had a solution for this but it got broken with serv3. Waiting on Paul to get back and fix it.

Having talked to Dr. Smug, we can fix some issues. Like parser and resolver emit their own error, but Fluent is made to be "error-resistant", in presence of errors it shouldn't fail. At least not horrifically. And errors do have spans we can use and messages we can expose.

The issues in C# are no localization id validation/autocompletion when writing them in code (same goes for YAML) and in general the lack of a syntax highlighter for .ftl files. I started work on a Rider plugin for fluent syntax highlighting in a personal repo (Example for a folding builder) but since then @PaulRitter has pointed me to language servers which seems like a better way to do it.
A Fluent linter to validate ids used in YAML would be nice but is annoying to do with some of the prototypes using fluent localization and some not.

I have awoken from my slumber, sorry for the later reply:

I also would like to state that this system being released without any sort of linter or tooling is incredibly frustrating.

yes, but also consider this: tooling & linting will take equally as much effort as to implement the system in the first place. we were building tech debt, simple as that

* I'm not typing out comp-body-lizard-bottom-penis-frenum-cumstain for every single name in yaml.

not how it works

I don't think tooling or a gui for yaml will solve my issues with this system.

elaborate why? which issues exactly?

that being said fluent throwing no errors on invalid syntax isn't fine at all and should be addressed asap. im going to retire this issue in favor of a "todo for fluent" issue, as fluent isn't going away


[3.1.0] kwm terminates with code 11.

I use kwm from brew. Here's my kwmrc, for reference.
I just brew-upgraded to kwm 3.1.0 from 3.0.7.
Since the upgrade, kwm seems to be stopping and starting. None of my keybindings work. Windows only jump into position every 10 seconds.
I get these launchd logs when running kwm 3.1.0 as a homebrew service:

I downloaded 3.0.7 from the releases page, and invoked it directly with ./kwm. it works fine, I kill it with control-c, and it exits with status 2. All good:
bash-3.2$ ./Kwm-3.1.0/kwm ; echo ${PIPESTATUS[@]}
^C2

I downloaded 3.1.0 from the releases page, and tried to invoke it the same way. My windows adjusted initially, but then the program terminated with status code 11:
bash-3.2$ ./Kwm-3.0.7/kwm ; echo ${PIPESTATUS[@]}
11

Do you have an idea of what might be going on?
How can I get more diagnostic info out of kwm?

I get the same error after upgrading just now. Running it with kwm --config ~/kwm/examples/kwmrc seems to work fine, so maybe something changed with the config? I also looked at a debug build with lldb, maybe the backtrace is somewhat helpful:
* thread #1: tid = 0x153373, 0x00007fff9836e09e libsystem_c.dylib`flockfile + 4, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x68)
  * frame #0: 0x00007fff9836e09e libsystem_c.dylib`flockfile + 4
    frame #1: 0x00007fff983712f2 libsystem_c.dylib`fwrite + 72
    frame #2: 0x0000000100050940 kwm`RefreshBorder(Border=0x00000001000f74f8, Window=0x000000010021bc80) + 2240 at border.h:60
    frame #3: 0x000000010004fe27 kwm`UpdateBorder(Border=0x00000001000f74f8, Window=0x000000010021bc80) + 311 at border.cpp:20
    frame #4: 0x00000001000017aa kwm`main(argc=1, argv=0x00007fff5fbff6d8) + 330 at kwm.cpp:314
    frame #5: 0x00007fff899515ad libdyld.dylib`start + 1
    frame #6: 0x00007fff899515ad libdyld.dylib`start + 1

so maybe something changed with the config?

There has been no changes to the config, however I did find an issue that would cause an invalid handle to be accessed when borders are disabled. Please do try and the latest commit on master and let me know if that solved the issue.
Just to confirm if this is indeed the problem in this issue, do you happen to have kwmc config border focused off in your custom config?

I'll try master right now, hold on

Yup, after very cursory testing it seems to be fixed in master.
I'll update here if I run into further issues.

Great, going to mark it as solved for now.

I'm gonna reopen the issue to prevent dupliaces, such that other people that may encounter this can check in here.


fixed docstring

@luiscape could the failed Drone be rather infrastructure issue then code issue?

It's a bus error. This is caused by hardware as far as I know.

@Borda i checked the error logs on Drone and it reads "Bus error (core dumped)". I found this on the PyTorch tickets which makes me think that it's a memory-related issue.
Did you try to restart it?

I had this a few times, it happens randomly. Restarting the job fixes the problem.

@Borda i checked the error logs on Drone and it reads "Bus error (core dumped)". I found this on the PyTorch tickets which makes me think that it's a memory-related issue.
Did you try to restart it?

As @awaelchli mentioned we see it quite often randomly on several PRs, it may be also connected that in about the same time we upgraded Drone builds from PT 1.4 to 1.5

rebased master with the accumulate batches pr and re-running