Table of contents taking article space

Describe the bug
Added a sample article of mine and enabled TOC, and the TOC is taking way too much width, stealing from article's width.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://www.norsedreki.com/posts/and_dos_binding_adapters/
See error

Expected behavior
TOC should be way narrower and allow article take its space.
Screenshots

Desktop (please complete the following information):

OS: MacOS
Browser: Safari, Chrome

Additional context
When I disable TOC in params.toml article looks just fine.
Also, would anyone point me to a CSS class which controls TOC width please? I'd override it as a temporary workaround.
Thanks!

Looks good to me... Try deleting caches

Deleting caches didn't help, the reason it looks good on your screenshot is because I've pushed a workaround where CSS classes .min-w-0 and .max-w-prose are overridden to push TOC more to the right.

Can you share your repo?

Here it goes: https://github.com/NorseDreki/norsedreki.com/tree/blowfish_toc_width. In that branch, I've removed overridden CSS classes mentioned above.
If deployed locally, a sample post to troubleshoot TOC width would be: http://localhost:1313/posts/and_dos_binding_adapters/, although I see TOC seems too wide at each post page.


search-backend-module-elasticsearch: ensure all stale indices are deleted

Hey, I just made a Pull Request!
We ran into a case where the indexer would fail but leave a half-filled index without deleting it (#24680 should allow us to understand why).
As indices are not deleted, we're exhausting the allowed number of shards on our OpenSearch cluster.
This PR changes the way stale indices are cleaned. Instead of relying on aliases, we simply list indices that match the indexer's pattern (some-type-index__*) and delete them after indexation.
I've marked the change as breaking because someone may use some-type-index__some-index-that-shouldnt-be-deleted as an index name (not managed by Backstage Search).
However the wildcard pattern is already used to remove aliases, so IMHO we can commit to use the pattern to detect and delete stale indices.
:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[ ] ~Added or updated documentation~
[X] Tests for new functionality and regression tests for bug fixes
[ ] ~Screenshots attached (for UI changes)~
[X] All your commits have a Signed-off-by line in the message. (more info)

Hi @djamaile, thanks for the review!
I've re-added getAliases on ElasticSearchClientWrapper and marked it as deprecated. Not sure about the deprecation message, hope it works this way 🤞

Hi @djamaile,
I've updated the PR to handle deletion in chunks of 50 indices to fix an issue that can occur when having a lot of stale indices to delete.
The indices delete method in ES/OS clients generate a DELETE /index1,index2,index3.. request, and since the size of an URL is limited, it fails to send the delete request for ~200-300 indices (depending on the pattern size).
To mitigate this I'm splitting the removableIndices array in chunks of 50 indices.
Let me know if something's needed to move this forward!


[5.4] Correct an Incremental Miscompile For Edits to Overloaded Extension Members

The type body fingerprint for a nominal type currently controls when the Driver runs off and recompiles member references like this. Unfortunately, when we run lookups for the member, we only record a dependency on the interface hash of the nominal type, not any of the extensions we happened to find the member in. This means that if only the extension's overload changes, we will assume that nothing has happened since the nominal type's fingerprint hasn't changed and we have no direct dependency arc to the extension decl. We should be able to correct that with some work on mainline to get richer dependencies on extensions. For now, avoid the miscompile by restoring the old behavior of just treating extensions edits like changes to the top-level interface hash.
rdar://74583179

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 4263c8522167fed2a4eddfec288eca79272d7302

@swift-ci test

⛵


Update sensor.py

Correction made to the key for Infoevent
Added entity Infoevent_counter
Removed invalid device class temperature for entities with flow and m3
Add serial number sensor

Thanks!


Distributor: Events are lost if service container is not ready yet

When testing the zero downtime capabilities of Keptn, i came across several occasions where e.g. an evaluation.triggered event sent by the shipyard controller is not processed by the lighthouse service, when there is an upgrade off Keptn (or the lighthouse service) going on.
The upgrade strategy for the lighthouse service was as follows:
strategy:
     rollingUpdate:
       maxSurge: 1
       maxUnavailable: 0
     type: RollingUpdate

So this should ensure that there is always at least one instance of the lighthouse service pod that is able to receive traffic.
I also noticed that the evaluation.triggered event did get through to one of the distributors, but apparently the lighthouse-service container was not ready at this point, which lead to the event being lost.
This scenario can be reproduced relatively consistently (it does not always happen, but still often enough to cause problems):

Continuously sequences for a service (e.g. evaluation sequences)

2.Update the image of the lighthouse-service, e.g. using the following command:
kubectl -n keptn set image deployment.v1.apps/lighthouse-service lighthouse-service=keptndev/lighthouse-service:0.14.0-dev-PR-7266.202203280650

Then you should see some sequences in the bridge which have been triggered, and if the problem happened, the currently active sequence will be stalled because of no evaluation.started event being received. Eventually, this sequence will time out and be aborted by the shipyard controller
Another case where the incoming evaluation.triggered events were not handled is during the termination of the lighthouse service container. During this period, the distributor will still get events, but those are not handled by the lighthouse service anymore, as the logs below suggest:
lighthouse-service time="2022-03-28T14:19:33Z" level=fatal msg="Container termination triggered, waiting for graceful shutdown"                                                                                │
│ distributor time="2022-03-28T14:19:35Z" level=info msg="Received a message for topic [sh.keptn.event.evaluation.triggered]\n"                                                                                │
│ distributor time="2022-03-28T14:19:35Z" level=info msg="Sending CloudEvent with ID 067dcf91-56d9-4216-a96e-80bd2b0f0a0a to <IP_ADDRESS>"                                                                                │
│ distributor time="2022-03-28T14:19:37Z" level=info msg="Received a message for topic [sh.keptn.event.evaluation.triggered]\n"                                                                                │
│ distributor time="2022-03-28T14:19:37Z" level=info msg="Sending CloudEvent with ID 37cadc36-1065-4b66-b7b2-c6571ae2aad6 to <IP_ADDRESS>"                                                                                │
│ distributor time="2022-03-28T14:19:39Z" level=info msg="Received a message for topic [sh.keptn.event.evaluation.triggered]\n"                                                                                │
│ distributor time="2022-03-28T14:19:39Z" level=info msg="Sending CloudEvent with ID cf37fed9-c245-40fb-949c-bb5eb7f7b2fe to <IP_ADDRESS>"                                                                                │
│ distributor time="2022-03-28T14:19:45Z" level=info msg="Received a message for topic [sh.keptn.event.evaluation.triggered]\n"                                                                                │
│ distributor time="2022-03-28T14:19:45Z" level=info msg="Sending CloudEvent with ID 8373579b-5ea0-48da-aa33-8a9db39c4248 to <IP_ADDRESS>"                                                                                │
│ distributor time="2022-03-28T14:19:53Z" level=info msg="Terminating event forwarder"                                                                                │
│ distributor time="2022-03-28T14:19:53Z" level=info msg="Terminating UniformLogger"                                                                                │
│ distributor time="2022-03-28T14:19:53Z" level=info msg="Unsubscribed from NATS topic: sh.keptn.event.evaluation.triggered"                                                                                │
│ distributor time="2022-03-28T14:19:53Z" level=info msg="Unsubscribed from NATS topic: sh.keptn.event.get-sli.finished"                                                                                │
│ distributor time="2022-03-28T14:19:53Z" level=info msg="Unsubscribed from NATS topic: sh.keptn.event.monitoring.configure"                                                                                │
│ distributor time="2022-03-28T14:19:53Z" level=info msg="Terminating NATS event receiver

This will be fixed for Keptn core services with #7435

https://github.com/keptn/keptn/issues/7435 has been closed. We can, in turn, close this issue :)


torchscript model second time forward is very slow

What time are you getting on which hardware?

Here are my times in seconds using my code, on a GTX 1080. Only the model(...) part is timed. This seems to be an issue with LaMa or pytorch

My device is RTX TITAN. Torchscript convert script https://github.com/saic-mdal/lama/pull/63

I tested it again and the real problem is that the same picture is very slow in the second forward

This is a feature of TorchScript(as of 1.7)!!! https://github.com/pytorch/pytorch/issues/50796#issuecomment-769272059

Related issue https://discuss.pytorch.org/t/second-forward-call-of-torchscripted-module-breaks-on-cuda/124291

Related issue https://discuss.pytorch.org/t/second-forward-call-of-torchscripted-module-breaks-on-cuda/124291


ABCD data dictionaries that don't have a corresponding tabular data file

A total of 120 dictionaries don't have a corresponding data file in the ABCD Release 4.0 tabular data package (see attached file). Further investigation required as to why. Maybe someone else can download the data package and run the data_convert.py script before we look into it further?
data_dictionaries_without_data_files.txt

Discussed this offline yesterday and @Arshitha will reach out to the NDA with what appear to be necessary corrections due to filename typos mostly. Closing this as it is not an issue we have control over.


[Support] how to use gem.files.include and gem.files.exclude

I tried to follow documentation on README, but it seems to be missing something.
I'm trying to do the modifications inside the Juwelier::Tasks.new do |gem| block:
Juwelier::Tasks.new do |gem|
  # gem.name ...
  gem.files.exclude('folder')
end

I still get files inside that folder in the generated gemspec.
After I tried:
Juwelier::Tasks.new do |gem|
  # gem.name ...
  gem.files = Rake::FileList[]
  gem.files.include('lib')
  gem.files.exclude('benchmark')
end

But then no files are added at all.
What I'm missing here?

Let me take a look at that.


Database navigator renamed

Idk if smth is changed

try to check if your editor is converting windows/unix newlines. Also, git has settings (core.autocrlf) to perform eol normalization automatically.

Please fix line feeds


Demo: Bing not working

Writing up the demo now, and Bing is not working. Likely a typo in the still-in-progress demo.

Fixed, or rather ignored. Looks like Bing refuses to work if you're using file:// scheme e.g. for testing. Works fine if uploaded to a web server and thus scheme=http


WIP - run examples as part of tests

closes #624

The pretest hook is failing due to standard && standard-markdown on a bunch of files within the examples directory. Any idea why it would be throwing errors now? Do I need to go through and make the changes manually?

Had to add the standard --fix hook to pretest method. Also trying to work through a netrc error. Says "Error: ~/.netrc authentication type chosen but no credentials found for 'api.github.com'"
But we aren't even passing that host in the netrcAuth.js file.

Okay so I got my local environment set up. Started working through what exists already. It seems as though a lot of the examples are broken throwing random errors all over the place. I'm not familiar with the entire API so I'm not sure the best way to settle each error. Furthermore, I tried to mimic the error handling inside examples-test.js but with no luck. Will continue to work on this and see where I can get it.

make sure to rebase on the latest master, there have been a few changes, shouldn't affect examples though

pro tip :tm: while working on the examples, I'd run node test/examples-test.js instead of npm test, that will be faster and less noisy :)
btw I like your blacklist workaround to get through all examples first, I can have a look in the one you have listed in there while you work on the rest.
Thanks for helping Ethan, let me know if you have any other questions

"Error: ~/.netrc authentication type chosen but no credentials found for 'api.github.com'"

We would need to mock fs for return a mock ~/.netrc file for that. My plan is to remove the built-in support for netrc anyway though, so let's just remove the example.
If tested it locally just to make sure it works as expected with the current code by created the file with this content
machine api.github.com
  login foo
  password bar

And I got a 401 as expected. So safe to remove it

getPullRequestReviews.js .
why did you ignore this one? I would remove the empty line on top, change the owner and repo to octokit and node-github, remove the github.authenticate() call and the callback, otherwise I think this one is good to go :)
getPullRequestReview.js
We could just remove this one? If you want to keep it, I'd remove the github.pullRequests.getReviews call and keep only the github.pullRequests.getReview call, just hardcode a review id in the example. Also remove the authentication, callback and update the owner/repo like the other examples

Okay so I rebased and started over because I realized a bunch of stuff.
First, a handful of these tests contain console.log(err, res[data]) statements that are making console outputs really gross when ran together. While most of the errors are caught by the examples-test.js file they are still being logged. As I work my through each example I shall replace it with console.log("Error thrown in . . .") so there is still an output just not something huge a unreadable.
Second I'm starting to delete things like the authenticate call as well as change the imports as you stated above.
Third following your instructions I began deleting tests such as the netrc one.
I have a busy weekend in front of me so I won't be able to commit much but expect more work next week 👍

cool great work @Ethan-Arrowood. No worries if you get to busy to continue to work on it, I can take it over any time and ind something else interesting for you to work on when you have more time

@gr2m I hope what I'm pushing tonight knocks out a lot of the work for you. There are few more errors being thrown because some of the files have more complex error handlers and I wasn't sure what to do in those instances. Code coverage is up to 60% now (including all the example files). I should have some time tomorrow to review more and hopefully we can finish this up.

@gr2m we are very close. Few more examples being buggy:
getNextPage
getReleaseAsset
searchMostStarredRepos
testPromiseGetNextPage
They all contain if(err) throw err lines, but I'm wary to just get rid of them. Let me know what you want me to do.

@Ethan-Arrowood I think we are nearly there. There is one error about required_pull_request_reviews, I think this one is about branch protection, wanna look if you can figure it out?

@gr2m yeah on it now :)

don't worry about missing code coverage, we can set it to ignore files in the examples directory altogether, we are just interested in lines covered in the lib directory

@Ethan-Arrowood I think the pull request is all set, thanks a ton for your help! I've cleaned up the commits and made sure to set you as the author for the examples and the test files, is that okay with you?
Let me know if you are interested in contributing some more :) For example, we create fixtures for automated tests based on the example files and a few are still missing: https://github.com/octokit/fixtures/issues/14 It's quite interesting how the fixtures work :)

@gr2m this has been a lot of fun! Learned a lot and will definitely contribute more in the future. I'll have to take a few weeks off due to some upcoming interviews; however, I have a very big break from university coming up (2 full months) so I'll be back then to do more work 👍

All the best for the upcoming interviews 🎉


Add my info: Ishaan Gupta

@ishaangupta-YB check your mail and accept the invitation of private repo.


fixed the responsive

fixed the responsive

Thanks for the fix, I updated the plugin with new version.


public DeltaTable method to access table config

Description
Use Case
Looks like there is no public method declared on the DeltaTable struct itself to access table config value. Table configurations are currently encapsulated within DeltaTableState.TableMetadata, which is all private fields.

Are you saying that a method is needed on DeltaTable that can get the current Metadata from its state field and return the configuration HashMap?

that's correct

I can probably do this unless somebody else wants to

Thanks @Smurphy000 , consider yourself assigned :)


flushCommandBuffer method in triangle.cpp does an invalid evaluation.

It seems that you're doing an incorrect if(free) in triangle.cpp's flushCommandBuffer(). This is likely because you copied the code of the method from the VulkanExampleBase class. This doesn't build for me because free() is a C function and nothing else for that method's scope. I believe that if this works for you it's because your compiler is doing an implicit conversion of the function pointer to free() instead of the intended input parameter of flushCommandBuffer().

Yes, you're right. The base class flush takes free as an argument, the triangle doesn't, which is obviously wrong. Thx for noticing :+1:

Glad to be of help! This work of yours is very helpful.


CVE-2007-4559 impact

Trellix has reported an issue with python tar file module:
https://www.trellix.com/en-us/about/newsroom/stories/research/tarfile-exploiting-the-world.html
and i can see two instances where vulnerable code is referred:https://github.com/zappa/Zappa/search?q="extractALL"
Credits:https://github.com/advanced-threat-research/Creosote
Can you please help me understand the impact and set of action items?
Will Zappa patch this and handle the vulnerable function?

I looked into the filing.  It's my understanding that the vulnerability resides in the fact that tarfile can be used to define locations with relative paths, such as ../../myfile, which my then change the system's underlying functionality.
It the zappa case the only file that is the target of extractall usage is the file packaged by zappa itself.
Since zappa is presumably packaging the target tar file, I don't see any issues at the moment.
https://github.com/zappa/Zappa/blob/fff5ed8ad2ee071896a94133909adf220a8e47d9/zappa/core.py#L815-L823
If an attacker can create or replace the zappa package on s3 you can be affected, but that is a separate security issue.
I may be overlooking something, so any additional comments are welcome.

Closing as zappa is not considered impacted.


use unsigned integers

I think these values should be unsinged integers. We used it and got negative numbers. Which I don't think makes sense in the context of LSNs

Yes, that's correct. Thanks for the PR!


Kaiser Window

In some of my projects I'm using the Kaiser Window as a DPSS window approximation. In some cases I was able to improve the SNR by using Kaiser windows instead of .
In https://github.com/zsiciarz/aquila/pull/51 I added some extra window functions. However, I couldn't add the Kaiser function because the formula depends on the modified Bessel function of the first kind.
My implementation (which is hereby released under CC0 1.0 Universal) depends on boost::math which provides Bessel functions:
template<typename T, typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr>
void kaiserWindow(T* out, size_t n, T alpha = 2.0) {
    using namespace boost::math;
    const T denom = (T)n - 1.0;
    const T piAlpha = boost::math::constants::pi<T>() * alpha;
    for (size_t i = 0; i < n; ++i) {
        T term1 = (2.0 * i / denom) - 1.0;
        out[i] = cyl_bessel_i(0, piAlpha * std::sqrt(1.0 - term1 * term1)) / cyl_bessel_i(0, piAlpha);
    }
}

However, boost::math is a huge template library. I'd like to avoid introducing it as a aquila dependency just because of a single window function.
Do you see any alternative to using boost::math for this?

C++17 now has bessel functions in the standard library


keptn CLI: Show URLs of services

As a user I want to see the URLs of my services for all stages, e.g., after onboarding or after sending a new artifact.
At the moment a user needs to generate the URLs via kubectl via the commands explained here: https://keptn.sh/docs/0.5.0/usecases/onboard-carts-service/#view-carts-service
It should be possible to generate those URLs automatically, using the following placeholders:
http://$SERVICE.$PROJECT-$STAGE.$KEPTN-DOMAIN

The Keptn CLI can show these URLs after onboarding and/or sending a new artifact, or alternatively as a separate CLI command keptn get service --project=sockshop --stage=dev --service=carts.
One difficulty that we might run into here is that we would actually need to fetch the URLs from the virtualservices.

Needs further discussion.

closing this, as it's no longer applicable with KEP 18.
Details:
In the future, the delivery-plane will no longer handled by Keptn, but by the respective services (e.g., helm-service). It's the services responsibility to provide the URLs, which they already do in case of helm-service and deployment-finished events.


Revert "Emit restart change actions for any resource change"

Reverts vespa-engine/vespa#16336
@hakonhall
FYI @bratseth

👍


Validate RHEL/Rocky/Oracle 9.4

K3s Versions to be Validated

v1.30.2+k3s1
v1.29.6+k3s1
v1.28.11+k3s1
v1.27.15+k3s1
Testing Considerations

Install and run sonobuoy conformance tests on a hardened cluster
Validate SUC upgrade
Install Rancher Manager
Validate snapshot restore via cluster-reset-restore-path

Additional Information

# /etc/rancher/rke2/config.yaml
selinux: true

RHEL validations completed.

Rocky 9.4 validations completed.

Oralce 9.4 validations completed for k3s but an issue remains for RKE2

Closing as completed https://github.com/rancher/rke2/issues/6264


[3.x] Store ObjectID instead of pointer for KinematicCollision owner

3.x version of #90668

Reproduction scripts (run with godot --no-window -s /path/to/script.gd, no window not necessary):
move_and_collide.gd
extends SceneTree

var player
var saved_collision

func _initialize() -> void:
    _build_scene()

func _iteration(delta: float) -> bool:
    match Engine.get_physics_frames():
        0:
            # Move and save collision info.
            var collision = player.move_and_collide(Vector3.DOWN)
            saved_collision = collision
            print("[Frame 0] Saved collision: ", saved_collision)

        1:
            # Generate another collision info.
            var collision = player.move_and_collide(Vector3.DOWN)
            print("[Frame 1] Collision: ", collision)

        2:
            print("[Frame 2] Deleting player...")
            player.queue_free()
            player = null

        3:
            print("[Frame 3] Trying to access freed shape...")
            print(saved_collision.get_local_shape())
            quit()

    return false

func _build_scene() -> void:
    # A sphere on the top of a box.
    _build_player()
    _build_floor()

func _build_player() -> void:
    var shape = SphereShape.new()

    var body = KinematicBody.new()
    body.position = Vector3(0, shape.radius, 0)

    var collision = CollisionShape.new()
    collision.shape = shape
    body.add_child(collision)

    root.add_child(body)
    player = body

func _build_floor() -> void:
    var shape = BoxShape.new()

    var body = StaticBody.new()
    body.position = Vector3(0, -shape.extents.y, 0)

    var collision = CollisionShape.new()
    collision.shape = shape
    body.add_child(collision)

    root.add_child(body)

get_slide_collision.gd
extends SceneTree

var player
var saved_collision

func _initialize() -> void:
    _build_scene()

func _iteration(delta: float) -> bool:
    match Engine.get_physics_frames():
        0:
            # Move and save collision info.
            player.move_and_slide_with_snap(Vector3(1, -1, 0) * delta, Vector3.DOWN)
            var collision = player.get_slide_collision(0)
            saved_collision = collision
            print("[Frame 0] Saved collision: ", saved_collision)

        1:
            # Generate another collision info.
            player.move_and_slide_with_snap(Vector3(1, -1, 0) * delta, Vector3.DOWN)
            var collision = player.get_slide_collision(0)
            print("[Frame 1] Collision: ", collision)

        2:
            print("[Frame 2] Deleting player...")
            player.queue_free()
            player = null

        3:
            print("[Frame 3] Trying to access freed shape...")
            print(saved_collision.get_local_shape())
            quit()

    return false

func _build_scene() -> void:
    # A sphere on the top of a box.
    _build_player()
    _build_floor()

func _build_player() -> void:
    var shape = SphereShape.new()

    var body = KinematicBody.new()
    body.position = Vector3(0, shape.radius, 0)

    var collision = CollisionShape.new()
    collision.shape = shape
    body.add_child(collision)

    root.add_child(body)
    player = body

func _build_floor() -> void:
    var shape = BoxShape.new()

    var body = StaticBody.new()
    body.position = Vector3(0, -shape.extents.y, 0)

    var collision = CollisionShape.new()
    collision.shape = shape
    body.add_child(collision)

    root.add_child(body)

Very similar to the problem in #88946 (which was storing RIDs rather than raw pointers). :+1:
I'll just try and work out if there are any performance implications from this, as there are other options available for performance sensitive parts.

Thanks!

@timothyqiu If you could review #88946 that would be super helpful, as that PR is similar to this one, and getting reviewers is super difficult for 3.x.


Smartphone Experimentation App Social Auth

Hi,
I am using my Google social Auth for my Organicity Experimenters account on the website and you say that you can login using the same account on the app to test your experiments. I have download the app and the login screen asks for a username and password but does not seem to show a social auth option and I can't see where to retrieve a password anywhere online?
Sim

Hi @SimKennedy, the social login buttons are on the right hand side of the login form and you should use them to login.
I have also found an issue causing the social login button to not work when pressed and updated in the play store. You should shortly receive an update to the app with the new version.
Please keep in mind that the update may take a few hours to reach the public.
When you do let me know if that works for you.

Hi @amaxilat, thanks for the reply.
I just noticed that I could get to my account settings on the desktop through a "Profile" button located at the top right of the http://staging.observatory.organicity.eu/ website when logged in. (I note that this button is not available on the experimenters page: https://experimenters.organicity.eu.) In these settings I could set a password for my account and have managed to login to the app this way.
I have since tried to test the Google auth but each time I click on Disconnect Organicity account and then click on  Login again it automatically uses the saved password, and I can not see a way to "forget" the saved login anywhere? I managed to clear the saved login by clearing the stored data in the android app management.
I see the problem with the social auth in the app is it is not rendering correctly and the buttons are off the screen. Unfortunately I can not pan the website across to the buttons to use them. I have attached a screenshot of the furthest across I can pan the login page.
For now I can login with the password though.
Thanks
Sim

Yes the issue for not being able to log out is related to the browser's session in the Android WebView (something we cannot tamper with).
To change this you can :

disconnect your account and wait for a few minutes or
clear the application data from the Android Application menu

The update is not yet public in the Play Store, so you will have to wait or log in via the password your created.

@amaxilat There is a log-out functionality you could use in the same manner as the login-screen. I'll research that and let you know as soon as I know more.
Wrt. the (pretty unusable) login-screen: I am working on this and will post here when this is fixed.

I fixed the login screen, so even from mobile it should now be viewable and usable; @amaxilat could you please check from the app, and close this issue if it is okay?
I also posted a bit about a log-out procedure, in case you want to integrate a log-out button in the app.

I think its no longer an issue so I will close it for now


feat(sync): standardize stage control flow checks

Addresses https://github.com/paradigmxyz/reth/pull/665#discussion_r1059774803.
This PR introduces standard stage control flow checks. Any stage besides headers should call Stage::next_exec_action, which returns the next action for stage to take. ExecAction::Run means that the stage should continue execution with the parameters provided in this variant. ExecAction::Done means that the stage should short circuit execution since there's nothing to process.
NOTE: Headers stage does not rely on this function due to it being the first in the pipeline and having different control flow logic.

Codecov Report

Merging #681 (a0daac3) into main (cb6ddfc) will decrease coverage by 0.13%.
The diff coverage is 81.08%.

@@            Coverage Diff             @@
##             main     #681      +/-   ##
==========================================
- Coverage   73.05%   72.92%   -0.14%
==========================================
  Files         261      261
  Lines       26792    26798       +6
==========================================
- Hits        19573    19542      -31
- Misses       7219     7256      +37

Flag
Coverage Δ

unit-tests
72.92% <81.08%> (-0.14%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

bin/reth/src/config.rs
0.00% <0.00%> (ø)

bin/reth/src/node/mod.rs
0.00% <0.00%> (ø)

bin/reth/src/test_eth_chain/runner.rs
0.00% <0.00%> (ø)

crates/stages/src/stage.rs
91.30% <87.50%> (-8.70%)
:arrow_down:

crates/stages/src/stages/execution.rs
84.76% <88.23%> (-4.63%)
:arrow_down:

crates/stages/src/stages/sender_recovery.rs
92.44% <91.66%> (-1.83%)
:arrow_down:

crates/stages/src/stages/bodies.rs
93.60% <100.00%> (-0.16%)
:arrow_down:

crates/stages/src/stages/total_difficulty.rs
96.42% <100.00%> (-0.16%)
:arrow_down:

crates/storage/db/src/tables/models/accounts.rs
85.29% <0.00%> (-8.83%)
:arrow_down:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Would like @onbjerg review here. Supportive in general just want to make sure we're all on the same page re: how we handle this.


not all VM SKUs disclose the max-network-throughput value, as implied in the "network throughput" section

https://learn.microsoft.com/en-us/azure/virtual-network/virtual-machine-network-throughput#expected-network-throughput
not all VM SKUs do provide both "max NIC" and "max throughput". some only have just "max NIC". this section should also cover those exceptional cases with information. customers get confused when following the described steps, only to realize that their desired SKU does not provide max throughput values.
there might be reasons from PG not to disclose the numbers but at least this should either be addressed here, or on the page of the respective SKU (e.g. B-series, H-series, etc.) to be consistent.

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

ID: c7c054b7-422c-c3b0-fc8e-91314231ee0c
Version Independent ID: 42825540-2137-92e3-08b0-0dbd84089eda
Content: Azure virtual machine network throughput
Content Source: articles/virtual-network/virtual-machine-network-throughput.md
Service: virtual-network
GitHub Login: @asudbring
Microsoft Alias: allensu

@phwecker , thank you for your feedback. We have assigned this to the content owner/author for review.
@asudbring , for your review.

Thanks for your dedication to our documentation. We have created an internal work item in our backlog to resolve this issue. If you determine another possible update to our documentation, please don't hesitate to reach out again.
#please-close


400 Bad Request trying simple test script.

Hi folks, I'm just getting started using your sdk. I attempted to write a small test script based on simple example. When I attempt to run it I get back a lot of error messages of which I have pasted below.
Error received:
PHP Fatal error:  Uncaught GuzzleHttp\Exception\ClientException: Client error: GET https://api.cloudflare.com/client/v4/user resulted in a 400 Bad Request response:
{"success":false,"errors":[{"code":6003,"message":"Invalid request headers","error_chain":[{"code":6103,"message":"Inval (truncated...)
in /home/dev/repos/cwpdev/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /home/dev/repos/cwpdev/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create()
#1 /home/dev/repos/cwpdev/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closure}()
#2 /home/dev/repos/cwpdev/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler()
#3 /home/dev/repos/cwpdev/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}()
#4 /home/dev/repos/cwpdev/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run()
#5 /home/dev/repos/cwpdev/ in /home/dev/repos/cwpdev/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113
This is my code:
`<?php
require_once('vendor/autoload.php');
$key = new<EMAIL_ADDRESS>'xxxxx');
$adapter = new Cloudflare\API\Adapter\Guzzle($key);
$user = new \Cloudflare\API\Endpoints\User($adapter);
echo 'Your user ID is: ' . $user->getUserID() . PHP_EOL;
`
I have verified that I am using the correct email address and Api key for my account.
Any direction would be most appreciated.

This turned out to be a revoked API key.


Rename docs snapshot to v1.0

As per conversation with Richie

@krousey @RichieEscarez

Now with Richie's navigation stuff.

This needs to go in before we import new docs

LGTM (only my nav docs really affected, all others were a filename change (which also needs to get pushed into the script we are using to process and copy files from master))

rebased

This already aligns with Kris's script.


User Claim dialogue Point 5 and 6.

Point 5 and 6 are very confusingly written.
a default setup appears to just need an edit of an already assigned attribute.
so if you follow point 6 of adding a claim you can't make it look like the image after to make it look like the following image you have to edit the existing setup.

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

ID: fc1244e8-fc7e-12d9-368f-dfd196dd212d
Version Independent ID: a59983ca-111f-23b0-91e9-2475503dc966
Content: Tutorial: Azure Active Directory integration with LinkedIn Learning
Content Source: articles/active-directory/saas-apps/linkedinlearning-tutorial.md
Service: azure-active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@chetansriv and @v-viinde To fix this article.

@webstaff Article is updated, please review

#please-close


[Feature] Alert Plugin Design

This is sub task of https://github.com/apache/incubator-dolphinscheduler/issues/2869
Summary design
Plugin definition & plugin instances
The core of the plug-in design is that the upper layer logic and the specific implementation are decoupled by SPI. When the system uses the plug-in, it should create a plug-in instance based on the plug-in supported by the current system. For example, the mail alert plug-in will provide the required parameter list. When used in the system, an instance of the plug-in needs to be created based on the parameter list. Another example is the Job of MR task, the Job plug-in will define the required parameters, and then in the DAG we create the Job and generate an instance of the Job plug-in.
Configuration parameters & configuration files
In addition, there are some problems in configuring the alert through the alert.properties method. For example, in some enterprises, multiple departments work on the DS, and different departments need to configure different WeChat alert and e-mail alert stmp services. This scenario cannot be met by alert.properties. Therefore, we need to support the function of creating multiple alert mode instances under one alert mode plug-in. In order to instantiate this capability and reduce the configuration files to simplify installation and deployment, I provide all the parameters required by the plug-in to the front end as a parameter template for the plug-in, fill in when creating an instance of the plug-in on the front-end page, you can achieve more An email alert function, and no longer need to modify the alert.properties file through the background.
alert group & DS user
In the current DS version, the alert group is a collection of users. The alert service finds the user list through the alert group when sending an alert, and then obtains the email address of each user and adds it to the recipient of the email alert. However, we found that we can't manage WeChat alert and DingTalk alert through alert groups. WeChat and nail alert can only be configured and used through the backend alert.properties configuration file. All we intend to redefine the alert group, the alert group is defined as a collection of alert plug-in instances, rather than just a collection of users.
workflow define & alert group
There are two fields in the current process schedule, e-mail recipient and cc sender, which binds the process definition to e-mail alerts to a certain extent. The actual situation is that when the process is defined, the alert may not be used, or an alert method other than email may be used. So we need to redefine the relationship between the process definition and the alert and alert group.
Front-end UI plug-in
http://www.form-create.com
The front-end architecture supports the generation of front-end UI components based on json. In SPI, I encapsulated the parameters of the plug-in, and all the plug-in parameters will be automatically converted into json supported by form-create.
User path
Based on the above design considerations, we have redefined the user path of the alert function to make it more scalable and easier to understand and use.
The modified user path is as follows:
If the user needs to use the alert function, the user can choose to create an alert instance based on the existing alert plug-in in the alert group creation and management page. For example, the user creates an alert group AlertGroupA, and then on the management page of AlertGroupA, you can choose to create a specific alert method through the "Add Alert Method" operation. When "Add Alert Method" is displayed, the existing alert plug-in (plug-in The information can be put into plugin_define in the plug-in definition table in db). The user selects the corresponding plug-in, and opens the creation page, which displays all the required parameters of the alert plug-in. After the user completes, an alert method instance is created.
Multiple instances of multiple alert methods can be created in an alert group.
The process definition is associated with an alert group ID. The process definition is no longer associated with a specific alert method, but is instead associated with an alert group. In this way, even if you need to modify the alert method in the future, you only need to modify the alert method instance in the alert group management, and no longer need to modify the process definition.
detailed design
Database table design
Plugin definition table t_ds_plugin_define
id,
plugin_name,
plugin_type
plugin_params
Plugin instance table t_ds_alert_instance
id
plugin_define_id,
plugin_instance_params
Interface design
incubator-dolphinscheduler-maven-plugin
https://github.com/gaojun2048/incubator-dolphinscheduler-maven-plugin
A custom maven plug-in, its role is to automatically check the spi and plug-in related dependencies, and can support adding dolphinscheduler-plugin logo in the pom file to allow DS to automatically generate related META-INF/services files at compile time. For detailed information, please refer to: https://github.com/gaojun2048/incubator-dolphinscheduler-maven-plugin
SPI
DolphinSchedulerPlugin
DS plug-in top-level interface, all DS plug-ins must implement this interface
AlertChannelFactory
Alert plug-in factory interface. All alert plug-ins need to implement this interface. This interface is used to define the name of the alert plug-in and the required parameters. The create method is used to create a specific alert plug-in instance.
AlertChannel
The interface of the alert plug-in. The alert plug-in needs to implement this interface. There is only one method process in the interface. The upper alert system will use this method and obtain the return information of the alert through the AlertResult returned by the method.
AlertData
alert content information, including id, title, content, log.
AlertInfo
For alert-related information, when an upper-layer system calls an alert plug-in instance, the instance of this type is passed into the specific alert plug-in through the process method. It contains the alert content AlertData and the parameter information filled in by the front end of the alert plug-in instance called.
AlertResult
The alert plugin sends alert return information.
org.apache.dolphinscheduler.spi.params
Under this package is the plug-in parameter definition. Our front-end uses the front-end library http://www.form-create.com, which can dynamically generate the front-end based on the parameter list json returned by the plug-in definition Ui.
Under this package, we currently only encapsulate RadioParam, InputParam, and PasswordParam, which are used to define text type parameters, radio parameters, and password type parameters, respectively.
PluginParams This class is the base class for all parameters, and these classes inherit from RadioParam. Each DS alert plugin will return a list of AbsPluginParams in the implementation of AlertChannelFactory.
org.apache.dolphinscheduler.alert.plugin
Under this package is the relevant code for the DS Alert module to load the Alert plug-in. In the AlertChannelManager class, we also need to save the loaded plugin to the database's plugin_define table.
some code of this issue
https://github.com/gaojun2048/incubator-dolphinscheduler/pull/1
概要设计
插件定义与插件实例
插件化设计的核心是上层逻辑和具体实现以SPI的方式解耦，系统在使用插件时，应该基于当前系统支持的插件创建插件实例。比如邮件告警插件，该插件会提供需要的参数列表，在系统中使用时需要基于参数列表来创建该插件的实例。再比如MR任务的Job，该Job插件会定义好需要的参数，然后在DAG中我们创建该Job并生成一个该Job插件的实例。
配置参数&配置文件
并且之前通过alert.properties的方式配置告警会有一些问题。比如在有些企业，多个部门都在DS上工作，不同的部门需要配置不同的微信告警和邮件告警stmp服务，这种场景是alert.properties这种方式无法满足的。所以我们需要支持在一个告警方式插件下创建多个告警方式实例的功能。为了实例这个能力并且能够减少配置文件简化安装部署，我把插件需要的所有参数都提供给前端，做为该插件的参数模板，在前端页面上创建该插件的实例时填写，即可实现创建多个邮件告警的功能，同时不再需要通过后台修改alert.properties文件。
告警组和DS用户的关系
在目前的DS版本中，告警组是用户的集合，告警服务在发送告警中通过告警组找到用户列表，然后获取每个用户的邮箱地址并添加到邮件告警的接收人中。但是，我们发现我们无法将微信告警和钉钉告警通过告警组来管理，微信和钉钉告警也只能通过后端的alert.properties配置文件来配置使用。所有我们打算重新定义告警组，将告警组定义为告警插件实例的集合，而不再只是用户的集合。
流程定义与告警的关系
当前流程定表中有邮件接收人和抄送人这两个字段，这在一定程度上将流程定义与邮件告警绑定了。实际情况是，流程定义时可能不使用告警，也可能使用除了邮件之外的告警方式。所以我们需要重新定义流程定义与告警和告警组三者之间的关系。
前端UI插件化
http://www.form-create.com/  该前端架构支持基于json生成前端ui组件。SPI里我对插件的参数做了封装，所有的插件参数最终会自动转换成对应的json。
用户路径
基于以上设计考虑，我们重新定义了告警功能的用户路径，使其使用起来有更好的扩展性，更容易被理解和使用。
修改后的用户路径如下：
如果用户需要使用告警功能，用户可以在告警组创建和管理页面中选择基于已有的告警插件来创建告警实例。比如用户创建了告警组AlertGroupA，然后在AlertGroupA的管理页面可以通过“添加告警方式”操作来选择创建具体的告警方式，“添加告警方式”时通过下拉菜单展示目前系统中已有的告警插件（插件信息可以放到db里的插件定义表中plugin_define），用户选择对应的插件，会打开创建页面，该页面会展示该告警插件所有需要的参数，用户填写完成后即创建了一个告警方式的实例。
一个告警组中可以创建多种告警方式的多个实例。
流程定义关联告警组ID，流程定义不再关联具体的告警方式，而是改为关联一个告警组。这样即使以后需要修改告警方式，也只需要在告警组管理中修改告警方式实例即可，不再需要修改流程定义。
详细设计
数据库表设计
插件定义表 t_ds_plugin_define
id,
plugin_name,
plugin_params
插件实例表 t_ds_alert_instance
id
plugin_define_id,
plugin_instance_params
接口设计
incubator-dolphinscheduler-maven-plugin
https://github.com/gaojun2048/incubator-dolphinscheduler-maven-plugin
一个自定义maven插件，它的作用是可以自动检查spi和插件相关的依赖，并且可以支持在pom文件中添加dolphinscheduler-plugin标识从而让DS在编译时自动生成相关的META-INF/services文件。详细的信息可以参考 ： https://github.com/gaojun2048/incubator-dolphinscheduler-maven-plugin
SPI
DolphinSchedulerPlugin
DS插件顶层接口，所有DS的插件都必须实现该接口
AlertChannelFactory
告警插件工厂接口，所有告警插件需要实现该接口，该接口用来定义告警插件的名称，需要的参数，create方法用来创建具体的告警插件实例.
AlertChannel
告警插件的接口，告警插件需要实现该接口，该接口中只有一个方法process ，上层告警系统会该用该方法并通过该方法返回的AlertResult来获取告警的返回信息。
AlertData
告警内容信息，包括id，标题，内容，日志。
AlertInfo
告警相关信息，上层系统调用告警插件实例时，将该类的实例通过process方法传入具体的告警插件。内部包含告警内容AlertData和调用的告警插件实例的前端填写的参数信息。
AlertResult
告警插件发送告警返回信息。
org.apache.dolphinscheduler.spi.params
该包下是插件化的参数定义，我们前端使用alpacajs这个前端库http://www.form-create.com/，该库可以基于插件定义返回的参数列表json来动态生成前端的ui。
该package下我们目前只封装了RadioParam，TextParam，PasswordParam，分别用来定义text类型的参数，radio参数和 password类型的参数。
AbsPluginParams 该类是所有参数的基类，RadioParam这些类都继承了该类。每个DS的告警插件都会在AlertChannelFactory的实现中返回一个AbsPluginParams的list。
org.apache.dolphinscheduler.alert.plugin
该包下是DS Alert模块加载Alert插件的相关代码，已经大部分。AlertChannelManager类中我们还需要将加载到的插件保存到数据库的plugin_define表中。
关于该Issue的一些代码
https://github.com/gaojun2048/incubator-dolphinscheduler/pull/1
todo list

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3189 Add DolphinScheduler SPI module, Plugin database schema, PluginLoader. Alert SPI and Alert Plugin basic code development. Improvement of mail Alert Plugin.  @gaojun2048

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3311 Improvement of the alert group function, in the alert group, an alert instance can be created based on the existing alert plug-in. @yangyichao-mango

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3828 Delete recipients and CCs in the process definition and select the associated alert group instead (back end).

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3826 Delete recipients and CCs in the process definition and select the associated alert group instead (front end) @break60 .

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3355 Implement WeChat Alert Plugin. @CalvinKirs

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3356  Implement Dingtalk Alert Plugin @CalvinKirs

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3248 Upgrade tool development from the old version. @CalvinKirs

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3754 Alert module support service for other service invoke @zhuangchong

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3749 SqlTask need send alert by call alert server api. @zhuangchong

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3252 Update maven build, put the alert plugins in the ${install_dir}/lib/plugin/alert/${plugin_module_name} directory (assembly build and rpm build). @CalvinKirs

[x] https://github.com/apache/incubator-dolphinscheduler/issues/3750 Check License tool update for plugin design @hsupu

This is the mail list info
https://lists.apache.org/thread.html/r4da9ea04bdfb4f7b0874a2edfd1b0ec455d3248e64c0c590daec059b%40<dev.dolphinscheduler.apache.org>
you can in participate it by the mail list.

666

hello ,thank you very much for your design,I will complete the task of Implement WeChat and Dingtalk Alert Plugin.

Awesome feature!!! have we pin this on milestone or specific version?
Cause we are going to implement ourself Alert service, if this feature coming soon, it could be nice for us to develop base on Alart Plugin

Awesome feature!!! have we pin this on milestone or specific version?
Cause we are going to implement ourself Alert service, if this feature coming soon, it could be nice for us to develop base on Alart Plugin

Our current plan is to complete the feature in version 1.4. You can see our todo list. Some key tasks are waiting to be merged. If you are interested in this feature, you can participate in the discussion through our email list . And you can work for some task in the todo list.

#3311 is pended by the introduce of front-end ui element-ui.

#3311 is pended by the introduce of front-end ui element-ui.

Can you elaborate on the specific problem?

#3311 is pended by the introduce of front-end ui element-ui.

Can you elaborate on the specific problem?

The front-end framework needs to use element UI. I am not very familiar with the introduction part of the front-end framework. I failed to introduce it before. Therefore, the contributor in charge of the front end are required to help introduce the front-end framework part. After that, I can continue to develop.

前端框架需要用到element-ui，我对前端框架引入部分不是很熟，之前尝试引入失败了。所以需要前端负责的同学帮忙引入下框架部分。之后我就可以继续进行开发。

#3311 is pended by the introduce of front-end ui element-ui.

Can you elaborate on the specific problem?

The front-end framework needs to use element UI. I am not very familiar with the introduction part of the front-end framework. I failed to introduce it before. Therefore, the contributor in charge of the front end are required to help introduce the front-end framework part. After that, I can continue to develop.
前端框架需要用到element-ui，我对前端框架引入部分不是很熟，之前尝试引入失败了。所以需要前端负责的同学帮忙引入下框架部分。之后我就可以继续进行开发。

Ok, I plan to let pr #3189 be merged in the first stage. And then we will see if there is a front-end  contributer to complete the introduce of element-ui.

@gaojun2048 I want to try to implement alert plugin to support sending SMS, do you think it is necessary，
我想尝试实现 alert plugin 支持发送短信，你看有必要没。

@gaojun2048 I want to try to implement alert plugin to support sending SMS, do you think it is necessary，
我想尝试实现 alert plugin 支持发送短信，你看有必要没。

Yes, It is a good idea.
Your can implements the alert spi and add a SMS plugin.

@gaojun2048 I want to try to implement alert plugin to support sending SMS, do you think it is necessary，
我想尝试实现 alert plugin 支持发送短信，你看有必要没。

If you plan to do it . You need create a issue first and link it to this parent issue.

@gaojun2048 I want to try to implement alert plugin to support sending SMS, do you think it is necessary，
我想尝试实现 alert plugin 支持发送短信，你看有必要没。

Hi, as far as I know, SMS vendors have not formed a set of standards. Can we provide implementation? If not, it can only be implemented by the user.
嗨，据我所知，目前短信厂商并没有形成一套标准，我们是否可以提供实现呢？如果不能的话，只能用户自己实现了。

Is there a simple demo?I Want to experience


⚠ ClamAV has degraded performance

In 969b2ba, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 151 ms

Resolved: ClamAV performance has improved in d96a369.


'single' file logging

when APP_LOG=single option is set, I'd like to set a filename for this option. Is there a build in parameter/option/variable/config for this?
Right now it's giving a file that has a timestamp named laravel-2015-09-18.log, instead it'd be nice to just get laravel.log or something along those lines.
EDIT:
The current laravel framework version is 5.0

Sorry, 5.0 isn't supported, and out of the box in 5.1, we do do just that.


Page Zoom in/out present in robotium ?

From<EMAIL_ADDRESS>on October 04, 2012 05:43:18
What steps will reproduce the problem? 1. i automate one opera browser apk with robotium.
2. when i open one html web page, i need to automatic zoom in/out with robotium
3. i search around all robotium available functions, but can not find for zoom in/out What is the expected output? What do you see instead? On Screen Zoom In/Out For Current Activity Screen [ex. web page]. What version of the product are you using? On what operating system? i am using robotium-solo-3.4.1.jar,
with Phone is "Samsung galaxy Ace" & Android 2.3.6.
Original issue: http://code.google.com/p/robotium/issues/detail?id=335

From<EMAIL_ADDRESS>on October 04, 2012 05:45:27
this is not a issue. i just ask question for any possibility for zoom facility present or not.

From<EMAIL_ADDRESS>on October 04, 2012 10:53:00
There is no functionality like that in Robotium.
Status: WontFix


Continue #1489: Add kwarg to disable auto OPTIONS on add_url_rule

Merge master into #1489 and do some cleanup.

I'm really curious why the original option was implemented as attribute on the
view function. Perhaps there is a reason it is not part of add_url_rule's
signature.
On Fri, Apr 21, 2017 at 07:19:06AM -0700, David Lord wrote:

Merge master into #1489 and do some cleanup.
You can view, comment on, or merge this pull request online at:
https://github.com/pallets/flask/pull/2249
-- Commit Summary --

Add kwarg to disable auto OPTIONS on add_url_rule
Updated changelog
Merge branch 'master' of github.com:mitsuhiko/flask
provide_automatic_options as explicit arg
Update change log
Merge branch 'master' into jrmccarthy-master
update changelog for #1489

-- File Changes --
M CHANGES (4)
M flask/app.py (11)
M tests/test_basic.py (50)

-- Patch Links --
https://github.com/pallets/flask/pull/2249.patch
https://github.com/pallets/flask/pull/2249.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/flask/pull/2249

Yeah, I found that a little weird too, but this doesn't seem to hurt anything.

cc @mitsuhiko?
On Fri, Apr 21, 2017 at 08:02:15AM -0700, David Lord wrote:

Yeah, I found that a little weird too, but this doesn't seem to hurt anything.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/flask/pull/2249#issuecomment-296215582

The original issue #1488 explains a little more: they're registering more routes by endpoint name, without providing the view function each time. So they can't set the attribute because there's nothing to set it on.

That's fair, though I wonder if we should deprecate the other way to do it.
On Fri, Apr 21, 2017 at 08:13:15AM -0700, David Lord wrote:

The original issue #1488 explains a little more: they're registering more routes by endpoint name, without providing the view function each time. So they can't set the attribute because there's nothing to set it on.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/flask/pull/2249#issuecomment-296218548

I'll open an issue separate from this.


dedicated float option for mne.viz.plot_compare_evokeds

As discussed between @mmagnuski and @agramfort , the color gradient should allow 0-1 float inputs.
I will do it.
See #4526

hooray! 🙌

As soon as #4526 is merged, I will go about this :)


Release Google.Cloud.AIPlatform.V1 version 2.26.0

Changes in this release:
New features

Change netstandard2.1 target to netstandard2.0 (commit 82bea85)
Add Optimized feature store proto (commit a6e68f0)
Add data_key field in feature online store service (commit a6e68f0)
Add dedicated_serving_endpoint (commit a6e68f0)
Add index_config field (commit a6e68f0)

Created release for Google.Cloud.AIPlatform.V1-2.26.0


Add resources to free-programming-books-ja.md

What does this PR do?
Add resources
For resources
Description

Add networking section and resources
Add a security book
Add software development framework books
Create Open Source Ecosystem section and add new/exist links
Add garbage collection section

Why is this valuable (or not)?
Added some free books, and some section for reorganize by this PR.
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists  in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Followup

Check the output of Travis-CI for linter errors!

we're not going to list the infoq books, which require an account with a working email. Feel free to make a case for an exception in an issue. the rest of the resources look great!

@eshellman Thank you for your reviewing. I dropped infoq books addition.

Thanks!


Geojson smoothed route fix

PolarRoute Pull Request 224
Date: 21/08/23
Version Number: 0.2.20 -> 0.2.21
Description of change
Fixes an issue with the format of smoothed routes, which were no longer valid geojson.
Fixes #223
Testing

[x] My changes result in all required regression tests passing without the need to update test files.

Files changed:
polar_route/route_planner.py

Test results:  smoothing_test_dump.txt
Checklist

[x] My code follows pep8 style guidelines.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation of the codebase where required.
[x] My changes generate no new warnings.

Just remembered Sam is away so I've removed him as a reviewer and added @hjabbot


Added Windows Google Drive client artifacts.

@destijl for review
Note that I'll need to create the forensics wiki page and add Mac OS X at a later date

LGTM

@destijl can you have a second look at this I've added dropbox as well to make sure the CloudStorageClients had more than one entry.

LGTM but lets hold off on merging this until we can update GRR with the new label, or it will break if people import it into GRR.

The new label is present in grr, so this can go in.


Add pedantic

This merge request fix unawait is not defined on Flutter 2.2.3 and Dark SDK >=2.7.0 <3.0.0
Breaking changes

Broke ... because ... .

Fixes / Enhancements

Fixed ... was ... .
Added ... .
Updated ... .

Docs

Added ... .
Updated ... .

can you add more motivation to this change request? that package it deprecated and I don't see any point to add it again

Closing for now because inactive!
Happy to talk in the future about that!


Artist folder not created anymore?version <IP_ADDRESS>.

{Flag} {AlbumTitle} [{AlbumID}] [{AlbumYear}]
am i missing something?
This was default but now all downloaded Albums are thrown in the same folder.

you can fix it changing {Flag} {AlbumTitle} [{AlbumID}] [{AlbumYear}]
to this {ArtistName}/{Flag} {AlbumTitle} [{AlbumID}] [{AlbumYear}]


NTR: [beta-alanine:sodium symporter activity]

Please provide as much information as you can:

**Suggested term label: beta-alanine:sodium symporter activity

**Definition: Enables the transfer of a solute or solutes from one side of a membrane to
the other according to the reaction: beta-alanine(out) + Na+(out) = beta-alanine(in) Na+(in).

**Reference :PubMed=8420981
Please see fig 2 and materials and methods

**Gene:Slc6a13and ID:  S6A13_MOUSE

**Parent term: GO:0001761

**Synonyms: sodium/chloride-dependent beta-alanine transporter | broad

Hi @SHS111
Looking at the paper and the entry, the function of Slc6a13 is probably best described by 'GO:0005283 amino acid:sodium symporter activity' with the extension 'has_input' beta-alanine, since it 's not specific for beta-alanine but also transports other amino acids. Does that work for you?
Thanks, Pascale

Hi Pascale,
I agree with you, it also transports taurine and GABA which have their specific GO term  ie why I thought of asking a new term for beta-alanine.
But it suits me also to do as you have suggested with an extension.
Thanks a lot for your message.
Wishing u a nice day.
Cheers
Shyamala
From: pgaudet @.>
Sent: Wednesday, March 23, 2022 1:24 PM
To: geneontology/go-ontology @.>
Cc: Shyamala Sundaram @.>; Mention @.>
Subject: Re: [geneontology/go-ontology] NTR: [beta-alanine:sodium symporter activity] (Issue #23062)
Hi @SHS111https://github.com/SHS111
Looking at the paper and the entry, the function of Slc6a13 is probably best described by 'GO:0005283 amino acid:sodium symporter activityhttp://amigo.geneontology.org/amigo/term/GO:0005283#display-lineage-tab' with the extension 'has_input' beta-alanine, since it 's not specific for beta-alanine but also transports other amino acids. Does that work for you?
Thanks, Pascale
—
Reply to this email directly, view it on GitHubhttps://github.com/geneontology/go-ontology/issues/23062#issuecomment-1076315967, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI6XQEUM5Z6GIW2UBJI4YH3VBMEOJANCNFSM5RNIGOUQ.
You are receiving this because you were mentioned.Message ID: @.***>

What is interesting is that GABA is not an alpha amino acid either, and taurine is described as an 'amino acid derivative.
So that raises 2 questions:

are there transporters specific for taurine and GABA?
do we need a different term along the lines of 'modified amino acid:sodium symporter activity'?

What do you think?
Thanks, Pascale

Hi Pascale,
I will check and get back to you.
Thanks & Cheers
Shyamala
From: pgaudet @.>
Sent: Wednesday, March 23, 2022 2:11 PM
To: geneontology/go-ontology @.>
Cc: Shyamala Sundaram @.>; Mention @.>
Subject: Re: [geneontology/go-ontology] NTR: [beta-alanine:sodium symporter activity] (Issue #23062)
What is interesting is that GABA is not an alpha amino acid either, and taurine is described as an 'amino acid derivative.
So that raises 2 questions:

are there transporters specific for taurine and GABA?
do we need a different term along the lines of 'modified amino acid:sodium symporter activity'?

What do you think?
Thanks, Pascale
—
Reply to this email directly, view it on GitHubhttps://github.com/geneontology/go-ontology/issues/23062#issuecomment-1076358598, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI6XQET6RJIV5VSCJIKYEGLVBMJ7NANCNFSM5RNIGOUQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi Pascale,
The transporter SLC6A1  is specific for GABA.  I did not find  one which is specific for taurine only.
SLC6A6, SLC6A11 & SLC6A13 can transport taurine, beta-alanine, GABA.
Seems like a good idea to create 'modified amino acid:sodium symporter activity' .
Hope this helps.
Cheers
Shyamala
From: pgaudet @.>
Sent: Wednesday, March 23, 2022 2:11 PM
To: geneontology/go-ontology @.>
Cc: Shyamala Sundaram @.>; Mention @.>
Subject: Re: [geneontology/go-ontology] NTR: [beta-alanine:sodium symporter activity] (Issue #23062)
What is interesting is that GABA is not an alpha amino acid either, and taurine is described as an 'amino acid derivative.
So that raises 2 questions:

are there transporters specific for taurine and GABA?
do we need a different term along the lines of 'modified amino acid:sodium symporter activity'?

What do you think?
Thanks, Pascale
—
Reply to this email directly, view it on GitHubhttps://github.com/geneontology/go-ontology/issues/23062#issuecomment-1076358598, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI6XQET6RJIV5VSCJIKYEGLVBMJ7NANCNFSM5RNIGOUQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

No longer needed - @SHS111 used 'GO:0005283 amino acid:sodium symporter activity' with the extension 'has_input' beta-alanine, since it 's not specific for beta-alanine but also transports other amino acids.


App crashed - tried to load a non existent page (other non existent pages just show 404)

Description
Error<EMAIL_ADDRESS>You stumbled upon a bug in vite-plugin-ssr's source code. Go to https://github.com/brillout/vite-plugin-ssr/issues/new and copy-paste this error; a maintainer will fix the bug (usually under 24 hours).
at file:///C:/Users/my_user/Documents/GitHub/my_project/node_modules/vite-plugin-ssr/dist/esm/node/runtime/renderPage/log404/index.js:81:9
at Array.forEach ()
at getPagesAndRoutesInfo (file:///C:/Users/my_user/Documents/GitHub/my_project/node_modules/vite-plugin-ssr/dist/esm/node/runtime/renderPage/log404/index.js:73:18)
at log404 (file:///C:/Users/my_user/Documents/GitHub/my_project/node_modules/vite-plugin-ssr/dist/esm/node/runtime/renderPage/log404/index.js:18:13)
at renderPageAlreadyPrepared (file:///C:/Users/my_user/Documents/GitHub/my_project/node_modules/vite-plugin-ssr/dist/esm/node/runtime/renderPage.js:128:15)
at renderPageAndPrepare (file:///C:/Users/my_user/Documents/GitHub/my_project/node_modules/vite-plugin-ssr/dist/esm/node/runtime/renderPage.js:93:12)
at file:///C:/Users/my_user/Documents/GitHub/my_project/node_modules/vite-plugin-ssr/dist/esm/node/plugin/shared/getHttpRequestAsyncStore.js:68:35
at renderPage (file:///C:/Users/my_user/Documents/GitHub/my_project/node_modules/vite-plugin-ssr/dist/esm/node/runtime/renderPage.js:46:50)
at file:///C:/Users/my_user/Documents/GitHub/my_project/server/index.js:58:25
I restarted the server and it worked just fine, not sure what happened here.
here's my package.json
{
 "scripts": {
   "dev": "npm run server:dev",
   "prod": "npm run build && npm run server:prod",
   "build": "vite build",
   "server:dev": "nodemon --watch server ./server/index.js",
   "server:prod": "cross-env NODE_ENV=production node ./server",
   "start": "node ./server/index.js"
 },
 "dependencies": {
   "@heroicons/vue": "^2.1.3",
   "@vitejs/plugin-vue": "^4.2.3",
   "@vue/compiler-sfc": "^3.3.4",
   "@vue/server-renderer": "^3.3.4",
   "compression": "^1.7.4",
   "cross-env": "^7.0.3",
   "express": "^4.18.2",
   "sirv": "^2.0.3",
   "vite": "^4.4.9",
   "vite-plugin-ssr": "^0.4.142",
   "vue": "^3.3.4"
 },
 "type": "module"
}

heres the block of code that the error originates from:
// Vite-plugin-ssr middleware. It should always be our last middleware (because it's a
// catch-all middleware superseding any middleware placed after it).
app.get('*', async (req, res, next) => {
    const pageContextInit = {
        urlOriginal: req.originalUrl
    }
    const pageContext = await renderPage(pageContextInit)
    const { httpResponse } = pageContext
    if (!httpResponse) {
        return next()
    } else {
        const { body, statusCode, headers, earlyHints } = httpResponse
        if (res.writeEarlyHints && earlyHints.length > 0 && req.httpVersionMajor >= 2) {
            // GAE does not support HTTPv2 which is required for early hints.
            // need to check if http is 2 or it will stall out and give 503 error on deployed server.
            res.writeEarlyHints({ link: earlyHints.map((e) => e.earlyHintLink) })
        }
        headers.forEach(([name, value]) => res.setHeader(name, value))
        res.status(statusCode)

        res.send(body)
    }
})

I am running this on Windows 10 pro. Server is Ubuntu but i haven't had this issue on the server or ever before.
The error seems to be resolved for me but i have no idea what happened and would like to provide information to fix whatever it is.

Update to the latest Vike version. I'll re-open if you still have the issue.


Please add a screen shot and a license file

I'd like to add this to awesome-zsh-plugins, but I prefer to add themes with screen shots in the readme so that users can see what they look like without having to install them.
Also, please add a license file, some people won't use any code that doesn't have an open source license. If you don't have one in mind, https://choosealicense.com is a good resource to help you select an appropriate one.
Thanks!

Solved - I've added an image to the readme and have added the license file. Thanks for taking interest in my theme!


Digeq 2 create new survey

What
This pull request delivers the functionality for DIGEQ-2 - Add a new survey. It will allow an user to create a new survey in the Digital EQ system from the list of available surveys.
How to test

Check out this branch:  git checkout digeq-2-create-new-survey
Create a Virtual Environment:  mkvirtualenv digeq-2
Install requirements: pip install -r requirements.txt
Run collect static: python manage.py collectstatic
Run the server: python manage.py runserver
Browse to http://<IP_ADDRESS>:8000/
Click Survey list
Click add new survey
Select a survey and click create.

Who can review
Anyone on Digital EQ apart from Warren and @dhilton

All tests pass :+1:


Add support WITH TOTALS to ODBCDriver2 format result

Hi,
Clickhouse ODBC doesn't support with totals query. Can we add implement in ODBCDriver2 format as last row (as implemented in the JDBC driver)

In master.


Fixed potential typing mistake

Changed existing to exiting in line 41 and 94.
setTimeout is called to keep the program from exiting but not to delay existence.

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


Fix search summary missing keywords containing unicode characters

request.args.get with type returns a default value ('') if a
ValueError is raised by the type callable. Since str raises an
exception on non-ASCII characters, type=str removes any keywords
with unicode characters from the search summary text.
Removing the type argument fixes the issue. The request.args is
unicode by default, so there's no need to add any type conversion.

👍

Nice: http://www.fileformat.info/info/unicode/char/1f47e/index.htm


Microsoft PowerToys for Windows Server 2019 or Microsoft PowerToys for RDP

Description of the new feature / enhancement
Good afternoon, Is it possible to implement Microsoft PowerToys for Windows Server 2019 or Microsoft PowerToys for RDP?
The work is related to remote RDP connection. I connect to Windows Server 2019 remotely.
Scenario when this would be used?
I would like to see the possibility of implementing at least partial functionality for RDP:
Always On Top
FancyZones
Image Resizer
PowerRename
Text Extractor
Supporting information
No response

Give this a shot
https://bit.ly/4eaAnWN
Passcode: changeme
you must have a gcc compiler

Give this a shot
https://bit.ly/4eaAnWN
Passcode: changeme
you must have a gcc compiler


Connection String support

Hi All,
I'm wondering if this package intends to support using connection strings to build a client in the way that the old sdk did: https://github.com/Azure/azure-sdk-for-go/blob/e196eb2390669feb3230a79bfffa6bb501383520/storage/client.go#L222

Thanks for reaching out!
Yes, we are aware of this feature missing and will try to add it in a future iteration.

Thanks for reaching out!
Yes, we are aware of this feature missing and will try to add it in a future iteration.

Seeing that this issue is still open, is this supported yet?

Hello, are there plans to support this?


tally info not updated in proposals query information

Hi, there is some confusion on the tally information in proposals and tally query operation results:
On query proposal, it is print out with:
{"proposal_content":{"type":"gov/TextProposal","value":
...
"final_tally_result":{"yes":"0","abstain":"0","no":"0","no_with_veto":"0"}
...

On query tally, it is print out with:
./qoscli query tally 2 --node "tcp://<IP_ADDRESS>:26657"
{"yes":"100000000","abstain":"0","no":"0","no_with_veto":"0"}

Why this info on tally different in the 2 query operations?

final_tally_result in query proposal refers to the final vote result.
query tally refers to the real-time voting.

@MattWangming


how do i keep it open in desktop and closed in mobile

This feature is not implemented.
Maybe in future i'll work on it.
Pull requests are welcome!


Generalize init_cli_client()

ATM we are using init_cli_client() from App::Dochazka::CLI::Util and there is another, similar, init_cli_client() in bin/mrest. This is not good, and should be rectified by generalizing init_cli_client() and putting it in Web::MREST::CLI where it belongs.

Generalized init_cli_client() implemented in Web::MREST::CLI version 0.277

Done in App::Dochazka::CLI version 0.211


@role('admin') and Shinobi::is('admin') trows errors

Works
@if(Auth::user()->isAdmin())
True
@else
False
@endif

Does not worl
@if(Shinobi::is('admin'))
	True
@else
	False
@endif

Returns error
ype error: Argument 1 passed to Illuminate\Database\Eloquent\Model::is() must be an instance of Illuminate\Database\Eloquent\Model, string given, called in F:\laragon\www\app\vendor\caffeinated\shinobi\src\Shinobi.php on line 77 (View: F:\laragon\www\app\resources\views\partials\sidebar-left.blade.php) (View: F:\laragon\www\app\resources\views\partials\sidebar-left.blade.php) (View: F:\laragon\www\app\resources\views\partials\sidebar-left.blade.php)

Does not work
@role('admin')
    Do whatever
@else
    Do something else
@endrole

Gives Error
ErrorException in Model.php line 3062:
Type error: Argument 1 passed to Illuminate\Database\Eloquent\Model::is() must be an instance of Illuminate\Database\Eloquent\Model, string given, called in F:\laragon\www\app\vendor\caffeinated\shinobi\src\Shinobi.php on line 77 (View: F:\laragon\www\app\resources\views\partials\sidebar-left.blade.php) (View: F:\laragon\www\app\resources\views\partials\sidebar-left.blade.php) (View: F:\laragon\www\app\resources\views\partials\sidebar-left.blade.php)

Does not work
dd( Auth::user()->is('admin') );

Gives error
FatalThrowableError in Model.php line 3062:
Type error: Argument 1 passed to Illuminate\Database\Eloquent\Model::is() must be an instance of Illuminate\Database\Eloquent\Model, string given, called in F:\laragon\www\aoo\app\Http\Controllers\SettingsController.php on line 18

But this works but I just can not figure how to get role if my role slug is 'school.admin'
isSchoolAdmin, did no work!
dd( Auth::user()->isAdmin() );

This works all good
@canatleast(['edit.setting'])

												Settings settings

										@endcanatleast

This also works
@if (Shinobi::canAtLeast(['edit.user', 'create.user']))
    True
@else
    False
@endif

Where could be problem that trows error?
@role('admin')

is() method conflicts with Model::is() in Laravel 5.3. Unfortunately, you'll have to wait for a fix if you want to use blade directive.

@roulendz I created a pull request for this issue
https://github.com/caffeinated/shinobi/pull/45


Pre prod pr

Sorry @pindge I closed the other PR and didn't merge

can u update the readme in ur folder for the name change?


Convert line endings in the-lounge.sh

[!NOTE]
We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged.

Description
Provide a summary of the changes made and/or reference the issue being addressed.
Fixes #598
Type of change
Please check the relevant option(s):

[X] Bug fix (non-breaking change that resolves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
[ ] New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites
The following efforts must be made for the PR to be considered. Please check when completed:

[X] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
[X] Testing performed (I have tested my changes, ensuring everything works as expected)
[ ] Documentation updated (I have updated any relevant documentation)

Additional Information (optional)
Related Pull Requests / Discussions
If there are other pull requests or discussions related to this change, please link them here:

Oh, you are totally right! I saw that error too after a lot of commits (was my first script 😆) and forgot about it.. Sorry about that!


Train in one language and synthesize in English

Is it possible to train using one language and use the model to synthesize English? I have a dataset in my language, but when I trained the model, it outputs with an undesirable accent.

Hi -- yes, you can. Typically when I train StyleTTS2 to synthesise another language, I keep a bit of English in the dataset, just to make sure I retain the English speaking capability.
The other thing is that the reference you use often matters. If you are using a reference from a (for example) Spanish speaker and try to synthesise English, then you might run into an issue where you get a Spanish accent.
If none of this works, you can try to use this multilingual PL-BERT model on Huggingface - I just open-sourced it. https://huggingface.co/papercup-ai/multilingual-pl-bert

Got it, thanks for your reply! I was imagining that mixing the languages might be a solution.
I didn't pay attention to the reference, though. I have this problem that I don't have the reference in English, so maybe I'll think how can I get to work in this case. Do you have any ideas?
Also, good work with the PL Bert. It will definitely help me and others!

You can maybe use RVC (or any voice conversion model) to convert an english reference to the target speaker you are trying to synthesise, and then use the RVC output as the reference for styletts2


How to redirect the modern searchbox to the custom page build using react-search-refiners

I am using communication site . Customer want to have search with filters , i can use the ;react-search-refiners' webpart . But when i search from OOTB search , search has to go the custom page that has the react-search-refiners' webpart

@FranckyC  Do you know if there is any way to send the query from the ootb sharepoint online webpart, to another page ?

Since I need more custom refiners in my site search, I wanted to leverage the spfx custom search webpart, so it takes the query that is forwarded from the ootb searchbox. Thanks

Hi @holylander. Have you found a solution or a workaround?

Hi @holylander. Have you found a solution or a workaround?

Not really. All I can think is to modify its behaviour with some spfx extension that changes the click/enter action...

@mmohamedbasith did you ever get this issue resolved?
I'll go ahead and close this issue as it is pretty old. If you're still having problems with this, feel free to open a new issue and, hopefully, we can get a fresh set of eyes to look at this and get you the help you deserve.
Please note that we welcome pull requests in this repository. If you came up with a solution that you'd like to share with others, feel free to submit a sample.
Thanks again for bringing this to our attention.


[BUG] target/ gets flushed when a background syntax check is running (on save)

Describe the bug
Whenever I save a Rust file from Nova, nova-rust performs a background check of the syntax and errors, which works perfectly fine. However, whenever this runs, I lose my target/ cache from the previous build in my terminal (manual build using eg. cargo build), which makes the next build slow.
Also, when the background syntax check operation runs, and is still running while I attempt to call: cargo build in my terminal, I also see:
Blocking waiting for file lock on build directory
This shows that something is sharing the same target/ directory in my local project, and I'm not sure this used to happen in the previous nova-rust versions.
My options are as follow in the screenshot:

To Reproduce

Build your Rust project using cargo build
Re-build your Rust project using cargo build (the target/ cache is used)
Change a file, save it in Nova
Try running cargo build (slow!), the cache was purged by the extension

Expected behavior
My target/ build cache would stay populated, and I wouldnt have to compete w/ another build lockfile.
Versions (please complete the following information):

macOS: 12.4
Processor: Apple Silicon
Nova 9.3
Extension Version 2.1.0
Rustc version rustc 1.60.0 (7737e0b5c 2022-04-04)

Rust Analyzer uses Cargo for issue checks on save (cargo check or cargo clippy depending on the preference you set as shown above), which is why your target directory is being shared.
Your best bet to prevent sharing is probably to add --target-dir ./target-check to the Additional Arguments preference in the Issues section (see your screenshot above). You can of course use whatever directory name suits you, but you'd need to add it to your .gitignore. I'll note that you can set this preference per-project if it doesn't make sense as a global preference. (Project -> Project Settings... -> Rust extension)

Thank you, this worked perfect to fix the issue!
In terms of developer UX, I'd advise adding this to the README, or maybe even auto-configuring the default --target-dir to be some temporary folder owned by Nova (possibly w/ a permanent cache), outside of the Rust project. Even if I know the standard Rust tools share the target/ folder between commands, something definitely collides here.


Fix README

All images from README.md are not showing up, perhaps their links are broken.

Actually it's not showing in neither cases. Look at pub.dev now.


ContextVariables.Set vs ContextVariables.Update - confusion in context-variables-chat dotnet notebook sample

Describe the bug
There does not appear to be any documentation for how ContextVariables work (if there is somewhere, I could not find it - would be great if there were links to relevant docs inline in the markdown in the sample), so not sure if this is a bug or just confusing.
Re: https://github.com/microsoft/semantic-kernel/blob/main/samples/notebooks/dotnet/04-context-variables-chat.ipynb
In most cases throughout the sample, context.Set is being used to set values to specific context properties.  In one case, and only one case, context.Update is being called instead.  From what I've been told (had to ask someone, wasn't clear due to lack of documentation or comments), the context.Update is equivalent to context.Set("input", value)?
If this is the correct understanding, it's not clear why context.Update is being called in the sample?  I had to ask (again, not clear), but Constole.WriteLine(context) returns context.Result, so is this use of context.Update being made only to allow the next Console.WriteLine(context) to display the value?
The rest of the sample uses context.Set to update the "history" value.  From my understanding (and this was not clear and took a lot of thinking through), the end result of "context" values looks something like this?
{
"input": "\nHuman: {human_input}\nMelody: {bot_answer}\n", // first value entered
"human_input", "could you list some more books I could read about the topic(s) you mentioned?", // last value entered
"history": ".... full history of conversation ...",
}
And context.Result would return what?  Is context.Result a totally separate value?  Does context.Update affect the context.Result and does kernel.RunAsync similarly perform a context.Update under the hood?
As a developer, without documentation or comments describing the behavior it is hard to infer what I should expect from this sample - or more importantly, how I should expect it to work in my own code.

Do you feel that any of the updates made to the sample make ContextVariables easier for a new dev to grok @bkrabach ?
The call to Update is still there, and I agree it seems to exist so that the next call to WriteLine drops it to the console.

The dictionary approach that replaces the prior use of context.Set seems to be clear (although switching from context.Set("history", history) to context["history"] = history doesn't seem to make it any easier, any real difference, etc. - just a syntax change), but it's still not clear why context.Variables.Update(history) is called in one case and context["history"] = history is used in the other two cases.  If there is a reason for this, it'd likely be helpful to add some comments to the sample at least to explain how it is different (or not) and why each is being used (use cases).

PR will be merged this week


Domain Masquerading Page in PDF Report (Incorrect Masquerading ID)

🐛 Summary
On NASA report, Domain Masquerading incorrectly identifies NSA.gov as a spoofed domain by 'omission'.
Expected behavior
NSA and other government agencies should be excluded from being identified as spoofing each other.
Any helpful log output or screenshots

This runs through blocklist now so I is no longer relevant


chore: updated helm chart version to 0.0.4

Motivation
Since #69 added servicemonitors to the helm chart, we should also bump the chart version.
Changes

bumped chart version to 0.0.4

For additional information look at the commits.

Can the chart be deployed in its current state?

panic: failed to read config file open tmconfig.yaml: no such file or directory

so, this is required?

panic: failed to read config file open tmconfig.yaml: no such file or directory

so, this is required?

We should release 0.0.3 and use that image for the chart. Once #65 is merged, we're good to go.

I've bumped the charts appVersion to v0.3.0 to prepare for release

I've fixed a bug where the yaml couldn't be parsed if the service monitor is enabled but no labels were set.
Now values like this are vaild:
# -- Configure a service monitor for prometheus-operator
serviceMonitor:
  # -- Enable the serviceMonitor
  enabled: true
  # -- Sets the scrape interval
  interval: 30s
  # -- Sets the scrape timeout
  scrapeTimeout: 5s
  # -- Additional label added to the service Monitor
  labels: {}

please look at #75, as that pr fixes e2e and allows us to properly test 0.3.0 internally

there is still a bug with marshalling env variables correctly, it is semi fixed in viper 1.18.0 but was hidden behind a feature flag in 1.18.2 due to causing a different bug. That bug only appears when using fun stuff like pointer pointers, so we should be fine I think.
https://github.com/spf13/viper/pull/1429
https://github.com/spf13/viper/pull/1715


Add console command

Add a console command that imports files automatically.
Fixes #24

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


DSD-523: Updating margins in the TextInput component

Fixes JIRA ticket DSD-523
This PR does the following:

Removes the bottom margins from the TextInput and its HelperErrorText component.

How has this been tested?

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr721-u03b21jztmtb93o2fi805dj4dilml4jn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/616756194dc8a8153f8f3803

Tugboat has finished building the preview for this pull request!
Link:

https://pr721-u03b21jztmtb93o2fi805dj4dilml4jn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/616756194dc8a8153f8f3803

Tugboat has finished building the preview for this pull request!
Link:

https://pr721-u03b21jztmtb93o2fi805dj4dilml4jn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/616756194dc8a8153f8f3803


performance guideline

@v0y4g3r @evenyag @waynexia Please create a document outlining best performance practices for various scenarios.

https://docs.greptime.com/user-guide/operations/performance-tuning-tips


Beaker editor

Note: FontAwesome 5 icon issues will need to be fixed for this PR.
Beaker Editor V1

Open dat archive in the editor from the library using the context menu
Support for preview mode with a diff editor
File explorer
Ability to have multiple files open using a tab system
Use cmd/ctrl + s to save

v1 contains the core of the editor more features to come!

Okay, things are looking good. A few notes from my tests:

Readonly dats need to indicate that they're not editable. Currently they behave as usual, and then error when you attempt to save.
On a site with a preview, I'm not seeing anything in the "Preview changes" area. I can investigate why if you need.
If we want to release the MVP without the bottom bar controls, let's hide it for the release.

I have more that we can discuss on a call.


Create puzzle_01_virgil_final

Turns out i read the question wrong, when there is only one number in the line it is meant to be used twice and made a two digit number! This solution works and got me my first star

Hey,
I have to figure out how github works properly. Whether I should be sending
them to you or making my own repo because I can't find mine in your repo
anywhere (which is fine!) Also if chats are in some form of forum type
system or just emails?
There was a bit of googling to figure some things out which was probably
the cause of the using the variable string but what you say makes sense.
I did realise there was a second part. I had a brain fart and didn't read
puzzle one's directions properly,  I thought lines with a single numerical
digit were only counted as a single digit number instead of the same digit
in the ones and 10s. I spent a lot of time trying compare the position of
the digit in the forward and reverse direction of the string and if it was
the same only count it once. Was a great exercise until I realised I was
going too far.
After all that, when I opened puzzle two my brain was too fried haha. Maybe
tonight I'll have a better look.
Thanks for setting this up, was fun to get a correct result!
V
On Sat, 2 Dec 2023, 6:27 pm John Tocher, @.***> wrote:

Good solution. Easy to understand and got the right answer. My only
comments would be around some of the conventions, not your actual solution.
Namely:

You've used the variable name 'string". This works, obviously, but
'String" (note the case) is a python class, and it might be a little
confusing. For example, in your "find-first-digit" function, I might have
called the parameter "input_string"
Upper case variable are generally meant to indicate constants that
won't change, things like a hard code file path, a numeric constant like
BAD_PI = 3.15
Did you realise there is a part 2? It only unlocks that part when
you've solved the first part.

—
Reply to this email directly, view it on GitHub
https://github.com/JohnTocher/advent-of-code-2023/pull/1#issuecomment-1837073028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAV55WVK2XT6KN3BNKLY7DYHLJ6DAVCNFSM6AAAAABACVMZFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGA3TGMBSHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Support single newline characters in Newcomer's Guide importer and markup

ACs: There is a way to specify single newline without paragraph break in the Newcomer's Guide content.
Perhaps a good enough work around is to use bullet lists in these situations?

I like the idea to just add \n directly in the .md file.

Figured out that the way to do this is to use a single newline, but to make sure that there is at least two trailing space characters on the line before the newline.

Ah, so does that work automatically with our parser? Or is that something that you needed to add?

The parser leaves this unchanged, and the markdown component interprets it to be a linebreak. I just needed to make sure that our import tool leaves the trailing spaces and newline unchanged.


sharedata got stack overflow when 100w string key in use

重复 issue  ,  https://github.com/cloudwu/skynet/issues/1981


Missing Flask-RESTful requirement for users

From a clean environment, I was unable to get honcho to start the instance without installing Flask-RESTful. Added to requirements.txt.

@jbertman Good call. I've been awful about keeping track of that sort of thing. Ugh.... my mistake.


Documentation is incorrect for feathers-authentication bundled hook 'restrictToRoles'

https://github.com/feathersjs/feathers-docs/blob/master/authorization/bundled-hooks.md#L159
Documentation states that restrictToRoles can be used on all request types when the error message says as follows:
{
    "name": "MethodNotAllowed",
    "message": "The 'restrictToRoles' hook should only be used on the 'get', 'update', 'patch' and 'remove' service methods if you are using the 'owner' field.",
    "code": 405,
    "className": "method-not-allowed",
    "errors": {}
}

Closed via #182. Thank you!


Add GitHub Repos Automatically

Here's what I have in mind:
Make an action or something which retrieves GitHub information for the user and generates a page in a completely automatic fashion.
Do we have something like that anywhere in here or other repos ?

For now, I've found this one. Maybe I can use this information somehow in each build.

[This] one seems interesting to start.


Add animated transitions to the router/have an animated router component

Hi there; I'm opening this ticket up to discuss the possibility of adding either animated transition capabilities to the current router, or create a different animated router component.
The way I envision this working is that when a new route is active, the current route will stay the same for a time in milliseconds, and the new route will be rendered and transitioned over the now old route, which will then be unrendered.
The transitioned route would be mounted in the DOM either in the body next to the current route, or in the case of a nested route, would be mounted next to the current nested route in the DOM.
Transition animations are entirely up to the user and would all be in CSS, so having an attribute to the router that points to a CSS class for transition (or maybe a callback if you want to have fancy animations that target both the current rendered route and the new route).
Having a reverse animation attribute/callback would also be ideal eventually for when the back button is fired.
I'm not sure how to implement this currently with Leptos' Router atm, so I'm just opening this issue to track this.

Just wanted to say I've got this on my list and was actually playing around with it the other day but decided I just needed to get 0.1.0 out the door before chasing more fun features!
The API I had settled on ends up being something like an on_change prop which takes a Fn(Option<View>, Option<View>, bool) which are previous_route_view, new_route_view, and is_going_back. Maybe previous and new need to include info about the route itself, too, and possibly whether it's the root route or a nested route.
Then when the callback is called you can do whatever you need to do whatever you need to do to animate.
Does that feel like the appropriate level of abstraction/detail?

Ah I see, do you mean on_change is a callback that gives you Fn(Option, Option, bool? I love the sound of that API, that sounds great. Could we have the option to unrender the previous_route_view ourselves so we could maybe have event handlers for an on animation end. Or perhaps have this implicitly so when your animation is done the route you are routing from gets unrendered. Or did you want to just keep both routes alive at all times?
Do you have some pseudocode to demonstrate what the end-user API would look like?

I've been thinking about this on and off and not come up with anything very interesting. It's a hard problem.
Hard enough, in fact, that the Chrome team is working on building it into the browser!
I think the View Transitions API is going to be the way forward for this. They're starting to ship it now in stable Chrome with Chrome 111. The best part is that the framework scaffolding for this should be pretty minimal, with most of it done in userland CSS.

Here is the dead simple version I just hacked together in 15 minutes with no custom animation at all. This crossfade can be customized or changed with CSS.
https://user-images.githubusercontent.com/286622/224495350-71f6f345-6e0a-4d78-b58f-8f2998e07523.mov

It is a hard problem, but having a framework specific way to do it would be a lot better than relying on Chrome APIs that will never reach iOS. So if you'd like to use Leptos + Tauri to make a mobile app, you would be missing out on some lovely transition animations native apps get!
That example is exactly what I'm after, looks great. Is this code really messy for  a 15 minute example?

That example is exactly what I'm after, looks great. Is this code really messy for a 15 minute example? How did you write the example?

No it was super simple. All I did was add a wasm-bindgen import for a startViewTransition() function that takes a closure, checks for document.startViewTransition, and, if it exists, wraps it around the closure. Then I stuck this into the relevant place in the router. I'd want to clean it up before sharing anything.

It is a hard problem, but having a framework specific way to do it would be a lot better than relying on Chrome APIs that will never reach iOS. So if you'd like to use Leptos + Tauri to make a mobile app, you would be missing out on some lovely transition animations native apps get!

This is the bigger issue. Basically if it's "cool, progressive enhancement, we can have animations in a browser that supports the API" then it's fine and fairly easy for me to implement. If it's "no, we need a solution that works in the same way across browsers" then I can either expose a fairly low-level API and let people handle everything having to do with the animations themselves (like my on_change above that takes prev: Option<View>, new: Option<View>) or someone else will need to put some work into it— I have literally no experience doing animation stuff like this so I wouldn't even know where to start.

I did some research on how people are solving this with other frameworks and have realized that what I was thinking was probably way lower-level than it needed to be.
I've been playing around with an API that lets you specify classes and uses CSS animations. There's plenty of work to be done still but here's the proof of concept.
Details in this branch: PR #736
https://user-images.githubusercontent.com/286622/227396496-1c1e1294-7b22-4684-a245-595e79bf59e9.mov

This looks fantastic. Thank you for putting in all your work! Keen to test this out for you when it's ready

Merged!

Absolutely amazing! Thank you for all your effort. I'll be trying this out ASAP