[RFC] Make a website for RustPython at rustpython.github.io

Summary
Create a Github Pages site with information on the project and guides for using or embedding RustPython.
Detailed Explanation
We currently host our WASM demo on Github Pages, but that's just on /demo, we don't use the root of the site for anything currently. I suggest that we could put a sort of landing page for RustPython at rustpython.github.io/, with information about the project and links to the project repository, the demo, and the guide. That guide would be for using the RustPython API and could be on /docs, maybe built with mdbook, showing solutions for e.g. accepting both ints and floats for a native python function 😉.
Drawbacks, Rationale, and Alternatives
My rationale is @cedric-h's PR (#1707) and discussions on gitter; it seems that there are a fair amount of people who want to embed RustPython into their Rust project, but are struggling to find good documentation for how to do so.
An alternative would be to just have markdown files in our tree that contain the documentation, but those aren't as pleasant to use and aren't necessarily as discoverable.
Unresolved Questions
Should the source be all in this repository or in multiple others? (e.g. RustPython/rustpython.github.io, RustPython/docs; it might be easier to deploy with multiple repositories, given this one's questionable CI situation.)
Related: #1677

I would love to work on this issue. I am new to RustPython and as I figure things out, I can leave documentation behind. I can help with writing guides, organize what you have or do the web / front-end development and deployment.
If this repo's CI situation is "questionable", let's start a new one for the site.  Also, you probably don't want to clutter this repo with endless documentation edit and web styling fixes.
I noticed that most people have the main repo and then the front-end site is separate, for example:
https://github.com/rust-lang/rust
https://github.com/rust-lang/www.rust-lang.org
If you agree on a new repo, then we can move to choose the tooling...

Great, I'm glad you'd like to help @mireille-raad! I think we'll go with a separate repo, then, unless anyone on the core team would like to object; I'll create that soon and we can start working on it.

I think the native github pages jekyll themes are good for a blog or just standard website with set pages, but something like mdbook is best for documentation (other than docs.rs, but that can't fit all documentation needs). We could use both; normal github pages for rustpython.github.io/ and mdbook for /docs.

https://github.com/RustPython/rustpython.github.io

I got started on a draft. I am not a designer... so this is like a first take, if you like the general direction, then I can fine tune.
The idea is that there is:

a minimal menu.
An intro or illustration of what the thing.
How to install (commands for cargo, wapm and conda). There is a link in the footer to each explaining to install them.
Goals (high level)

I tried to keep the style minimal. I REALLY loved the logo you had and the little hands :D :D so, I tried to re-use them). They give the site personality. I can make the chracters more nuanced if you want me to.
I added a  background color one time, otherwise the text is too floaty. I used orange (same colors from the hands that someone drew). This makes the site lean toward rust and python when it comes to colors or identity.
I am not sure what other sections you want me to add. I thought this would be a good start. It would be good if i can get some initial reactions on stick to same style or just start over...

That looks great!! I really like how the font and headings are inspired by rust-lang.org, and I think the overall simplicity combined with the splashes of color gives it a really nice feel. (Oh, and I was the one that drew the hands on the snakes, I love how you used them!) A section for programs or apps that have used rustpython would be nice, though I'm not sure how many of those there are; if we could find enough then maybe some kind of display for those would be cool.

Awww.... that logo is very cute 😄 After I am done with this issue, I am going to  use the image of the snakes instead of a turtle in a logo python game.
You are right about rust-lang. Well spotted... I tried to have something in the spirit of rust :). I had the highlight for the title section and as i was looking at it, i was like hmm... i can add the little hands :)
I added the sections for programs and apps.... and another for "talks/videos"
I also made another more dull/classic option, in case people don't like how the hands as much as i do ;p

Just wanted to say this looks amazing :1st_place_medal:

Here is a link to a demo/test site

home: https://mireille-raad.github.io/rustpython.github.io/
blog: https://mireille-raad.github.io/rustpython.github.io/blog
single post:  https://mireille-raad.github.io/rustpython.github.io/featured/2020/03/11/use-cases.html

@coolreader18 will take care of the deployment and managing another repo for this.
@palaviv -- we will need someone to help with the content. I just put placeholder text.
Tell me if there are suggestions. I tried to test as much as possible on mobile and ipad. We will be fine-tuning :)

should we consider this done and close the issue?

Yep, sounds good. Further development can take place in the rustpython.github.io repo itself.


Invitee change status in first event of a recurring events.

Fixed a invitee change status in the first event and a value definition "recurrence-id" with a timezone.

Hi @vkomrakov-sugar ,
The 3.4 branch is effectively dead. Can you target master or 3.5 instead?

Unless you really want another 3.4.x release though, I definitely could do that, but I think 3.5 or 4.0 will probably work for you. let me know ;)

Hi @evert. Problem for us that we can't use php 5.5, only 5.4 and because of that we stay on sabre 3.0.x.
Is it okay to do PR against 3.5 branch and get those changes in sabre 3.0.x?

In that case, the 3.5 is best. This PR was originally targetting the 3.4 branch.

I commented in the wrong PR. Ignore these


Add colourScheme and textFill options

For ASR, I needed to be able to set the default bubble colors (both background color and text color)  directly within venn.js. Otherwise, attempting to add colors after the chart has already been constructed results in brief flashes of the initial color appearing on each re-rendering of the chart.
I cannot really show the working result on Netlify until this PR is merged in here, and I update the installed fork on my ASR branch. However, here's a GIF of everything working as it should (might take some time load properly, as it's 1.6MB):

@evantbyrne Thanks!


FC filters are now applied to the url as well

When I set a filter, I am unable to reset the view via the brush icon meant to clear filters.

Once the filter clearing is fixed, this looks good to me.

 Or is it a dep of a dep that I'm unaware of?

I believe this comes from lodash, which is part of our dependencies: https://lodash.com/docs/4.17.15#isEmpty


Newline as separator not working?

the script notes that newline would be supported:

// Newline in quotes is a valid separator to have each item on its own line.

I've tried single and double quotes
Sep="Newline"
Sep='Newline'
And it's just returning those Newline strings as the separator. Am I doing this wrong?

Yes you are typing the word "Newline" instead of entering an actual newline.
"this has
a newline"

facepalm got it. resolved, thank you so much for the quick reply 🙏🙏🙏

closing


ConnectionResetError: [Errno 104] Connection reset by peer

After completing the step on the following page:
https://codelabs.developers.google.com/codelabs/cloud-postgresql-gke-memegen/#5
I'm seeing the following issues:
https://gist.github.com/conradwt/f60a9ec49b6275e0b609fdca161bcdef

This issue can be closed because it appears to be that the terminal disconnects which in turn kills cloud_sql_proxy.


iOS: Swipe Animation Blocks Selecting Another Article

When using the swipe actions on an article you can’t select another article in the table view until the animation has completed. Other UI elements remain interactive.

@emorydunn Could you give me some more detail on what you are trying to do?  Are you using and iPhone or iPad?  Landscape or portrait orientation?  When you say "swipe actions" is this on the timeline (the listing of articles)?
Thanks for reporting this.  I just need some additional info to know if this is something we can fix or not.

If you use the swipe actions in MasterTimelineViewController to mark an article read/ unread you can't select another article until the cell finishes animating back into place. It occurs in both landscape and portrait, and on iPhone and iPad.
I tested the same action in Mail (which uses the same leading swipe to toggle read status) and you can select a message while the cell finishes its animation, so hopefully it's possible.

I see what you are trying to do now.
I'm not sure we are going to be able to fix this one.  I have no idea how Mail is pulling it off.  The animation happens after we call the completion handler on the swipe context action, so we aren't blocking anything there.
Basically between the time that we call that completion handler and the didSelectRowAt getting everything happens in UIKit and outside our code.  If there is a configuration option that allows you to select during the animation, I haven't found it.
I'm leaving this issue open for now incase I learn more about the problem and can resolve it.


False "build/header_guard" positive due to mismatch in project root directory

My include files are placed in the include/ folder, therefore, according to cpplint my header guard for include/main.h should be INCLUDE_MAIN_H_. If I choose any other string for the header guard and run cpplint via the command line on that file, I get a warning telling me that it should be  INCLUDE_MAIN_H_.
However, when editing the file within Atom, the linter-cpplint package gives me a warning as if my main.h was in some obscure tmp/ folder I have never heard of.

Looks like this was filed before the rewrite, marking as closed as it should be fixed right now since the plugin no longer uses temporary files. Please reopen if you are still seeing issues.


Add dat schema

It saves the schema file into dat as a blob, and then the package.json knows where to find it.

If people start treating files as datasets, we might want to rethink this. perhaps you can relate a schema to any file


[Question] Roadmap

What is the current plan for EntityFramework? https://github.com/aspnet/EntityFramework/wiki/Roadmap hasn't been updated in some time.
I'm currently concerned about the really slow pace at which EF is moving forwards and the amount of prio0 bugs. I can't even get my IRC bot upgraded from EF6 to EF7 RC2 nightlies, which isn't the primary scenario for EF7, i know, but it is only using pretty basic EF features. Still he is mostly blocked by severe SQL gen bugs.
Estimating from the pace at which bugs are fixed i don't see how it will be considered useable for any projects by March (i guess ASP.NET 5 goes live at build 2016...)

The roadmap hasn't been updated because it hasn't really changed :smile:. Our team is basically just focusing on stabilization at this point. Per your point about stability, we've renamed EF7 to EF Core (and ASP.NET 5 to ASP.NET Core) to help reinforce that these are both v1 technologies and are not as stable and mature as their EF7/ASP.NET 4 counterparts that have existed for many years.
The release dates for both ASP.NET Core and EF Core are "TBD" at this stage (see our shared schedule) as we are working to move to .NET CLI (which did not exist when we planned the initial schedule).

Alright, thanks. I will have to exert myself more in patience :grin:


Add an issue template for Phase 3 of the New Hub Turnup process

[!warning]
Before this PR can be merged, #4154 should be merged, and then this PR rebased against main.
This will clean up the diff and commit history.

related to #3908

Merging this, we can fine tune as needed later.
Thanks @sgibson91!


STOR-1439: Restart controller Pods if metrics-serving-cert changed

Adding WithSecretHashAnnotationHook() for alibaba-disk-csi-driver-controller-metrics-serving-cert ensures that new annotation is published in alibaba-disk-csi-driver-controller deployment. This, in turn, leads to controller pods restart.

/lgtm


Template request: an isolated project

I think it would be very useful to have a general template where people can add their dependencies and run nix develop (or whatever command is needed to open my shell with the new apps). With some documentation on how to use it on the flake itself.
I would like to initialize a flake, add packages like nixpkgs.git nixpkgs.grep nixpkgs.sed nixpkgs.redis mygithubdependency.app. And finally run a command and have the shell with those deps, this way people using my project could run the scripts of whatever I've configured. I tried the different templates but I couldn't do it, I find very hard to achieve this 😅
I think maybe one of the hardest parts for me is to import another flake on github. This would be useful to import other projects in my projects.
Thanks!

I think I've figured it out:
# This flake provides a shell where you can add other flakes
# Usage:
# 1. Add your flake repository as an input url
# 2. Add a package to buildInputs
{
  description = "Build your shell";
  inputs = {
    utils.url = "github:numtide/flake-utils";
    wpa_passphrase.url = "github:woile/wpa_passphrase_rs/main";
  };
  outputs = { self, nixpkgs, utils, wpa_passphrase }:
    utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs { inherit system; };
      in
      {
        devShell = with pkgs; mkShell {
          buildInputs = [
            gnugrep
            gnused
            wpa_passphrase.defaultPackage.${system}
          ];
        };
      }
    );
}
I can normally install using `github:woile/wpa_passphrase_rs#wpa_passphrase`. How would I do it here? doing `wpa_passphrase.wpa_passphrase` doesn't seem to work. But it does work with `defaultPackage`.

Would you be interested in adding a template like this?


Major rewrite of solvation code to remove technical debt

I've completed rewriting most of the solvation code (and split the dummy atom stuff into another file). This is not complete because I'm still getting one test to fail, but I think this will be much better for future-proofing and probably a good time for you to review. And you might be able to spot some things that I've done wrong.

I still need to update some of the docstrings.
I didn't completely embrace the file / path / file path paradigm we talked about, but I think it's better than before.

Oops, this will also break some of the other tests that call the solvation code (I focused only on the test_build.py code). I/we can update the other tests tomorrow.

Codecov Report

Merging #43 into master will increase coverage by 0.78%.
The diff coverage is 88.53%.

@@            Coverage Diff            @@
##           master     #43      +/-   ##
=========================================
+ Coverage   82.01%   82.8%   +0.78%
=========================================
  Files           8       9       +1
  Lines        1229    1291      +62
=========================================
+ Hits         1008    1069      +61
- Misses        221     222       +1

Impacted Files
Coverage Δ

paprika/__init__.py
86.66% <100%> (+6.66%)
:arrow_up:

paprika/utils.py
76.56% <14.28%> (+9.89%)
:arrow_up:

paprika/build.py
89.91% <89.8%> (-2.91%)
:arrow_down:

paprika/dummy.py
94.59% <94.59%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24f4d05...c33798d. Read the comment docs.

Let me know if you want to rename this before merging.
There are still some code climate complaints. We can mark some 'wontfix' and then they won't count against us, which I think may be appropriate for some of this stuff because we're hamstrung by calling external utilities. But in general, it's probably good to consider the stuff it flags.


Enable tests for release branches of gardener/gardener

/kind enhancement
What this PR does / why we need it:
Enable tests for release branches of gardener/gardener to be able to switch "verify" step from concourse to prow.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
golang-test image for release 1.43 needs to be update to 1.17.8 once the related PR is merged

/lgtm


debug in vscode not work, port terminate in seconds

Debug Console showing these info:
/usr/local/bin/npm run-script start:dev
Debugger listening on ws://<IP_ADDRESS>:9229/35c6651f-974a-4a57-82cd-eba4afaad278
Debugger attached.
Debugger listening on ws://<IP_ADDRESS>:9229/b201d3a9-0b5f-4cab-96ce-7a8b7fbbfe9a

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


Can't configure postcss-mixins plugin

Issue description
I've been trying to configure postcss-mixins plugin for hours now, it just refuses to work while mantine plugin is active. postcss-preset-mantine
I've created a repo to explain what all what I tried.
Here's a summary of what I tried, all these attempts correspond to a commit in the repo (❌ failed, ✅ worked):

❌ Defining mixins in directory
❌ Defining mixins in postcss.config.js file
❌ Place postcss-mixins before postcss-preset-mantine -> this causes mantine's mixins to fail (undefined error)
❌ Explicitly install postcss-mixins plugin.
✅ Disable mixins feature -> All my defined mixins work, but I can't use mantine's mixins :'[

https://mantine.dev/styles/postcss-preset/#custom-mixins


fix: add missing package result

Removed during the change to add airgap. Allows package changes to trigger restart.

@gene-redpanda I've managed to squash the three package statements into one by careful use of default meaning that we can still get the desired behaviour of allow_unauthenticated and also the http[s]_proxy variables.
Tested for Debian and appears to be working fine now (it wasn't before I made the changes)

Reverting my commits due to poor branch etiquette - please accept my apologies

Tested the fix as it stands and it does not work for debian packages:
TASK [redpanda.cluster.redpanda_broker : Install redpanda from repository (Proxy)] **************************************************************************************************************************************************************
skipping: [<IP_ADDRESS>] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [<IP_ADDRESS>] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [<IP_ADDRESS>] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [redpanda.cluster.redpanda_broker : Install redpanda from repository (Standard)] ***********************************************************************************************************************************************************
changed: [<IP_ADDRESS>] => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": true, "changed": true, "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages will be upgraded:\n  redpanda\n1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 48.6 MB of archives.\nAfter this operation, 694 kB of additional disk space will be used.\nGet:1 https://dl.redpanda.com/public/redpanda/deb/ubuntu focal/main amd64 redpanda amd64 23.3.10-1 [48.6 MB]\nFetched 48.6 MB in 3s (14.6 MB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 62215 files and directories currently installed.)\r\nPreparing to unpack .../redpanda_23.3.10-1_amd64.deb ...\r\nUnpacking redpanda (23.3.10-1) over (23.3.9-1) ...\r\nSetting up redpanda (23.3.10-1) ...\r\nredpanda:x:997:998::/var/lib/redpanda:/bin/sh\r\nredpanda:x:998:\r\n\r\nTo get the most out of the fastest queue in the west, enable production mode by\r\nrunning the following:\r\n\r\n    sudo rpk redpanda mode production\r\n\r\nfollowed by:\r\n\r\n    sudo rpk redpanda tune all\r\n    sudo systemctl start redpanda\r\n\r\nThis will autotune your system to give you the best performance from Redpanda.\r\nYou can get more information on the tuning parameters here:\r\nhttps://docs.redpanda.com/docs/introduction/autotune/\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be upgraded:", "  redpanda", "1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.", "Need to get 48.6 MB of archives.", "After this operation, 694 kB of additional disk space will be used.", "Get:1 https://dl.redpanda.com/public/redpanda/deb/ubuntu focal/main amd64 redpanda amd64 23.3.10-1 [48.6 MB]", "Fetched 48.6 MB in 3s (14.6 MB/s)", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 62215 files and directories currently installed.)", "Preparing to unpack .../redpanda_23.3.10-1_amd64.deb ...", "Unpacking redpanda (23.3.10-1) over (23.3.9-1) ...", "Setting up redpanda (23.3.10-1) ...", "redpanda:x:997:998::/var/lib/redpanda:/bin/sh", "redpanda:x:998:", "", "To get the most out of the fastest queue in the west, enable production mode by", "running the following:", "", "    sudo rpk redpanda mode production", "", "followed by:", "", "    sudo rpk redpanda tune all", "    sudo systemctl start redpanda", "", "This will autotune your system to give you the best performance from Redpanda.", "You can get more information on the tuning parameters here:", "https://docs.redpanda.com/docs/introduction/autotune/"]}
changed: [<IP_ADDRESS>] => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": true, "changed": true, "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages will be upgraded:\n  redpanda\n1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 48.6 MB of archives.\nAfter this operation, 694 kB of additional disk space will be used.\nGet:1 https://dl.redpanda.com/public/redpanda/deb/ubuntu focal/main amd64 redpanda amd64 23.3.10-1 [48.6 MB]\nFetched 48.6 MB in 3s (16.4 MB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 62215 files and directories currently installed.)\r\nPreparing to unpack .../redpanda_23.3.10-1_amd64.deb ...\r\nUnpacking redpanda (23.3.10-1) over (23.3.9-1) ...\r\nSetting up redpanda (23.3.10-1) ...\r\nredpanda:x:997:998::/var/lib/redpanda:/bin/sh\r\nredpanda:x:998:\r\n\r\nTo get the most out of the fastest queue in the west, enable production mode by\r\nrunning the following:\r\n\r\n    sudo rpk redpanda mode production\r\n\r\nfollowed by:\r\n\r\n    sudo rpk redpanda tune all\r\n    sudo systemctl start redpanda\r\n\r\nThis will autotune your system to give you the best performance from Redpanda.\r\nYou can get more information on the tuning parameters here:\r\nhttps://docs.redpanda.com/docs/introduction/autotune/\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be upgraded:", "  redpanda", "1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.", "Need to get 48.6 MB of archives.", "After this operation, 694 kB of additional disk space will be used.", "Get:1 https://dl.redpanda.com/public/redpanda/deb/ubuntu focal/main amd64 redpanda amd64 23.3.10-1 [48.6 MB]", "Fetched 48.6 MB in 3s (16.4 MB/s)", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 62215 files and directories currently installed.)", "Preparing to unpack .../redpanda_23.3.10-1_amd64.deb ...", "Unpacking redpanda (23.3.10-1) over (23.3.9-1) ...", "Setting up redpanda (23.3.10-1) ...", "redpanda:x:997:998::/var/lib/redpanda:/bin/sh", "redpanda:x:998:", "", "To get the most out of the fastest queue in the west, enable production mode by", "running the following:", "", "    sudo rpk redpanda mode production", "", "followed by:", "", "    sudo rpk redpanda tune all", "    sudo systemctl start redpanda", "", "This will autotune your system to give you the best performance from Redpanda.", "You can get more information on the tuning parameters here:", "https://docs.redpanda.com/docs/introduction/autotune/"]}
changed: [<IP_ADDRESS>] => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": true, "changed": true, "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages will be upgraded:\n  redpanda\n1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 48.6 MB of archives.\nAfter this operation, 694 kB of additional disk space will be used.\nGet:1 https://dl.redpanda.com/public/redpanda/deb/ubuntu focal/main amd64 redpanda amd64 23.3.10-1 [48.6 MB]\nFetched 48.6 MB in 3s (15.9 MB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 62215 files and directories currently installed.)\r\nPreparing to unpack .../redpanda_23.3.10-1_amd64.deb ...\r\nUnpacking redpanda (23.3.10-1) over (23.3.9-1) ...\r\nSetting up redpanda (23.3.10-1) ...\r\nredpanda:x:997:998::/var/lib/redpanda:/bin/sh\r\nredpanda:x:998:\r\n\r\nTo get the most out of the fastest queue in the west, enable production mode by\r\nrunning the following:\r\n\r\n    sudo rpk redpanda mode production\r\n\r\nfollowed by:\r\n\r\n    sudo rpk redpanda tune all\r\n    sudo systemctl start redpanda\r\n\r\nThis will autotune your system to give you the best performance from Redpanda.\r\nYou can get more information on the tuning parameters here:\r\nhttps://docs.redpanda.com/docs/introduction/autotune/\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be upgraded:", "  redpanda", "1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.", "Need to get 48.6 MB of archives.", "After this operation, 694 kB of additional disk space will be used.", "Get:1 https://dl.redpanda.com/public/redpanda/deb/ubuntu focal/main amd64 redpanda amd64 23.3.10-1 [48.6 MB]", "Fetched 48.6 MB in 3s (15.9 MB/s)", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 62215 files and directories currently installed.)", "Preparing to unpack .../redpanda_23.3.10-1_amd64.deb ...", "Unpacking redpanda (23.3.10-1) over (23.3.9-1) ...", "Setting up redpanda (23.3.10-1) ...", "redpanda:x:997:998::/var/lib/redpanda:/bin/sh", "redpanda:x:998:", "", "To get the most out of the fastest queue in the west, enable production mode by", "running the following:", "", "    sudo rpk redpanda mode production", "", "followed by:", "", "    sudo rpk redpanda tune all", "    sudo systemctl start redpanda", "", "This will autotune your system to give you the best performance from Redpanda.", "You can get more information on the tuning parameters here:", "https://docs.redpanda.com/docs/introduction/autotune/"]}

TASK [redpanda.cluster.redpanda_broker : Install redpanda from repository (GCP)] ****************************************************************************************************************************************************************
skipping: [<IP_ADDRESS>] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [<IP_ADDRESS>] => {"changed": false, "skip_reason": "Conditional result was False"}
skipping: [<IP_ADDRESS>] => {"changed": false, "skip_reason": "Conditional result was False"}

<snip>

TASK [redpanda.cluster.redpanda_broker : Debug] *************************************************************************************************************************************************************************************************
ok: [<IP_ADDRESS>] => {
    "package_result": {
        "changed": false,
        "skip_reason": "Conditional result was False",
        "skipped": true
    }
}
ok: [<IP_ADDRESS>] => {
    "package_result": {
        "changed": false,
        "skip_reason": "Conditional result was False",
        "skipped": true
    }
}
ok: [<IP_ADDRESS>] => {
    "package_result": {
        "changed": false,
        "skip_reason": "Conditional result was False",
        "skipped": true
    }
}

TASK [redpanda.cluster.redpanda_broker : Establish whether restart required] ********************************************************************************************************************************************************************
ok: [<IP_ADDRESS>] => {"ansible_facts": {"restart_required": false}, "changed": false}
ok: [<IP_ADDRESS>] => {"ansible_facts": {"restart_required": false}, "changed": false}
ok: [<IP_ADDRESS>] => {"ansible_facts": {"restart_required": false}, "changed": false}

The reason for this is that register still registers a result even if the when clause evaluates to false.
So we either need to do some logic on the results (example here: https://stackoverflow.com/a/34622173) or I've got a fix that will work which folds down the number of package statements down to one.
I'm happy with either approach, I'll raise a PR for mine but happy for you to amend this one.

Should also add that we need to register the result of the task on line 11.


Fixed error when violation table is already present

When running different scanners if the table already exist the violation_dao will throw an error halting the insertion flow.
Now the exception is parsed and handled to allow for insertions on the same table.
Also the notifier couldn't load violations anymore.

How should I fix the line too long in this:
from google.cloud.security.common.data_access.sql_queries import select_data as sd

Hey @gbrindisi you can put a pylint disable in:
# pylint: disable=line-too-long
....
# pylint: enable=line-too-long

@mirons-google ah right! thanks

Adding cla: yes label, as the PR author has ack'd signing the CLA in PR #243  .


fix common cells include in fpnew

fpnew refers to wrong include file from common cells

Strange that other implementations do not complain about this. If I understood well, this directive should take care of the discrepancy:
https://github.com/pulp-platform/common_cells/blob/master/Bender.yml#L16
To be checked, but I think this propagates the include/ dir as a directory in which to search for includes, and in common_cells you have an include/common_cells subdir (https://github.com/pulp-platform/common_cells/tree/master/include/common_cells).

Ok, thanks, I will let you know


Updating "Submit Feedback" and "Network Requirements"

"Submit Feedback"
Clarify that users should file feedback on the device they are having issues with (since some users will file a feedback on their PC for an issue with Guides on the HL, resulting in no repro and no corresponding actionable data submitted).
"Network Requirements"
Additional Power Platform endpoints list and HoloLens endpoints added as extra resources to the bottom of the Network Requirements page.

Moved the changes to the private repo and republishing topic.

Closing PR because it was tackled in private repo.


list manifests in root work even when it has parts

example
http://presentation.bdrc.io/2.1.1/collection/wio:bdr:W0CJ001_P001_P001
should have the list of volumes, not just sub collections

this is fixed


Unable to open the excel file

Hi, I got the source code and run on physical Android device.
Click on the Export List to excel button throw error:
Load the Excel app, but then show this error message:
Can't Open file.
Something's wrong.

Excel is installed I guess?

Yes. It has Excel installed. It is on Android ver 8.0.0, Samsung Galaxy S8.

I need to retest the repo to see what could be wrong.
Did you update any nuget packages?

I read something from here.
After few attempts, I tried update the System.IO.Packaging.  But still no luck.

Like I said need to retest this... will get back when I have found some time to look at it.

Latest update,...
As far as what I understand from the source code, by using the code below will open the excel doc in Excel App. However, it does work at all. It just failed to open it.
Intent intent = new Intent(Intent.ActionView);
So, instead of using Intent.ActionView, when I replace it with:
new Intent(Intent.ActionSend);
Somehow I manage to attach/share the created excel file via other program.

Weird... still have not found time to retest this. But I know it worked when I created the test app.
Will see if I can verify this weekend.


[ERROR]: Failed to deploy; after successful build

Hi,
I'm using Amplify to host a website built with GatsbyJS. Today I'm constantly facing an issue when the deploy just fails, after the successful build. The Deployment log looks like this:
2020-03-02T18:58:20 [INFO]: Skipping upload of existing file workbox-v4.3.1/workbox-window.prod.umd.js.map
2020-03-02T18:58:20 [INFO]: Updating Edge config
2020-03-02T18:58:20 [ERROR]: Failed to deploy
2020-03-02T18:58:20 [INFO]: Deployment finished.

My app id is
d3pfqr9ua6sb81
https://eu-central-1.console.aws.amazon.com/amplify/home?region=eu-central-1#/d3pfqr9ua6sb81/develop/101?step=DEPLOY
I would be very grateful If somebody could tell me if it is a problem with my app or transient AWS issue.
Thanks
UPD:
I have same story as here: https://github.com/aws-amplify/amplify-console/issues/101

@AndriiChubariev, it looks like your builds are succeeding again. Please confirm.

Hi @nimacks
Thanks for a response.
I have disconnected my develop branch and now have only master. Indeed, now build works.
Was it a transient issue?
Will it continue working if I re-connect develop branch again?
My build artifact is quite large: 1.0 ~ 1.5 GB, can it somehow cause the issue?

There is a known issue for builds which have very large file sizes. You can track this here https://github.com/aws-amplify/amplify-console/issues/115.
The workaround we recommend to customers at the moment is to delete unused branches in their app.
We are actively, working on a fix for this issue.

@nimacks
Once again, thanks for a response.
I'm closing this issue and will keep an eye on https://github.com/aws-amplify/amplify-console/issues/115


rm: faq: add information on extending the kernel boot args for lmp-base

Signed-off-by: Vanessa Maegima<EMAIL_ADDRESS>

Docs for b5fcc546df0bb0873b96667bd5fc6d812faf8230 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1143/docs/artifacts/html/index.html

Docs for 9ecafd9618f82cc7f5881060d17a0336cae63b89 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1145/docs/artifacts/html/index.html

Docs for 6a275dd967cda503ed205b79193b6632fbdd8f01 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1146/docs/artifacts/html/index.html

Docs for 48a19c230130edfab384cb7ab09eb8d73c7e4256 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1148/docs/artifacts/html/index.html


Please support working without xdg-utils on Linux

On Linux, opening the default browser uses xdg-open, part of xdg-utils; however, nothing in a default desktop install requires the installation of xdg-utils.  Please consider supporting some fallbacks, such as gvfs-open, or parsing the $BROWSER environment variable directly.

Thanks for the input @joshtriplett. I'd originally sourced the choice of command on Linux from this stackoverflow discussion.
Will address this as:

Use browser variable if available
Use xdg-open as a fallback

I think using the browser variable should be sufficient instead of adding something like gvfs-open

@amodm Thanks for the update.  I mostly mentioned gvfs-open because unlike xdg-open, it's installed by default in GNOME environments, and it still respects users' app selections in the GNOME preferences (which don't set $BROWSER).

@joshtriplett incorporated in v0.2.2 on crates.io


refactor(dependency): update babel-code-frame to @babel/code-frame

Update code-frame dependency from v6 to v7 so that we can drop the chalk v1 dependency.
Closes #408

I've set the dependency to ^7.5.5 because ^7.0.0 has issues with importing @babel/highlight. I can specify latest instead if you prefer though.

We seem to have a failing test?

We do... It's failing to clean up after the tests by the look of it.
Each time I run these actions it seems to fail on a different OS using webpack 5, node 8. Can see if it does the same this time, but I'm wondering if this is just an issue with webpack alpha finishing when we expect.
Is there a good way to try these tests on latest master to see if they're still passing repeatably?

So they're all passing now... all I've changed is the commit author.

Flaky tests are the worst! @piotr-oles are you happy for us to merge?

Looks good. I think we should update the semantic-release config to trigger patch release for refactor commits. Give me a few minutes, I will send you what to change.

I have created a new PR: #410 to update the semantic-release configuration. We can merge this PR later.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

In case you hadn't already noticed, it doesn't look like refactors don't appear in the release notes even though they do trigger releases. The github release looks blank for 4.1.4. Release itself is working great for me though. :)

:tada: This PR is included in version 5.0.0-alpha.17 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Handle unit tests in JavaScript

Because bs-jest is still WIP and experimental, it can be very convenient to write unit tests in JavaScript. But currently it's not possible without ejecting because it's impossible to modify the testMatch parameter of Jest config (in package.json), or react-scripts complains when launching tests.
I think it would be great if default testMatch parameter of Jest config included both *test.re* and *test.js to allow writing tests in JavaScript.

Thanks for submitting a PR to fix this! It should be released now in v0.6.7 😄


[BUG] Point light position not updating with entity position

From user: "if you parent a lamp into an object and move the object the lamp will not move"

Fixed in change 8e97e921.


gen_grids function

I'd like to ask a question about the gen_grid.Grids in DFT,
mol = gto.M(atom = 'H 0 0 0; F 0 0 1.1',basis = 'ccpvdz')
grids = dft.gen_grid.Grids(mol)
and I futher plot the gird in XZ-plane, and show both H and F atoms in red dots.
But I don't know why the grid center is not the same as the nuclei for instance the F is at (0,0,1.1) but the grid center is at somewhere (0,0,2). does it have something to do with different units e.g. AU or B? how can i get molecular grids that start from nuclei coordinate?

The default unit assumed for the geometry is Angstrom (because it is a
popular convention), but most quantities are calculate in atomic units,
including the DFT grids. 1.1 Angstrom is indeed about 2 Bohr.
On Fri, May 27, 2022 at 8:45 AM lucienwb @.***> wrote:

I'd like to ask a question about the gen_grid.Grids in DFT,
mol = gto.M(atom = 'H 0 0 0; F 0 0 1.1',basis = 'ccpvdz')
grids = dft.gen_grid.Grids(mol)
and I futher plot the gird in XZ-plane, and show both H and F atoms in red
dots.
But I don't know why the grid center is not the same as the nuclei for
instance the F is at (0,0,1.1) but the grid center is at somewhere (0,0,2).
does it have something to do with different units e.g. AU or B? how can i
get molecular grids that start from nuclei coordinate?
[image: output]
https://user-images.githubusercontent.com/71210890/170699464-2ff206a9-1791-4c55-b7dc-73066bc523ed.png
—
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/1262, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGAJCZ7CLHQCTPCX7NOH6TVMC7VJANCNFSM5XED6TAQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The default unit assumed for the geometry is Angstrom (because it is a popular convention), but most quantities are calculate in atomic units, including the DFT grids. 1.1 Angstrom is indeed about 2 Bohr.
…
On Fri, May 27, 2022 at 8:45 AM lucienwb @.> wrote: I'd like to ask a question about the gen_grid.Grids in DFT, mol = gto.M(atom = 'H 0 0 0; F 0 0 1.1',basis = 'ccpvdz') grids = dft.gen_grid.Grids(mol) and I futher plot the gird in XZ-plane, and show both H and F atoms in red dots. But I don't know why the grid center is not the same as the nuclei for instance the F is at (0,0,1.1) but the grid center is at somewhere (0,0,2). does it have something to do with different units e.g. AU or B? how can i get molecular grids that start from nuclei coordinate? [image: output] https://user-images.githubusercontent.com/71210890/170699464-2ff206a9-1791-4c55-b7dc-73066bc523ed.png — Reply to this email directly, view it on GitHub <#1262>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGAJCZ7CLHQCTPCX7NOH6TVMC7VJANCNFSM5XED6TAQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

Ah! I am also wondering whether this has something to do with unit conversion. hahaha now i am happy with my results. Thanks!!

Also, you can specify the unit for geometry if you want to use Bohr, see
here:
https://pyscf.org/user/gto.html#geometry
On Fri, May 27, 2022 at 9:08 AM lucienwb @.***> wrote:

Closed #1262 https://github.com/pyscf/pyscf/issues/1262 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/1262#event-6692472843, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGAJCYVDPFACBC6PIHCSVLVMDCL3ANCNFSM5XED6TAQ
.
You are receiving this because you commented.Message ID:
@.***>

Hi, @tberkel I want to calculate the atomic overlap Sij(A) for atom region A, by using the grid points. I tried the gen_atomic_grids for H-F molecule, see below, but the two sets of grid points are all originated from (0,0,0). Can I use this atomic grids to calculate Sij and is there a way to build atomic grids which orginates from its own center atom. Thanks!
DICgrids=dft.gen_grid.gen_atomic_grids(mol,level=3)
Hgrids=DICgrids['H'][0]
Hweights=DICgrids['H'][1]
Fgrids=DICgrids['F'][0]
Fweights=DICgrids['F'][1]
fig,ax=plt.subplots()
ax.scatter(Hgrids[:,0],Hgrids[:,2],s=Hweights,c='blue')
ax.scatter(Fgrids[:,0],Fgrids[:,2],s=Fweights,c='red')
ax.scatter(0,0,c='black') # H 0 0 0
ax.scatter(0,2,c='black') # F 0 0 2
ax.set_xlabel('x axis unit in bohr')
ax.set_ylabel('z axis unit in bohr')
ax.set(xlim=(-5,5),ylim=(-5,5))
plt.show()

It's easy to do that by shifting the atom grids by atom's coords, like grids.coords += atm_coords. The related code can be seen at https://github.com/pyscf/pyscf/blob/1e45505a94f23198d0ec464107c12d29d4d9aa16/pyscf/dft/gen_grid.py#L296, https://github.com/pyscf/pyscf/blob/1e45505a94f23198d0ec464107c12d29d4d9aa16/pyscf/dft/gen_grid.py#L342

Hi, @hebrewsnabla thanks. But does this shift also will change the weights.

Hi, @hebrewsnabla thanks. But does this shift also will change the weights.

There's no weights for atom grids. The weights are assigned after gen_partition is done. So I do not recommend doing numerical integration with atom grids. Instead, doing that on molecular grids is straightforward.
For example, S[0,1] can be integrated by
ao = dft.numint.eval_ao(mol, grids.coords)
lib.einsum('g,g,g->', ao[:,0], ao[:,1], grids.weights)

you can verify that it should be very closed to analytical overlap.

@hebrewsnabla Thanks. I wish to calculate the overlap S[i,j] in atomic space A, so i want the grid and weight in atomic space A. Is that right to shift grid then assigin the weight of it using gen_partition. Or do we have an alternative way to do that.

What do you mean by 'atomic space A'?

---- 回复的原邮件 ----

                    发件人

                    日期

                    2022年06月07日 22:54

                    收件人

                    抄送至

、

                    主题

                    Re: [pyscf/pyscf] gen_grids function  (Issue #1262)

 Thanks. I wish to calculate the overlap S[i,j] in atomic space A, so i want the grid and weight in atomic space A. Is that right to shift grid then assigin the weight of it using gen_partition. Or do we have an alternative way to do that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

atomic space of atom A. anyhow I will write something myself to realize it. thanks @hebrewsnabla!

@lucienwb is probably referring to the fuzzy Voronoi partitioning where the atomic space is just the integral weighted by the weight function of atom A.
This is already implemented in PySCF for the Becke weights used in orbital localization (see J. Chem. Theory Comput. 10, 642 (2014). Note that these equations are exactly the ones you want!
The magic happens at
https://github.com/pyscf/pyscf/blob/1e45505a94f23198d0ec464107c12d29d4d9aa16/pyscf/lo/pipek.py#L73
so you can just copy-paste these few lines of code to form the overlap matrix for atom A.


New program to convert temperature from celsius to kelvin

Description
A program to convert celsius to kelvin
Input ( C )  : -40
Output ( K ) : 233.15
Code of Conduct

[X] I have read and agree to the project's Code of Conduct

Hey, Can I take this issue up? If yes can I use Python to create this?


NppScripts.ScintillaGateway.FindText

Greetings:
Not really an issue, just my ignorance.
Thanks for the awesome tool by the way.
I am trying to figure out how to use Npp.Document.FindText.
I am trying to use regex so my command is Npp.Document.FindText(4,Npp.Document.GetSelText());
It is erroring out for unable to convert from string to TextToFind, how can I put this to use?
Pat

Hi Pat, sorry will need to have a look at it a bit later. Not I am completely drowning in my other two projects "CS-Script" and "WixSharp".
Hope you understand

Oleg,
Thanks for the follow up, I figured it out and will post what I found.
Great project thanks.
Pat
On Sun, Nov 15, 2020 at 3:02 AM Oleg Shilo<EMAIL_ADDRESS>wrote:

Hi Pat, sorry will need to have a look at it a bit later. Not I am
completely drowning in my other two projects "CS-Script" and "WixSharp".
Hope you understand
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oleg-shilo/scripts.npp/issues/4#issuecomment-727544509,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPOCWGFEFE4W4LR2LB4WPDSP6RL3ANCNFSM4TT5DBXA
.


Horizontal Trees?

I am getting some poor performance from angular-ui-tree and unexpected behavior, due to the amount of PRs and Issues open I decided to fork and use my own repo.
While cleaning up some code i see what looks like leftovers from when a horizontal tree was supported, but I can't find any documentation for it.
Is this something that was removed or something that is currently being added?

On this note there were two major problems that were blockers for me with angular-ui-tree, the first was not being able to drag a node from one tree to another that were side by side, this was because unless it broke the hard coded threshold of 30px it would not register as a vertical movement and therefor not hit the logic to move the node from one tree to another.
The second problem was a major (around 200ms) delay when starting to drag a node and when the dragElement would appear in the UI.  I tracked this down to the way the dragDelay function is written.
As a quick fix i removed all horizontal tree logic because it doesn't appear to be supported anymore and I added an if check that skips the dragDelay function all together is no drag delay was specified by the user.
Let me know if any of that is worth a PR to you.

@jacobscarter we don't intentionally support horizontal trees. I can imagine some people do / will want to use it. In that case it should be explicitly documented + a sample added to our demo page.
Thanks for investigating and sharing your work with us!

Closing as this is being solved with #806 and #810

I vaguely recall that there was an additional horizontal tree-based demo on the old demo page (the one under @JimLiu's GitHub account). That appeared to be long-obsolete before I started using ui-tree.
There may be some misleading comments or unused logic lingering in the code base from that functionality - I vaguely recall seeing unexpected code/comments when I've been working on other stuff.
In all likelihood, those stray bits of code (if they exist) should be removed, but I don't think we should go looking for them in case we cause a bunch of subtle regressions.


Isar web works fine on firefox.

When you open Isar web on Firefox, it prompts you to use a chrome browser since firefox isn't supported. But it works fine from what I can see on Firefox when I switch the user agent. I'm using the latest 113 version on Linux. Is there something horribly wrong with it that should prevent people from using their preferred browser?

@joshpetit I have been waiting for Isar web support for sometime now. How did you get it to work on web?

I'm sorry, I'm not talking about web for the application. I'm talking about web for the inspector.

I am interested in Isar Inspector support for Firefox too 🙂

Related to https://github.com/isar/isar/issues/995


Self-contained proof steps for EqualityProver and APRProver

Refactor to advance_proof intended to split step_proof stages get_steps (figure out which steps are available), exec (standalone chunk of work which has all the information necessary to perform it contained in ProofStep, and commit, which modifies proof with the results of the proof steps. Intended to be an incremental step toward parallelizing individual proofs. Pulled largely from https://github.com/runtimeverification/pyk/pull/727
Adds:

ProofStep and subclasses APRProofStep and ImpliesProofStep
StepResult and subclasses APRProofResult and ImpliesProofResult, for returning proof update information from ProofStep.exec
subclasses of APRProofResult APRProofExtendResult for if the current node should be extended and APRProofSubsumeResult for if it should be subsumed into the target
Change Proof.advance_proof to, instead of calling step in a loop, calls get_steps, and then calls exec and then commit on each of these steps.

Tested against kontrol test suite as well.

Let's make the following changes:

get_steps() -> list[ProofStep] and commit(ProofStepResult) -> None, are now methods of the *Proof classes, not of the *Prover classes.
The step_proof(ProofStep) -> list[ProofStepResult] method is part of the *Prover class.
The ProofStep and ProofStepResult do not hold a KCFGExplore (that stays in *Prover classes), and only holds the minimum data for step_proof(...) to be able to operate.

With this design, we may be able to make it so that *Prover does not even hold a *Proof in its hands.

@nwatson22 is anything blocking this PR? Is it still relevant?

Closing in favor of

https://github.com/runtimeverification/k/pull/4250
https://github.com/runtimeverification/k/pull/4246
https://github.com/runtimeverification/k/pull/4256


Having issues with:  Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'OOC')

Describe the bug
I'm bad with codes things so not too sure if can describe it better than getting the error whenever trying to trigger Reactive Strike
To Reproduce
Moving an opposing token away from a token with Reactive Strike/AOO
Expected behavior
Chat message reminder about reactions and other stuff related to module.
Screenshots

Issue with compatibility v11 - fix ASAP

Works now! Thanks <3!


coco_caption.zip download link is invalid

when I run install_cococapeval.sh, I cannot download coco_caption.zip and it returned PublicAccessNotPermitted Error. I wonder how to solve this? Thanks for your work!

Please use this link to download: https://drive.google.com/file/d/1FHEQNkW7zHvSd-R8CQPC1gIuigC9w8Ff/view?usp=sharing


Profile information!

Hi,
My name is Anil, I need to get Profile information like email, phone, etc.
It's possible?, I didn't see any API's supporting this, I got only Authentication type not the profile details. Please Help.

I also need email that is used for login but don't see any API. LiveSdk provide info using
JSONObject result = LiveOperation.getResult();
String name = result.getString("name");

But unable to find similar type of API in this sdk.

Find a way to get username, may be helpful
Drive drive = oneDriveClient.getDrive().buildRequest().get();
String name = drive.owner.user.displayName;

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #172 for more information


[Docs]: autocomplete options data (args, kwargs)

Page
https://interactions-py.github.io/interactions.py/API Reference/API Reference/models/Internal/context/
Problem description
Due to significant changes to version 5, the way that options are fetched for autocomplete contexts has changed drastically. While we used to fetch this from the context payload data, it is now being stored in the args and kwargs attributes.
I was not able to find anywhere on the documentation about these changes as well as anything to suggest that the data is being stored in here, I had to rely on reading source code to figure out there's already a method that processes them while not providing inline documentation of what it's attempting of doing
Suggested changes

Add autocomplete options to the guide linked in the migration documentation
Improve definition of kwargs/args in context documentation

Additional context
No response

I do agree with that. In general, I do feel as if autocomplete UX was downgraded significantly during the process of making v5, as NAFF v2, the base for v5, had a clearer syntax IMO (although I had people disagree with that). Regardless, I think kwargs, if documented in the guides, should be fine for now, but it may worth be revisiting autocomplete UX in the future.

Evening.
Please comment example code demonstrating the ux you want. (Directed at everyone, not just participants of this issue)

I do like the old NAFF way of it, though I can think of a modification that might make it better.
Let's take a slash command with two options:

name, a string that is autocompleted.
channel, a... channel.

In NAFF, autocomplete for name would be something like the below (note I'm on mobile):
async def name_autocomplete(ctx: AutcompleteContext, name: str | None = None, channel: BaseChannel | None = None):
    ...

You could also use **kwargs to essentially "ignore" other options besides names if you wanted to:
async def name_autocomplete(ctx: AutcompleteContext, name: str | None = None, **kwargs):
    ...

Admittedly, this behavior produces some seemingly strange results. For example, I believe the example in the docs used a command with one option, meaning when there are multiple options with a mix of autocomplete/not autocomplete, NAFF would try to pass every filled-in option, confusing people as their one-argument functions (ignoring self and ctx) failed.
However, I think that by only passing the context and not the options, as well as forcing users to use ctx.kwargs, was the wrong fix to this. Instead, I propose this as a solution:
async def name_autocomplete(ctx: AutocompleteContext, name: str | None = None):
    ctx.kwargs  # other options are still here

This means the targeted option is the only "required" thing to put, which is pretty intuitive for people to understand. That being said, you can still access other options, if needed, through ctx.kwargs (or some helper method), just in case you wanted them.


#Vulcan 229/neodash colored tabs

Not merging as the feature doesn't look good aesthetically and no longer needed with Neodash


RFC: Fixing incorrect loading of parameter files when multiple GazeboControlPlugins are used.

Hi,
I found a bug in IgnitionROS2ControlPlugin::Configure that prevents using multiple controller managers with varying parameter files. IMO, this is a pretty important use case for people working on multi-robot simulation.
This bug is caused because the parameter file is passed as arguments to rclcpp::init:
// ign_ros2_control_plugin.cpp:301
  sdf::ElementPtr argument_sdf = sdfPtr->GetElement("parameters");
  while (argument_sdf) {
    std::string argument = argument_sdf->Get<std::string>();
    arguments.push_back(RCL_PARAM_FILE_FLAG);
    arguments.push_back(argument);
    parameter_file_names.push_back(argument);
    argument_sdf = argument_sdf->GetNextElement("parameters");
  }
// ign_ros2_control_plugin.cpp:357
  if (!rclcpp::ok()) {
    rclcpp::init(static_cast<int>(argv.size()), argv.data());
  }

When multiple instances of IgnitionROS2ControlPlugin are used, the very first instance calls rclcpp::init, and since rclcpp::ok() is true, rclcpp::init is not called from the second instance on. Therefore, the global default context only contains the parameters tag of the very first parameter file.
I have two possible fixes for this, and would like to get your comment. The first is to use different rclcpp::Context for different instances, and then pass the --params <params-file> as an argument to Context::init. The second is to use node options.
The first gives more separation between controller manager instances, but requires a corresponding fix in controller manager so that controller node instances inherit controller manager's context.
The second shares the same global context, and works without modification if the controller parameter yaml ensures to specify the params_file (even if the same file).
What do you guys think?

Sounds good. I'll clean up towards the second option. I'll be sending in the context inheritance PR to ros2_control anyway and see if they'd like to merge that, so the first option may be viable in the future.
Which branch should I point the PR to? I noticed that ign_ros2_control was renamed to gz_ros2_control after humble.


A compatibility issue

Hi, I'm developing langchain and I've found that the latest version of doctran has compatibility issues with pydantic. ipynb keeps prompting ModuleNotFoundError.
No module named 'pydantic._internal._validators'

Hi, I'm developing langchain and I've found that the latest version of doctran has compatibility issues with pydantic. ipynb keeps prompting ModuleNotFoundError. No module named 'pydantic._internal._validators'
I'm developing langchain，too。Have you solved it？

你好，我正在开发 langchain，发现最新版本的 doctran 与 pydantic 存在兼容性问题。ipynb 一直提示 ModuleNotFoundError. No module named 'pydantic._internal._validators'
我也在开发 langchain。你解决了吗？

Of course, I found that the doctran module only supports OpenAI's API, so you may need to use a compatible writing method. I'll post my implementation method here, I hope it will be helpful to you.
import os

from dotenv import find_dotenv, load_dotenv
load_dotenv(find_dotenv())
api_key = os.getenv("DASHSCOPE_API_KEY")

with open('./letter.txt', encoding='utf-8') as f:
    content = f.read()

from langchain.llms import Tongyi
llm = Tongyi(
    model="Qwen",
    temperature=0,
    dashscope_api_key=api_key
)

prompt = f"Please translate the following text into Chinese: {content}"

result = llm(prompt)
print(result)


GIF only created from second half of Ugoira

Prerequisites

[x ] Did you read FAQ section in readme.md?
[x ] Did you test with the latest releases or commit ?
[x] Did you search for existing issues in Issues?

Description
Ugoira is composed of two halves (120 frames total)
PixivUtil2 with default settings seems to only create a GIF from the second half
Steps to Reproduce

Download individual gallery (NSFW) https://www.pixiv.net/en/artworks/86401819
View zip (120 frames)
View gif (60 frames, the second half)

Expected behavior: The GIF should contain the full 120 frames, or if it's specified in the ugoira (not sure if Pixiv did something like this), 2 GIFs of 60 frames
Actual behavior: The GIF only has the second half of the ugoira
Versions
v20201207-beta1
You can get this information from executing PixivUtil2.py --help.
Latest version available in https://github.com/Nandaka/PixivUtil2/releases

I'm not sure why, somehow the ffmpeg command didn't process the whole images.
ffmpeg.exe -y -i "./i.ffconcat" -filter_complex "[0:v]split[a][b];[a]palettegen=stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" "./temp.gif"
i.ffconcat.txt
You can use webp or webm, which produce the full images.

Related to #802
Checked the ugoira file, looks like the one of the image has error inside and it throw warning in the console when I run the ffmpeg command manually.

I can somehow avoid this by converting the images to mp4 first then to gif, but this will increase the processing time.
I recommend you to use webp instead.

I'm not sure why, somehow the ffmpeg command didn't process the whole images.
ffmpeg.exe -y -i "./i.ffconcat" -filter_complex "[0:v]split[a][b];[a]palettegen=stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" "./temp.gif"

It's the -filter_complex part causing that, though no clue about ffmpeg filters and how to fix them. Could just make them optional for the config file I guess, with some working standard set

Not really, I tried to convert it to mp4/webm using ./ffmpeg.exe -y -i "./input/i.ffconcat" -c:v libvpx-vp9 -lossless 1 -vsync 2 -r 999 -pix_fmt yuv420p "output.mp4" and it able to fully process the whole frames.

Then I'm using ./ffmpeg.exe -y -i "output.mp4" -filter_complex "[0:v]split[a][b];[a]palettegen=stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -loop 0 "output.gif" to convert it to gif and it works.

I think the combination of ffconcat with gif conversion that cause the problem (ffmpeg bug?)

@Nandaka Try using ./ffmpeg.exe -y -i "./input/i.ffconcat" output.gif. That produces a full .gif

filesize is bigger by 10mb and not optimized btw.

filesize is bigger by 10mb and not optimized btw.

I know, just saying what the cause is, not what the best way to fix it is (although it's even bigger here).


New Heap script that allows for advanced configuration options

Looking at the Heap install documentation, there appears to be an updated script. (Look for the forceSSL option, which is about one screen's-width to the right in the diff below and on the Heap site...)
Additionally, I added support for three available options on Heap.load: forceSSL, secureCookie, and disableTextCapture (listed at the bottom of install documentation above).

Many thanks for your contribution! Tested and it works. Released now as 0.3.0.

Hooray! This was my first contribution to someone else's project. Glad I didn't mess anything up! :)


Multiple requests get resolved with the first one which succeeds

If I fire up multiple requests where each request takes some time before it gets resolved all requests are getting resolved with the first request which succeeds.
async getUser(request) {
  return new Promise(resolve => {
    const generatedAsyncFunction = promiseListener.generateAsyncFunction({
      start: 'START_ACTION_TYPE',
      resolve: 'RESOLVE_ACTION_TYPE',
      reject: 'REJECT_ACTION_TYPE'
    });

    generatedAsyncFunction.asyncFunction({ request }).then(
      resolvePayload => {
        resolve(resolvePayload);
      },

      rejectPayload => {
        resolve(rejectPayload);
      }
    )
  });
};

// All requests are getting resolved with A
getUser('A').then(console.log);
getUser('B').then(console.log);
getUser('C').then(console.log);

I also am running into this issue. Would be good if we could pass a conditional to resolve based on the payload (i.e. an ID has to match the id that was in the original action)


No images from last year displayed?

Might there be a bug with images from last year?
I have some images taken on 02.02.2023, but it looks like they aren't displayed (today is 04.02.2024).
Updated to 1.20.2 today.
Meanwhile 240 images - 125 uniq - have been displayed, but none from 2023.

Hello,
so your issue is that there are no images displayed from this year?

Not sure if nothing from last year.
I've recognised that last days, because I have images of an anniversary on 02.02.2023 (with correct metadata and no ignore) and haven't seen an images of that folder...
I sorted the log to doublecheck, but nothing from 2023.
docker-compose logs this-week-in-past | sed -e 's/Z DEBUG.*path:/] |/g' -e 's/, content_type.*taken: / | taken: /g' -e 's/, location.*//g' | grep taken | awk -F '|' '{print $2,$4,$3}' | grep -e "..........T........" | cut -d '"' -f2 | sort

I've just added a new api endpoint, which you can query yourself #133. It lists all images which could be shown in this week, incl. the metadata.

Still nothing from 2023, but...
Found a typo in my RESOURCE_PATHS. -  Sorry for the circumstances
BUT: Thanks for the new endpoint. I was thinking to have something like that, but did not open an RFE because it is just something nice to have ;)
Maybe add a "Found n memories." at the top in the output of the new endpoint?


Understanding the key and value transmission from the encoder output to the decoder

Once again, thank you Phil for the amazing work and time you put into your work. I appreciate it! Two questions though:

Do I understand correctly that the keys and values that are passed from the encoder output to every layer of the decoder is nothing else but one single entity/tensor of shape (batch_size, num_tokens, dim_embedding) and it is only inside of the decoder layers that this tensor is then split into a key and a value tensor by means of multiplications with respective learnable tensors? So there really is only one single tensor that is passed to the decoder as  opposed to many illustrations, cf.

The split is performed in every decoder layer anew, correct?

I am trying to understand the resemblance/analogy to classical convnets in which after several layers of convolutions and pooling one usually uses the embeddings with reduced spatial dimension but increased feature/channel dimension for some further downstream tasks, cf. VGG architecture.

Is this akin to the encoder part of the Vision Transformer?
the output of the encoder are separate feature vectors for every token/image patch which seems to be different from the resulting embeddings of convnets...

Talking again about ViT, could a decoder be thought of as kind of an upsampling/generative counterpart (cf. GANs) of a downsampling part, i.e. the encoder? I try to relate encoder and decoder and their use cases to the more classical architectures in Deep Learning.

Thank you in advance!

@CDitzel Hi Carsten again :)

Yes, the diagram should have showed the orange and blue keys and values in the center as one tensor as you described. It is then projected into its own set of keys and values at each cross attention layer of the decoder.

Encoder is exactly the same as ViT. I think that was the point the authors were trying to make, that the simplest encoder out of NLP can best all the complicated vision architectures devised so far.

The decoder you can think of as an RNN, but revised into an attention block, where the masking controls the flow of attention and gives it a learned unidirectionality. So the closest architecture you would be familiar with is the age old Karpathy CNN -> RNN (LSTM) image to caption. The CNN is replaced with the encoder here, and the decoder takes the place of the RNN

@CDitzel Hi Carsten again :)

Yes, the diagram should have showed the orange and blue keys and values in the center as one tensor as you described. It is then projected into its own set of keys and values at each cross attention layer of the decoder.

Encoder is exactly the same as ViT. I think that was the point the authors were trying to make, that the simplest encoder out of NLP can best all the complicated vision architectures devised so far.

The decoder you can think of as an RNN, but revised into an attention block, where the masking controls the flow of attention and gives it a learned unidirectionality. So the closest architecture you would be familiar with is the age old Karpathy CNN -> RNN (LSTM) image to caption. The CNN is replaced with the encoder here, and the decoder takes the place of the RNN

It's more that the Decoder is generative, conditioned by the encoder output (but you can condition it on anything, that's part of the flexibility of working with attention networks)

It's more that the Decoder is generative, conditioned by the encoder output (but you can condition it on anything, that's part of the flexibility of working with attention networks)

thank you Phil!

thank you Phil!


Update grant/ and exchange/ requires to use function expressions for com...

...patibility with strict mode.  Addresses issue #104
Useful for folks running node with --use_strict

Coverage remained the same at 100.0% when pulling e224cd15738d39cbbeaaffd6fff2a9320128a5a2 on shaiherman:master into 39de543ea68d4820b35b9c0dd7b6b46956a6556c on jaredhanson:master.

LGTM

Thanks  :-)


document Opts to readme

sometimes I need to set timeout shorter, documentation should give a hint you can do it.
great tool, save my day many times !!

done


PROMO-481: Correct the FSD spelling to the official one across all pages

Background
Closes #481. Ran a case-insensitive search for feature sliced and feature-sliced and reviewed all results.

Changelog

Fixed all occurences of the brand name to the official "Feature-Sliced Design"

One of the fixes references this discussion — https://github.com/feature-sliced/documentation/discussions/65, which has an incorrect spelling in the name. We should fix that there as well, perhaps

@illright А я уж думал, что пофиксил все)
Спс что поправил


Install is available on homebrew so add to install

I don't maintain that install, so I am reluctant to add it here, which implies support.


Minor Graphical Interaction: Headers and New Codeblock

In the case where a note has H1, H2, H3, and so on up top on a note near the bottom of YAML, that contains a RPGM code block, the Header and new Component Die can now overlap visually if there is not adequate spacing between the first component die code block and a header.

I am attaching the screenshots using a custom theme, but I did test this using default theme as well. Default theme makes it hard so see the example as the color of the die and header is the same.
My Original Code

Fixed Code

Code after H1 was removed, and Obsidian Linter added it back in

Judging by the actions of Obsidian Linter, I would say this is a first-time install/first time 3.0 upgrade issue only with a specific use case, as it only targets those who use headers near the bottom of the YAML borders. I'm in the process of renaming all these headers to something more useful, so force myself keeping them in some capacity.
Proposed Solution From A Novice

When injecting RpgManagerData (and probably any code block, to be honest) into a note for the first time or on 3.0 upgrade, include a check for nearby note elements and add 1-2 line break if there is something detected.
Alternatively, Include 1-2 line breaks by default around the blocks by default.

Edit: Changed title to specify markdown headers as I noticed the topic below also used the header verbiage, but is talking about a separate header.

@sigrunixia I did move the d20 icon on top of the next element on purpose, as I thought that the RpgManagerData would always have been directly on top of the first RpgManager codeblock.
I see now that the idea was smart in an ideal world, but in the real world causes only troubles! :)
Will change and revert

Available in v3.0.0-1


Refactor: Migrated emoji_picker_overlay.jsx to Typescript

Summary
This PR migrates 'components/emoji_picker/emoji_picker_overlay.jsx' module and associated tests to TypeScript
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/21155
JIRA https://mattermost.atlassian.net/browse/MM-20519
Release Note
Migrated 'components/emoji_picker/emoji_picker_overlay.jsx' module and associated tests to TypeScript

Hello @codewithshariq,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/check-cla

/release-note-none

🆗 It looks good to me. Thank you

Thank you for the review.

I am wondering why the hadleEmojiClose (aka onEmojiClose) handlers got removed here? Were they not needed?

Yes, those were not needed. In the main component that prop was not even used.

I am wondering why the hadleEmojiClose (aka onEmojiClose) handlers got removed here? Were they not needed?

Yes, those were not needed. In the main component that prop was not even used.

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/247379


bench: introduce

introduce bench engine.
its purpose is not to track performance, but to determine the loader's impact on a process.
#17

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 97.658%

Totals

Change from base Build<PHONE_NUMBER>7:
0.1%

Covered Lines:
600

Relevant Lines:
606

💛  - Coveralls

👋 @RafaelGSS

@RafaelGSS at current state if we run the bench script it's only display the first report. Any hints ?


Weather

I'm having troubles getting the skin to find my location. I've tried many different formats and there is still no weather/temperature to display. It only shows N/A for temp.

Could you please send a screenshot from the debug log of Rainmeter (https://docs.rainmeter.net/manual/user-interface/about/) and post it in here.
Also please write down your OS version, Rainmeter version and the city name you want to use.

@FatKontroller You have to input the city and then press Enter to confirm it. Try it again and check if it works :)

I love you! Thank you! And thank you for the VERY quick reply!!!!!

@FatKontroller No problem, that's what Github is great for. I get like an instant notification as soon someone writes something on my repos.

That's great. Thank you again! Also just installed your visualizer, really looks great on my new portrait monitor. :)

It seems that issue got fixed as there was no response from the original creator so im gonna close this issue as fixed. Please create a new issue or comment on this one to reopen it.


Submission-Group-131-2352222-2352184-2353029-2352925

Nguyễn Hữu Duy - 2352184
Nguyễn Minh Quốc - 2353029
Vũ Minh Phú - 2352925
Dương Nguyễn Tấn Đạt - 2352222
BFF algorithm:
Pseudocode
Sort the product list in descending order by the largest dimension:
sorted_prods = sort(products, by max(size), in descending order) Initialize global variable to track the best overall result:
BestIndex = -1
BestPosition = None
BestSize = [0, 0]
MinWaste = infinity (to track the smallest waste). Iterate through each product in the sorted list:
If the product's quantity is <= 0, skip it.
For each product:
Retrieve the product size: prod_size = [width, height]. Initialize temporary variable to store the best result for the current product: current_Stock = None
current_BestPosition = None
current_MinWaste = infinity.
Iterate through all available stock sheets:
Retrieve the stock sheet dimensions: stock_size = [stock_width, stock_height]. If the stock sheet cannot accommodate the product (stock_width < prod_width or stock_height < prod_height), skip it. For each valid stock sheet:
Evaluate all possible positions to place the product: Check if the position (x, y) is valid (can_place returns True). Compute the remaining unused space (waste):
remaining_space = free_space_in_stock - product_area. If the remaining space is less than current_MinWaste: Update current_Stock, current_BestPosition, and current_MinWaste. After evaluating all stock sheets:
If the product has a better placement option (current_MinWaste < MinWaste): Update the global best result:
BestIndex = current_Stock
BestPosition = current_BestPosition
BestSize = product_size
MinWaste = current_MinWaste.
After processing all products:
Return the final result:
StockIndex = BestIndex
size = BestSize
position = BestPosition (or [0, 0] if no valid position was found).
Column generation algorithm:
Pseudo-code for Column Generation (CG) Algorithm
Initialize the initial set of columns:
Generate a set of basic cutting patterns (columns) derived from the list of products. Iterate until an optimal solution is found: a. Solve the LP relaxation problem using the current columns:
Solve a linear programming (LP) relaxation without requiring integer constraints. Find an approximate solution to guide the generation of new columns. b. Compute the reduced costs for all current columns:
Use the formula:
reduced_cost = cost − (dual_variable × column_coefficient)
c. Evaluate the reduced costs:
If all reduced costs ≥ 0: Terminate. The current solution is optimal. If any reduced cost < 0: Select the column with the smallest reduced cost and add it to the set of columns.
After identifying the optimal set of columns:
Perform branch-and-bound to ensure integrality in the solution. Select the product and determine the optimal placement: Evaluate all stock sheets and choose the best position for the selected product.
BFF:
Highest Trim Loss: 1.0 ở filled_ratio: 0.0
Average Trim Loss: 0.379
CG:
Highest Trim Loss: 1.0 ở filled_ratio: 0.0
Average Trim Loss: 0.362

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.


Fixathon improve feedback block api

@frederike-ramin @ekl176
I added a few unit tests and some small improvements, can you please take a look when. you have time?


[Cider] Rudimentary where command.

Small PR which adds a prototype version of program counter visualization via where or pc in CIDR.
Also bumps the rust version for the interp crate to 2021 and fixes an old issues with the stack environment related to recursive drops. Some minor mucking about with the interpreter name structures.

Just wanted to say this looks awesome!! I see no reason not to merge this.

Looks good but maybe worth mentioning the command in the docs?

Merge afterwards


Fix #1927 by using Synchronous Callbacks everywhere.

Fix flakiness in test client by using synchronous callbacks everywere. This resolved some flakiness I saw in the test referenced by #1927 when running it multiple times in parallel.

Can you take a look here next

Easy, as long as it doesn't cause hangs. If it looks like it's going to need more work, I'll save it for a later PR.

:up: :date: Repeat for TestConnection


Add "blockchain" to misc terms

Coverage remained the same at 98.032% when pulling 93f57c4bd4532ed2fc8d8beaf344f747d2bfd266 on imrobinized:patch-1 into 943c16a3026ea908f1d3be187a3e937b02597f17 on Jason3S:master.

Coverage remained the same at 98.032% when pulling 93f57c4bd4532ed2fc8d8beaf344f747d2bfd266 on imrobinized:patch-1 into 943c16a3026ea908f1d3be187a3e937b02597f17 on Jason3S:master.


Live-9617-fix-flaky-swap-tests

📝 Description

Add mocked SVG provider icons
Adding new mock fixtures (including fees, rates and swap completed/cancelled)
Switching all and from currency endpoints to use the hardcoded mock value as the API calls are made too early in the loading of the app for playwright to have an effect

❓ Context

Impacted projects: ``
Linked resource(s): []

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery
[ ] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

/generate-screenshots

/generate-screenshots

/generate-screenshots

/generate-screenshots

/generate-screenshots


Speed Slow Comparative to SDXL Normal???

This is taking minutes on my setup, which isn't much, but I get less than a minute with SDXL and about 3 minutes full trip 1st stage and 2nd stage both. Sometimes 7.  I'm wondering if with 8GB V 4070 would result in about 3-4 it/s at best or if something is wrong and if something is wrong how would I fix it?
Any help appreciated. No help understood.
Have a great day!

with my gradio app RTX 4090 able to generate images in 4-5 seconds. faster than SDXL. I can say like 80% faster for 1024x1024. for 2048x2048 many many times faster.

with my gradio app RTX 4090 able to generate images in 4-5 seconds. faster than SDXL. I can say like 80% faster for 1024x1024. for 2048x2048 many many times faster.我的 Gradio 应用程序 RTX 4090 能够在 4-5 秒内生成图像。比 SDXL 更快。我可以说 1024x1024 的速度快了 80%。 2048x2048 的速度要快很多倍。关闭
the example code provided in notebook is like 6 times slower than diffusers pipeline with optimization which my gradio app uses笔记本中提供的示例代码比我的渐变应用程序使用的经过优化的扩散器管道慢 6 倍关闭

cool, will you share your gradio code? the example code is really slow.

with my gradio app RTX 4090 able to generate images in 4-5 seconds. faster than SDXL. I can say like 80% faster for 1024x1024. for 2048x2048 many many times faster.我的 Gradio 应用程序 RTX 4090 能够在 4-5 秒内生成图像。比 SDXL 更快。我可以说 1024x1024 的速度快了 80%。 2048x2048 的速度要快很多倍。关闭
the example code provided in notebook is like 6 times slower than diffusers pipeline with optimization which my gradio app uses笔记本中提供的示例代码比我的渐变应用程序使用的经过优化的扩散器管道慢 6 倍关闭

cool, will you share your gradio code? the example code is really slow.

Hello.
Currently shared here with including RunPod installer and also Kaggle notebook - working with gradio as well on a free kaggle account
https://www.patreon.com/posts/stable-cascade-1-98410661
You can also see my sharings here : https://www.reddit.com/r/StableDiffusion/comments/1aqbydi/stable_cascade_prompt_following_is_amazing_this/


Allow to customize environment variables via tooling API for jdk9

IntelliJ IDEA Gradle integration allows to specify customized environment variables when starting a Gradle task using IDEA's run configuration. But this fails to work with JDK9+ and Gradle 4.6+ (https://youtrack.jetbrains.com/issue/IDEA-194794)
The feature implementation relies on org.gradle.tooling.LongRunningOperation#setEnvironmentVariables
Expected Behavior
Gradle tooling could spin up new daemon with customized env vars if no existing daemons have required env.
Current Behavior
Gradle silently executed with default set of env. vars, inherited from parent process, without any warnings.
Context
Existing users' run configurations in IDEA just stop working when switched to JDK9+
Your Environment
IntelliJ IDEA 2018.1+ , Gradle 4.6+, JDK9+

Duplicate of #3468


Atata in a production environment

Atata Team,
Is it possible to apply Atata to implement workflows in a production environment?
For instance, when the user clicks a button, the following steps should be completed automatically: click a specific link and in the new page click another button. The users is already logged in.
Thanks,
Gustavo

I just want to clarify. You want to have a single test case partially manual and partially automated with Atata? Do initial actions, like login, manually and then execute automatic test that will continue and complete the test case?

@YevgeniyShunevych  It is exactly as you described. The user is logged in and Atata should take the control and complete a sequence of events.

OK. I'm not telling, that we cannot do that with Atata. We actually can try to implement something. But, I would like to try to convince you first to make it in completely automatic way. Otherwise you will not be able to run such tests, which requires manual actions, in CI/CD pipelines. Which is really cool to have everything be runnable on CI. I understand that you want to keep login/password in secret for production environment. But you can use CI secret variables (I assume that any CI system has such feature) to store sensitive information there and pass this data to tests application via environment variable, for example. Then in a tests library on a global setup you can read this data and additionally tell Atata to mask this data in log.
string somePassword = Environment.GetEnvironmentVariable("SomePassword");

AtataContext.GlobalConfiguration
    .AddSecretStringToMaskInLog(somePassword);

Let me know if I haven't convinced you.

Thanks @YevgeniyShunevych. I will think about it.


debug: allow linking to ranges in debug console uris

For https://github.com/microsoft/vscode/issues/150702. Dan pointed out this didn't work in the debug console, which I was able to add easily since we have our own link ecosystem (linkosystem if you will) there.

linkosystem

👏


Implement CDI support

This is an initial implementation of the CDI support made on two levels:

client side (ctr)
server side (CRI)

NOTE: this is an alternative approach to NRI: https://github.com/klihub/nri/blob/5f41c0fbfab8c026f94db5e3f3dc91ce9ff509bf/v2alpha1/plugins/cdi-resolver/cdi-resolver.go#L48-L60
CRI implementation used this code

There is another similar CDI PR https://github.com/containerd/containerd/pull/6654 was merged in a couple weeks ago, so I'm going to close this one. Please feel free to open PRs if there are still gaps left.


Math Typesetting

Integrating something like latex math would be really cool for making pretty equations. This should probably be made with some sort of extensible plug interface.

There isn't really a great way to do this. Not because it is a technically hard problem to recognize, parse, and generate proper output for it, but because all of the output targets or rendering methods that could happen don't need a lot of help from wok. Options are MathML (which has bad browser support) a few JavaScript libraries (that don't need help from wok) or rendering to images (which is not a good solution, compared to the first two).
Closing this, because it isn't needed.


[chip,dv] Add seed_hw_rd_en check to flash_init

Address tb issue #14317
At LcStProd, check otp_ctrl secret0/2 digest with expected seed_hw_rd_en value.

Signed-off-by: Jaedon Kim<EMAIL_ADDRESS>

@weicaiyang If I only evaluate expected lc state right after flash_init, I can make
prediction as you suggested. Please see the update.


Apply policies to entire Service

Inspired by Adam Fraser's talk today on AOP: facilitate using ZLayer's updateService to add eg a CircuitBreaker to an entire Database service in the R parameter of ZIO[R, E, A]

Documented + example in #31


Missing artifact org.kreyssel.selenium2.visualdiff:visualdiff-core:jar

I have added the following dependency (copied from the "Usage") into my pom.xml:

org.kreyssel.selenium2.visualdiff
visualdiff-core
1.0.0-SNAPSHOT
test

and got the following error:
Missing artifact org.kreyssel.selenium2.visualdiff:visualdiff-core:jar:1.0.0-SNAPSHOT
Can you please advise what could  be a possible reason of this issue?
Also, the same kind of error I got when tried to add the selenium2-visualdiff-maven-plugin to the maven module.
Thanks,
Gevorg.

Any update on this ? this issue is still open

Sorry for the late reply.
Do you have run

mvn install

before?

I am also getting the same error after adding the dependency, I tried running mvn install, no luck

@trocky321 Do you have any special setting in your settings.xml? Any mirror or proxy settings?

@kreyssel , just checked on http://search.maven.org/ and it really looks it's not there anymore.

Not even at https://mvnrepository.com

Hi Kreyssel,
I am getting following error after adding the Selenium VisualDiff dependency.
Missing artifact org.kreyssel.selenium2.visualdiff:visualdiff-core:jar:1.0.0-SNAPSHOT
I have added following dependency:

org.kreyssel.selenium2.visualdiff
visualdiff-core
1.0.0-SNAPSHOT
test

Kindly do the needful.
Thanks,
Balaji

Any update on this please ?
Was anyone able to resolve this ?