Spin watch builds all components when a single component is changed

if files in foo are changed foo and bar both get rebuilt.
[[component]]
id = "foo"
...
[component.build]
workdir = "foo"
command = "cargo build --target wasm32-wasi --release"
watch = ["src/**/*.rs", "Cargo.toml"]

[[component]]
id = "bar"
[component.build]
workdir = "bar"
command = "cargo build --target wasm32-wasi --release"
watch = ["src/**/*.rs", "Cargo.toml"]

@calebschoepp This feels like something that could slot nicely in if/when you are separating "artifact" paths from "source code" paths - you could split the source code watches down further to associate component name(s) with them.  Though presumably it would also need an entry point into build to build only specific components - I am not sure how you are driving that at the moment.

reads 3 emails further on and discovers that @calebschoepp has already done that refactor
well maybe next time

@itowlson this isn't handled in my current refactor (#1418) and is out of scope for it. Buuuuuut, my refactor has laid the foundation to do this much more easily. Something like:
pub enum Effect {
    /// Exit spin watch
    Exit,
    /// Either `spin build` or `spin up` failed to run
    ProcessFailed,
    /// `spin build` has completed running, `spin up` never completes
    ProcessCompleted,
    /// Changes have been made to the application manifest
    ManifestChange,
    /// Changes have been made to the application source code
    SourceChange(component String),
    /// Changes have been made to an application artifact
    ArtifactChange(component String),
    /// A default option that maps to doing nothing
    DoNothing,
}

Just noting that the single-component entry point into build now exists courtesy of the Spin Doctor.

@itowlson is this kind of feature still achievable with your redesign of spin watch or do we just want to close this issue?

We still want to do it but my refactor definitely introduced exciting new challenges to doing so - see the discussion on https://github.com/fermyon/spin/pull/2478.  I would leave it open because it is still a nice-to-have feature.

Ok, so a silly and naive question:
Can't the underlying "compile my stuff to WASM binary" routine just do a quick sanity-check:

Have any files in the component been mod'd since last compilation?

There could be a flag in the config that is False by default, then opt-in via config.
[component name]
only_compile_if_modified = True

Then, the components that are slowest to compile could be toggled to only be recompiled when one of the component's files were mod'd.
[my tinygo component]
# since tinygo is very slow to compile,
# only compile if a file inside the /my-tinygo-component dir was mod'd since last compile
only_compile_if_modified = True

To track, an artifact could be left in the .spin dir that lists last compile time for flagged components. Whenever the compile routine is called (via build or watch or whatever), then that routine would do a sanity-check for each component prior to rebuilding it.


Enhancing by Deciding a Final Score when the timer ends

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
I saw that this game tends to an infinite loop while playing.
As you already said that you've made this game for just fun, I felt like it would be great if

there's a time ticking down and player gets to click as many fruits as possible until the timer ends.
As of now the timer has nothing to do with the timer as it never stops, but with this enhancement it won't be an infinite loop game.
That will be awesome as we'll be able to decide a winner based on scores after that.

Screenshots
No response
Code of Conduct

[X] I follow Contributing Guidelines of this project.

I would like to work on this issue under JWOC 2023. Would be glad if you'd assign me with this issue. 👍  @Rakesh9100

Sure, you can work on. In fact, I was about to open this issue in Phase 2.
Assigning to you @pooranjoyb

Thanks for assigning @Rakesh9100 .
Getting into it Asap! :) 👍


ABC iView no longer working/ supported and previous thread closed without solution

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.06.14

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.06.14
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
Since the ABC iView update, programmes from the site can no longer be downloaded. As I was unsure if I was using the most recent version I checked using youtube-dl -U and it updated. Tried again using the same link (which works fine on the webpage), and it has the messages "WARNING: Falling back on generic information extractor." and "ERROR: Unsupported URL: https://iview.abc.net.au/show/danis-house/series/2/video/ZX0839A011S00" (The file I attempted to download, other earlier episodes of the same show downloaded fine with the old website before the update.)
The last thread on this issue was closed when someone joining the thread was using an outdated version, but the original poster was not and the issue was not solved. Is there any way to solve this given the new site?
I am new to coding to may be doing something wrong, but brought it up as someone previously mentioned a problem and feel from the errors that it is the site causing the problem and not any coding mistakes.
Can attach screenshots later if needed as I don't know how to copy and paste the code I received into here due to lack of coding experience.

There is no problem in the first place. You are using an outdated version.
If you "think" you are using the latest version bother to read issue template and prove that.


Incoherent instructions on how to configure postman

Documentation starts to state to register a Native App on Azure Active Directory (see https://docs.microsoft.com/en-us/azure/digital-twins/how-to-configure-postman#configure-azure-active-directory-to-use-the-oauth-20-implicit-grant-flow).
Starting on step 3, images and settings are shown/described for a Web App / API application.

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

ID: 49f053b4-ce1b-5019-3ee5-a821a19ab643
Version Independent ID: 11b963b1-e007-f488-8d32-63ea24b195f7
Content: How to configure Postman for Azure Digital Twins
Content Source: articles/digital-twins/how-to-configure-postman.md
Service: digital-twins
GitHub Login: @KingdomOfEnds
Microsoft Alias: adgera

Hi @JPGRodrigues - Thanks for your feedback! The Digital Twins documentation defines three use-cases for Postman:

The first states how to configure your Web Application to accept OAuth 2.0 in Azure.
The second states how to obtain an OAuth 2.0 token once you've completed the step above (as stated in the documentation). Please note the grant type implicit that's used.
The third identifies how to then also make a multipart form request to your API's using an OAuth 2.0 token acquired in the second step. That's used to, for example, submit a blob to add an image to a device twin.

Thank you! Please let me know if you have any other questions!

PS - should you prefer to use CURL to make a multipart form request instead, please see: https://docs.microsoft.com/azure/digital-twins/how-to-add-blobs.
PPS - Digital Twins is currently be updated and improved. Additional changes will be made to the documentation in the future to reflect these important and powerful new features. Thanks!

We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

PS - should you prefer to use CURL to make a multipart form request instead, please see: https://docs.microsoft.com/azure/digital-twins/how-to-add-blobs.
PPS - Digital Twins is currently be updated and improved. Additional changes will be made to the documentation in the future to reflect these important and powerful new features. Thanks!

Thank you for the feedback.
Good to know that documentation updates are on the way...

@JPGRodrigues - Certainly! You can read more about some of the current limitations (that will be improved in the future) here: https://docs.microsoft.com/en-us/azure/digital-twins/concepts-service-limits.


Fix issue #297

Coverage remained the same at 100.0% when pulling 5423ce395a896385b0ac6292c834b65571edb8bc on issue_297 into 95b885fa05ca1b15fd69b6e80d41832566e798c5 on 3.x.


Make sure chromedriver is removed from setup.

:+1:

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


Updating autoSubscribeNewMembers of an O365 Group fails

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
Using the Patch request to update the 'autoSubscribeNewMembers' property of an O365 Group returns status code 204.
Observed Behavior
Update fails and response is:
{     "error": {         "code": "ErrorApiQuarantined",         "message": "Request has been quarantined by condition.",         "innerError": {             "request-id": "247801dd-f9e4-4017-b4f8-74d2b7e36579",             "date": "2019-10-11T05:10:23"         }     } }
Steps to Reproduce
In the Graph explorer use a PATCH method (both v1.0 and beta) with url:
https://graph.microsoft.com/v1.0/groups/{GroupId}
and body
{ autoSubscribeNewMembers: true }
Same issue occurs with the GraphServiceClient.

+1
Even calling the GET method with $select query on the autoSubscribeNewMembers property gives the same error message.

I am also getting the same error message


Announcement about hosting browser datasets

Follow on from
https://github.com/pombase/website/issues/814
Once we are happy with the  data hosting process, we should announce the existence of the spreadsheet to describe metadata, and remind people about the  submission process for hosting browser datasets.

pombelist email sent; I included 3 new datasets as well as the submission doc link
does this warrant news, or shall I close it?

A short news item wouldn't do any harm since it would be an 'in your face' reminder for a while that the submission process is updated. It could link also to the publication pages so that people can quickly launch the tracks.
Also the news feed is accessible easily to funders and reviewers and makes us look busy ;)

all righty, I'll commit one for tonight's update :)


TWLN partition nonfunctional after ctrtransfer

This only seems to happen when transferring between certain version ranges, which are so far unknown. It seems to be a problem caused by a TWLN/CTRNAND partition mismatch, and once the exact cause is found should hopefully be easy to fix.
If you did the ctrtransfer version of the guide and got the issue of DSi/DS related functionality breaking, just sit tight and wait for a fix.

Issue has been solved, guide will soon be updated to reflect the needed changes and this issue will be closed once the guide is updated to reflect these changes

The fix for DSi/DS functionality breaking after a ctrtransfer for some people (which may or may not happen due to device / version differences) is to install Nintendo DS Cart Whitelist - v11264.cia (mirror) (mirror) with FBI at the end of the guide.
These instructions have been added to the guide for all future users, but for people who currently encounter this issue after doing the guide, just install it with FBI now.


Build Dropwizard with Java 16

https://mail.openjdk.java.net/pipermail/announce/2021-March/000295.html

The integration tests using MySQL via Docker are failing because MySQL Connector/J is disabling all protocols with TLSv1.2 or higher which leaves none when using Java 16. 😂
com.mysql.cj.jdbc.exceptions.CommunicationsException:
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Caused by: com.mysql.cj.exceptions.CJCommunicationsException:
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Quote from https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-usagenotes-known-issues-limitations.html

Because Connector/J does not enable connections with TLSv1.2 and higher by default due to compatibility issues, when connecting to servers that restrict connections to use those higher TLS versions, you might encounter com.mysql.cj.exceptions.CJCommunicationsException: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate). You need to enable connections with TLSv1.2 and higher versions using the enabledTLSProtocols connection property. See Section 6.8, “Connecting Securely Using SSL” for details.

See also: https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-using-ssl.html


macos build issue resolved

closes #58

had question,
you are using nix crate, what benefits so far have you came across, and what made you choose it over syscall crate?
how did you decide?

and current type conversion is working on macos, i haven't checked on linux and other system,
if you have any other method or safer method in your mind, let me know

why CI didn't run?

@mihaigalos can you review this in your free time?

Hi @KMJ-007, seems you have some clippy errors. Since the code is still in your fork, can you please also fix them?

Hi @KMJ-007, seems you have some clippy errors. Since the code is still in your fork, can you please also fix them?

I tried but it still says useless type conversion, but without those on macos it fails to compile cause some statfs function on macos were returning u32
what should i do?

Sorry for replying so slow, I was very busy at work.

Sorry for replying so slow, I was very busy at work. Ok, so we need some kind of way to tell rust to compile differently for different architectures, right?
Have a look at this, I'm open to new suggestions as well:
https://github.com/mihaigalos/url-install/blob/507a70f1d6f6e19ae6148bfffe02f374b5b6f636/src/url_install.rs#L66

done, but i wanted more simpler solution, but at the time i didn't find that, so added target os specific code,
can you review it, in my for clippy action is green

This is awesome. We can disregard coverage checks, I think it's something unrelated why they fail.
Thank you.

had question,
you are using nix crate, what benefits so far have you came across, and what made you choose it over syscall crate?
how did you decide?

i am still interested in this question

No benefits whatsoever. There is no additional sycall I need to perform and the structure is already populated with nice data instead of needing a syscall for every field.


Include To/CC but don't send them

As far as I understand, if I specify an email like:
transport.sendMail({
    to<EMAIL_ADDRESS><EMAIL_ADDRESS>    cc<EMAIL_ADDRESS>    ...
});

then it will send the email to those three addresses.  Is there a way to only send to<EMAIL_ADDRESS>but to still include the other recipients in the headers?
From my (probably not rock-solid) understanding of SMTP works, this should be possible, at least in the "direct sending" case, because while the list of recipients is included in the payload's headers, the mailboxes in question are specified during the SMTP interaction.

You can do this by providing your own SMTP envelope – by default the envelope is generated from the message headers. See SMTP envelope in the docs for details.
In your example it would look like this:
transport.sendMail({
    to<EMAIL_ADDRESS><EMAIL_ADDRESS>    cc<EMAIL_ADDRESS>    envelope: {
        from: 'sender@address',
        to<EMAIL_ADDRESS>    }
    ...
});

Fantastic, thanks!
That's embarrassingly obvious now I've seen it. :)


Fix compilation errors.

Fix apple/swift compilation errors.
/Users/danielzheng/swift-dev/tensorflow-swift-apis/Sources/TensorFlow/Bindings/EagerExecution.swift:274:31: error: initializer 'init(name:)' is internal and cannot be referenced from an '@inlinable' function
        updateAttribute(name, _TensorFunctionPointer(name: _tffunc(value)))
                              ^
/Users/danielzheng/swift-dev/tensorflow-swift-apis/Sources/TensorFlow/Bindings/TFTensorOperation.swift:17:15: note: initializer 'init(name:)' is not '@usableFromInline' or public
public struct _TensorFunctionPointer {
              ^
/Users/danielzheng/swift-dev/tensorflow-swift-apis/Sources/TensorFlow/Bindings/EagerExecution.swift:279:15: error: property 'name' is internal and cannot be referenced from an '@inlinable' function
        value.name.utf8CString.withUnsafeBufferPointer { buffer in
              ^
/Users/danielzheng/swift-dev/tensorflow-swift-apis/Sources/TensorFlow/Bindings/TFTensorOperation.swift:18:9: note: property 'name' is not '@usableFromInline' or public
    var name: String
        ^

Thanks @dan-zheng. We should clean up the inlining-related attributes soon.


Add support for toggling animated background rendering

Presently, the animated background is rendered by default even when the search bar is not being used. This prevents container styles like borderRadius from taking effect as borderRadius is recalculated in the animated background overlay.
This PR is a more like straightforward solution although it might make sense to use the borderRadius from props in animated background whenever it's present.
@xotahal Please, check that this is in line with the vision of the package. Thanks

Hey, could you just update master? I've fixed CI, finally :)


searching for 'redstone' in pub returns no results, yet the package is there

FYI
I searched for 'redstone': http://pub.dartlang.org/search?q=redstone
No results, but I see the package is uploaded, from the homepage.

Attachments:
[Screen Shot 2014-05-12 at 10.33.49 AM.png](https://storage.googleapis.com/google-code-attachments/dart/issue-18774/comment-0/Screen Shot 2014-05-12 at 10.33.49 AM.png) (25.41 KB)
[Screen Shot 2014-05-12 at 10.34.12 AM.png](https://storage.googleapis.com/google-code-attachments/dart/issue-18774/comment-0/Screen Shot 2014-05-12 at 10.34.12 AM.png) (43.66 KB)

This issue has been moved to dart-lang/pub-dartlang#356.


[Bug ?] getEntities() does not return any entity

Hello,
My system doesn't get any entity with getEntities():
 class AISystem : public anax::System<anax::Requires<Components::Path,         Components::Position, Components::MoveTo>>
In update():
auto entities = getEntities();
So, I have a function which create a character.
` inline anax::Entity make_character(anax::World& w, ...)
{
anax::Entity e = w.createEntity();
e.addComponent<Components::GraphicsItem>(...);

e.addComponent<Components::Life>(...);
e.addComponent<Components::Fight>();

e.addComponent<Components::Direction>(...);
e.addComponent<Components::Position>();
e.addComponent<Components::MoveTo>();
e.addComponent<Components::Path>();

e.addComponent<Components::Animation>(...);

w.refresh();
return e;

}
And I use this in my "main" class:
//...
m_char = make_character(...);
m_char.activate();
m_world.refresh();
`
And I use AISystem::update() in the event loop.
But the vector of entities is always empty... Why ?
Thanks.

Call e.activate()

I saw the bug !
(it wasn't activate())
When adding the system to the world after creating and entity and adding the components to it, the system doesn't detect the entity...
I have to add the system before creating the entity

When you call world.refresh() it will notify all the systems you have attached currently, i.e. the systems getEntities() attribute will hold the invariant that they contain the appropriate entities. Any system not currently added will not work.
The only solution that I can think of to "resolve" this is either:

Add the systems beforehand
Change the implementation to query the entities each time a call to getEntities() is made


Using newer version of base image to fix CVE-2023-28484 and CVE-2023-29469

Description
Upgrade base image in order to use the newer version of libxml2 that is free of the mentioned CVEs
#CCXDEV-10603
Type of change

Bug fix (non-breaking change which fixes an issue)
Bump-up dependent library (no changes in the code)

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


Image upload doesn't work

After choosing the image to be uploaded, it just shows the spinner indefinitely. The errors mention that "Firebase Storage should be enabled", so once enabled, the image upload works.
This is the error stack trace:
E/StorageException: StorageException has occurred.
                    An unknown error occurred, please check the HTTP result code and inner exception for server response.
                     Code: -13000 HttpResult: 400
E/StorageException: The server has terminated the upload session
                    java.io.IOException: The server has terminated the upload session
                        at com.google.firebase.storage.UploadTask.zzs(Unknown Source:20)
                        at com.google.firebase.storage.UploadTask.zzr(Unknown Source:57)
                        at com.google.firebase.storage.UploadTask.run(Unknown Source:167)
                        at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                        at com.google.firebase.storage.zzq.run(Unknown Source:2)
                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                        at java.lang.Thread.run(Thread.java:764)
                     Caused by: java.io.IOException: {  "error": {    "code": 400,    "message": "Permission denied. Could not access bucket friendlychat-46567.appspot.com. Please enable Firebase Storage for your bucket by visiting the Storage tab in the Firebase Console and ensure that you have sufficient permission to properly provision resources."  }}
                        at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):147)
                        at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):119)
                        at bgu.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):7)
                        at android.os.Binder.transact(Binder.java:627)
                        at com.google.android.gms.internal.firebase_storage.zza.transactAndReadExceptionReturnVoid(Unknown Source:7)
                        at com.google.android.gms.internal.firebase_storage.zzm.zzf(Unknown Source:8)
                        at com.google.android.gms.internal.firebase_storage.zzq.zza(Unknown Source:41)
                        at com.google.android.gms.internal.firebase_storage.zzf.zza(Unknown Source:27)
                        at com.google.firebase.storage.UploadTask.zzc(Unknown Source:3)
                        at com.google.firebase.storage.UploadTask.run(Unknown Source:128)
                        at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                        at com.google.firebase.storage.zzq.run(Unknown Source:2)
                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                        at java.lang.Thread.run(Thread.java:764)
                    StorageException has occurred.
                    An unknown error occurred, please check the HTTP result code and inner exception for server response.
                     Code: -13000 HttpResult: 400
E/StorageException: The server has terminated the upload session
                    java.io.IOException: The server has terminated the upload session
                        at com.google.firebase.storage.UploadTask.zzs(Unknown Source:20)
                        at com.google.firebase.storage.UploadTask.zzr(Unknown Source:57)
                        at com.google.firebase.storage.UploadTask.run(Unknown Source:167)
                        at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                        at com.google.firebase.storage.zzq.run(Unknown Source:2)
                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                        at java.lang.Thread.run(Thread.java:764)
                     Caused by: java.io.IOException: {  "error": {    "code": 400,    "message": "Permission denied. Could not access bucket friendlychat-46567.appspot.com. Please enable Firebase Storage for your bucket by visiting the Storage tab in the Firebase Console and ensure that you have sufficient permission to properly provision resources."  }}
                        at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):147)
                        at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):119)
                        at bgu.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):7)
                        at android.os.Binder.transact(Binder.java:627)
                        at com.google.android.gms.internal.firebase_storage.zza.transactAndReadExceptionReturnVoid(Unknown Source:7)
                        at com.google.android.gms.internal.firebase_storage.zzm.zzf(Unknown Source:8)
                        at com.google.android.gms.internal.firebase_storage.zzq.zza(Unknown Source:41)
                        at com.google.android.gms.internal.firebase_storage.zzf.zza(Unknown Source:27)
                        at com.google.firebase.storage.UploadTask.zzc(Unknown Source:3)
                        at com.google.firebase.storage.UploadTask.run(Unknown Source:128)
                        at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                        at com.google.firebase.storage.zzq.run(Unknown Source:2)
                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                        at java.lang.Thread.run(Thread.java:764)
E/StorageException: StorageException has occurred.
                    An unknown error occurred, please check the HTTP result code and inner exception for server response.
                     Code: -13000 HttpResult: 400
E/StorageException: The server has terminated the upload session
                    java.io.IOException: The server has terminated the upload session
                        at com.google.firebase.storage.UploadTask.zzs(Unknown Source:20)
                        at com.google.firebase.storage.UploadTask.zzr(Unknown Source:57)
                        at com.google.firebase.storage.UploadTask.run(Unknown Source:167)
                        at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                        at com.google.firebase.storage.zzq.run(Unknown Source:2)
                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                        at java.lang.Thread.run(Thread.java:764)
                     Caused by: java.io.IOException: {  "error": {    "code": 400,    "message": "Permission denied. Could not access bucket friendlychat-46567.appspot.com. Please enable Firebase Storage for your bucket by visiting the Storage tab in the Firebase Console and ensure that you have sufficient permission to properly provision resources."  }}
                        at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):147)
                        at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):119)
                        at bgu.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):7)
                        at android.os.Binder.transact(Binder.java:627)
                        at com.google.android.gms.internal.firebase_storage.zza.transactAndReadExceptionReturnVoid(Unknown Source:7)
                        at com.google.android.gms.internal.firebase_storage.zzm.zzf(Unknown Source:8)
                        at com.google.android.gms.internal.firebase_storage.zzq.zza(Unknown Source:41)
                        at com.google.android.gms.internal.firebase_storage.zzf.zza(Unknown Source:27)
                        at com.google.firebase.storage.UploadTask.zzc(Unknown Source:3)
                        at com.google.firebase.storage.UploadTask.run(Unknown Source:128)
                        at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                        at com.google.firebase.storage.zzq.run(Unknown Source:2)
                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                        at java.lang.Thread.run(Thread.java:764)
W/MainActivity: Image upload task was not successful.
                com.google.firebase.storage.StorageException: An unknown error occurred, please check the HTTP result code and inner exception for server response.
                    at com.google.firebase.storage.UploadTask.zza(Unknown Source:13)
                    at com.google.firebase.storage.StorageTask.zzh(Unknown Source:3)
                    at com.google.firebase.storage.StorageTask.zzi(Unknown Source:19)
                    at com.google.firebase.storage.StorageTask.getException(Unknown Source:0)
                    at com.google.firebase.codelab.friendlychat.MainActivity$7.onComplete(MainActivity.java:380)
                    at com.google.firebase.storage.zzl.zza(Unknown Source:11)
                    at com.google.firebase.storage.zzaa.run(Unknown Source:10)
                    at android.os.Handler.handleCallback(Handler.java:790)
                    at android.os.Handler.dispatchMessage(Handler.java:99)
                    at android.os.Looper.loop(Looper.java:164)
                    at android.app.ActivityThread.main(ActivityThread.java:6494)
                    at java.lang.reflect.Method.invoke(Native Method)
                    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
                 Caused by: java.io.IOException: The server has terminated the upload session
                    at com.google.firebase.storage.UploadTask.zzs(Unknown Source:20)
                    at com.google.firebase.storage.UploadTask.zzr(Unknown Source:57)
                    at com.google.firebase.storage.UploadTask.run(Unknown Source:167)
                    at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                    at com.google.firebase.storage.zzq.run(Unknown Source:2)
                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                    at java.lang.Thread.run(Thread.java:764)
                 Caused by: java.io.IOException: {  "error": {    "code": 400,    "message": "Permission denied. Could not access bucket friendlychat-46567.appspot.com. Please enable Firebase Storage for your bucket by visiting the Storage tab in the Firebase Console and ensure that you have sufficient permission to properly provision resources."  }}
                    at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):147)
                    at bha.a(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):119)
                    at bgu.onTransact(:com.google.android.gms.dynamite_dynamitemodulesc<EMAIL_ADDRESS>(040400-194189626):7)
                    at android.os.Binder.transact(Binder.java:627)
                    at com.google.android.gms.internal.firebase_storage.zza.transactAndReadExceptionReturnVoid(Unknown Source:7)
                    at com.google.android.gms.internal.firebase_storage.zzm.zzf(Unknown Source:8)
                    at com.google.android.gms.internal.firebase_storage.zzq.zza(Unknown Source:41)
                    at com.google.android.gms.internal.firebase_storage.zzf.zza(Unknown Source:27)
                    at com.google.firebase.storage.UploadTask.zzc(Unknown Source:3)
                    at com.google.firebase.storage.UploadTask.run(Unknown Source:128)
                    at com.google.firebase.storage.StorageTask.zzl(Unknown Source:0)
                    at com.google.firebase.storage.zzq.run(Unknown Source:2)
                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                    at java.lang.Thread.run(Thread.java:764)

Same issue here ! :/

how did you all solve this problem same issue here


deis router unresponsive until restart

I'm not sure what causes this yet. After sitting idle for hours deis router is throwing a 503 error when attempting to authenticate with the system:
503 Service Temporarily Unavailable

<title>503 Service Temporarily Unavailable</title>

503 Service Temporarily Unavailable

nginx/1.7.10

I also see these a large portion in all the logs:
sh[2929]: [INFO] - 2015/04/09 11:06:38 [emerg] 14#0: bind() to <IP_ADDRESS>:2222 failed (98: Address already in use)
 503 - "POST /v1/auth/login/ HTTP/1.1" - 390 - "http://host/v1/auth/login/" - "python-requests/2.5.1 CPython/2.7.6 Darwin/14.3.0" - "~^deis\x5C.(?<domain>.+)$" - - - host.com - - - 0.000

Upon restart
Apr 09 11:08:17 leadgenius-apps-coreos-3 systemd[1]: Stopping deis-router...
Apr 09 11:08:17 leadgenius-apps-coreos-3 sh[2929]: time="2015-04-09T11:08:17Z" level="fatal" msg="Error response from daemon: No such container: 37c2dd69b66d47f3e44fcc3ae75c7d85b69fad6983108a9ea2c5cfd916278a8d"

After restarting all of the routers in the cluster after starts working fine again.

503s are thrown when there are no upstreams for a config section. Where exactly are you seeing the 503? When trying to use the deis client to interact with the controller?
This is also odd:
sh[2929]: [INFO] - 2015/04/09 11:06:38 [emerg] 14#0: bind() to <IP_ADDRESS>:2222 failed (98: Address already in use)

Port 2222 is used to forward traffic to the builder component. It sounds to me like you had a rogue nginx process somehow (or one that got wedged), and nginx was unable to bind. Restarting should have sorted it out.

Moving to #3466


gFID On ImageNet256

Thanks for your excellent work!
I am trying to reproduce the gFID of TiT0k-L-32 (i.e., 2.77) on the ImageNet256 dataset using the provided checkpoint. Following the paper, I use a guidance scale of 4.5, a temperature of 9.5, and sampling steps of 8. I generate 50k samples.
Unfortunately, regardless of fp32 or fp16 precision, I get a fid score of 6.87. Could you please provide some guidance and point out my possible mistakes? Thanks!

I have got similar gFID (worse) using guidance scale of 4.5, temperature of 9.5, and sampling steps of 8 as in Sec.A, Appendix. However the IS is pretty higher.

Inception Score:<PHONE_NUMBER>6328125
FID: 7.009038029503245

Besides, I can get the same rFID as in the paper for the titok_l32 tokenizer, but much worse IS score.

Inception Score: 60.1844482421875
FID: 2.2214299493870158

If possible, could the authors give some guidance about the evaluation?

Hi,
Thank you all for the interests in our work. I just updated the sampling script for reproducing results on ImageNet, please refer to the README for more details. Feel free to let me know if you have any other questions :)

Thanks! I can now reproduce the gFID and IS scores reported in the paper.

Inception Score:<PHONE_NUMBER>8125
FID: 2.7752410474037674

Thanks! I can now reproduce the gFID and IS scores reported in the paper.

Inception Score:<PHONE_NUMBER>8125
FID: 2.7752410474037674

Could you please share your code for computing  Inception Score and FID?

Thanks! I can now reproduce the gFID and IS scores reported in the paper.

Inception Score:<PHONE_NUMBER>8125
FID: 2.7752410474037674

Could you please share your code for computing Inception Score and FID?

I generally followed this one: https://github.com/FoundationVision/LlamaGen/blob/main/evaluations/c2i/README.md

thanks so much ,i have the same question and this comment help me alot


[besu] Decopule Vault CURD Operations in helm charts

Changes:
Vault CURD operations have been decoupled and are moved to a script where the vault Script will be created as a configmap in each organizational namespace and will be mounted as a volume in helm charts.
Reviewers:
@suvajit-sarkar @jagpreetsinghsasan @sownak
Issues:
#2221

generally looks good. But, as we now have multiple vaults, I would expect a if condition in all the Besu charts on which vault to be used.

Removed the code for other vaults like aws secret manager and azure as this is not tested, we are passing Vault_type as environmental variable within the helm chart consuming from helm releases Vaules ,default vault is set to hashicorp and  'if condition' was placed within the shell script. If we are expanding to other vaults, we could have a new field 'type'  in network.yaml under vault section


Formatting is really broken

Is it please possible to disable all autoformatting for razor files?
I rather have control then constantly have to fix the bugs in the auto formatting engine.
As you can see here this is a VERY long outstanding issue: https://stackoverflow.com/questions/20098648/disable-visual-studio-code-formatting-in-razor
Simple example:

@{
	void Test()
	{

			Test

	}
}

Try typing a (text) } between te divs and see the whole formatting jump for no reason.

After typing the curly brace you see the indention break:

I am using tabs, but probably it also happens with spaces.
I'm using knockout.js and this also happens when using brackets in i.e. databindings like data-bind="css: { test: value }".
When you have a razor page that doesn't fit on your page it is constantly reformatting everything out of view and you can start correcting everything again - really annoying.

Is it please possible to disable all autoformatting for razor files?

That feature request is tracked by https://github.com/dotnet/razor-tooling/issues/4336

As you can see here this is a VERY long outstanding issue

As is noted in the question you linked to, the Razor editor in VS 2022 is a completely different technology and codebase from any previous version, and that does have the unfortunate effect that there may be some formatting issues that were not present in old versions but have resurfaced now. We genuinely believe, however, that the new editor does a better job of formatting than the old one, and if that is not the case, we are more than happy to respond to actionable information about formatting issues. That question, sadly, has no actionable information, no matter how often the original post is updated.

Simple example:

Now THIS is actionable information! Thank you very much for the issue report, a fix will be available in a future Visual Studio release.
Please don't hesitate to follow/vote/comment on the issue I linked about, about turning off on type formatting, or for any other examples you have of the formatting logic doing the wrong thing, please do file a new issue with the repro and actual results, as you've done here, and we'll take a look.


Failed to execute script Style2PaintsV45: TensorFlow binary was not compiled, CUDA errors

While trying to run style2paints, I get this error:
Port is ready for usage.
Style2Paints Customed Tensorflow Shifting to GPU.
Style2Paints V45 Start Loading. V20191214.
Numpy: 1.15.0
Opencv: 4.1.2
Tensorflow: 1.4.0
2020-02-06 10:08:59.430421: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2020-02-06 10:09:00.670786: E C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\direct_session.cc:170] Internal: failed initializing StreamExecutor for CUDA device ordinal 0: Internal: failed call to cuDevicePrimaryCtxRetain: CUDA_ERROR_UNKNOWN
Traceback (most recent call last):
File "Style2PaintsV45.py", line 595, in
File "Style2PaintsV45.py", line 196, in main_exec
File "site-packages\tensorflow\python\client\session.py", line 1482, in init
File "site-packages\tensorflow\python\client\session.py", line 622, in init
File "site-packages\tensorflow\python\framework\errors_impl.py", line 473, in exit
tensorflow.python.framework.errors_impl.InternalError: Failed to create session.
[6076] Failed to execute script Style2PaintsV45

I have the same problem,gtx 1060

Internal: failed initializing StreamExecutor for CUDA device ordinal 0: Internal: failed call to cuDevicePrimaryCtxRetain: CUDA_ERROR_UNKNOWN

This error may be hard to solve. Maybe your Nvidia driver has some problems.
[Workaround]
Please try to use the "CPU mode" instead.
Select I do not have Nvidia GPU or I use AMD GPU, when you launch style2paints.exe. The colorization process will be slower.


UI Feedback

From Sachin

make contribute button bigger
explain metadata requested only
add an example domain for the search
add zkp2p.xyz (and other top crypto domains)

can you please "explain a metadata requested only" and give some more context of it.


Store compatibility matrix within repo (instead of Google Sheets)

Describe the feature
Store compatibility matrix in repo (is currently in Google Sheet, linked from README)
Describe alternatives you've considered

https://github.com/Linkurious/documentation-resources/blob/master/compatibility-matrix/compatibility-matrix.md
LayZeeDK/angular-compatibility.md
Could also publish it as a PDF printout saved in github, but that would probably add unnecessary data

Additional context
I'm not able to access Google Sheets while on my company network because of a security policy - makes configuring package versions in packages.yml file annoying (have to use personal laptop instead)
Who will this benefit?

Anyone on a network blocked from Google Sheets
For maintainers, after the compatibility info is saved within the repo, they'll be able to see it in local cloned version

Are you interested in contributing this feature?
Sure!  Have an idea of how to start, and would probably need some design review, but glad to knock it out

Thanks for thinking of this, @bbrewington! 🧠
How do you use the chart? Start with a version of dbt-core and find compatible versions of dbt-utils? Or the other way around?
Messed around with some options (generally representative, but non-exhaustive):

Checkmarks - dbt-core as rows
Ones and zeros - dbt-utils as rows
Terse summary - dbt-core first
Terse summary - dbt-utils first

The utility of each option will definitely be affected by which use case(s) to prioritize.
All have their columns and rows haver version numbers ordered greatest to least.
Do you have a preference?
Checkmarks - dbt-core as rows

dbt-utils \ dbt-core
0.8.2
0.8.1
0.8.0
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.0
0.2.5

1.0.x
✅
✅
✅
✅
✅
✅

0.21.1

✅
✅
✅
✅
✅
✅

0.21.0

✅
✅
✅
✅
✅
✅

0.20.2

✅
✅
✅
✅
✅
✅
✅

0.20.1

✅
✅
✅
✅
✅
✅
✅

0.20.0

✅
✅
✅
✅
✅
✅
✅

0.19.2

✅
✅
✅
✅

0.19.1

✅
✅
✅
✅

0.19.0

✅
✅
✅
✅

0.18.2

✅
✅
✅
✅
✅
✅
✅

✅
✅
✅

0.18.1

✅
✅
✅
✅
✅
✅
✅

✅
✅
✅

0.18.0

✅
✅
✅
✅
✅
✅
✅

✅
✅
✅

0.17.2

✅
✅
✅
✅

0.17.1

✅
✅
✅
✅

0.17.0

✅
✅
✅
✅

0.16.1

✅
✅

0.16.0

✅
✅

0.15.3

✅
✅

0.15.2

✅
✅

0.15.1

✅
✅

0.15.0

✅

Ones and zeros - dbt-utils as rows

dbt-utils version
1.0.x
0.21.1
0.21.0
0.20.2
0.20.1
0.20.0
0.19.2
0.19.1
0.19.0
0.18.2
0.18.1
0.18.0
0.17.2
0.17.1
0.17.0
0.16.1
0.16.0
0.15.3
0.15.2
0.15.1
0.15.0

0.8.2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.8.1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.8.0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.7.6
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.7.5
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.7.4
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.7.3
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.7.2
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.7.1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.7.0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0.6.6
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0

0.6.5
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0

0.6.4
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0

0.6.3
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0

0.6.2
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0

0.6.1
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0

0.6.0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0

0.5.1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0

0.5.0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0

0.4.1
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0

0.4.0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0

0.3.0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
0

0.2.5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1

Terse summary - dbt-core first

dbt-core
dbt-utils

1.0.x
0.7.4 - 0.8.2

0.21.1
0.7.1 - 0.7.6

0.21.0
0.7.1 - 0.7.6

0.20.2
0.7.0 - 0.7.6

0.20.1
0.7.0 - 0.7.6

0.20.0
0.7.0 - 0.7.6

0.19.2
0.6.3 - 0.6.6

0.19.1
0.6.3 - 0.6.6

0.19.0
0.6.3 - 0.6.6

0.18.2
0.4.0 - 0.5.0; 0.6.0 - 0.6.6

0.18.1
0.4.0 - 0.5.0; 0.6.0 - 0.6.6

0.18.0
0.4.0 - 0.5.0; 0.6.0 - 0.6.6

0.17.2
0.4.0 - 0.5.1

0.17.1
0.4.0 - 0.5.1

0.17.0
0.4.0 - 0.5.1

0.16.1
0.2.5 - 0.3.0

0.16.0
0.2.5 - 0.3.0

0.15.3
0.2.5 - 0.3.0

0.15.2
0.2.5 - 0.3.0

0.15.1
0.2.5 - 0.3.0

0.15.0
0.2.5

Terse summary - dbt-utils first

dbt-utils version
dbt-core version

0.8.2
1.0.x

0.8.1
1.0.x

0.8.0
1.0.x

0.7.6
0.20.0 - 1.0.x

0.7.5
0.20.0 - 1.0.x

0.7.4
0.20.0 - 1.0.x

0.7.3
0.20.0 - 0.21.1

0.7.2
0.20.0 - 0.21.1

0.7.1
0.20.0 - 0.21.1

0.7.0
0.20.0 - 0.20.2

0.6.6
0.18.0 - 0.19.2

0.6.5
0.18.0 - 0.19.2

0.6.4
0.18.0 - 0.19.2

0.6.3
0.18.0 - 0.19.2

0.6.2
0.18.0 - 0.18.2

0.6.1
0.18.0 - 0.18.2

0.6.0
0.18.0 - 0.18.2

0.5.1
0.17.0 - 0.17.2

0.5.0
0.17.0 - 0.18.2

0.4.1
0.17.0 - 0.18.2

0.4.0
0.17.0 - 0.18.2

0.3.0
0.15.0 - 0.16.1

0.2.5
0.15.0

wow, thanks for putting all that together!
personally, I prefer option 4: Terse summary - dbt-utils first.  Since it expands vertically, it's going to scale better, and all the version ranges are contiguous, so it's both compact and clear

Related: https://github.com/dbt-labs/hub.getdbt.com/issues/165 - if we could get this into the Hub, it would work for every package and it wouldn't need manual upkeep!

@joellabes anything additional required on this?  note that this PR (which fixed issue 165 linked above) was merged on 8/25: https://github.com/dbt-labs/hub.getdbt.com/pull/1799

Nah I think we're done! Good spotting @bbrewington 🙏


unions method does not work

While I am trying to get list of unions by calling a method named unions by passing upazila's name as parameter no response is coming.

Documentation has been updated, please check it now. You can get the unions by upazilla as bello:
BD::union()->getWhere('sub_district', 'sar');

Here sar is the first 3 latter of the upazilla.
Thanks


[BUG] Serial console doesn't work on safari for ubuntu image

Describe the bug
The serial console hangs and doesn't allow to access the serial console on safari browser.
To Reproduce
Steps to reproduce the behavior:

Deploy harvester on three nodes.
Open the Harvester UI on safari browser 14.0.3
Create a vm with cloud image - http://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64-disk-kvm.img.
Open the serial console, it hangs with blank terminal.

Expected behavior
The serial console should allow user to access the vm.
Environment:

Harvester ISO version:  0.2.0-rc5

Tested in master-199b3b79-head on external UI (new UI). Validated as working.


Generate RMC release files for v2.1

closing as duplicate of https://github.com/broadinstitute/rmc_production/issues/119


Error:  attribute transform: Expected number, "translate(NaN,NaN) rotate(…".

Hi guys,
I try to implement wordcloud series into my component, somehow I got this error

highcharts.js:53 Error:  attribute transform: Expected number, "translate(NaN,NaN) rotate(…".

which moves the div into left.
Here is my code:
import React, { Component } from 'react'
import ReactHighcharts from 'react-highcharts'
import {connect} from 'react-redux'
import autobind from 'react-autobind'
import '../style.scss'
require('highcharts/modules/wordcloud.js')(ReactHighcharts.Highcharts)

class WordCloud extends Component {
    constructor(props) {
        super(props);
        autobind(this);
    }

    render() {
        const { keywords } = this.props
        console.log(keywords);
        let words = []
        keywords.map(data => {
            let obj = {}
            obj.name = data.word
            if(data.count < 100) {
                obj.weight = 5
            } else {
                obj.weight = 6
            }
            words.push(obj)
        })

        let config = {
                series: [{
                type: 'wordcloud',
                data: words,
                name: 'Occurrences',
                title: {
                    text: 'Sentimantal Wordcloud'
                }
            }]
        }
        return (
            <ReactHighcharts config = {config}></ReactHighcharts>
        );
    }
}

const mapStateToProps = (state) => {
    const { keywords } = state.places
    return { keywords }
}

export default connect(mapStateToProps)(WordCloud)

Did you find a solution?

I am also running into this issue.  I found that this may have been patched in the latest version of highcharts:  https://github.com/highcharts/highcharts/issues/8184 . Is this library up-to-date with the latest?

Closing and there has been no activity in this issue for a while.
if this is still relevant, please feel free to reopen


[Github Actions] - Choose RC Commit Workflow

As part of the Beam Release Process, the following PR includes the workflow to run the choose_rc_commit.sh script described in step 8. Tag a chosen commit for the RC
Files:

Choose RC Commit: .github/workflows/choose_rc_commit.yml
Updated CI.md file

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Thanks, @damccorm, I applied your suggestions


Rackspace LB Driver: update member attributes

This adds the following functions to the Rackspace LB Driver for updating the extra attributes on a Rackspace Member (condition and weight).

ex_balancer_update_member

This makes the request, then waits for the parent balancer to go from PENDING_UPDATE (Libcloud 'Build' status) into ACTIVE (Libcloud 'Running' status.)

ex_balancer_update_member_no_poll

This makes the request and immediately returns.

Merging this into another patch.


display name, number, subject or title according to what is available

Describe your changes
Issue ticket number and link
Checklist before requesting a review

[x] I have read and understand the Contributions section
[x] I have performed a self-review of my code
[ ] I ran the unit tests and my PR does not break any tests
[ ] I documented the changes I've made on the CHANGES.md and followed actual conventions
[ ] I added a new section on how-to.md (optional)
fix #37

Fix #37

I reopen this issue.
restCallForRecordDetails have an exception because name is not found so it call it again without name.
Best, is to use
import {DescribeInfo} from "./data-load.js";
let describeInfo = new DescribeInfo(this.spinFor.bind(this), () => {
//TODO call here rest api and filter field with same test to get namefield
//then model.didUpdate()
});
describeSobject(useToolingApi, sobjectName)


create metrics after plugin

CI will fail until restify/node-restify#1251 lands

Comments addressed, one last time?

Third time's the charm?


[Feature]: Token Bans

Scope
Web
Feature Description
It would be cool to have the ability to "Token ban" people, this would be most helpful against pesky modders who target servers and use methods to unban themselves.
Use Case
No response
Proposed Solution
No response
Additional Info
No response

I might be dumb, but what do you mean by 'token ban'.

Are you on about the native GetPlayerToken()?

Player Tokens are a server-specific HWID identifier, meaning if they change their discord/steam/license, etc, they will still get banned see: GET_PLAYER_TOKEN

Not the best at explaining stuff, but here goes. Each server gives someone a unique token upon the first time joining. If you ban this token, the only way one could unban themselves from your server is by completely reinstalling windows. (They might require more steps but this is my very basic understanding of it)

Oh, AvarianKnight explained it much better than I ever could. Thanks!

Sounds like a really cool idea, would be great to have some form of this implemented. Thanks for the info both of you

Planned.

Did anything get done with this, would be really intrigued to see this in motion

@Hqrreh LOL check back next year and maybe i'll have something planned a little better
Our current database solution just isn't good enough to store 20 HWIDS for every banned player, and will take MONTHS before replacing the database becomes a priority.

Is txAdmin still limited to what database it can use internally?

We can totally solve this issue, but we have many other things that have way higher priority.

@Hqrreh LOL check back next year and maybe i'll have something planned a little better Our current database solution just isn't good enough to store 20 HWIDS for every banned player, and will take MONTHS before replacing the database becomes a priority.

Ahahha fair enough mate

Any updates?

@dennisjongebloed Yes.
This week I validated the average token count per player and it's likely doable to implement it in the current database without needing to refactor everything.
But still no ETA.


Verb still @InjectView not @FindView

compile 'com.jakewharton:butterknife:6.1.0'

Was this issue solved? README.md uses @FindView. Butterknife website uses @InjectView

The readme on master is for the code on master.
On Fri, Apr 10, 2015, 11:16 PM Gabriel<EMAIL_ADDRESS>wrote:

Was this issue solved? README.md uses @FindView. Butterknife website
http://jakewharton.github.io/butterknife/ uses @InjectView
—
Reply to this email directly or view it on GitHub
https://github.com/JakeWharton/butterknife/issues/252#issuecomment-91750764
.

Realized this..That's why I closed it.

I just realized it... Came here to delete my comment... I wasn't fast enough. Sorry :-(


onSnapshot and onPatches fail when called from an external module

I have a working solution in a typescript project. When I watch for changes using onSnapshot and onPatches within that project, it works perfectly. However when I move the exact same code to a library and include it, the method fails with the following error:
Error: subtreeRoot must be a tree node (usually a model or a shallow / deep child part of a model 'data' object)
I thought there might be a version clash between the keystone dependencies, but I have tried used peer dependencies as well as ensuring that the referenced versions are identical.
When I debug I can confirm that the issue is arising because tweakedObjects in the local instance contains the object, but when used as a module, it does not. It looks like these WeakMaps are being declared at the module root. If that's the case then I guess it makes sense why keystone wouldn't work correctly across modules. Does anyone know how to address this issue?
Call stack:
subscribe.ts:239 Error: subtreeRoot must be a tree node (usually a model or a shallow / deep child part of a model 'data' object)
    at failure (mobx-keystone.es.mjs:86:1)
    at assertTweakedObject (mobx-keystone.es.mjs:387:1)
    at onPatches (mobx-keystone.es.mjs:2872:1)

1.22.18

I'm afraid without an example project or something I can't help much.
If you are using yarn v1 then setting mobx-keystone as peer dependency on your dependency and setting it as dependency on the main app should be enough for it to only use one version (you can just check there should be a single instance in the root node_modules.
If you are using yarn v3 then you need to hoist it manually, this is, set it as peer dep in both packages (the lib and the app) and adding it as a dep to the root package.json. Actually you may try to do that with yarn v1 too, maybe it will work.

I can try to put together a simple example to demonstrate the issue. Do you have any examples where the lib approach works?

I've seen it working, but on private code.
If you still have this issue a github project / sandbox that shows this would help indeed.


how can I load from Cache

Hi is there any way to load from cache .

SDWebImage is not working at all. Are you sure that you have merge it? I also updated the pod but it doesn't recognize it,.

Use of unresolved identifier 'SDWebImageSource'

Any idea?

@jassimkm I'm not sure what you mean. If you're using external sources such as AlamofireImage, they should do caching automatically for you.
@kwstasna This is probably not related to caching, but anyway – version with SDWebImageSource was not released yet. But I have just released a new version 0.5.1 which should have this.


Build Next.js with MongoDB and Deploy on Vercel

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific. Use keyword research to gain your article higher ranking.
Introduction paragraph (2-3 paragraphs):
Next.js is a javascript framework that lets you build server-side rendering and static web applications using React as a client-side web-driven framework like vue.js, angular.js. It has a number of features that make it great such as pre-rendering, CSS in js, and many more.
Next.js is a hybrid framework. It is the easiest way to build react applications. It includes a lot of functionalities that you would need to use in your react application that are easily extensible and easily customizable.
Since it is a hybrid, it means it can be used for either CSR (Client-Side Rendering), SSR (Server-Side Rendering), SSG (Static-Site Generation). Meaning you can use databases and perform data fetching using Next.js. This makes it a Static Site Generation framework (SSG), meaning you will build pre-rendered sites that load blazingly fast.
In this guide, you will learn how to create a Next.js application using MongoDB and then deploy the application on Vercel.
Key takeaways:
What are the 3-5 most important things the reader should understand or be able to do after reading this article? Use this area to get your ideas down on the bulk of your article or tutorial.
References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Sounds like a helpful topic - let's please be sure it adds value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double-check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved @Rose-stack
Please make sure to fill out the Key takeaways and References fields now and in your future suggestions.


torchao.ops import error on aarch64 linux

Hello team,
I am compiling pytorch/ao package from source on aarch64 linux.
The build and installtion seems to be working perfectly fine unitll I do and import : import torchao.ops
The issue is not with not any single op. Its with all the op registration in ops.py
To reproduce:

- git clone https://github.com/pytorch/ao.git --recursive
- cd ao
- python setup.py install
- python -c 'import torchao.ops'

This import errors out with below error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sudouser/workspace/torch_ao_tests/ao/torchao/ops.py", line 42, in <module>
    def _(EXPONENT, MANTISSA, _in_feats, _weights, _scales, splitK = 1):
  File "/home/sudouser/workspace/torch_ao_tests/ao/torchao/ops.py", line 10, in decorator
    return torch.library.register_fake(f"{name}")(func)
  File "/home/sudouser/workspace/new_tools/tools/dev/pytorch/venv_latest/lib/python3.10/site-packages/torch/library.py", line 795, in register
    use_lib._register_fake(op_name, func, _stacklevel=stacklevel + 1)
  File "/home/sudouser/workspace/new_tools/tools/dev/pytorch/venv_latest/lib/python3.10/site-packages/torch/library.py", line 184, in _register_fake
    handle = entry.fake_impl.register(func_to_register, source)
  File "/home/sudouser/workspace/new_tools/tools/dev/pytorch/venv_latest/lib/python3.10/site-packages/torch/_library/fake_impl.py", line 31, in register
    if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
RuntimeError: operator torchao::quant_llm_linear does not exist

cc @jerryzh168 - have you seen this before? Or do we have a ci for Aarch64 Linux?

Generally the answer to do we support hardware architecture X is most likely gonna be no :P
because AO isn't a pure python package we have to manually support CI for more HW architectures for now we support ARM Mac and Linux and that's about it
We've been very interested in supporting more HW architectures so hopefully we'll share some updates soon

cc @jerryzh168 - have you seen this before? Or do we have a ci for Aarch64 Linux?

we don't right now, and it seems to be blocking torchchat, and I think we'd need to add it: https://github.com/pytorch/ao/issues/922 cc @msaroufim

I'm also curious, if torchao can be compiled and works on CPU and Mac M1, it should work with aarch64 Linux too?
I believe the ops itself are defined in the following CPP files
https://github.com/pytorch/ao/blob/main/torchao/csrc/tensor_core_tiled_layout.cpp
https://github.com/pytorch/ao/blob/main/torchao/csrc/fp6_llm.cpp
https://github.com/pytorch/ao/blob/main/torchao/csrc/sparse_marlin.cpp
So for some reasons these CPP files are not compiled when someone runs python setup.py install? setup.py doesn't seem to include any ARM-specific logic, so perhaps it has to do with the build system?
Semi-related. In ops.py, should we check if an op is defined before registering their fake impl, and define it in python if it isn't? Can be useful when torchao is install with USE_CPP=0 too.
https://github.com/pytorch/ao/blob/2dea31543635ad747e52047f5091fe0b490c3807/torchao/ops.py#L9-L12

@gau-nernst yeah I believe it's just because we haven't added aarch64 in github flows, something like this: https://github.com/pytorch/vision/blob/main/.github/workflows/build-wheels-aarch64-linux.yml

define it in python if it isn't

not sure I follow this one, you mean we register an empty op if it's not defined?

@jerryzh168 The error happens when installing torchao from source, so CI / pre-built binaries shouldn't matter

define it in python if it isn't

I believe
https://github.com/pytorch/ao/blob/2dea31543635ad747e52047f5091fe0b490c3807/torchao/csrc/fp6_llm.cpp#L5-L8
is equivalent to
https://github.com/pytorch/ao/blob/2dea31543635ad747e52047f5091fe0b490c3807/torchao/kernel/intmm_triton.py#L305-L307
The error happens because the op is not defined (from my understanding). So for example, when register fake impl of quant_llm_linear, we can check if it is already defined. If it is not, we can define it in python, like the 2nd code snippet.

@gau-nernst makes sense, please open a PR. I was talking about something different

@ng-05 I believe your error actually comes from the fact that the C++ compiler does not run when you install torchao from source. Can you also double check this?

@ng-05 Can you check if the latest main works for you?
@jerryzh168 I think we can close this (and #913) if @ng-05 verifies that no more errors appear, while #922 can be kept open.

Thanks @gau-nernst and @jerryzh168 . I just tested with latest changes and import works perfectly fine. Thanks for fixing it quickly.
I will close this issue now


[Event Hubs] Update README to reference service EPH docs

In the event-hubs README we have a note about creating scale-able event consumers and point to our EventProcessor class. Instead, we should point to the service team docs as they provide more context around scaling/load-balancing/checkpointing.
Currently the docs contain .NET-specific code and reference EPH. Once they become language-agnostic we should update.
Current service docs link:
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-event-processor-host

Can we now link to https://docs.microsoft.com/en-us/azure/event-hubs/event-processor-balance-partition-load?

Done with #8599


Make the debug context menu an 'opt-in' feature

After reasoning in #17 and #13, I think it could be an improvement to make this feature an opt-in.
I mean, users could just require the context-menu module in renderer process if they need the feature.
This way, we skip all issues related to require method availability and node-integration, and main module code will be further simplified.

I'd vote for separating convenience features into a separate project. Then it could add things like better error output, error detection, logging, live reload, etc. While keeping electron-debug keyboard oriented, without touching any user code (like menus), and really small (5kb-ish).

without touching any user code

Already possibly touching user code with the keyboard shortcuts.

and really small (5kb-ish).

This is not the browser. Whether it's 1kb or 100kb doesn't really matter.

That being said, I don't really find the context menu that useful personally, so wouldn't mind it being a separate project.

Ok, so I'll move it to a separate project.
Maybe I can add a note in electron-debug readme to notice other people that could find it useful?

Already possibly touching user code with the keyboard shortcuts.

It would be the same as Chrome shortcuts though, so they're probably not used by devs to mean something else in a Electron context. Adding/removing items to menu's I'd consider a different scenario.

Whether it's 1kb or 100kb doesn't really matter.

Absolutely, so if it was images or something then sure, but "convenience feature code" has to be pretty convenient and a 100kb "debug" library would be pretty daunting imho.

Glad to hear this can be split up. I really do like the small and simple module approach.

Feature moved to it's own repo.
Suggestions and star are welcomed there :smile_cat:
Removal PR is here

convenient and a 100kb "debug" library would be pretty daunting imho.

It's all relative. 100kb is small when your app is 1000x of that. But anyways. Not gonna this discuss this anymore ;)

@parro-it Can't think of anything right now, but many possibilities. You could browse through the Chrome developer extensions for some inspiration: https://chrome.google.com/webstore/category/ext/11-web-development

@sindresorhus good suggestion, thank you, I'll do... anyway, what I means is suggestion on presentation  of the repo... descriptions of repo purpose etc...


Improve ArcGIS JS API example

If anyone wants to help out improving the ArcGIS example it would be much appreciated. It would be nice if it did show more than one symbol.

Might remove the 2d example now that the 3d example is so awesome.

Removing arcgis 2d example


Multiple Date Selection

Can  i Select a Multiple date ??

Hey @Devloperios, nope not yet. But can surely update to include this. Just not sure by when, will surely drop a comment when it gets done.


Python syntax highlighting

This PR does a few things:

Creates a public init for CodeTheme so people can easily create new code themes
Adds SplashPython as a dependency
Adds support for Python as one of the languages that can be highlighted

Checked out the branch - looks great!

1
2

Seems like a great addition.


Vue - Create Test Workflow

Decide on test frameworks, create test pipeline

Test framework: vue test utils
Run unit tests with Jest

(no line-based coverage, don't test vue (expect vue to be correct), handle components like blackboxes

Run snapshot tests with Jest

remember to use snapshot serializer for helpful test results

https://vue-test-utils.vuejs.org/guides/#getting-started


HTML not using H tags - Accessibility issue

If you inspect this page: https://sanchogov.tools/connected/governance_actions/fd348161bf87b8ff2ed0884239ba783fb5cb8659d4838bfb1e447d94fbf352d2#0
You will see that 'H' tags are not used in the structure. This is not proper semantic HTML
Here is a screenshot of the code for the top header. This should be H1:

As well as the H1 not being there, there are no H tags throughout the document. We need to fix this as this breaks our accessibility goals and will be impossible for people who have visual or other handicaps and rely on screenreaders to parse the page.

That is right, part of a tech debt that we have with our current design system.

We discussed this in our daily meeting, and agreed that it would be ok to wait for this until we have the new design system.
@MSzalowski @bosko-m


Launch from a click

Is there any way to launch the color picker from a button instead of the input/preview?

Found it, cheers.
$mdColorPicker.show({
						value: $scope.value,
						defaultValue: $scope.default,
						random: $scope.random,
						clickOutsideToClose: $scope.clickOutsideToClose,
						hasBackdrop: $scope.hasBackdrop,
						skipHide: $scope.skipHide,
						preserveScope: $scope.preserveScope,

						mdColorAlphaChannel: $scope.mdColorAlphaChannel,
						mdColorSpectrum: $scope.mdColorSpectrum,
						mdColorSliders: $scope.mdColorSliders,
						mdColorGenericPalette: $scope.mdColorGenericPalette,
						mdColorMaterialPalette: $scope.mdColorMaterialPalette,
						mdColorHistory: $scope.mdColorHistory,
						mdColorHex: $scope.mdColorHex,
						mdColorRgb: $scope.mdColorRgb,
						mdColorHsl: $scope.mdColorHsl,
						mdColorDefaultTab: $scope.mdColorDefaultTab,

						$event: $event,

					}).then(function( color ) {
						$scope.value = color;
					});

For now that is the way.  I will be breaking up the standard "md-color-picker" template into "md-color-picker-preview" "md-color-picker-input" etc etc.  Hopefully adding a "dropdown" style as well (md-datepicker esque).

Awesome, sounds good. You're doing good work! This is the nicest looking color picker I've found!

I'm sorry, can you expand on how to call it from a button click? I'm new to Angular and still very confused. My idea is to call it from a context-menu option but when I try the code above, I get $mdColorPicker is not defined.

You need to make sure to inject $mdColorPicker into your controller, or wherever you are calling it from

Once you've injected it, how do you call the showColorPicker() function and how do you get the value out of it?
Again, sorry for the stupid questions.

$mdColorPicker.show(options).then(function( color: string ) {
    ctrl.hcModel = color;
});

Or you can also pass something into options.value which will change real time

I tried the function without passing anything, because I saw that it uses the defaults in that case but I get angular.js:13708 TypeError: Cannot read property 'search' of undefined

you might need to pass in the value option, it might not be optional. Just pass in any colour to test it.

Problem solved. Thank you!

This is the solution:
$mdColorPicker.show({
                    value:$scope.colorSelected
                }).then(function(color) {
                    console.log(color);
                });

Thanks for helping out @amritk !  Glad everything got sorted out.


Set-DbaDatabaseState, removed unused vars

Moving towards 1.0, following BOH indications. ScriptAnalyzer is now quiet (and we're happy).

excellent, thanks!


Any workaround for Gravatar fallback problem?

I'm using a URL like this:
https://www.gravatar.com/avatar/00000000000000000000000000000000?s=200&d=https%3A%2F%2Fui-avatars.com%2Fapi%2FJohn+Smith%2F200
I've also tried %20 between the first and last name, but no matter what, Gravatar seems to strip out the spacing and the initials end up as "JO" instead of "JS" because Gravatar sees the name as JohnSmith, with no spaces.

Hi, okay so the way I go about this is using url encoding.
So basically I url encode the name as well as the actual UI Avatars url. It's a little odd to do, but it works every time in my case.
An example in php:
return 'https://www.gravatar.com/avatar/' . md5( strtolower( $email ) ) . '?s=60&default=' . urlencode( 'https://ui-avatars.com/api/' . urlencode( $name ) . '/60/E8E8FE/7061FF/2/0.5/0' );

Hope this helps 👍  Will close, but feel free to comment again, just doing it to clear up the remaining work


Feature request: tracking native coin transfers

It would be very usefull if it was possible to track all native coin (ETH/Matic) transfers to/from specific addresses.
It's easy to track ERC20/ERC721 tokens by just using eventHandler on Transfer event.
This feature could work similarly to data source templates, where template is defined in subgraph.yml and later some handler has to run MyTemplate.create(address) to start indexing the some specific instance of the contracts.

hey @kowalski this is definitely of interest - this will become more feasible in Graph Node with the introduction of a Firehose as a data source, as it is not currently easy to filter an RPC for Ether transfers

Any news about this request?

+1


Changes to outbound redis interfaces

Part of #1866
This moves the outbound redis interface to use a connection oriented resource rather than free functions.
It also updates the error type from just being error to 4 different error possibilities.

Looks like the underlying get it can return any FromRedisValue, which could be an Option<Vec<u8>> to preserve the nil: https://docs.rs/redis/latest/src/redis/types.rs.html#1516

Unless I'm missing something, the underlying redis API supports both, depending on whether your call to get uses RV = Vec<u8> or RV = Option<Vec<u8>>. It is just our current implementation that (implicitly, via inference) uses RV = Vec<u8>.


gen_safe_prime_exact() generates safe primes that are not exactly the desired bit size for BigUint.

so the issue can be tested quite fast this way :
    let mut rng = OsRng;
    loop {
        let prime1 : BigUint =  rng.gen_safe_prime_exact(128);
        println!("{}", prime1.bits());
    }

it doesn't take long to get primes that are not the exact bit_size.

looking at the implementation i think i figured the issue
   #[inline]
    fn gen_safe_prime_exact(&mut self, bit_size: usize) -> BigUint {
        let config = Some(PrimalityTestConfig::strict());
        let p = self.gen_prime_exact(bit_size, config);
        if is_prime(&(&p >> 1u8), config).probably() {
            return p;
        }
        let p2 = (p << 1u8) + 1u8;
        if is_prime(&p2, config).probably() {
            return p2;
        }

        self.gen_safe_prime(bit_size)
    }

it seems that it should be a recursive function but it doesn't call itself and call gen_safe_prime instead, which will not always return the right bit size

Thanks for pointing this out. I also realized that there is another bug: only one side of prime generation should be considered in generating primes with exact bits. Fixed in 60eb5ba5f94c69c8d113fa2e65c82208c7815d4c


Add commit hash implementation, similar to kuadrantctl, to authorino.

After speaking with @eguzki in kuadrantctl #85 , the idea of adding a commit hash to the version output of authorino, similar to kuadrantctl, would be a great way for users to see where exactly their version of authorino is coming from.
This can be done through a Makefile target, such as in build . Refer to the above issue to see how it was implemented in kuadrantctl for context.

@ehearneRedHat, the Authorino binary already includes the version, which is either a SHA (latest builds) or a semantic version (releases.)
Apart from printed to the logs when the auth server starts:
{"level":"info","ts":"2024-06-12T13:48:57Z","logger":"authorino","msg":"booting up authorino","version":"dc90ac837c3babc6afe6e1e5aacb64fe84c58088","cmd":"server"}

one can also check it by running:
$ ./authorino version
Authorino dc90ac837c3babc6afe6e1e5aacb64fe84c58088

@guicassolato I was speaking with @eguzki again, and I was made aware that additional context may be needed to understand what the proposed feature was.
I have added that context to the first comment. Thank you for the additional information. :)


Update prey to 1.7.4

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Running script.sh...

>>> brew cask _audit_modified_casks 4b31e1f9d6b4967a2bcd03e6ed63585abd4aca2a...0c9ec8f112085503d39d57cab0c4d4bba03344c7
==> 1 modified cask: prey
==> Downloading https://downloads.preyproject.com/prey-client-releases/node-client/1.7.4/prey-mac-1.7.4-x64.pkg
==> Verifying checksum for Cask prey
audit for prey: passed

>>> brew cask style Casks/prey.rb

1 file inspected, no offenses detected

>>> brew cask reinstall --verbose Casks/prey.rb
==> Caveats
Prey requires your API key, found in the bottom-left corner of
the Prey web account Settings page, to complete installation.
The API key may be set as an environment variable as follows:

  HOMEBREW_NO_ENV_FILTERING=1 API_KEY="abcdef123456" brew cask install prey

==> Satisfying dependencies
==> Downloading https://downloads.preyproject.com/prey-client-releases/node-client/1.7.4/prey-mac-1.7.4-x64.pkg
Already downloaded: /Users/travis/Library/Caches/Homebrew/Cask/prey--1.7.4.pkg
==> Verifying checksum for Cask prey
==> Installing Cask prey
==> Running installer for prey; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
==> No API Key provided. Stopping here.
==> installer: Error -  Pre install check failed. Try again.
==> Purging files for version 1.7.4 of Cask prey
Error: Command failed to execute!

==> Failed command:
/usr/bin/sudo -E -- /usr/sbin/installer -pkg /usr/local/Caskroom/prey/1.7.4/prey-mac-1.7.4-x64.pkg -target / -verboseR

==> Standard Output of failed command:
No API Key provided. Stopping here.

==> Standard Error of failed command:
installer: Error -  Pre install check failed. Try again.

==> Exit status of failed command:
#<Process::Status: pid 5465 exit 1>
Error: Kernel.exit


This is dupe of https://github.com/Microsoft/pxt/issues/395

Resolved by https://github.com/Microsoft/pxt/pull/2615 and https://github.com/Microsoft/pxt-microbit/pull/484.


[FLINK-33340] Upgrade jackson from 2.14.3 to 2.15.3

What is the purpose of the change
The PR is to bump jackson to 2.15.3
Brief change log
pom and NOTICE files
Verifying this change
This change is a trivial rework
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes )
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: ( no )
The runtime per-record code paths (performance sensitive): ( no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: ( no )
The S3 file system connector: (no )

Documentation

Does this pull request introduce a new feature? ( no)
If yes, how is the feature documented? (not applicable )

@snuyanzin I want to work on this issue

@TanYuxin-tyx I think it is always recommended to use one lower version, since the most up-to-date version might not be stable enough, especially with the first new minor version x.x.0 release.

Thanks for taking a look

I think it is always recommended to use one lower version, since the most up-to-date version might not be stable enough, especially with the first new minor version x.x.0 release.

+1

OK. Thanks for the explanation.


Use the atom-workspace tag instead of the workspace class.

In keymaps/term2.cson: Use the atom-workspace tag instead of the workspace class.

you can change this yourself by simply adding atom- infront of the word workspace.
although it will just give you other errors about deprecation so no point.

Was fixed in d02ebfa899203f7d15287de91f0eb0b87d61ebf4
But still needs to be released.

Released.


BULLETTRAIN_DIR_EXTENDED not showing username?

Hi!  Loving the theme.
I started a branch to add username and hostname, and I see that BULLETTRAIN_DIR_EXTENDED	is supposed to "Show user and machine in an SCP formatted style."
It doesn't seem to be working, for me at least.  I set it true explicitly, and reloaded the theme, and I still see the path but not $USER@$HOST:$PATH like I would expect.

I can replicate the bug.
Will work on a fix.

Set BULLETTRAIN_DIR_CONTEXT_SHOW as true to see as SCP.
It was not on README.
Just updated.
Let me know if everything is okay.


install error

I use git to pull the code, then I use the command python -m pip install -e .
then there is a error
(quant) E:\Python\quantaxis\pyfinance>python -m pip install -e .
Looking in indexes: http://pypi.douban.com/simple/
Obtaining file:///E:/Python/XXX/pyfinance
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "E:\Python\XXX\pyfinance\setup.py", line 8, in <module>
        with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
      File "E:\ProgramData\Anaconda3\envs\quant\lib\codecs.py", line 898, in open
        file = builtins.open(filename, mode, buffering)
    FileNotFoundError: [Errno 2] No such file or directory: 'E:\\Python\\XXX\\pyfinance\\README.rst'

So I change the 'README.rst' to 'README.md', then is OK.

Thanks for the fix as I had this problem too.


Prevent unencrypted files from being checked in

I wrote https://github.com/yuvipanda/pre-commit-hook-ensure-sops
to prevent possible unencrypted files from being checked-in! This
reduces need to keep unencrypted files on disk at rest in our
local checkouts as well.
Any file with the word 'secret' in its path will be checked to
make sure it is encrypted with sops. Exclusions will have to
be explicitly listed in our .pre-commit-config.yaml file - I'd
rather we be over-aggressive with this than not, given the
possible dire consequences of a credential leak.
I moved the sops encrypted ssh keys we use for our eksctl / kops
clusters into a directory named 'secret' so they are also checked

I also want to get the pre-commit hook itself moved into the 2i2c org - https://github.com/yuvipanda/pre-commit-hook-ensure-sops. What do folks think?

I think this is a clever idea to keep us from accidentally committing something we don't want to!

Thanks, @sgibson91!


Fixed clippy warnings

As per title. Now the code seems to run a bit faster (before I got mostly times of about 0.00004 seconds, now 0.00003 seconds, but the reason may lie elsewhere).
Nonetheless, there were code portions such as
if var == true {
  true
} else {
  false
}

Another addition was the #[rustfmt::skip] on top of TokenType, that line is needed to don't let the formatter "uglify" that enum.

a little off topic from the pr but I can't not notice that you're doing a lot for Clue
would you be interested in joining the organization?

I'm interested in it because I don't like Lua as it is + the project is in Rust
About joining the org, I'd be glad to join

do you have Discord? that way we can talk without going more off topic in this pr lol

yes, Enn3DevPlayer#6727


Can not open the google drive download link for preprocessed dataset

Hi, thanks for sharing this very good work!
I found the google drive link of the preprocessed dataset can not use, maybe the permission issue, could you have a double check? Thanks

Could you test the link now? It seems my google drive account (I use a separate account for sharing data) was somehow frozen, and just re-activated it. Ping me if there is any other issue.

Yeah, it works, thanks a lot


Investigate marking built-in WindowsFoundation types as @_spi

They have to be defined in the WindowsRuntime module, but they are logically in the generated WindowsFoundation/UWP module

Nope :(
@_spi(SPI) import Library
public typealias AnyP = Library.AnyP

main.swift:3:33: error: cannot use type alias 'AnyP' here; it is an SPI imported from 'Library'
public typealias AnyP = Library.AnyP
                                ^


(rational-completion) require consult

I'm working on my space keybinding config and want to be kinda-flexible in case I decide to offer my config to the community, so I added the following:
(with-eval-after-load 'evil
  (evil-set-leader 'normal " ")
  ; [...]
  "File bindings"
  (evil-define-key 'normal 'global (kbd "<leader>fs") 'save-buffer)
  (evil-define-key 'normal 'global (kbd "<leader>ff") 'find-file)
  (with-eval-after-load 'consult ;FIXME never loads
    (evil-define-key 'normal 'global (kbd "<leader>fr") 'consult-recent-file)
    )
  ; [...]
  )

My issue here is that because consult has not been require'd, my keybinding never registers until I use some commands that triggers consult loading.
This PR makes requires consult from the rational-completion so that user can rely on with-eval-after-load if they need to register some keybinding, or other stuff.

I thought about this for a bit, I think there are two conflicting requirements here:

Load the least amount of packages as possible on startup
Don't depend so much on the existence of other rational modules

Maybe there's a way to check if the consult package is actually installed before setting the binding?  Then we could let the autoload system load the consult package if someone invokes the binding without the need to pre-load it.


Japan too ?

https://www.nta.go.jp/english/taxes/consumption_tax/pdf/2021/simplified_15.pdf
The docs are decent . Almost as good as the EU ones in English

Support for Asian invoicing approaches is one of the key features we'd like to have in place before even contemplating a v1 release for GOBL, so yes, we'd love to support Japan!
So far, most of development process is based on what has been requested by customers of our commercial product. We've not received requests yet for that side of the world, and there is an obvious language barrier to get into the details, but we'd still gladly look at any PRs. A Japanese translation of the HTML generator would also be awesome!


Bump vite

The test and deployment didn't pass in #456 so trying it manually.

Any chance one of you @asnaith or @Lykhoyda have used this account to create multisigs?

Yeah sorry, I should have removed it after created the test fixture. Thank you for updating the test! 🙏


Minor sandbox parameter fixes

Found some minor issues while trying to document the sandbox parameters.

Allow camera position to be closer than the default lower radius limit
Lower case all parameter names and values
Allow asset in addition to assetUrl so that it's consistent with environment

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

You have changed file(s) that make changes to the playground.
You can test the snapshot here:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/15951/merge/
The snapshot playground with the CDN snapshot (only when available):
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/15951/merge/?snapshot=refs/pull/15951/merge
Note that neither Babylon scenes nor textures are uploaded to the snapshot directory, so some playgrounds won't work correctly.

Building or testing the playground has failed.
If the tests failed, results can be found here:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/15951/merge/testResults/

Snapshot stored with reference name:
refs/pull/15951/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15951/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15951/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15951/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15951/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15951/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15951/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15951/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15951/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15951/merge/testResults/webgl2playwright/index.html


Improve List.length performance

Out of interest: do you have a benchmark?

Yeah I'm curious about a benchmark too, because a closure that doesn't wrap any local variables just compiles to a local function anyway...

Out of interest: do you have a benchmark?

I made a benchmark here. It tests a list with 50,000 items.

Wow, I see a huge improvement. Looks like  by removing the F2 wrappers we get a massive performance gain.

var $author$project$Main$currentlength = function (list) {
	return A3(
		$elm$core$List$foldl,
		F2(
			function (_v0, i) {
				return i + 1;
			}),
		0,
		list);
};
var $author$project$Main$lengthHelp0 = F2(
	function (list, acc) {
		lengthHelp0:
		while (true) {
			if (!list.b) {
				return acc;
			} else {
				var xs = list.b;
				var $temp$list = xs,
					$temp$acc = acc + 1;
				list = $temp$list;
				acc = $temp$acc;
				continue lengthHelp0;
			}
		}
	});
var $author$project$Main$newlength = function (list) {
	return A2($author$project$Main$lengthHelp0, list, 0);
};


Typo on Set up Cloudflare Access page

products/access/src/content/getting-started/access-setup.md says:
"Choose an authentication domain. The authentication domain will represent you Cloudflare for Teams and the URL will serve as the launch page for end users."
Should that be "represent you to Cloudflare for Teams"? Or perhaps "represent you on Cloudflare for Teams"?

Thanks for the catch @joncar - fix on its way.


x/tools/gopls: TryBot flake in TestDeleteFiles/delete_then_close/default

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/watch" && test == "TestDeleteFiles"

The following flake occured on https://go.dev/cl/422135:
https://storage.googleapis.com/go-build-log/a34a97d8/freebsd-amd64-12_3_7f502470.log
greplogs does not turn up any recent flakes on the builders, but this one flake suggests that there may be a race to logging (which makes sense, as logs might be asynchronous).

Without a reoccurrence, this is unlikely to get prioritized. Closing for now as unreproducible.


Implement looking for manually installed idea on windows

Hey!
I’ve created a quick PR that adds functionality for the “Open in IntelliJ” button to detect manually installed IntelliJ versions.
The sorting is based on the “last modified” date, so it should ideally open the most recently installed version.
Since Liftoff doesn’t run in a Windows sandbox, I couldn’t fully test it myself. However, I did test it using jshell by copying and pasting the code line by line. I prefer not to install IntelliJ manually on my PC.
It might be beneficial to identify the default install locations for Mac and Linux as well, but I think Linux are good enough to figure out a disabled button might have a tooltip.

I just noticed the flatpak check isn't included, i'll re-add that one too.

This needs some testing but should be the same as from the previous PR


Rancher only seems to create Public IPs for Layer 4 load balancers on AKS. Is there a way to create private ones without dropping to kubectl?

What kind of request is this (question/bug/enhancement/feature request):
question
Steps to reproduce (least amount of steps as possible):

Create an AKS cluster in Rancher 2
Add some workload or other
Expose the workload via a Layer 4 Load Balancer

Result:
The load balancer is created with a public IP and is accessible over the internet.
Is it possible to make Rancher/AKS create these load balancers only on the private VNet?
I know you can do this via kubectl and YAMLs but I was wondering if it were possible to do it within the Rancher UI.
https://docs.microsoft.com/en-us/azure/aks/internal-lb

Ability to add annotations in UI were added in https://github.com/rancher/rancher/issues/15070, let me know if that doesn't work in this case.

It does work, but it's a pretty bad user experience on AKS clusters to have to go into the hidden settings and add this. And given the default is to expose a cluster service directly to the internet it's a little bit dangerous too.


Switch gluster setup from loadtheaccumulator/ansible-gluster to gdeploy

Replace current ansbile-gluster based roles and playbooks with gdeploy config files, so that gdeploy will be the only way we would configure and setup gluster.
Reasoning
Based on recent refocus on Gluster, we need to automate much more complex Gluster configurations and to be able to do that, we need to unify Gluster setup so that there is only single way to work setup/configure gluster which could handle all possible gluster configurations we need to test with.
Gdeploy is tested and used by Gluster QE team, who verified that this approach is reasonable.
I would rather not execute gdeploy via ansible, because gdeploy it itself an ansible wrapper, so such integration would be error prone, hard to debug and would invalidate core ansible assumptions.
Details
So instead of playbooks such as:
gluster_peers_bricks.yml

we will have a gdeploy config file:
gluster_peers_bricks.conf

which will be executed via gdeploy:
# gdeploy -c gluster_peers_bricks.conf

Fixed by https://github.com/usmqe/usmqe-setup/pull/127


Repo Archive Warning

What
Warning message about repo archive
How to review
Check is ok
N.B: Checks are not fixed because the service is being decommissioned.
Who can review
Anyone

Also you might want to disable the ci jobs from branch protection in Github as they are failing but we don't need to spend time fixing them if we're getting rid of ci for this library anyway.