How do I detect whether the full suite ran or just a subset?

Subject of the issue
I am recording data from the tests that run:

Then I use it to generate examples in the README.

If a subset of tests run (eg because I'm filtering to a tag or only running one or two files), then it won't have seen the requests come through for some of the data. In that situation, it won't be able to render the README b/c it will ask to show data from an example that wasn't run.
I don't want to try and generate it and then abort if it asks for unavailable examples, because that could mask a spelling error or a missing test.
So I'm deciding whether to generate the README based on whether all the tests ran or whether they were filtered to a subset. The code I use to do that is kinda shitty:

It worked for the examples I threw at it, but I'm not totally sure it means what I think it means
It violates encapsulation, digging into the guts of RSpec.configuration to directly access an ivar.

RSpec.configure do |config|
  # Generate the readme.
  config.after :suite do
    # We only want to run this code if all the relevant examples were recorded
    # So check that it was run against the root spec dir
    to_run = RSpec.configuration.instance_variable_get(:@files_or_directories_to_run)
    raise "Failed sanity check, has the private API changed?" unless to_run
    next unless to_run.include? "spec"

    # ...
  end
  # ...
end

However, I looked around for an hour or so and haven't been able to find a better way to do this. I would expect numerous tools to find this feature useful. Eg code coverage tools could choose to not run when the suite is filtered (because untested lines may turn out to be tested when the full suite runs).
So, if there's a way to do this, I'd appreciate a pointer. And if not, then I propose it's worth considering as a feature :)
Your environment
$ ruby -vne $'puts $\' if (/^GEM/../^PLATFORMS/) && /rspec/ && /^    \\b/' < Gemfile.lock
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
rspec-core (3.7.1)
rspec-expectations (3.7.0)
rspec-mocks (3.7.0)
rspec-rails (3.7.2)
rspec-support (3.7.1)
spring-commands-rspec (1.0.4)

Great response, thank you! And yeah, what you said about not really knowing makes sense.
I got it to work by doing what you suggested and reading the persistence file. I'll put it here in case anyone else finds this and wants to know how I did it:
RSpec.configure do |config|
  config.example_status_persistence_file_path = "tmp/rspec_examples.txt"

  # Generate the readme. Run in at_exit so that it prints after RSpec's summary
  config.example_status_persistence_file_path = "tmp/rspec_examples.txt"
  config.after :suite do
    at_exit do
      next unless config.example_status_persistence_file_path
      current  = RSpec.configuration.world.all_examples.map(&:id)
      previous = RSpec::Core::ExampleStatusPersister
                   .load_from(config.example_status_persistence_file_path)
                   .map { |e| e[:example_id] }
      if (previous - current).empty?
        # We inject the auth token because the real one changes every time you
        # authenticate, which means the generated files will change every time you
        # run the test suite, which spams the diff with irrelevant random changes.
        auth_token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDkzNzcyODksImlkIjozMDl9.aatooRSNEDy-gkcTjSX7ZtRb1mIPGayn6pMYpz0iJVw"
        context    = Support::RenderReadme.new Support::RenderReadme.saved, auth_token: auth_token
        template   = Rails.root/'README.erb.md'
        readme     = Rails.root/'README.md'
        readme.write ERB.new(template.read).result(context.template_binding)
        message    = "Readme generated\n\n"
      else
        message    = "Readme skipped because some tests weren't run\n\n"
      end
      message = "\e[A" + message.gsub(/^(.*?)(\n|$)/, "\e[34m\\1\e[39m\\2") if $stderr.tty?
      $stderr.puts message
    end
  end

  # ...
end

@JoshCheek I'm happy to help refine this a bit more if we can help make an easier API for this.
Your implementation above has an edge case here if you add or remove a spec, it'll take until the next spec run to pick them up.
Have you also checked that its not a false positive of running all the time? I'm unsure when at_exit will run compared to our own persistence code, it might be checking the same runs.

Hey, I wrote all this up, so I guess I'll leave it to document what I thought through. But really, the last 2 paragraphs are the relevant ones. Basically, I'm doing it wrong 😝
Super appreciate your feedback and willingness to think through it with me!

Your implementation above has an edge case here if you add or remove a spec, it'll take until the next spec run to pick them up.
Have you also checked that its not a false positive of running all the time? I'm unsure when at_exit will run compared to our own persistence code, it might be checking the same runs.

So it seems to update the index before my at_exit hook runs. It also merges its results into that file (vs replacing the file with the results of the last run). So a file does need to be run for its tests to show up in there, which does mean that a filtered first run will mistakenly think it is the full suite.
After the full run, though, it seems to pick up deleted files right away and seems to detect removed tests when it runs that file next.
This is probably adequate, it feels +90% correct. If a test is removed in a file I ran, it will be removed from the index, everything is correct. If it's in another file and the file is removed, the same thing will happen (based on an experiment, but I haven't verified this rigorously). If it's in a file and that file didn't run, then it will be in the index still, but that's okay because any other tests in that file won't have run either (the edge case is only if there are no other tests in that file, but it seems very edge and should be fixed on next full suite run).

If a test is added to a file I run, the index will be correct.
If a test is added to a file I don't run, or a new file is added and not run, then the index will be incorrect. But I can't think of a reason I'd add a test and not run it, and it'd have to also be necessary for README generation. Yeah, in this case, I'd have ran it, I don't think we can arrive in this state in reality.
If a test is removed from a file I run, the index will be correct.
If a test is removed from a file I don't run, the index will be incorrect, it will not generate the readme, but unless that was the last test in the file, it wouldn't have generated the README, even if the index was correct. And if it was the last test in the file, I'd have deleted the file. So it's hard to imagine this causing incorrect behaviour in reality, as well.

So, other than a filtered first test, I think all other ways it can be incorrect are negligibly likely to occur in reality.

@JoshCheek I'm happy to help refine this a bit more if we can help make an easier API for this.

 And it does feel a bit fragile. If it really can't be accurately determined, then I wouldn't want to move prediction into RSpec. However maybe making it easier to access this diff would be good. That would protect my code from changes in how that file is handled / when that file is handled.
I started trying to think through it, imagining receiving a list of the union of examples that were in the file and that were run (with a key for old and new values, if new is nil, its deleted, if old is nil, its added) but it very quickly spread from there and then I'm realizing I should maybe be listening to a notification or emitting a notification, and then I wanted to add a new notification and update the formatter...
Yeah, it jumped the shark pretty quick, TBH. Made me step back a bit and I realized the problem was that I'd coupled too many things together. What I should really do is maintain my own index of recorded data. After the tests run, I can update that index. Then, I should make a separate piece of code to generate the README from the index. If I want to, I can hook that into the default rake task or a git hook or maybe set an env var to tell the process to generate it. That seems much simpler, much more flexible, and doesn't require RSpec to add facilitating features.

I might have been sneakily hoping you would use it as inspiration for a feature powered externally ;)
What I would do is record a similar index of snippets; so when you encounter them you build a list of them, and update those examples as you run them, then using a similar merging strategy to what we do you'd get the whole set eventually and can always upload / diff it.

I might have been sneakily hoping you would use it as inspiration for a feature powered externally ;)

Ahh, lol. Did you have a specific feature in mind, or was it more goal oriented (eg exposing the persistence data or file to users, or detecting full suite vs partial suite runs).

What I would do is record a similar index of snippets; so when you encounter them you build a list of them, and update those examples as you run them, then using a similar merging strategy to what we do you'd get the whole set eventually and can always upload / diff it.

That's really congruent with what was in my brain, I'll check out your merging strategy, I saw it was there but haven't looked at how it works yet.

I just think this is something that is better off being externally managed, albiet in a similar fashion to us, as it gives you better control over it


rpcserver: validate FinalCltvDelta and CltvLimit for REST

Missed this check in PR #5293.

Updated release notes


Speed Improvements to Stage Execution Times

The Build stage is INCREDIBLY fast - wahoo!
The Test stage needs help. Because we are building unique images every single time with unique tags and unique containers - nothing can get cached. This is great for security and containing each persons tests to a unique container but is terrible on performance. Some scripts that only take 1-3 seconds to run are having their test stage take 15-20 seconds as all the overhead is on Docker.
The Deploy Stage is fine, spinning up the container isn't the problem - it comes with tearing down the old one. Many containers will wait the default 10 seconds before stopping pending a "graceful shutdown" but many of the projects configured don't have a graceful shutdown in place and therefore simply wait the 10 default seconds. Killing containers immediately may not be a great idea because some projects will have a graceful shutdown - we need to find a happy median where we can shut down containers ASAP. This may require a per-project config.

Speed improvements would also come if we had a workflow like Travis where Travis provided a pre-built container with most things already cached and downloading cached libraries only as needed inside the container - this however leaves out some flexibility that Harvey currently allows. Additionally, it would take a lot of effort to get a comprehensive container put together that spans various programming languages and versions with shells, paths, etc all ready to go.

This may have been helped slightly by switching from threads to processes as of #17

Switched back from processes to threads as it crashed Docker on older machines. No noticeable speed improvements on machines capable either (may have improvements on multiple concurrent builds, but a single build didn't see any improvements.)


Updated license

Sorry, wrong repository!
FYI as indicated we're forking this repository to build upon what you have created so far and add support for CSP Level 3.
We'll be using the MIT license for maximal freedom.


rename and rewrite the analysis file to make it more literate

Change the file name, add the description, and rewrite part of the paragraph in the analysis file to follow the instruction on the milestone 1 page.

Also add description to each paragraph in README.md


Panic with [patch] and conflicting equal versions.

When testing out #7346, I came across a strange case where the resolver panics.  I neglected to update every version across multiple packages in a workspace.  Below is a fairly minimal reproduction.  Notice that it has both =0.1.0 and =0.1.1.
#[cargo_test]
fn patch_eq_conflict_panic() {
    Package::new("bar", "0.1.0").publish();
    Package::new("bar", "0.1.1").publish();
    let p = project()
        .file("Cargo.toml",
            r#"
                [package]
                name = "foo"
                version = "0.1.0"

                [dependencies]
                bar = "=0.1.0"

                [dev-dependencies]
                bar = "=0.1.1"

                [patch.crates-io]
                bar = {path="bar"}
            "#)
        .file("src/lib.rs", "")
        .file("bar/Cargo.toml", &basic_manifest("bar", "0.1.1"))
        .file("bar/src/lib.rs", "")
        .build();

    p.cargo("generate-lockfile").run();
}

Fails with:
thread 'main' panicked at 'not currently active!?', src/libcore/option.rs:1190:5
stack backtrace:
  ..snip..
  15: core::option::Option<T>::expect
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/option.rs:345
  16: cargo::core::resolver::generalize_conflicting::{{closure}}
             at src/cargo/core/resolver/mod.rs:871
  17: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/ops/function.rs:275
  18: core::option::Option<T>::map
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/option.rs:447
  19: <core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::next
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/iter/adapters/mod.rs:710
  20: core::iter::traits::iterator::fold1
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/iter/traits/iterator.rs:2967
  21: core::iter::traits::iterator::Iterator::max_by
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/iter/traits/iterator.rs:2259
  22: core::iter::traits::iterator::Iterator::max
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/iter/traits/iterator.rs:2174
  23: cargo::core::resolver::generalize_conflicting
             at src/cargo/core/resolver/mod.rs:869
  24: cargo::core::resolver::activate_deps_loop::{{closure}}
             at src/cargo/core/resolver/mod.rs:288
  25: core::result::Result<T,E>::or_else
             at /rustc/084beb83e0e87d673d5fabc844d28e8e8ae2ab4c/src/libcore/result.rs:761
  26: cargo::core::resolver::activate_deps_loop
             at src/cargo/core/resolver/mod.rs:257
  27: cargo::core::resolver::resolve
             at src/cargo/core/resolver/mod.rs:137
  28: cargo::ops::resolve::resolve_with_previous
             at src/cargo/ops/resolve.rs:338
  29: cargo::ops::cargo_generate_lockfile::generate_lockfile
             at src/cargo/ops/cargo_generate_lockfile.rs:24
  ..snip..

I think it should fail with an error like the non-patch version ("failed to select a version for bar").
Currently on latest master f4d1b774b555774deb0f7f1ae68141eace51b062

This is definitely a bug. Thank you for the clere report and test case.
At one level the panic is caused by .expect("not currently active!?"), witch should be a debug_assert not an expect. I.E. in production if we get to this bad state we can safely return none from generalize_conflicting.
The next question is how we ended up in that bad state. How did we end up with a conflict of the form we can't be activated because x is active while x is not activated.

I am getting same issue
$ RUST_BACKTRACE=full cargo check --tests
thread 'main' panicked at 'not currently active!?', src/tools/cargo/src/cargo/core/resolver/mod.rs:824:36
stack backtrace:
   0:        0x10223bb0e - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h13e6f26430148ff2
   1:        0x10226850c - core::fmt::write::h45a9bd04db15c24f
   2:        0x102232d29 - std::io::Write::write_fmt::h8ae61696f13218d5
   3:        0x10223f795 - std::panicking::default_hook::{{closure}}::hc98fe2390b6284e5
   4:        0x10223f4d2 - std::panicking::default_hook::h9a63cea866a4c14a
   5:        0x10223fcf5 - std::panicking::rust_panic_with_hook::h4d446ca45c8e1faa
   6:        0x10223f8c2 - rust_begin_unwind
   7:        0x1022c0b1f - core::panicking::panic_fmt::hda969e68cfcc1b10
   8:        0x1022c09aa - core::option::expect_failed::h590abf689f1e3bca
   9:        0x101e0318b - cargo::core::resolver::activate_deps_loop::h0e09d69184277aa5
  10:        0x101dfdc5f - cargo::core::resolver::resolve::h27fe09151b0c1150
  11:        0x101b66ebc - cargo::ops::resolve::resolve_with_previous::h52cafbe4b5e4d418
  12:        0x101b63c99 - cargo::ops::resolve::resolve_ws_with_opts::h90af86655fad5879
  13:        0x101b4e92b - cargo::ops::cargo_compile::create_bcx::h5f9a71f3a149c25a
  14:        0x101b4e08e - cargo::ops::cargo_compile::compile_ws::haaa353949a78402d
  15:        0x101b4df9f - cargo::ops::cargo_compile::compile::hbb33c978ef4058be
  16:        0x1019e76fe - cargo::commands::check::exec::h2860a3712e92316e
  17:        0x101a2d642 - cargo::cli::main::h00d91b61b2224104
  18:        0x101a39541 - cargo::main::h06d3373527355d7d
  19:        0x101a122f6 - std::rt::lang_start::{{closure}}::h434704a37f9645b1
  20:        0x102240089 - std::rt::lang_start_internal::hecbcda5e1a75a865
  21:        0x101a3bab9 - main

$ cargo -V
cargo 1.46.0-nightly (fede83ccf 2020-07-02)

I hit the same with:
[patch.crates-io]
tokio = { version = "1.0.1", git = "https://github.com/blackbeam/tokio", branch = "named-pipes" }

as the current Cargo.lock version was 1.1.1. Fix was to comment out the patch, run cargo update -p tokio --precise 1.0.1, then uncomment.

I've experienced this issue as well.

@rustbot claim

Just got this error when trying to patch something in a huge workspace.

I just got this error. Backtrace:
thread 'main' panicked at 'not currently active!?', src/tools/cargo/src/cargo/core/resolver/mod.rs:832:36
stack backtrace:
   0: rust_begin_unwind
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
   2: core::panicking::panic_display
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:72:5
   3: core::panicking::panic_str
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:56:5
   4: core::option::expect_failed
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/option.rs:1874:5
   5: cargo::core::resolver::activate_deps_loop
   6: cargo::core::resolver::resolve
   7: cargo::ops::resolve::resolve_with_previous
   8: cargo::ops::resolve::resolve_with_registry
   9: cargo::ops::resolve::resolve_ws_with_opts
  10: cargo::ops::cargo_compile::create_bcx
  11: cargo::ops::cargo_compile::compile_ws
  12: cargo::ops::cargo_compile::compile
  13: cargo::ops::cargo_run::run
  14: cargo::commands::run::exec
  15: cargo::cli::main
  16: cargo::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Found out the cause, I had
paths = ["/Users/xiliangchen/projects/substrate"] in my ~/.cargo/config while building /Users/xiliangchen/projects/substrate and caused this issue.

This saved my day. Thanks.

Should be fixed by https://github.com/rust-lang/cargo/pull/11770 in 1.70.0. Thanks for the report and the test example!


Update Pages “home”

Automatically generated by Netlify CMS

👷 Deploy Preview for shimmering-marigold-4f5b4a processing.

Name
Link

🔨 Latest commit
9b5749bf81a152356aaa482e6268087f9dfe033c

🔍 Latest deploy log
https://app.netlify.com/sites/shimmering-marigold-4f5b4a/deploys/6337fed7fc14540008a33db3


return error in update apis if the particular element does not exist

Signed-off-by: Stephanie<EMAIL_ADDRESS>What does this PR do?
return error in update apis (command, component, project, starter project) if the element requested to be updated does not exist.
event update does not fall into this rule
What issues does this PR fix or reference?
Fixes https://github.com/devfile/api/issues/448
Is your PR tested? Consider putting some instruction how to test your changes
added & updated unit test for the error cases

/lgtm

@yangcao77 we will need to cut a new alpha release after this merges!


Update index.mdx - Small Type (future tense instead of imperative mood)

Small typo - "добавьте" изменено на "добавите" (будущее время вместо повелительного наклонения)

Description (required)
Small typo - "добавьте" изменено на "добавите" (будущее время вместо повелительного наклонения)
The word "добавьте" was changed to "добавите" (future tense was used instead of imperative mood)
Discord - binarybeast.
Related issues & labels (optional)

Closes #
Suggested label:

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.


Porting 1.16 mod to 1.17

I was trying to port forge mode from 1.16 to 1.17 and I came across this:
"You are using an unstable version of Architectury Loom! Please report any issues found!"
Can anyone fix this?

But it causes errors.


no way to override REQUIRED check on upsert-keys

let's say you have a legacy table with a NULLABLE column (e.g. model_id) that you want to use as an upsert key. you will get this error:
Error: BigQuery cannot upsert on "model_id" because it is not REQUIRED (aka NOT NULL)

you can't change NULLABLE->REQUIRED.
so we need a flag (i think) like --allow-nullable-upsert

i cut a temporary release to route around this https://github.com/faradayio/dbcrossbar/releases/tag/v0.2.1-seamus.1

The current recommend workaround to this is to supply a --schema which promises that the upsert key columns are NOT NULL. If you do this, dbcrossbar will currently believe you.


Item ID expansion

Issue:  IH only looks for the Item ID of the stock DHS.
If an option were added which allow for different/additional item ID a single slot CT item, weighing 0 tons and no dissipation on its own, could be created to trigger the DHS effect.
This would be beneficial for builds which do not require additional heatsinks, beyond the ones which come with the engine.

My insomnia is your bonus! https://github.com/janxious/InternalHeaters/releases/tag/v0.0.11


Widget sometimes doesn't render on reload

Describe the bug
Sometimes the widget doesn't render. It might have something to do with the javascript loading order.
To Reproduce
Steps to reproduce the behavior:

Go to https://digital-strike-test.myshopify.com/password
Refresh a few times
The widget sometimes shows, then doesn't show other times.

Expected behavior
It should always render
Desktop (please complete the following information):

OS: MacOS
Browser: Firefox & Chrome

@dtoakley Unfortunately, I can't fix this. Reasons are:

Shopify controls when and in what order the ScriptTags are inserted.
All the script tags seems to be inserted as async which I can't control either.


This is awesome!

Neat idea for a module! This might help simplify my module bittorrent-tracker. In order to talk to a UDP tracker, you have to produce some packed binary data (like a C struct) and I'm doing it by hand now. See: https://github.com/feross/bittorrent-tracker/blob/master/index.js#L261
When I implement UDP tracker servers (which I haven't done yet) I might give varstruct a try and see how it goes since that will involve a lot of unpacking.

@feross do you still interesting in using varstruct in bittorrent-tracker?

@fanatid I already implemented UDP tracker support without using varstruct, but if you think it would clean things up, I would accept a PR. Don't have time to play with this myself, right now!

I've posted PR with varstruct to bittorrent-tracker: https://github.com/feross/bittorrent-tracker/pull/136


Update Anime4UP videoListParse function

Checklist:

[X] Updated extVersionCode value in build.gradle for individual extensions
[ ] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[ ] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[ ] Added the isNsfw = true flag in build.gradle when appropriate
[ ] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[ ] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension
[ ] Have made sure all the icons are in png format

@Dark25 any idea why the build failed ??

Lint check failed here. Make sure your stuff is properly formatted.

Lint check failed here. Make sure your stuff is properly formatted.

can you help me fixing it? because i don't have Android Studio i only use vscode is there an extension or a format command i can use to fix the issue?

Dark already fixed it and I use android studio so I cant help you.

Dark already fixed it and I use android studio so I cant help you.

Thank you for you time!


InsertAndFetch with MySQL 8,  UUID() function and default Id, return id 0

I have to using MySQL in my work, version 8.0.13
As id I used UUID, wich generated by internal mySQL function UUID() // it possible from MySQL 8
my knex migration  contains something like table.uuid('id').primary().defaultTo(knex.raw('(UUID())'));
And for seeds it all work fine.
When I use insertAndFetch, row created with valid uuid, but return the object with id:0
something like
UserModel {
  roleId: 'd251f5d8-5fbe-11ea-ab31-0242ac110002',
  email<EMAIL_ADDRESS>  timezone: 'US/Mountain',
  id: 0, // real id is 4a11a33c-5fbf-11ea-ab31-0242ac110002
  role: RoleModel {
    id: 'd251f5d8-5fbe-11ea-ab31-0242ac110002',
    name: 'mediaplan creator',
    access: [ [Object] ],
    createdAt: 2020-03-06T12:26:16.000Z,
    updatedAt: 2020-03-06T12:26:16.000Z,
    deletedAt: null
  }
}

As I understand, it should return my UUID, but return 0

I can't reproduce this. I'll need a reproduction script from you.

Hi @pavellob. I had a very similar scenario as the one you described here (same database and version, same migration code, same result). I will share my thoughts and resolution in the hope that it helps you or helps reveal the underlying issue as a whole.
I am not intimately familiar with the database technologies so my theory on the issue might be a coincidence admittedly.
MySQL uses a LAST_INSERT_ID function that states

With no argument, LAST_INSERT_ID() returns a BIGINT UNSIGNED (64-bit) value representing the first automatically generated value successfully inserted for an AUTO_INCREMENT column as a result of the most recently executed INSERT statement.

https://dev.mysql.com/doc/refman/8.0/en/information-functions.html#function_last-insert-id
The keyword here is AUTO_INCREMENT. Since we modified our primary id field to be of type char(36), this function will not give the value we're expecting.
Similarly, the C API function that deals with a similar value on INSERTS and UPDATES says

The return value of mysql_insert_id() is always zero unless explicitly updated under one of the following conditions:

https://dev.mysql.com/doc/refman/8.0/en/mysql-insert-id.html
None of the following conditions matched for myself.
So, it seems like it might be possible that the andFetch functions, when relying on the database to generate the ID, would run one of the above functions and return zero by default due to no longer having the appropriate field type.
The solution I chose was to generate the UUID in the JS code. Using a $beforeInsert model instance hook, I set the model's ID to the generated UUID. Relying on the JS to generate and set the UUID over the database seems to bypass the need for the database to call the above functions (or at least, not use their output) since the ID is already available to it, which it can then just correctly return.

@pavellob this is handled on the knex level. You should open an issue there.


Administrator page initiated and WineDescription delete button removed

Administrator page initiated and WineDescription delete button removed.  Definitely needs some styling but it functions.

-- Nice job, Jennifer, thank you!
-- Lets talk on Saturday about handling those 401 errors popping when the user is not logged in, maybe theres a better way so we dont see a bunch of red on in the console


Add human-readable strings and data pointers to the driver's vendor options/attributes

Is your feature request related to a problem? Please describe.
When adding vendor-specific attributes to a driver you specify an option name and in case of a keyword-type attribute the choice keywords. All these are in IPP keyword syntax. In the web interface they look rather ugly. See this screenshot of the sample Printer Application of PAPPL:

In the PostScript Printer Application I will derive these options from PPD files and I want to have thes strings from the PPD file appear here.
Describe the solution you'd like
In addition to the list of vendor options in the driver data structure and the driver IPP attributes carrying the full definition of the option there should be ideally:

A data structure to hold human-readable strings for all option names and also for all choice names of enumerated choice/keyword options
Data pointers for each option=choice pair of enumerated choice/keyword options, one for "true" and one for "false" for each boolean option and one for each numeric or string option.

The above-mentioned extra data structures would get filled in the print queue/driver setup phase (ps_callback() in ps-printer-app). In case of the PostScript Printer Application, after reading the PPD file and populating the standard fields of the driver data structure the PPD options uncovered by the this structure would be added as vendor options. The human-readable strings would be taken from the "OpenUI...CloseUI" structures in the PPD, the so-called "Translation Values", the strings after the /, for both options and choices. The data pointers of each setting in my case would point to a data structure of two strings, one being the (machine-readable) option name and one the (machine-readable) choice name of the PPD. For numeric and string options there will be only one data pointer, pointing to a pair of the option name and a choice name template, containing %s or %d where the string or the number gets inserted. On job execution the data pointer of each selected setting will get read out and added to the option list to be supplied to the filters/marked in the PPD data structure.
If this is too complex for gemeral use in PAPPL I would like to have at least one freely usable data pointer in the pappl_pr_driver_data_t data structure, so that I can let it point to my own data structure which will hold the above-mentioned information for the PostScript Printer Application.
Describe alternatives you've considered
At least one freely usable data pointer in the pappl_pr_driver_data_t data structure and a facility for human-readable strings in the web interface.

@tillkamppeter This is what strings files are for. Once you add resources for them (where they map the keywords used for attribute names and values to human-readable strings), the client will be able to grab them and use them to lookup the strings to display.
I think the only thing that remains for this is to provide a way to explicitly specify which strings files go with which printer - right now it is one set of strings files for all printers.

Some questions:

Are these strings files actual files or can they also simply be data structures within a Printer Application?
Can such a strings file be generated when creating a printer, for example in the driver callback function (ps_callback() in the PS Printer Application) I would read the PPD and generate the vendor attributes and its strings from the PPD?
They should be separate, per-printer

Do we need a separate, new Issue for this?

Another question:
If a strings file is defined, will the web interface use it to display the vendor options?
Could you add an example to the sample Printer Application of PAPPL?

@tillkamppeter See the documentation for papplSystemAddStringsFile and papplSystemAddStringsData. Strings files can be actual files or in-memory strings that represent the contents of the files. For efficiency's sake I would actually generate files on disk containing the cached localization data.
The strings files can be created at any time, but as I noted the current architecture is based around a single set of shared localization files. And in fact it should be trivial for you to generate a single set of strings files from all of the PPDs that you bundle with your PostScript printer application.
Adding support for per-printer localization files is certainly possible, however I will note that NO existing IPP clients support arbitrary IPP attributes (so none of the vendor attributes you are exposing will be visible), and the only things that get localized are vendor-specific media types and sources at present. All other localization data comes directly from CUPS.
Adding support for localizing the web interface is issue #58 which is part of my 1.1 milestone. Feel free to add a request for per-printer localization files, but that won't be in v1.0.

The human-readable strings are only needed for the representation of the vendor attributes in the web interface.
Pre-generation of the the strings for all PPDs (~4000 currently) will make the build of the Snap take very long and also produce a huge Snap package. Therefore my idea is that when a printer is created (or when the Printer Application with created printer starts) the driver callback which anyway reads the PPD to populate the driver data also, when creating the driver attributes for the vendor options also extract the human-readable strings from the PPD and add them to an in-memory strings file (papplSystemAddStringsData?) where they live while the Printer Application is running. Would the web interface then use them?

@tillkamppeter First, you'd be surprised how small the combined message catalog could be - there is a LOT of duplication.
Second, issue #58 (which covers the localization of the web interface) is not yet implemented and won't be until v1.1.


chore(feat): Support Password as Type

As we have this point before https://github.com/pydantic/pydantic/issues/5012

password type, can mostly used strip_whitespace and min_length, but also integrate with https://github.com/dwolfhub/zxcvbn-python ???

from pydantic import BaseModel
from pydantic_extra_types import PasswordStr

class Data(BaseModel):
    password: PasswordStr

    def __init__(self, **data: Any):
        super().__init__(**data)

    def __repr__(self) -> str:
        return f'Data(password={self.password})'

def test_password():
    # Test password strength calculation
    d = Data(password='weakpassword')
    assert d.password.strength['score'] < 3

    d = Data(password='strongpassword123')
    assert d.password.strength['score'] >= 1

@samuelcolvin This one also works fine locally you can test it before we merge it


Restore integration tests

We have some disabled tests in Sign SDK.
Also need to find way how to run testAcceptAndCreateNewThread() and testMessage() on CI machine. They passes on xcode 13.4 only, CI runs on 13.2 now


Stem can throw DescriptorUnavailable if Tor does not have all descriptors

This seems to only happen at startup of a new or long-offline Tor process. Fix is simple for that case.

Fix is in git, will go in 0.2.3. Leaving open until then.

Fixed in 0.2.3 and 0.3.0


LUCY-295 More Clownfish size_t adaptations

Adapt Lucy code for better conformance with Clownfish APIs -- in particular, those that have changed to use size_t for element counts.

Looks good.


Fixes typos in CONTRACT.md

There were some typos in the Contract.md file that caught my attention.
@tannerwelsh

Thanks @nicosesma!


Fix streak syncing

@paked Could you fix the tests?

Tests are fine.
Looks like something is wrong with git submodules?
Geh...
On 14 Jul. 2017 17:14, "Max Wofford"<EMAIL_ADDRESS>wrote:
@paked https://github.com/paked Could you fix the tests?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hackclub/monolith/pull/40#issuecomment-315495182, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIBJSl_YWygjNEHWR1VEc7sj1Hhq8CMqks5sOARTgaJpZM4OYf5f
.

@zachlatta ^

On it now.

This doesn't have anything to do with ./bin/deploy. CircleCI is running git submodule update --depth 1, which fails. If it runs git submodule update instead, it doesn't fail.
I'd update circle.yml to have it run the latter to fix this.

Just submitted a PR for that @zachlatta. @paked: Could I get some context on this PR? When would an application's interesting project be nil?

I opened this PR because I thought I knew why Streak syncing wasn't working, turns out I was wrong. This line breaking is very much expected behaviour.
As pointed out by @MaxWofford above, there is never a case where the interesting project is not set. The actual way to fix Streak syncing is to wait for the Club Application migration to finish.


Svelte 5.x support

Hello,
The package.json currently declares a peer dependency on Svelte 4, thus blocking any upgrade to Svelte 5:
	"peerDependencies": {
		"@lingui/core": "^4.5.0",
		"svelte": "4.x"
	},

https://svelte-omnisite.vercel.app/docs/svelte/v5-migration-guide
See also https://github.com/sveltejs/svelte/issues/13434
Also, not sure if relevant for <T/>:

In Svelte 5, if you put a {@render children()} in your component but don't provide child content, an error will occur. If you're building a component that may or may not have children, you'll need a conditional check for the children since it's now a snippet function. {#if children}{@render children()}{/if}. Slightly less ergonomic than Svelte 4, but a small price to pay for the large improvement snippets provide over slots. (Note: this is true of any snippet, but children is the most common)
(source)

Thanks for posting the issue and for the helpful links! It seems like for <T>, it could be beneficial to keep using the Svelte 4 syntax to be consumed in components that haven't been migrated to runes yet, but provide another component to be used in rune components. I'm thinking maybe <LegacyT> for the old syntax and <T> for the new syntax, to make migration to future versions easier (that will deprecate the <LegacyT> component with the old syntax). Any thoughts on this?
I'm working on the migration to Svelte 5 now but encountered some issues with the dependency updates. Will keep everyone updated on the progress.

I've just made a small version update in 0.1.9 that only relaxed Svelte's peer dependency version so that this package can be installed on Svelte 5 projects.
The internals are unchanged for now, so the <T> component still expects slots to be used instead of snippets. This should still work in Svelte 5 since the slots aren't deprecated yet, but that does mean that you won't be able to use snippets with this component yet. I'll make a separate release once the internal Svelte 5 migration is finished with a new <T> component that supports snippets.

The main problem is with the extractor (svelte-i18n-lingui/extractor), because the svelte compiler no longer returns walk utilities.
That means the extraction (eq. lingui extract) doesn't work and ends with this error:
Error: 'svelte/compiler' no longer exports a `walk` utility — please import it directly from 'estree-walker' instead

I made a working version using estree-walker-ts, but I don't know if this is the ideal solution
https://github.com/HenryLie/svelte-i18n-lingui/compare/main...burningtree:svelte-i18n-lingui:main

@burningtree Thanks for the heads up! Indeed, lingui extract fails after updating to Svelte 5 due to the missing export. I was trying to hack the import to keep using estree-walker, but wasn't able to find a reliable way that works both on dev and build. I think your version with estree-walker-ts works perfectly 👍
I've made a new release and bumped the minor version, the latest release is now on v0.2.0 and uses Svelte 5 internally. It exposes both <T> and <LegacyT> components as mentioned above. The <LegacyT> component will be removed from v0.3.
I'll close this issue now since the migration is complete, thanks everyone for the discussion! Feel free to open another issue if you find any problem with the latest version.


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

068dca4: Fixing a bug; contextual-help-body-size is referencing heading instead of body typography tokens.
Token Diff
Token values updated (1):

contextual-help-body-size

desktop: heading-size-s -> body-size-s
mobile: heading-size-xs -> body-size-xs

Run report for 9aca0c1b
Total time: 56.1s | Comparison time: 53s | Estimated loss: 3.1s (5.5% slower)

Action
Time
Status
Info

🟩
SyncWorkspace
0ms
Passed

⬛
SetupNodeTool(18.13.0)
2.5s
Skipped

🟩
InstallNodeDeps(18.13.0)
20.2s
Passed

🟩
SyncNodeProject(tokens)
0.3ms
Passed

🟩
RunTask(tokens:buildTokens)
31.5s
Passed

🟩
RunTask(tokens:buildManifest)
323.7ms
Passed

🟩
RunTask(tokens:build)
2s
Passed

🟩
RunTask(tokens:generateDiffResult)
2s
Passed

Touched files
.changeset/lemon-lizards-walk.md
packages/tokens/CHANGELOG.md
packages/tokens/package.json


feat: bundle types

This PR adds rollup as the predominant build system for this repo. In particular, the migration to rollup allows us to import puppeteer directly in source by having rollup resolve types at build time.

I think this would prevent using Puppeteer as a peer dependency as there will be two (possibly different) copies of Puppeteer types in the project? It'd require rolling the lib together with Puppeteer even if the public API didn't change.


Remote Validation JSON Response

The 'success' callback function that is called after a successful remote validation request starts off with the following:
function(response) {
    var valid = response === true || response === "true" ...
}

Given that the request is for a JSON object, I'm struggling to see how response can be anything other than an object. The upshot of which is that valid cannot be set to true.
In practice, jQuery is indeed failing to parse a response containing just the text "true" into a json object, and so is 'erroring' the request.
I'm sure I'm missing something. Can anyone help me out?
Thank you.
jQuery 1.8
Chrome v40
P.S. A further issue is that should the remote validation request fail with an error, there is no error handler function registered and so validator.stopRequest( element, valid ); ain't called. I think this means that the element is then forever pending validation.

Parsing "true" as JSON works fine:
JSON.parse("true") // true
jQuery.parseJSON("true") // true

The missing error handler is indeed an issue.

Indeed, that is true! My mistake. The problem I was getting was not as stated with success response, but with the failure response.
Rather than fail with just the string "false", I was sending back an arbitary string like "Sorry, wrong answer":
var message = response || validator.defaultMessage( element, "remote" );

and that is what is not parsing into JSON (although, it has worked in the passed!)
Perhaps something is jQuery or Chrome v40's JSON parser is more strict than before.
Thanks for your reply.


fixes bug 1345571 - Upgrade to bleach 2.0

Coverage remained the same at 85.718% when pulling ec3dd309fbaebabd0174e276d9949e4250680543 on peterbe:bug-1345571-upgrade-to-bleach-20 into e5a1eab77ea8915f00d392f86bdb6025f3c53880 on mozilla:master.


Database backup for Lasair db

Make a script and execute it regularly to backup the lasair database

14/JUL/21

as agreed with @RoyWilliams, this is part of the Galera work in Cycle-4 Resilience plan


<enhanced:img retina> support

Describe the problem
@sveltejs/enhanced-img renders the img tag using intrinsic dimensions, which causes incorrect rendering if the image is a 2x retina image.
Describe the proposed solution
I propose a boolean prop, <enhanced:img retina> that will set the img width/height to the correct logical dimensions: 1/2 the intrinsic dimensions.
Alternatives considered

CSS styling is not helpful because it puts the burden back on the developer to specify sizes explicitly

Importance
nice to have
Additional Information
Here is a crude patch just to show the essence:
diff --git a/src/preprocessor.js b/src/preprocessor.js
index 0222037e593b554cae5b8712fa8c8e51fd071932..051d57097d4844ee3474b2f0d60584ca6578f8ba 100644
--- a/src/preprocessor.js
+++ b/src/preprocessor.js
@@ -304,8 +306,8 @@ function img_to_picture(consts, content, node, image) {

 	res += ``;

 	return (res += '</picture>');
@@ -345,8 +347,8 @@ function dynamic_img_to_picture(content, node, src_var_name) {

 	const details = {
 		src: `{${src_var_name}.img.src}`,
-		width: `{${src_var_name}.img.w}`,
-		height: `{${src_var_name}.img.h}`
+		width: `{${src_var_name}.img.w/2}`,
+		height: `{${src_var_name}.img.h/2}`
 	};

 	return `{#if typeof ${src_var_name} === 'string'}

Can you share an example of what the HTML output looks like now vs what it's supposed to look like?

@benmccann Let's assume foo.png is a 500x500 retina image. In other words it's stored at 2x resolution and should display at 250x2t50 logical pixels.
<enhanced:img "./foo.png">

currently renders something like:

With the proposed update,
<enhanced:img "./foo.png" retina>

would render


add vccs email

@jeck5001 I am sorry, the domain vccs.edu is blacklisted because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


docs(typeo): fix a typo configured => configure

ah the "configured" is as intended as that's for the noun "automatically configured Prometheus"

You are indeed correct, I think I possibly changed the wrong one. I was
rushing as I had to leave. Next time I'll hold back and take a second look
:D
On Mon, 16 Oct 2023 at 10:32, Laurynas Keturakis @.***>
wrote:

ah the "configured" is as intended as that's for the noun "automatically
configured Prometheus"
—
Reply to this email directly, view it on GitHub
https://github.com/autometrics-dev/autometrics-ts/pull/132#issuecomment-1764085934,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6XBOOOYWF7GTZXHN6RCPLX7T5LHAVCNFSM6AAAAAA6A5GLJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRUGA4DKOJTGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Zephyr Workbench does not drop on breaking with pickaxe (is this intended?)

Whether it's the advanced drill from Tech Reborn or a regular iron pickaxe, I cannot seem to pick the table back up after placing it. A harvestability mod I have client-side indicates a pickaxe is the associated tool for the table, though it never drops itself.

Also upon testing, Silk Touch doesn't seem to help either.

Thank you & good work @adriantodt


vmwaretools will fail to install on new CentOS7 machines

With vSphere 5.5 and Vmware Tools version: 9.4.10-2068191
puppet will fail to install on new vm's
when you run the same tools install manually the first question is new and defaults to no (exit installer):
open-vm-tools are available from the OS vendor and VMware recommends using
open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information.
Do you still want to proceed with this legacy installer? [no]

the behaviour exhibited by Puppet is that it will run the download, extract, install clean routines on every runtime of puppet without actually installing the tools

A really dirty fix is to pipe 'yes' to the installer;
echo 'yes' | ~/vmware-tools-distrib/vmware-install.pl -d

Oof, that is a dirty fix, but it may be the only option!
Would an override_install parameter be good, or do you think it's just worth replacing the install command?

I'm not sure, in my fork of your repo I'm now trying our runs with "echo 'yes' | ...", and so far that's just going fine.
If all the defaults are OK, and there's no prompt, the 'yes' won't do much either. It seems like a safe option, but I'm unsure on what edge cases I haven't thought of yet.

Thinking about it, echo 'yes does much the same as the -d switch (i.e. accept all defaults), so I guess there's not much of a difference.
If you can confirm that all seems OK, I'll make the change to master.

I was wrong indeed, my tests where it seemed to work were actually flawed. Piping yes doesn't work.
So far, there's no fix it seems ...

I can confirm this bug exists on Ubuntu 14.04 LTS as well now

a plain
"echo 'yes' | ~/vmware-tools-distrib/vmware-install.pl without the -d flag appears to work ok

Thanks @anthonysomerset - @mattiasgeniar can you confirm if this also works for you?

Confirmed, it works by piping "yes" to the vmware-tools installere, if the -d flag is ommitted.
$ echo 'yes' | ./vmware-install.pl
open-vm-tools are available from the OS vendor and VMware recommends using
open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information.
Do you still want to proceed with this legacy installer? [no]
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
...

Fantastic, thanks @mattiasgeniar and @anthonysomerset.
Can you both pull from master on GitHub and set the force_install parameter to true?
If it works as expected, I'll release version 1.4.0 of the module to the Forge when time permits :)

this appears to work for ubuntu at least :)

also works on CentOS 7.x

Thanks for the confirmation, I'll get 1.4.0 out to the Forge tomorrow :)

Closing this issue as 1.4.0 is now live on the forge - apologies for the delay!
Cheers for your help guys, much appreciated :+1:


two or more elements on the same page

use two selects whit chosenicon
whem i change the select option on the first select ( in this select the icons arent showed ) in the second select the icons are changed to the icons that would be in first one

Please use select2. This repo is not maintained


Push all job dependencies to cache

Only the resulting derivation of a job is being pushed to the cache.
All dependencies for a job that do not already exist on cache.nixos.org should also be pushed.
Let's investigate this.

After digging into this, I found out that dependencies are indeed being pushed as well. The actual problem happens in jobs that are only executed within contexts that do not have access to the CACHIX_AUTH_TOKEN. Makes is working just fine.


cargo fmt doesn't accept --manifest-path

I ran into this today when trying to integrate rust with a proprietary toolchain.  I was finding it easier to not change my CWD and was instead explicitly passing --manifest-path but cargo fmt doesn't accept it.

Could you try passing --package instead?

Both fail:
cargo fmt --package source\rust_test\Cargo.toml -- --write-mode=diff
cargo fmt --package source\rust_test -- --write-mode=diff
``
with an error about `cargo manifest` failing

I originally passed over `--package` because I was looking for `--manifest-path` but also when browsing the help, the part about workspaces made me think it didn't apply to me.

-p, --package <package>
                    specify package to format (only usable in workspaces)

Also should mention: "rustfmt 0.6.1-stable (49279d71 2018-05-08)"

Looks like pretty much every time cargo metadata is called, None is passed in as the manifest path
https://github.com/rust-lang-nursery/rustfmt/blob/master/src/cargo-fmt/main.rs#L234

I'm having this same problem.

It looks like clippy and run still support the --manifest-path argument.
$ cargo run --manifest-path Code/exercism/rust/saddle-points/Cargo.toml
error: a bin target must be available for `cargo run`
~
$ cargo clippy --manifest-path Code/exercism/rust/saddle-points/Cargo.toml
    Checking saddle-points v1.3.0 (file:///Users/nsutton/Code/exercism/rust/saddle-points)
error: expected expression, found `)`
  --> src/lib.rs:13:9
   |
13 |         );
   |         ^ expected expression

error: aborting due to previous error

error: Could not compile `saddle-points`.

To learn more, run the command again with --verbose.
~
$ cargo fmt --manifest-path Code/exercism/rust/saddle-points/Cargo.toml
Invalid argument: `Code/exercism/rust/saddle-points/Cargo.toml`.
usage: cargo fmt [options]

Options:
    -h, --help          show this message
    -q, --quiet         no output printed to stdout
    -v, --verbose       use verbose output
    -p, --package <package>
                        specify package to format (only usable in workspaces)
        --version       print rustfmt version and exit
        --all           format all packages (only usable in workspaces)

This utility formats all bin and lib files of the current crate using rustfmt. Arguments after `--` are passed to rustfmt.
~
$

I ran into this because the spacemacs rust layer relies on it. More specifically, cargo.el.


Mock bazel run in Gazelle integration tests

Co-authored-by: Borja Lorente<EMAIL_ADDRESS>This is a simplified version of https://github.com/bazelbuild/intellij/pull/4127 that uses registerApplicationService() to register the mock GazelleRunner instead of using different plugin xml for tests.

@tpasternak Can you please review this PR? we are still missing an approval to merge, probably because @blorente and I are co-authoring.


How to finetune I3D pretrained on Kinetics on UCF101？

How to finetune I3D pretrained on Kinetics on UCF101? Is there any code about this?

Hi @chenyihang1993
The example for fine-tuning on UCF-101 has been made available in the latest PR (https://github.com/open-mmlab/mmaction/pull/142).

Hi @zhaoyue-zephyrus , I don't see an example for fine-tuning in that PR. Do you mind pointing a link to where this is?

@cinjon @zhaoyue-zephyrus
I don't see an example for fine-tuning in that PR, either. Is this problem solved?


SVGF Implementation Discussion

https://github.com/gkjohnson/three-gpu-pathtracer/issues/292#issuecomment-1913160472

I would like to contribute an SVGF implementation.
I have implemented the temporal filter and spatial filter parts, but I would like to ask for advice on how to get the pathtracing frame buffer with the direct diffuse texture removed, and how to combine the direct diffuse texture + denoised frame buffer.
If you have any advice, I'll try to organize and post a PR. Thanks for sharing your great library!

Adding an SVGF implementation sounds great. Can you explain the how this work work? Are you wanting to reproject the pathtraced colors as the camera moves? From what I understand SVGF won't work well with antialiasing, stochastic transparency, or depth of field effects, is that right? I guess I want to understand the scenarios in which this would and wouldn't work.

I would like to ask for advice on how to get the pathtracing frame buffer with the direct diffuse texture removed, and how to combine the direct diffuse texture + denoised frame buffer.

Can you elaborate on what exactly you need for the SVGF implementation? You need a pass with no textures and no specular or transparency surfaces? Right now the path tracer only supports outputting a single final image. The bsdfEval function evaluates the ray scattering and color contributions of the materials. It would probably be possible to output each specular, & transmissive separately from that function along with weights so they could be combined separately - or at least saved as separate textures.
cc @KihwanChoi12

Adding an SVGF implementation sounds great. Can you explain the how this work work? Are you wanting to reproject the pathtraced colors as the camera moves? From what I understand SVGF won't work well with antialiasing, stochastic transparency, or depth of field effects, is that right? I guess I want to understand the scenarios in which this would and wouldn't work.

I will explain how they work in the order of algorithm application below.
For svgf, it is common practice to use TAA after getting the final result, and the connection with depth of field needs more investigation. Here's a scenario where it doesn't work well
SVGF introduces temporal blur, which means that even when the light source is turned off, the light is still present or glossy highlights leave traces.

Can you elaborate on what exactly you need for the SVGF implementation? You need a pass with no textures and no specular or transparency surfaces? Right now the path tracer only supports outputting a single final image. The bsdfEval function evaluates the ray scattering and color contributions of the materials. It would probably be possible to output each specular, & transmissive separately from that function along with weights so they could be combined separately - or at least saved as separate textures.

I would like to start with a simplified version of the SVGF algorithm, similar to the one implemented in the following repository (https://github.com/TheVaffel/spatiotemporal-variance-guided-filtering).

does not separate between direct and indirect lighting.
the temporal filter uses the same implementation as in the following PR (https://github.com/gkjohnson/three-gpu-pathtracer/pull/241), but improves on the ghosting and 1px darkening later.

The inputs are

Use the rendered result of direct diffuse, indirect diffuse, and indirect specular. (except direct diffuse texture)
normal texture, depth texture (use the rasterized result).
The output of the Denoiser is as follows
Outputs the denoised frame after applying a temporal filter and a spatial filter to the input frame.
(Note that temporal filter and spatial filter can be applied to only one or the other).
Combine the output of the Denoiser with a frame with a direct diffuse texture (albedo frame) to generate the final result.

I've attached a screenshot below that is not a simplified version, but should give you an idea.

Reference: Real Time Path Tracing and Denoising in Quake II RTX (https://www.youtube.com/watch?v=FewqoJjHR0A)
cc @gkjohnson

Thanks for the references! And sorry for the delay - I wanted to take a look at the video and make sure I generally understood the approach.
From the video and the diagram, though, it looks like transparent / transmissive surfaces aren't handled using SVGF at all, is that correct? I'm wondering what your plans are for these surfaces. Will they be ignored and remain noisy? Ie only opaque surfaces will be denoised?

Use the rendered result of direct diffuse, indirect diffuse, and indirect specular. (except direct diffuse texture)

It sounds like getting these textures would be the next steps which can be done via MRT. Does modifying the bsdfEval function to output a set of weights and output color (or color premultilied by the weight) from each lobe / sampling path (specular, diffuse, etc) sound reasonable?

Cannot wait to see this implemented 🤩


M3-6069: Fix NodeBalanacer Mode Change Select

Description 📝

Fixes NodeBalanacer Mode Change Select
Fixed by using function parameters rather than relying on the event

It was caused by this error

How to test 🧪

Test changing the Mode of a nodebalancer node
Verify you can change the mode and save it successfully

@jcallahan-akamai The original implementation is pretty questionable. It is using a <TextField /> with the select prop where a <Select /> should really be used. Both <TextField /> where a <Select />  are MUI components but in most places in cloud, we are using react-select components. I believe what broke here was MUI changing the underlying implementation of the <TextField />component.


Using the latest typespec commit ID and re-generating the SDK

Using the latest typespec commit ID and re-generating the SDK

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure-rest/ai-translation-document


Lower jsdoc comment state

Four frequently accessed variables are outside the closure passed to scanRange for no reason. I'm not sure this is going to help, but I want to run the perf tests on it without tying up my machine/having to get perf tests working again.
Small step toward addressing https://github.com/microsoft/TypeScript/issues/52959

@typescript-bot perf test this

Nope, doesn't look like it did anything.


feat: Bump tekton to v1

What this PR does / why we need it:
Bump tekton to v1
This PR updates package to latest version and adjust code to work with tekton v1 instead of v1beta1
Release note:
NONE

/test e2e-tests

/retest

/retest

/retest

/retest

/retest

/retest

/lgtm


Add field conversion for Patient - deceased:deceasedBoolean

Hey Paul! The deceasedboolean field was added to the patient model class.


Changing layer.zPosition prevent touches on sticky header

I noticed that when using Touchable components within a view that is within a sticky header prevents touches while it is "sticking". I took a look and traced it somewhat to changing zPosition here https://github.com/facebook/react-native/blob/master/React/Views/RCTScrollView.m#L231

Whoops, this one: https://github.com/facebook/react-native/blob/master/React/Views/RCTScrollView.m#L227

Ok sorry, might not have anything to do with zPosition, still digging.

This is inherent behavior of UIKit :/


set default "max_open_tabs": 100, to 0

For several days I could not understand what was closing the tabs. It doesn't appear in the console at all.
I thought it was a glitch and first removed the plugin.
Not always a person rereads all the options on setting, and it can be a big surprise when tabs are closed automaticly.

This might be way too late of a reply but I appreciate you opening up an issue. In the latest release, I increased the value of max_open_tabs to 1000. Still, you can disable it by setting it to 0.


Progressbar: switch to tqdm, add description

As in the title: there are a lot of progressbars scattered throughout spectral-cube, and it can be tricky to track down where they are.  Adding labels should help.

I'm OK with that.  @e-koch, you good with just making tqdm a requirement?

agreed. as Tom points out, it's lightweight and simplifies things.

I've added tqdm as a dependency and refactored to use it - but the usage of progressbars is still a little non-tqdm-like.

@keflavich can we close this now that #923 is merged?

Yep.


Introduce transaction cancellation reasons

What does this change?
I introduce enum RaidenTransactionCancellationReason, which represents the reason for transaction cancellation. It has the same members of CancellationReason in AWSJavaSDK.
I also introduce struct RaidenTransactionCancellationReasons, which is the wrapper of Vec<Option<RaidenTransactionCancellationReason>>. It has a method called to_error, which returns the reason for the first error. It will be used to determine the actual reason for insertion failure.
What can I check for bug fixes?
You can check the behaviors in test cases:

So, I'll do fmt by myself.


Loosen Python dependency restrictions: httplib2, oauth2client

The Beam Python SDK's current pinned dependencies create dependency conflict issues for my team at Twitter.
I'd like the following expansions of the Python SDK's dependency ranges:

oauth2client>=2.0.1,<4 to at least oauth2client>=2.0.1,<=4.1.2
httplib2>=0.8,<=0.12.0 to at least httplib2>=0.8,<=0.12.3

I understand, from pull request 8653 by [~altay], that the latter is blocked in turn by googledatastore.
Imported from Jira BEAM-8158. Original Jira may contain additional context.
Reported by: jinnovation.

For context, I am no longer with the Twitter team I wrote this ticket on behalf of. It is possible it is no longer an issue. Feel free to close 😁


Add Spellmasons Module

Spellmasons dedicated server module partly based on the existing nodejs module, as it requires node to host the server.

A bit of context as to why I did some things the way I did. Currently Spellmasons servers do not store any data (any game is saved on the client side) hence why the whole game folder is deleted when updated. I also am just a bit inexperienced with this kind of stuff, so that is part of the reason as well. Also, the only way to get the server is to build it from the GitHub repository or possibly get it through docker, but I haven't used docker very much so I opted for GitHub instead. If the module needs work and needs a rewrite do let me know, I will close the pull request or make it a draft, any feedback would be appreciated as well. If someone else wants to write a better one, that is fine too.

I'm not familiar with this game, so haven't looked too closely yet. I'll try to get to it this week.

Has this been tested on Windows? cp is not a Windows command

I tested it on Windows and Linux, and both worked just fine but perhaps it may be missing some file needed for modding, I am double checking and rewriting what I need to rewrite so I'll make sure it works.

Any update on this? I should have gotten it to work on Windows with no problems now but I may have missed something.

What's the reasoning behind pulling a specific version by default versus getting the latest?

I haven't figured out how I should do this yet, but currently the latest version tends to be the beta version which you have to opt-in for on steam. So my reasoning is pull the specific latest stable by default instead of latest beta, since most people won't be using the beta version. A bit of a hassle but I can't think of another way to do it.

Okay, that makes sense. Kind of a pain but nothing you can control.


iOS 11 Large gap above scroll view

I was experiencing an issue on iOS 11 where there was a gap above the scroll view before the navigation bar. The solution for me was the following code. It seems that in addition to the content inset TLY was adding, iOS was then adding another inset which can be seen in the new variable adjustedContentInset
https://developer.apple.com/documentation/uikit/uiscrollview/2902259-adjustedcontentinset
This was my solution
if (@available(iOS 11.0, *)) {
    self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}

Were you able to work around it?

Facing same issue

If you place the above code into the view controller that has your table view it should fix it

@joshbernfeld Great!. It is helpful to me!

you can also use:
[[self shyNavBarManager] setHasCustomRefreshControl:YES];

I still get weird behavior where there are gaps when a view is swapped back in in a custom tab bar implementation.  Setting it to use has custom refresh control starts the table view underneath the bar.


Fix by default

It's not really much added overhead, and I'd rather be right by default.

Closed via #31


Single-qubit and Controlled Z rotations

Update single-qubit Z rotations ZPowGate and Rz. These are atomic operations.
Introduce actual constructions for CZPowGate and CRz for better resource counting. The previous hack would just count them as "one rotation". Now the former is a rotation and two Toffolis (TODO: can these be And?); the latter is two rotations and two cliffords.
Connect the single-qubit gates to their controlled versions via the controlled protocol.
There's still hacks for Controlled-S and Controlled-T, which I will port in a follow-up.
How should we handle X and Y rotations? One possibility is to make them compile to ZPow/Rz. Otherwise: duplicate the controlled construction for each flavor.
@tanujkhattar there are two tests failing that I'd like your help with

the TextbookQFT uses cirq controlled_by which is causing breaking simulation tests in a weird way. This triggers #1446 but even after hack-fixing that it runs into a different issue.
I don't understand the flamegraph format. test_get_flame_graph_data_qft_textbook has different numbers now but I don't know how to verify that these are correct.

TODO: can these be And?

Yep you can use CZPow = And^dagger . ZPow . And

@tanujkhattar do you have any thoughts on the cirq simulation failure


Add some tags

Could you add some tags to your projects? I will be very greatful. After the one of your latest commits I had to change my code, becouse there was no compatibilty.
P.S. thanks for yours project. It's great.

Done.

Thanks:)


Date format

Hi and thank you for your work,
In FundamentalAnalysis\fundamentalanalysis\financial_statements.py, in functions income_statement(), balance_sheet_statement() and cash_flow_statement(), the date column header in the returned dataframes should be a string (e.g. '2019') and not converted to integer (e.g. int('2019'), as done by date = int( value['calendarYear'] ).
This is to stay coherent with the dataframes returned by the functions implemented in FundamentalAnalysis\fundamentalanalysis\details.py, where the data column header is a string (e.g. '2019')
Best regards

Hi,
In FundamentalAnalysis\fundamentalanalysis\details.py, in function discounted_cash_flow(), we first try to fetch the data by calling
data_json = data[0]['historicalDCF'].
If a keyError is raised because 'historicalDCF' doesn't exist, we retry again by calling
data_json = data[0].
This is where the error is, we should instead just call data_json = data. A test case is with the company ticker "BESI.AS".
Best regards

The package has been updated and should now work well.


Documentation landing page incorrect responsive layout

Prerequisites

[X] I have read the Contributing Guidelines.
[X] I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?
Hello everyone!
While checking the documentation on my laptop, since the changes on the landing page, the first block with the new position of buttons is broken.

To fix it,  you can add "min-height: 840px;" on the industrial_experience div.
Many thanks.

This should be addressed via #1144


Google Fi activation on Lenovo Phab2

Replacing https://github.com/130s/hut_10sqft/issues/437

When activating on Phab2 using Fi app, it says the device isn't compatible with Fi. I'm out of devices to use Fi :(  but the good thing is I'm not in the need now.


可以通过 test_wav.sh实现多batch 实现前向推理吗？

For support and discussions, please use our Discourse forums.
If you've found a bug then please create an issue with the following information:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

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

OS: [e.g. Ubuntu]
GCC/G++ Version [e.g. 8.3]
Python Version [e.g. 3.7]
PaddlePaddle Version [e.g. 2.0.0]
Model Version [e.g. 2.0.0]
GPU/DRIVER Informationo [e.g. Tesla V100-SXM2-32GB/440.64.00]
CUDA/CUDNN Version [e.g. cuda-10.2]
MKL Version
TensorRT Version

Additional context
Add any other context about the problem here.

same to #1726


Blog post: histograms vs summaries

Follow-up blog to #2658
This one is even less otel-centric and is likely to need some copy changes. I set the date to a week in the future to allow some time between posts and some time for copy edits.

Link check failure is referencing the previous post which is not yet merged

I'm actually not sure what our policy is here. Either way I've set a calendar reminder for monday morning (pacific time) to merge this if it isn't merged already


getChannel for BaseAmqp

and another suggestion.
The channel used is created in the BaseAmqp Class, but there is no way of getting it. Sure you could maybe do something like end($connection->channels), but that seems like a nasty solution and might even get you in trouble.
Getting the current channel is necessary since the spawned channels are only closed on disconnect.
If you have a long running process they will keep spamming and stay on the server without consumers.

@hefekranz I got around this by extending Thumper\Consumer since channels is protected, if you extended it, you could just have:
public function getChannel()
{
    return $this->channel;
}

In your implementation, also allows you to implement many other features which currently aren't possible with this library.

well, obviously the best way to go. Thanks for the advice, missed that somehow.


wrong server connection after rebranding

Romeo tries to connect to field.carriota.com instead of field.deviota.com

Loading CarrIOTA Romeo
No connection to https://field.carriota.com
Make sure you have Internet and refresh this page!

It's just an html file. You can open it with your prefered editor and change (search/replace) the URL.


Additional cleanups using ruff

With the help of ruff, I've made a pass over the code and cleaned up some inconsistencies. In the root of the repo is also a pyproject.toml added, for now only with the config for ruff checking.
Maybe time for another release after this?

..possibly also consider using this github action for consistency:
https://github.com/marketplace/actions/ruff-action
?


CuDNN faild to initialize after correct installation,

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): PiP
TensorFlow version (use command below): 2.0.0
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.0/7.6.3
GPU model and memory: RTX 2080TI

Describe the current behavior
CuDNN faild to initialize after correct installation, cant make TF2 work
Describe the expected behavior
training a conv network without an error
Other info / logs

UnknownError                              Traceback (most recent call last)
 in
1 # Train model
----> 2 model.fit(x, y, epochs=5)

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_freq, max_queue_size, workers, use_multiprocessing, **kwargs)
726         max_queue_size=max_queue_size,
727         workers=workers,
--> 728         use_multiprocessing=use_multiprocessing)
729
730   def evaluate(self,
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training_v2.py in fit(self, model, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_freq, **kwargs)
322                 mode=ModeKeys.TRAIN,
323                 training_context=training_context,
--> 324                 total_epochs=epochs)
325             cbks.make_logs(model, epoch_logs, training_result, ModeKeys.TRAIN)
326
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training_v2.py in run_one_epoch(model, iterator, execution_function, dataset_size, batch_size, strategy, steps_per_epoch, num_samples, mode, training_context, total_epochs)
121         step=step, mode=mode, size=current_batch_size) as batch_logs:
122       try:
--> 123         batch_outs = execution_function(iterator)
124       except (StopIteration, errors.OutOfRangeError):
125         # TODO(kaftan): File bug about tf function and errors.OutOfRangeError?
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training_v2_utils.py in execution_function(input_fn)
84     # numpy translates Tensors to values in Eager mode.
85     return nest.map_structure(_non_none_constant_value,
---> 86                               distributed_function(input_fn))
87
88   return execution_function
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\eager\def_function.py in call(self, *args, **kwds)
455
456     tracing_count = self._get_tracing_count()
--> 457     result = self._call(*args, **kwds)
458     if tracing_count == self._get_tracing_count():
459       self._call_counter.called_without_tracing()
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\eager\def_function.py in _call(self, *args, **kwds)
518         # Lifting succeeded, so variables are initialized and we can run the
519         # stateless function.
--> 520         return self._stateless_fn(*args, **kwds)
521     else:
522       canon_args, canon_kwds = \
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py in call(self, *args, **kwargs)
1821     """Calls a graph function specialized to the inputs."""
1822     graph_function, args, kwargs = self._maybe_define_function(args, kwargs)
-> 1823     return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
1824
1825   @property
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py in _filtered_call(self, args, kwargs)
1139          if isinstance(t, (ops.Tensor,
1140                            resource_variable_ops.BaseResourceVariable))),
-> 1141         self.captured_inputs)
1142
1143   def _call_flat(self, args, captured_inputs, cancellation_manager=None):
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py in _call_flat(self, args, captured_inputs, cancellation_manager)
1222     if executing_eagerly:
1223       flat_outputs = forward_function.call(
-> 1224           ctx, args, cancellation_manager=cancellation_manager)
1225     else:
1226       gradient_name = self._delayed_rewrite_functions.register()
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py in call(self, ctx, args, cancellation_manager)
509               inputs=args,
510               attrs=("executor_type", executor_type, "config_proto", config),
--> 511               ctx=ctx)
512         else:
513           outputs = execute.execute_with_cancellation(
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\eager\execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
65     else:
66       message = e.message
---> 67     six.raise_from(core._status_to_exception(e.code, message), None)
68   except TypeError as e:
69     keras_symbolic_tensors = [
C:\ProgramData\Anaconda3\lib\site-packages\six.py in raise_from(value, from_value)
UnknownError:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node sequential_1/conv2d_8/Conv2D (defined at C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_core\python\framework\ops.py:1751) ]] [Op:__inference_distributed_function_2411]
Function call stack:

@tomergt45,
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

May be you have multiple computations executing simultaneously. Can you kill all python sessions and try again?

@tomergt45, Did you try @ymodak's workaround to resolve this issue. Thanks!

@tomergt45, Were you able to resolve this issue. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Needs A Command Line Argument ala 'cargo tauri build -fips'

Hello,
In order to bundle applications to run on machines compliant with the federal information processing standards , wix needs a command line argument '-fips' to be passed to it by tauri.
error
candle.exe : error CNDL0308 : The Federal Information Processing Standard (FIPS) appears to be enabled on this machine. You must either disable FIPS or use FIPS-compliant security algorithms to generate IDs by passing the -fips command line switch or by setting true in your .wixproj project.

Starting with tauri's cli version 1.1 you can set an env var for this:
TAURI_FIPS_COMPLIANT="true"

I'll add it to https://tauri.app/v1/guides/building/windows today, sorry for that.

No problem, thanks for the quick turn response.
On Thu, Mar 2, 2023, 1:08 AM Fabian-Lars @.***> wrote:

Closed #6383 https://github.com/tauri-apps/tauri/issues/6383 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/tauri-apps/tauri/issues/6383#event-8646392676, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOEVHZBNZ4UBSEWGZ3QOY3W2BIQPANCNFSM6AAAAAAVMUG2QA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Asking for help with the same issue. I am attempting to build a Tauri app on a FIPS compliant windows machine. I have the environment variable set: TAURI_FIPS_COMPLIANT="true" but I am still getting the same error mentioned above: candle.exe : error CNDL0308 : The Federal Information Processing Standard (FIPS) appears to be enabled on this machine...
Any thoughts?
Here a copy of the settings in tour.conf.json:
{
"$schema"<EMAIL_ADDRESS>"build": {
"beforeBuildCommand": "pnpm run build",
"beforeDevCommand": "pnpm run dev",
"devPath": "http://localhost:5173",
"distDir": "../build"
},
"package": {
"productName": "Gamma",
"version": "0.1.0"
},
"tauri": {
"allowlist": {
"all": false,
"dialog": {
"all": false,
"ask": false,
"confirm": false,
"message": false,
"open": true,
"save": true
}
},
"bundle": {
"active": true,
"category": "DeveloperTool",
"copyright": "",
"deb": {
"depends": []
},
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
<EMAIL_ADDRESS>"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.gamma.dev",
"longDescription": "",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": "",
"webviewInstallMode": {
"silent": false,
"type": "offlineInstaller"
}
}
},
"security": {
"csp": null
},
"updater": {
"active": false
},
"windows": [
{
"fullscreen": false,
"height": 600,
"resizable": true,
"title": "Gamma",
"width": 800
}
]
}
}


Feature/los data publish

The controllers that were previously imported to the LOS guidance node are now in a separate node called "autopilot". This was done by letting the LOS node publish the required data on a topic that the autopilot node subscribes to.
Documentation has been added to the existing classes and methods that were worked on.
To further clean things up, controller, guidance and thrust nodes that are launched through motion_launch are now in their respective namespaces. This required some minor changes to the associated nodes.

Note!! Since a new message type has been added, this pull https://github.com/vortexntnu/vortex_msgs/pull/5 needs to go through as well.

Good work +1
r, r_d, r_d_dot are the only things left I guess. r is yaw rate, r_d, r_d_dot are reference signals. I think these are not directly used but was used in the step to derive backstepping controller.

Yep, was added here in PR #97 :smile:

Good work +1
r, r_d, r_d_dot are the only things left I guess. r is yaw rate, r_d, r_d_dot are reference signals. I think these are not directly used but was used in the step to derive backstepping controller.

Yep, was added here in PR #97 :smile:


Changing the project name on ddev config leaves the old name and approot in the global_config.yml project_info list

Describe the bug
if you run ddev config in the same directory more than once and change the project name at one point there will be another project entry in global_config.yml. over time the "skeletons in the closet" might pile up if that for what ever reason happens more often.
To Reproduce

go to ~/Sites or wherever your projects are stored
mkdir test
ddev config
enter project name wordpress, leave docroot empty and select wordpress as project type
execute ddev config again, enter project name drupal9, enter web as docroot and select drupal9 as project type
pico ~/.ddev/global_config.yml you'll notice one project wordpress and one project drupal9 both with the same approot
ddev list you will only find drupal9 in the list of available projects the wordpress one isnt listed.

Expected behavior
there shouldnt be more than one project with the same approot in the project_info list in ~/.ddev/global_config,yml. so instead of adding a new entry to the project_infolist the name of the existing one with that approot should be updated instead.
Version and configuration information (please complete the following information)

Host computer OS and Version: MacOS 10.13.6
Docker Desktop version if on macOS or Windows (from "About Docker Desktop") <IP_ADDRESS>
ddev version information (use ddev version) 1.19.0-rc1

This was fixed in:

#6208


Fix test-app-with-enrichers-slightly-simpler.yaml

For changes in brooklyn-server/70d005c93acaf225e969552ffb8239200266a402 )(https://github.com/apache/brooklyn-server/pull/154).

Thanks @sjcorbett, merging.


Fixed a bug for video without nb_frames inference_realesrgan_video.py

Fixed a bug for video without nb_frames

It seems that the pylint is not passed

Can you fix it ?

It seems that the pylint is not passed
Can you fix it ?

Yes, I think I’ve fixed it.

i did a merge with this today and converted a file missing nb_frames successfully.

ret['nb_frames'] = int(video_streams[0]['nb_frames'])
KeyError: 'nb_frames'
[vost#0:0/rawvideo @ 0x557e1b9f6740] Error submitting a packet to the muxer: Broken pipe
Last message repeated 1 times
[out#0/rawvideo @ 0x557e1b991840] Error muxing a packet
[out#0/rawvideo @ 0x557e1b991840] Task finished with error code: -32 (Broken pipe)
[out#0/rawvideo @ 0x557e1b991840] Terminating thread with return code -32 (Broken pipe)
[out#0/rawvideo @ 0x557e1b991840] Error writing trailer: Broken pipe
[out#0/rawvideo @ 0x557e1b991840] Error closing file: Broken pipe


Support Ticket how to Added

@ndolker : Thanks for your contribution to the Azure documentation! The author, @TomShinder, has been notified to review your proposed change.

#Sign-off


Istio breaks mounted secret chmod

Bug description
When kubectl label ns debug istio-injection=enabled the
K8s Secret mounted with defaultMode: 0400 receives 0440 instead
Please consider this as potential security vulnerability as well
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[X] Security
[X] Test and Release
[X] User Experience
[X] Developer Infrastructure
Expected behavior
Respect the provided (or default) mount chmod
Steps to reproduce the bug
k is an alias for kubectl

k label ns debug istio-injection=enabled
k apply -f bug.yaml
bug.yaml

apiVersion: v1
data:
  internal-auth-mongodb-keyfile: Z1FLRlZEbWp0T2VSeHJYaWxJZkJMQUtMUm9mUW9paWVBcnZxTHNhbnByYVhtd0NRTmtIZ2dHbW9MSWR6UFJQUA==
kind: Secret
metadata:
  annotations: {}
  name: mongo-mongod-keyfile
  namespace: debug
type: Opaque
---
apiVersion: v1
kind: Pod
metadata:
  annotations: {}
  labels:
    app.kubernetes.io/instance: mongo
    app.kubernetes.io/name: mongod
    app.kubernetes.io/version: 4.2.9
    environment: production
    helm.sh/chart: mongo-1.6.0
  name: mongo
  namespace: debug
spec:
  containers:
  - command:
    - mongod
    - --bind_ip
    - <IP_ADDRESS>
    - --replSet
    - debug
    - --dbpath
    - /data/db
    - --auth
    - --clusterAuthMode
    - keyFile
    - --keyFile
    - /etc/secrets-volume/internal-auth-mongodb-keyfile
    image: mongo:4.2.9
    imagePullPolicy: IfNotPresent
    name: mongodb-container
    ports:
    - containerPort: 27017
      name: mongodb
      protocol: TCP
    volumeMounts:
    - mountPath: /etc/secrets-volume
      name: mongo-mongod-secrets-volume
  volumes:
  - name: mongo-mongod-secrets-volume
    secret:
      defaultMode: 256
      secretName: mongo-mongod-keyfile

Verify mounted secret by changing to command: ["sleep", "3600"] and k exec -it mongo bash:
Defaulting container name to mongodb-container.                                                                                [0/948]
Use 'kubectl describe pod/mongo -n debug' to see all of the containers in this pod.
groups: cannot find name for group ID 1337
root@mongo:/# ls -al /etc/secrets-volume/
..2020_09_14_06_14_44.862029954/ ..data/                          internal-auth-mongodb-keyfile
root@mongo:/# ls -al /etc/secrets-volume/..data/internal-auth-mongodb-keyfile
-r--r----- 1 root 1337 64 Sep 14 06:14 /etc/secrets-volume/..data/internal-auth-mongodb-keyfile
root@mongo:/# exit

If k label ns debug istio-injection=disabled --overwrite then there is no issue
For aforementioned mongo example it renders Mongo completely unsusable (mongo verifies provided secret chmod and fails if it is not 400)
Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
> istioctl version --remote
client version: 1.7.1
control plane version: 1.7.1
data plane version: 1.7.1 (5 proxies)

> kubectl version --short
Client Version: v1.18.6
Server Version: v1.18.5

How was Istio installed?
istioctl install --set profile=demo
Environment where bug was observed (cloud vendor, OS, etc)
Everywhere

Hi @kiemlicz . thanks for the report. While this is a very valid bug, its a duplicate of https://github.com/istio/istio/issues/26882. PTAL and that (and https://github.com/kubernetes/kubernetes/issues/57923) for a bunch more information (but unfortunately no fixes)

Hi, thank you for reply
Are you sure this is the same as linked one?
I didn't provide any securityContext, the https://github.com/kubernetes/kubernetes/issues/57923 is about providing one
Or this is enough that the Istio injected container uses one?

Istio injects securityContext
On Mon, Sep 14, 2020 at 11:57 PM stachu<EMAIL_ADDRESS>wrote:

Closed #27286 https://github.com/istio/istio/issues/27286.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/27286#event-3766712722, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXONZK36QTPJ3ZJFOVLSF4F6JANCNFSM4RLGJS2A
.


Get all dependency downloading cached

The "onbuild" version of the node docker image was forcing us to download some dependencies on every build, since it happened after copying code over.
This moves to the unadorned node base image, and handles all dependency downloading before the COPY . /usr/src/app directive, so they will be cached for the vast majority of new builds.

Nice. It builds fast the second time really fast.
LGTM


API to get the scopes applied to the current position in the document

I couldn't find anything like this which would have removed the need for parsing some text in my extension.
https://atom.io/docs/api/v1.1.0/ScopeDescriptor

What's the status on this ? I see it has been closed but doesn't seem to be mentionned anywhere else.

@warpdesign
#7590 is a duplicate of this issue, so given this issue was created before #7590 I closed #7590 in favor of this one.

This would be very useful for my extension as well. I need to be able to get the brackets/parens containing the position while ignoring any brackets/parens inside strings or comments.

👍 This would allow for features that need language specific knowledge, but can do without a full AST with bindings.

This appears to be a duplicate of #580

Let's track in #580


modemmanager: 1.18.2 -> 1.18.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/modemmanager/versions.
meta.description for modemmanager is: "WWAN modem manager, part of NetworkManager"
meta.homepage for modemmanager is: "https://www.freedesktop.org/wiki/Software/ModemManager/"
meta.changelog for modemmanager is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/46fi3jv4i1qnbmdn2xgxrpb7nl2halhl-modemmanager-1.18.4/bin/mmcli passed the binary check.
/nix/store/46fi3jv4i1qnbmdn2xgxrpb7nl2halhl-modemmanager-1.18.4/bin/ModemManager passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 1.18.4 with grep in /nix/store/46fi3jv4i1qnbmdn2xgxrpb7nl2halhl-modemmanager-1.18.4
found 1.18.4 in filename of file in /nix/store/46fi3jv4i1qnbmdn2xgxrpb7nl2halhl-modemmanager-1.18.4

Rebuild report (if merged into master) (click to expand)

633 total rebuild path(s)

620 package rebuild(s)

620 x86_64-linux rebuild(s)
13 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
ChowKick
CuboCore.coretoppings
adapta-gtk-theme
alfis
almanah
apostrophe
appgate-sdp
arc-theme
arx-libertatis
asciidoc-full
asciidoc-full-with-plugins
astroid
autosuspend
aws-workspaces
ayu-theme-gtk
balsa
bespokesynth
birdfont
blueman
bolt
bookworm
btrbk
bubblemail
calligra
calls
capitaine-cursors
cawbird
chatty
chrome-gnome-shell
cinnamon.cinnamon-common
cinnamon.cinnamon-control-center
cinnamon.cinnamon-gsettings-overrides
cinnamon.cinnamon-screensaver
cinnamon.iso-flags-png-320x420
cinnamon.iso-flags-svg
cinnamon.pix
cinnamon.xreader
citrix_workspace
citrix_workspace_20_04_0
citrix_workspace_20_06_0
citrix_workspace_20_09_0
citrix_workspace_20_10_0
citrix_workspace_20_12_0
citrix_workspace_21_01_0
citrix_workspace_21_03_0
citrix_workspace_21_06_0
citrix_workspace_21_08_0
citrix_workspace_21_09_0
claws-mail
clevis

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/46fi3jv4i1qnbmdn2xgxrpb7nl2halhl-modemmanager-1.18.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A modemmanager https://github.com/r-ryantm/nixpkgs/archive/0922e25d58e0e2bbc7dbc6de11181b5c8a629fb4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/46fi3jv4i1qnbmdn2xgxrpb7nl2halhl-modemmanager-1.18.4
ls -la /nix/store/46fi3jv4i1qnbmdn2xgxrpb7nl2halhl-modemmanager-1.18.4/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @jtojnar for testing.

https://github.com/NixOS/nixpkgs/pull/155414


Remove negative look behind: update rule 920120

Relates to https://github.com/coreruleset/coreruleset/pull/2360
This is PR 3 of 4 that replace https://github.com/coreruleset/coreruleset/pull/2360.

@theseion I think you need to rebase this one after we merged the tests cleanup.

LGTM. @fgsch Now here is the core of the change, can you take a second look?

LGTM too 👍


Remove ex-Diamond staff

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)

@conda-forge-admin, please rerender


blueprint customize

is it possible for us to customize  components by adding standby namenode or standby standby  resource manager node. also is it possible for me to delete cbgateway ? or is it mandotory?

All HA supported by Ambari Blueprints are supported by Cloudbreak - https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters. You can't remove the Gateway, as that contains the Ambari Server and other components important for the infrastructure.