MINOR: Increase timeout for flaky test

This test was occasionally failing with timeout issues.  Even though on a laptop the test takes 5-6 seconds to setup connectors, on slow VMs, it might need more than the 15 seconds we were allowing it.
Signed-off-by: Arjun Satish<EMAIL_ADDRESS>More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Sorry for late feedback. What is the rational behind increasing the timeout? Is there any evidence it will stabilize the test?

@mjsax this fix is most likely insufficient. We are seeing the failures even after increasing the timeout. The only way to eliminate the failure completely is if we revert the changes to the group coordinator protocol (https://github.com/apache/kafka/commit/9a9310d074ead70ebf3e93d29d880e094b9080f6). I am still debugging to understand the root cause. Any suggestions/thoughts are welcome!

I don't understand the GroupCoordinator good enough (never touched the code).  Maybe sync with @abbccdda who did the PR.
If increasing the timeout is not a proper fix, it might be better to not merge this PR, dig into the root cause and do a proper fix.

yes, of course, @mjsax. I added a message to the description of this PR, that should hopefully prevent this change from being merged at the moment.
@abbccdda here is some context on this test. We wrote this integration test for Connect, that spins up Kafka, Zk, and produces some records into a Kafka topic. A sink connector is started that reads these records and write into some in-memory buffers for comparison with what was originally produced.
Without the commit 9a9310d, this test consistently takes around 10-15 seconds to run, and completes successfully. Once this commit is added, most runs of the test take longer (probably due to the extra round trips to get new IDs) and on certain runs of the test, we see that consumers (internal to Connect workers) hang during a JoinGroup call. This test spins up three connect workers, and each of them runs a Consumer in a group. During the failure, I observed that when a new member joins a group, the existing members are asked to rejoin. They all rejoin properly (as in the GroupCoordinator receives the join requests from all members), but the operation never seems to complete to call (i.e.: https://github.com/apache/kafka/blob/dc935c4beb49a83497536902f96c19fb7f472d41/core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala#L837 is never invoked). The test fails on the timeout.

Thanks @wicknicks for the report. Increasing timeout should be able to make the test stable, as it indeed takes longer time for the member to join the group now. If you want, you could try monitor the delayed join operation status by hasAllMembersJoined check. Let me know if the increased timeout could still see failures.
Also if your join group experience is pretty bad, you could attempt to increase group.initial.rebalance.delay so that you don't need to experience multiple rebalances which I think maybe helpful too.

Closing in favor of https://github.com/apache/kafka/pull/6251.


Cache growth from queries with incrementing date/time/etc on infrequent invalidated tables

Not sure if this a problem, but we spotted an interesting situation when querying on date/datetimes:
If we query with my_queryset.filter(my_date__lt=timezone.now()) I see in django-debug-toolbar that the value of a datetime is extremely detailed, so we get a ton of cached queries for all the microseconds (as expected). To improve caching we can round the date/time query to nearest X minutes/hours/days so we get more cache hits.
But combined with the lack of TTL on cached values (according to docs at least in redis) and a table that doesn't invalidate often we get a giant pileup of old cached queries. We can work around this by not caching these tables, disabling the cache on per-query basis, or periodically flushing them.
What do you think? I'm still a bit unclear why the redis cache doesn't have a TTL at all? How does this situation work with memcached?
We use mixed persistent and ttl keys in redis using volatile-lru with other redis based apps and it works fine. Cachalot doesn't seem to mind if I randomly delete keys (docs even suggest allkeys-lru), so then why no TTL at all (not even optional?)

If you really want to use a timeout, you can use CACHALOT_TIMEOUT since django-cachalot 1.3.0.
But be aware that persistent cache keys are not that persistent. LRU implementations are not always perfect (read this Redis docs page), so it’s better in my opinion to use allkeys-lru in Redis if you only use it as a cache.
For your particular case, I would recommend using Now() (or TransactionNow). When you use this, django-cachalot will never cache the query.


Question: How can I add a filter to certain groupted routes?

Hi,
I have a route group like:
$klein->with('/api/something/', function () use ($klein) {

    // Auth here

    $klein->respond('GET', 'test', function($req, $res, $service, $app) {
          ...
    });

});

I have different groups of API. Everything under /api/something/ requires HTTP basic auth but it should only work for that instance. (e.g api/somethingElse doesn't require an auth.)
Basically, something like:
$klein->with('/api/something/', function () use ($klein) {

    if( \Auth::unauthorized() )
    {
         throw new \AuthException("You need to provide basic HTTP Auth credentials.");
    }

    $klein->respond('GET', 'test', function($req, $res, $service, $app) {
          ...
    });

});

I'm not sure how it is possible with klein. The check above affects application globally and every route group requires auth credentials.
Any ideas?

Hey @Rican7 , is there any way to respond codes via filter function?
 $klein->respond(function ($req, $res, $service, $app) {

        // If http basic auth credentials doesn't exists
                return $res->code(401);

 });

 // Actual routes

Is it doable in the current state of framework? Right now requests still go to the actual route, unless I do something like die in the filter function. What would be a good way to solve this?

@Aristona If you really want to "stop" the routing and halt with a 401 code, you probably want to use abort() instead.

Oh, I did a ctrl f "abort" on the main page but couldn't find anything, so I assumed there is no such method.
Abort will definitely solve my issue, thanks!

Hey @Rican7 , is there any way to respond codes via filter function?
 $klein->respond(function ($req, $res, $service, $app) {

        // If http basic auth credentials doesn't exists
                return $res->code(401);

 });

 // Actual routes

Is it doable in the current state of framework? Right now requests still go to the actual route, unless I do something like die in the filter function. What would be a good way to solve this?

@Rican7 Hey, sorry to disturb again. I cannot get it to work. My code looks like:
$klein->with('/v1/?', function () use ($klein) {

    /*
    |   Before filter.
    */
    $klein->respond(function ($req, $res, $service, $app) use ($klein) {

           try {

                  $klein->abort(401);

           } catch (Exception $e) {

                  return false;
          }
    });

    // Actual route

Do you know what could be the issue? I also tried $app->abort(), no luck.


redirect https://prod.meadow.marlowe.iohkdev.io/ to https://prod.playground.marlowe.iohkdev.io/

Due to the meadow rebrand to Marlowe Playground we need to change the prod url
@disassembler is setting up DNS for the new domain and I will get the AWS ALB to redirect old to new

Did this happen?

not yet


How to do it for Parameter type as "Array" instead of "String" type

Dear Team,
It works very well with a single string, Could you update the document where multiple values in the form of Array could be passed.
Example :
[SQL*, Databricks*, Etcc..*]
Thanks,
Madhanan

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

ID: 972dc7c8-2bd1-1e58-2da2-429116c7e1bb
Version Independent ID: 3b7725dd-63d7-e556-a57a-d8ac05289c25
Content: Sample - Enforce like pattern - Azure Policy
Content Source: articles/governance/policy/samples/enforce-like-pattern.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

#assign:DCtheGeek

@madhanan Thanks for the question! The like condition works with strings, not arrays. For more information, see Azure Policy conditions. If your field is an [*] alias, check out the new count expression.
If are interested or have a use case for like to work with arrays, please propose it on Azure Governance UserVoice. Thanks!
@MicrosoftDocs/azure-cxp-triage Please label 'product-question' and #please-close


config: impl serde for enum and readable types

This pr implements serialization and deserialization for enum and readable types, which will be used to refactor config later.
Old codes will be removed once the whole refactoring is finished.

Ping

LGTM

CI failed @BusyJay

Case failed due to a new version of rocksdb is released.


[Bug]: In the Longform Plugin, in the numbered listing of scenes in a Draft folder, scenes including the word "Appendix" become un-numbered

Bug Description
I initially asked this over at the Longform repo (https://github.com/kevboh/longform/issues/56) thinking it's the plugin, because I didn't know your theme adds those numbers in the scene list.
It turns out that scene titles including the word "Appendix" don't get a number, I assume (?) this has to do with stuff similar to the Index file?
Relevant Screenshot

To Reproduce

Using Shimmering Focus as theme, go to Longform plugin sidebar, scene list
have a scene include the term "Appendix" or change a title to include that word (it changes it "live"/in real-time)
scene is/becomes unnumbered

Obsidian Version
0.13.33
Installer Version
0.13.30
Which editor are you using?

[X] New Editor
[ ] Legacy Editor

In which mode(s) does the problem occur? (if applicable)

[ ] Source (Edit)
[ ] Reading (Preview)
[X] Live Preview

Which operating system?

[ ] macOS
[X] Linux
[ ] Windows
[ ] iOS
[ ] Android

Plugin-Specific Problems

[X] I took note of the specific instructions regarding those plugins.

Checklist

[X] I updated to the latest version of the theme (Settings → Appearance → Themes - Manage → Update).
[X] I made sure that the issue is related to this theme, by checking that the problem does not occur with other themes or the default theme.
[X] In case I am missing an UI element, I have checked that it cannot be re-enabled with the Style Settings plugin.
[X] If the bug occured after updating the theme, I read the last couple of entries in the changelog to make sure the bug is not an intentional change. (In that case, there will most likely be a Style Setting to turn it off again.)

that's actually done on purpose, for scenes title "appendix" or "metadata", since I do not think that they should be numbered :P
You can use this css snippet to number all scenes:
#scene-list .scene-container::BEFORE {
	content: counter(sidebar) ".";
	padding-right: 5px;
	counter-increment: sidebar;
}


App/Bundle ID mismatch results in empty response for getProducts/getSubscriptions

Version of react-native-iap
2.4.0
Version of react-native
0.58.3
Platforms you faced the error (IOS or Android or both?)
Both
Expected behavior
I'm torn between an error saying none of the requested itemSkus could be found and the current behaviour.
Actual behavior
An empty array is returned
Tested environment (Emulator? Real Device?)
Both
Steps to reproduce the behavior
In general, calling for a productId that cannot be found in the store, further explanation below
Further context
I've just spent a considerable amount of time banging my head trying to figure out why is my app returning only an empty array from the store. Let's say I wanted to load a productID com.example.app.premium.1month for an app/bundle ID com.example.app.
I completely forgot that my dev app is using a different app/bundle ID (to allow for the prod and the dev version to be installed on the same phone) and when calling getSubscriptions from the app/bundle ID com.example.dev, the com.example.app.premium.1month is (understandably) not returned.
I wanted to get your opinion if it makes sense to add an error message, otherwise I'd just make a PR making a note about this in the docs.
And cheers for the package and the time you're investing in it 🙌

@mrozilla I have the same problem, i always receive an empty array, and i don't understand why.

@mrozilla If the package name is different from what has been created in store, of course, you won't get products correctly. If you want any additional doc to improve, it is always welcomed.

Same issue in #407


Can not install<EMAIL_ADDRESS>on WSL

Problem
Can not install<EMAIL_ADDRESS>on WSL.

Steps To Reproduce
Steps to reproduce the behavior:

cargo install<EMAIL_ADDRESS>
Screenshots
   Compiling humantime v2.1.0
   Compiling thin-vec v0.2.13
   Compiling unicode-bom v2.0.3
   Compiling matchit v0.7.3
   Compiling rhai v1.18.0
   Compiling gix-config v0.36.1
   Compiling lightningcss v1.0.0-alpha.58
   Compiling ratatui v0.27.0
   Compiling preset_env_base v0.5.1
   Compiling env_logger v0.11.5
   Compiling swc_ecma_preset_env v0.214.0
   Compiling nu-ansi-term v0.46.0
   Compiling dialoguer v0.11.0
   Compiling indicatif v0.17.8
   Compiling remove_dir_all v0.8.3
   Compiling swc v0.283.0
error[E0004]: non-exhaustive patterns: `DecoratorVersion::V202311` not covered
   --> /home/user1/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.283.0/src/config/mod.rs:681:23
    |
681 |                 match transform.decorator_version.unwrap_or_default() {
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `DecoratorVersion::V202311` not covered
    |
note: `DecoratorVersion` defined here
   --> /home/user1/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_ecma_transforms_proposal-0.178.1/src/lib.rs:13:1
    |
13  | pub enum DecoratorVersion {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^
...
22  |     V202311,
    |     ------- not covered
    = note: the matched value is of type `DecoratorVersion`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
    |
689 ~                     ),
690 ~                     DecoratorVersion::V202311 => todo!(),
    |

For more information about this error, try `rustc --explain E0004`.
error: could not compile `swc` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dioxus-cli v0.6.0-alpha.2`, intermediate artifacts can be found at `/tmp/cargo-installtQZ4FJ`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Environment:

Dioxus version<EMAIL_ADDRESS>
Rust version: rustc 1.80.1 (3f5fd8dd4 2024-08-06)
OS info:   WSL2 (Fedora release 39 (Thirty Nine))
App platform: None

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

I had the same problem. Installing with --locked solved it.

Had same issue, solved with --locked
Please update the release notes for 0.6.0 to show how to install dx, so that not everyone runs into this problem.


Update API version in VMSS' specs

Applying changes from https://github.com/Azure/azure-rest-api-specs/pull/6692 and https://github.com/Azure/azure-rest-api-specs/pull/6916 to release branch
VMSS specs have their own API version independent from the rest of Network specs. This PR updates it to the latest one.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[x] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

@number123, network validation failed.

All fixed, CI's green
@yungezz please merge

hi @number123, this is a breaking change. Just to double confirm with you and @MikhailTryakhov

@yungezz No SDK has been published based on 2019-07-01, I'm not sure how it would be a breaking change

@yungezz No SDK has been published based on 2019-07-01, I'm not sure how it would be a breaking change

got it. merged.


Merge with https://github.com/learn-anything/

This project could be easily merged with learn-anything.

I'm not familiar with this but I looked at their website and found it a bit confusing. Can you explain what it would mean to merge with them?

I have just joined github because of the program outlined here as OSSU computer science. For me I either would not have found it in learn-anything, nor found it anywhere as appealing as it currently stands. Just the opinion of someone actually attracted to and starting the program. OSSU is cool. Thanks.


Improve documentation and add notebook for WindTunnel

In this PR, I improve the documentation based on the guidelines for the Wind Tunnel scenario. Moreover, I also added a notebook that performs the basic tasks for the wind tunnel as well as some of the post-processing skills.

@fabiocruz @cristianacarpinteiro Fica aqui um pdf do notebook:
Wind Tunnel Demo.ipynb - Colaboratory.pdf


leksah: add the appropriate deps (don't merge)

wrapGAppsHook seems to be called twice for a mysterious reason. I've added a little guard making sure that if that happens, it doesn't just delete the binary, which is what it was doing before. Instead, it will wrap the wrapper.
leksah needs deps on defaultIcontTheme, wrapGAppsHook, gtk3 and a the right path to leksah-server which this commit provides.

cc // @lethalman @peti @jaccokrijnen @ocharles

That code must not be in wrapGAppsHook, and we have to understand why the hook is being called twice despite $outputs is just one.

Agree that we should identify why it's called twice.
Should I move these lines up to wrapProgram? They must exist somewhere in the code base already as pithos is wrapped twice, once by wrapGAppsHook and once by the python stuff and that somehow just works:
$ ls -la /nix/store/*-pithos-*/bin
-r-xr-xr-x 1 root nixbld 1.8K Jan  1  1970 pithos*
-r-xr-xr-x 1 root nixbld 2.8K Jan  1  1970 .pithos-wrapped*
-r-xr-xr-x 1 root nixbld  389 Jan  1  1970 ..pithos-wrapped-wrapped*

@peti's suggestion to move wrapGAppsHook to executableSystemDepends actually shook things up and might give us a clue as to why it's being run twice:
It used to be run twice at the very end of the build, but now:
[..]
hicolorPreFixupPhase
glibPreFixupPhase
post-installation fixup
Wrapping app /nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>/bin/bewleksah
Wrapping app /nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>/bin/leksah
patching ELF executables and libraries in /nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>
/nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>/lib/ghc-7.10.2/leksah-<IP_ADDRESS>/libHSleksah-<IP_ADDRESS>-5cla3Pi2vpI29XeBHQZWta-ghc7.10.2.so
[..]
strip:/nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>/bin/bewleksah: File format not recognized
patching script interpreter paths in /nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>
Wrapping app /nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>/bin/bewleksah
Wrapping app /nix/store/i3j7iky4h96gwxjm1w2zplsfm2550fkz-leksah-<IP_ADDRESS>/bin/leksah
END OF BUILD LOG

@peti, those are not test deps, so moving to executableSystemDepends as suggested.

Setup hooks are executed multiple times if they get into build inputs multiple times – then the hook gets added twice and run twice.

There's no deduplication when adding build inputs, as that would be relatively complicated (it's purely bash code). Most hooks are idempotent, so it wouldn't matter.
What about adding a guard variable to each problematic hook?

@vcunat, one issue is that we're not clear on why this hook is executed twice. I only added the dependency to wrapGAppsHook once and it was executed zero times before.
Also, shouldn't wrapProgram make sure that .${file}-wrapped doesn't exist prior to wrapping $file? Seems like in our case wrapProgram being invoked twice actually led to the binary being deleted and  replaced by one of the wrappers.

I had propagated build inputs in mind, which could lead to adding it multiple times nevertheless, though I'm not sure why would anyone add the hook into propagated build inputs. It might be some other cause.

libraryHaskellDepends are propagatedBuildInputs.

but now we're using executableSystemDepends so should just be nativeBuildInputs ?

Yes. xxxSystemDepends are not propagated, only xxxHaskellDepends are.

That probably explains why one of the calls to wrapGAppsHook "moved" as explained in https://github.com/NixOS/nixpkgs/pull/10351#issuecomment-147414633 but not sure why it's still there twice.

I staged a change that should avoid running the hook multiple times.

@vcunat, that's great, thanks! Could you reference the commit/PR?

d10b910 It also was above in the list (if viewing through web).

What happens to this PR now?

@peti, I'll wait until the change makes its way to the nixos-unstable  channel and then revive the PR ?

Just note that it might take even weeks to happen with the current state of Hydra overload.

Ping? :)

I've rebased over the latest nixos-unstable and removed the wrapGAppsHook hack.
I'm now getting a build error that I do not understand. The log looks like this:
strip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-<IP_ADDRESS>/lib/ghc-7.10.2/leksah-<IP_ADDRESS>/IDE/Command.dyn_hi: File format not recognized
strip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-<IP_ADDRESS>/lib/ghc-7.10.2/leksah-<IP_ADDRESS>/IDE/Command.hi: File format not recognized
strip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-<IP_ADDRESS>/bin/leksah: File format not recognized
strip:/nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-<IP_ADDRESS>/bin/bewleksah: File format not recognized
patching script interpreter paths in /nix/store/1dlzaccxnfnxgxlcm89yhl03qm2zghvi-leksah-<IP_ADDRESS>
builder for ‘/nix/store/wi95akhnjz5qxrq2vmizysdzxw0rjid2-leksah-<IP_ADDRESS>.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/4kv5rv3smqimgzbzigmmmsqdzdfwkqcc-ghc-7.10.2.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/4kv5rv3smqimgzbzigmmmsqdzdfwkqcc-ghc-7.10.2.drv’ failed
/run/current-system/sw/bin/nix-shell: failed to build all dependencies

Since strip failures aren't supposed to be fatal, I'm not sure what the problem is.
The good news: invoking /nix/store/***-leksah-<IP_ADDRESS>/bin/leksah seems to launch fine. (Oddly it didn't seem to be cleaned out of my /nix/store immediately after the failure).
Maybe others want to give it a try..

These can be difficult to debug. You can put set -x into some of the later phases to make bash vomit lots of information. One can usually find in it what command originally throwed the error silently.

This issue is fixed by 8f83fa04bcb9c06a293d0fa1650fb119ff46191c. The leksah changes are merged in 07a54c9918dbe52544e48afc39815585c234120c. Both will show up on master in a moment.

Nice! Thanks @peti!


Update Worker.php

let custom protocols also support custom protocol class.

Thank you for your pr.
Workerman had this feature before and removed because it will lead to unpredictable behavior.
For example, the following file and codes.
websocket.php
<?php
$worker = new Worker('websocket://<IP_ADDRESS>:1234');
...

It will load the websocket.php indefinitely.
So this can not be merged.
Anyway, thank you very much.


Use inner classes for types only reachable through one top-level

The cheap way to do this would be to traverse the graph starting from each top level and building up the sets of classes (and unions?) visited.  Then all the types that were visited through exactly one top-level can be inner classes of that top-level.

@dvdsgl  Do we still care about this?

Is there any chance to have it in the nearest future? 🙂It would be really nice addition to Swift to have this
struct AccountingYearsGetSchemaProperties: Codable {
    struct Collection: Codable {
        struct Items: Codable {
            let title, type, itemsDescription: String
            let properties: PurpleProperties

            enum CodingKeys: String, CodingKey {
                case title, type
                case itemsDescription = "description"
                case properties
            }
        }

        let type, collectionDescription: String
        let items: Items

        enum CodingKeys: String, CodingKey {
            case type
            case collectionDescription = "description"
            case items
        }
    }

    let collection: Collection
    let metaData, pagination: MetaData
    let propertiesSelf: SelfClass

    enum CodingKeys: String, CodingKey {
        case collection, metaData, pagination
        case propertiesSelf = "self"
    }
}

instead of Purple objects 😀
struct AccountingYearsGetSchemaProperties: Codable {
    let collection: PurpleCollection
    let metaData, pagination: MetaData
    let propertiesSelf: SelfClass

    enum CodingKeys: String, CodingKey {
        case collection, metaData, pagination
        case propertiesSelf = "self"
    }
}

@ned1988 Would you like to implement this feature in quicktype?  It's not an easy one, but we'd love to help you.

hi @schani! I would definitely like to try, but first I need to figure out how current implementation works 😀

Any progress on this?
It would definitely be handy, though I can see why it wouldn't be considered critical since it's easy enough to cut and paste things around manually.


installation error on linux

Hi! In fedora 38 and Ubuntu 23.04, an error occurs when installing the package
Python 3.11.2

P.s. It looks like the problem is due to Python 3.11, in Python 3.10 on the same operating systems, the installation goes without problems.

Hello,
Well caught, I thought I published the 3.11 version, but I just checked. And apparently I did not.
I will try to publish soon a new version with a proba method. This will also push the 3.11 version
Is that fine for you to use the 3.10 meanwhile?

Yes, so far I'm doing it

Version 1.0.4, now contains a wheel for python 3.11 :tada:

Installed on Python 3.11 without problems.


No shutter_time.csv in dataset

In relocalization.cpp, there is:
auto shutter_times = read_shutter(dataset_root + "/shutter_time.csv");
But I don't find any file named shutter_time.csv in the dataset.
When I run ./relocalizaiton, I just get nothing.

In relocalization.cpp, there is:
auto shutter_times = read_shutter(dataset_root + "/shutter_time.csv");
But I don't find any file named shutter_time.csv in the dataset.
When I run ./relocalizaiton, I just get nothing.

I did not find shutter_time.csv file, just realized that the file only exists in B5, B6 and B7. So close this issue. Sorry for bothering.


language/control and language/statement-prefixes cross contaminate

Statement Prefixes is a misleading name since all of the prefixes apply to Blocks.
There are three categories of controllers on these pages:  a) execution flow, b) message flow, and c) execution modifier.
The docs for quietly should merged into Prefixes.
The docs for try, do, sink, once, start, gather, react, and supply should be consolidated to Control Flow.

That's a nice one! Thank you very much.

Statement Prefixes is a misleading name since all of the prefixes apply to Blocks.

Should it be removed / renamed?

The distinction of taking a block and/or statement is not worth splitting the documentation of any one of these words onto two pages.
So I suggest renaming it  'Pragmatic Prefixes' and leaving only lazy, eager, hyper, race, and quietly on that page.  The effect of these keywords is practical and interfering which matches the English meaning; and that effect also echos well that of 'pragmas'.

I suggest "Prefixes", the only other Raku use seems to be in creating operators.  I don't see that as confusing, though document index entries might need a extra word.
An amendment because I just suffered for believing the "statement prefix" tag.   I liked "Code Prefixes" but worried that the Code-type implication is not correct (my ignorance about that class is great).
lazy my @seq = 0 ... 1_000_000_000_000;  is probably  unwanted enough to warrant a compile time warning.  It is clear that 'my @seq = lazy 0...$x;is usinglazy` in a statement.
Lacking discouragement, I will submit an issue for this.
And, as a starting point, I volunteer to merge the two pages while  conserving their current  meanings.

And, as a starting point, I volunteer to merge the two pages while conserving their current meanings.

If you can tweak the search categories in this area, welcome! This will be a great help.

lazy ...; is probably unwanted enough to warrant a compile time warning. ... Lacking discouragement, I will submit an issue for this.

I presume that should always have raised a compile time sink warning. But, as I once wrote in an SO answer:

My suspicion is that someone needs to clean the kitchen sink, i.e. pick up where Zoffix left off with his Flaws in implied sinkage / &unwanted helper issue.

(I've added a comment to that issue linking to another SO answer with more links.)
In short, the Sink handling in the current front end is full of holes.
A couple years ago jnthn said he expected RakuAST to make solving this intricate problem much easier.
(If you were wondering about some role you could play in polishing RakuAST, one that would give you a rich, small-bite-at-a-time-sized payoff in both contributing to Raku(do) and accelerating your learning of it, I imagine focusing on polishing sink handling using RakuAST might be just the ticket.)
In sum, I think filing an issue for this is moot and would just be unhelpful make-work; working on sink handling using the RakuAST work would be helpful make-better.
(Just my 2c. And if you prefer to file an issue because you plan on being the one to have the fun of closing it, ie you intend it to be make-fun rather than make-work, well I'd say that's tickety-boo.)

@raiph, thanks.  I'll take that as discouragement; and so will not submit a redundant issue.
And also thanks for the encouragement to nibble at the new AST.  I will take a look at it, but I will still focus on learning the LOW.  That is proving to be ample fun.
@Altai-man,  I am taking your 'tweak the search' as an approval of my intention.  I agree that chasing down the links is important.
That chasing will take some time.  I would also try to fill any related holes in the glossary, but those can be independent PRs.
Let me know if this will have any procedural differences  from a small,  one-and-done patch.

What's LOW?

The Lower Order Workings of Raku.

I have a 'issue.txt' of 2754 words describing my intentions and concerns regarding fixing this issue.  I am willing to put that here,
or as a comment to the PR.  But...
It touches upon a few tangential issues which may be moot by being road-mapped or as a matter of policy or procedure.   So rather than possibly provoke useless discussion and waste other's time, I would take pointers to the road-map, procedural guide, policy statement and/or  some insider's discreet advice.  That is fishing for help, but getting some coarse 'that is just not going to fly'  feedback might be more efficient for all.
I also have a branch, with the consolidation of a few of words.

It touches upon a few tangential issues which may be moot by being road-mapped or as a matter of policy or procedure

There is no way for me (or someone else) to guess what do you have in mind without explicitly stating it, so if you already have the text, it would help if you can post it.
As for the roadmap: I was the one who designed/implemented those categories according to my understanding. It's a very long story, the starter discussion is https://github.com/Raku/doc/issues/1410
Then the document is https://github.com/Raku/problem-solving/blob/master/solutions/documentation/search-categories.md
What you might find interesting is maybe this section: https://github.com/Raku/problem-solving/blob/master/solutions/documentation/search-categories.md#appendix-b-updates-to-the-list-of-supported-search-term-categories
I think there are not so many people who maintain the website, so matters like this one can be discussed openly and make into living as is, based on just the agreement of those concerned.

This is to address the LTA inclusion, based on syntactic position, of "keywords" in both statement_prefixes.pod6 and control.pod6.  The basis of this sorting is not consistently defined and the duplication is not helpful.
Actions for a fix (not in any real order):
A) Merge or move sections:
     Control Flow         Statement Prefix
        quietly     -->  quietly
                    <--  try
                    ?-?  do
                    ?-?  sink
        once        <--  once
        gather/take <--  gather
        start       <--  start
                    <--  react
        supply/emit <--  supply

B) Revise the combined text to maintain readability.

C) Rename "Statement Prefixes" so it names its content as a group
    by a semantic commonality instead of by syntactical position;
    I assume the filename will need changing to match the top
    heading/link.

D) Correct the links that get broken.

Expanding on the above.
Regarding the name 'Statement Prefix', now   my preference is for a name with the meaning of 'pragma' but I see  'pragma' as unavailable.  I have a mostly unsatisfying list of words meaning 'modifier' (which heads the list).  I'll keep those to myself so anyone may freshly brainstorm names.
Pragma, implies 'interfering', and what I intend to  leave in the prefix file interferes in a like manner.  Branching words belong in control flow.
So lazy, eager, hyper, race belong with modifiers as a programmer's sense of the branching doesn't much change with their presence.
Whereas, supply, react, start, gather, once and try all equate to a traditional conditional jumps or, loosely, a specialized set of them.
do and sink seem the odd cases.  do traditionally is a controlword, but grouping or otherwise packaging some code to be runnable is a syntactical wedge, not a branching.  So there is roughly fifty years of tradition, fifty years of hindsight, massive memory expansion, and roughly 100 years of future to consider.
sink seems much easier to put with the prefixes.  It announces what is so often implied.

Since hyper and race are prefixes only applicable to for,  I am indexing them under 'for'.


Redirection issue in all the tabs in the Custom Connector.

Describe the issue:
After updating a configuration in the custom connector tabs, it consistently redirects to the wrong page.
This happens all over the connector.
https://github.com/wso2/product-is/assets/41188245/b7b24920-aa3c-4723-a9f2-7fe4e8f31bd1
How to reproduce:

navigate to the created custom connector.


Pressing "run python file in terminal" doesn't work

Pressing "run python file in terminal" doesn't work since the update. Worked fine with older version of the python extension.
Verified on a clean vscode profile with just one vscode-python
Environment data

VS Code version: 1.34.0
Extension version (available under the Extensions sidebar): 2019.5.18426
OS and version: win7 SP1 x64
Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 x64
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Expected behavior
file that is being edited is being executed in terminal
Actual behavior
nothing happens
Steps to reproduce:

make a one-line python file: print("sdfsdgfb")
press "run python file in terminal"

@Meru
Please could you check your user settings.json and workspace settings.json for the existence of a setting for terminal.integrated.shell.*.
I believe you may have changed the shell to use command prompt instead of powershell.
Note: This isn't a user error, its a bug at our end and I'm trying to identify the exact cause so we can fix this issue ASAP and release a fix.

This issue is currently happening when the user settings.json has the following :
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"
When opening the Toggle Developer Tools, I get the message below (multiple times but the same message)

The following occurs when I click on the file in Visual Studio Code and select Run Python File in Terminal (File path names removed)

Python Extension Version: 2019.5.18426
Visual Studio Code Version: 1.34.0 (system setup)

Same error for me, simple print("Hello") does not work
Winver: 1903 (18362.145)

Version: 1.35.0 (user setup)
Commit: 553cfb2c2205db5f15f3ee8395bbd5cf066d357d
Date: 2019-06-04T01:17:12.481Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18362

VS Code Python extension: 2019.5.18426 (4 June 2019)

Python: 3.7.3 64-bit
pip: 19.1.1
virtualenv: 16.6.0

@ibakirov
What's your default shell command prompt or powershell?
Also, please could you let me know what happens when you select the menu Run python file in terminal.
Is the terminal opened and if so what happens.
Finally, please could you send a screenshot of the terminal and selecting the command.

Hi everyone, we're sorry about this bug. We hope to have a fix out ASAP.
@gateslm Your issue should be resolve in the fix.
@ibakirov & @Meru please could you reply back to the question, that'll help us address the issues you are having as well.

settings.json:

Developer Tools:

Hi @ibakirov, thanks for providing more info.
The .vscode/settings.json is the workspace settings. Would you mind opening the user settings.json by going opening the Command Palette (View > Command Palette...) and looking for "Preferences: Open Settings (JSON)"?  Sorry about that, we just want to make sure we understand what's going on.

@luabud yes, of course.. I have never touched shell settings both in workspace and user settings:

Mine has started working after changing the default shell to PowerShell. The terminal looks awfully different though, and I don't know if that's good.

I am having the same issue since upgrading to v1.35.0. From context menu "run python file in terminal" has no effect, Nothing is logged in the console of the developer tools either. I have the setting "terminal.integrated.shell.windows": "C:\windows\System32\cmd.exe" set in my user settings (see below).

I can use ctrl + ' to spawn new cmd prompt which opens to the correct directory and automatically executes to the correct conda env as it used to, I can then simple type python filename.py and runs as expected. Hope this information helps fix, I do use this feature a lot as part of my workflow

wait until the fix of @DonJayamanne is done (PR Validation) ... we all are waiting for a fix 👍

Yep when using git bash and default terminal the & character is placed before the reset of the command

This does not occur with either CMD or powershell set as the default shell

@Meru @ErickMurage @Ibak

I confirm VS Code Python extension: 2019.5.18678 (5 June 2019) resolves this issue and Run Python File in Terminal command works fine!

hola, pues a mi me aparece esto "Cannot read property 'comspec' of undefined" cuando ejecuto la terminal de python, estoy aprendiendo a programar, soy principiante, no se que significa y no he encontrado como solucionarlo. agradezco su ayuda.

hola @estebanaranza. Puede abrir un nuevo issue que ofrezca más detalles sobre este error, cómo los pasos para reproducirlo? Aquí: https://github.com/microsoft/vscode-python/issues/new?template=bug_report.md

hola, cordial saludo, no se que paso, pero ya volvió a funcionar la terminal de python, no le hice nada, solo que la extension de python en visual studio code, me pidio reiniciar y funciono, no se que le hicieron,  entiendo poco de esto, apenas estoy aprendiendo, pero gracias por solucionarlo!!!


Algod Algorand Configuration

Issue 1/2
The default connection doesn't work.
Solution 1/2
Set DNSBootstrapID: testnet.algorand.network
Issue 2/2
During bootstrapping, if node catchup doesn't work, there are many logs, and the storage volume runs out of memory.
Solution 2/2
Set LogSizeLimit:104857600

For Issue 2/2 we disabled the Log file completely, now we log on stdout only (k8s style)

For Issue 1/2
the problem surfaces if Version is not defined or if Version<4


feat: centralize localizations

Changes
Provide a standard I18nProvider that can accept async resolvers to load the different json.
Make all translations namespaced.
Make the translation strings automatically extracted from the code at build time.
Unrelated to the i18n feature but required to fix the library, the code is now build and bundled with rollup in order to be able to bundle static assets like CSS and SVG files.
What does this mean?
The copy we show to the user is as important as the UI itself. We want it to be checked, reviewed, and properly reused. We can build a glossary and refer to it in the translations, eg "go_to_kafka_instances": "Go to $t(common:kafka) Instances".
An easier development workflow
There is no need to update the json manually. The workflow will look like this:

do some changes that adds some translation key
run npm run parse-i18n to extract the strings and add them to the right namespaces
commit the changes

Eventually we'll add husky to the repo and make the keys extraction enforced and automatic.
An easier copy review process
With all the translations in a single place it should be easier to check the copy in batches, and do cross-references as mentioned above (glossary).
Eventually, we'll add a page in Storybook with a table to show all keys and relative translations, to make it easier to spot missing translations or repetitions.
One single translations provider
app-services-ui will have to use the I18nProvider component added in this PR, setting up with the proper strategy to load the locale json files also made available by this PR. Something along the lines of:
import { I18nProvider } from '@rhoas/app-services-ui-components';

<I18nProvider
  lng={'en'}
  resources={{
    en: {
      common: () => import('@rhoas/app-services-ui-components/locales/en/common.json'),
      'create-kafka-instance': () =>
        import('@rhoas/app-services-ui-components/locales/en/create-kafka-instance.json'),
      kafka: () => import('@rhoas/app-services-ui-components/locales/en/kafka.json'),
      metrics: () => import('@rhoas/app-services-ui-components/locales/en/metrics.json'),
    },
  }}
>
  ...
</I18nProvider>

Note that imports must be statically analyzable by webpack to make code-splitting work, so we have to manually specify the imports one at a time.
The result is that the app will load the different json at boot time.

Unfortunately, we can't load the namespaces on demand, react-i18next doesn't allow that to avoid flashing untranslated keys to the user.
Very important: federated modules must not create their own I18nProvider wrapper. Any instance of useTranslation will refer to the nearest provider. Having multiple of them means having multiple versions of the translations, which means we could show mismatched information, and also leads to unnecessary downloads for the user.

Your description of these updates sounds good to me!

I forgot to mention, it's now possible to use markdown in the translation file to write basic markup like bold, italic, etc. without messing with the HTML.

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix some small style issues.

Codecov Report

Merging #329 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #329   +/-   ##
=========================================
  Coverage     90.74%   90.74%
  Complexity      499      499
=========================================
  Files            79       79
  Lines          1989     1989
  Branches        152      152
=========================================
  Hits           1805     1805
  Misses          149      149
  Partials         35       35

Impacted Files
Coverage Δ
Complexity Δ

.../com/google/instrumentation/stats/MutableView.java
89.28% <100%> (ø)
2 <1> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Iphone 6 ios 12.0.1 support.

when will a jailbreak for the iphone 6 ios 12.0.1 come.

If you are in a hurry, I encourage you to submit your pull requests to collaborate, @yunus70 , but this kind of issues are useless.

Ookkayyy


Add /admin redirect to /nova

This is not directly from the make a wish form but is a result of @Arvind-Srinivasan's request.

Thanks lol


Reference other project's vue files in a monorepo setup

Hi Author,
I've a monorepo setup like this:
`
packages
---ads
---shared
`.
And ads and shared folder has their own tsconfig.json.
a vue file in ads will import a vue file in shared.
But volar complains it cannot find the vue file, but for ts/js file, there's no problem.

How can I resolve this issue, please help.

hi @oliverzy, try add "include": ["src/**/*", "../shared/src/**/*"] to tsconfig for finding *.vue files.

"../shared/src/**/*

Thanks for your reply. I have tried as you mentioned above. It doesn't work as well.
This is a very big project. Tomorrow I will make a much simple setup to reproduce this issue.

I found that it does not working in monorepo indeed, and it should be fix in 0.21.16.

any workaround on this ?


[New Port Request] h5cpp

Library name: h5cpp
Library description: library to interact with h5 files
Source repository URL: https://github.com/steven-varga/h5cpp
Project homepage (if different from the source repository): http://h5cpp.org/
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

Please reopen this issue and continue PR https://github.com/microsoft/vcpkg/pull/11746 If you wish to add this port in the future.


[CRITICAL] [Advanced Approval Workflows] Implement <ApprovalWorkflowSection /> component that displays a single

Coming from: #wave-control: advanced approval + workflows polish

@Guccio163 can you comment on this issue so I can assign you?

Yes, I just wanted to take it today, assign it to me and I'll probably finish it tomorrow!

@VictoriaExpensify Can you please assist with paying @shubham1206agra for a C+ review of the PR?

Sorry, automation didn't work since the External label wasn't applied. Working on this now.

@shubham1206agra - I've sent you an offer in Upwork, can you please let me know when you've accepted it and I'll approve payment. Thanks!

Payment Summary:
Contributor: @Guccio163 is from an agency-contributor and not due payment
Contributor+: @shubham1206agra paid $250 via Upwork
Thanks for your work on this issue!


Fix kfp jinja template variable formatting

-Remove single quotes for pipeline input and outputs
-Replace illegal characters in id names
-Add link to pipeline experiment
Fixes #1025
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

The latest update produces the following output:
   # Operator for "examples/pipelines/dax_noaa_weather_data/Part 1 - Data Cleaning.ipynb"
    notebook_op_2 = NotebookOp(name='examples_pipelines_dax_noaa_weather_data_Part_1___Data_Cleaning',
                               notebook='examples/pipelines/dax_noaa_weather_data/Part 1 - Data Cleaning.ipynb',
                               cos_endpoint='http://...',
                               cos_bucket='pipeline-artifacts',
                               cos_directory='analyze_NOAA_weather_data',
                               cos_dependencies_archive='Part 1 - Data Cleaning-e07e1b7f-568b-4bc3-9fc6-da372fd58daf.tar.gz',

Note the path prefix examples/pipelines/dax_noaa_weather_data/, which shouldn't be included because references are relative to the location of the pipeline file.
Neither the original pipeline file
          "app_data": {
            "filename": "Part 1 - Data Cleaning.ipynb",
            "runtime_image": "amancevice/pandas:1.0.3",
            "env_vars": [],

nor the generated tar archives contain the path information:
$ tar -tvf Part\ 1\ -\ Data\ Cleaning-e07e1b7f-568b-4bc3-9fc6-da372fd58daf.tar.gz
drwxr-xr-x  0 patti  staff       0 Nov  2 14:43 /
-rw-r--r--  0 patti  staff   37843 Nov  2 12:38 Part 1 - Data Cleaning.ipynb

Confirmed that the exported Python DSL works as expected for the tutorial pipeline.

The exported YAML file still uses fully qualified names
...
--file "examples/pipelines/dax_noaa_weather_data/load_data.ipynb"
...
--file "examples/pipelines/dax_noaa_weather_data/Part
          2 - Data Analysis.ipynb
...
--file "examples/pipelines/dax_noaa_weather_data/Part 3 - Time Series Forecasting.ipynb"


async no work.

I can scan the code then firefox closes
tested in osx and linux.

i can confirm async example is broken on windows and on linux

there is no stack trace no nothing.
just when firefox is connecting to phone is show the whatsapp interface with all groups for 1 second and than crashing.
the heartbeat is keep beating.
@alfred82santa what your version of firefox and geckodriver?
i am using the last version maybe this is the problem.

It looks like the problem is with firefox, not geckdriver. Which version do you use?
Geckodriver only map webdriver standard methods to marionette methods. Marionette is the firefox api to control it.

Is this issue now resolved?

I'm not going to keep developing async version of driver. It was useful during a few time, but it doesn't work well. I created a new project https://github.com/alfred82santa/whalesong
It works better for async enviorments.
Maybe you should remove old async driver in order to avoid new bugs.

Async is really broken.
First I had to upgrade to Python 3.5+, so I just went to 3.7.
Then I had a problem with Gecko driver, so I installed it like this via dockerfile:
#============
# GeckoDriver
#============
ARG GECKODRIVER_VERSION=latest
RUN GK_VERSION=$(if [ ${GECKODRIVER_VERSION:-latest} = "latest" ]; then echo $(wget -qO- "https://api.github.com/repos/mozilla/geckodriver/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([0-9.]+)".*/\1/'); else echo $GECKODRIVER_VERSION; fi) \
  && echo "Using GeckoDriver version: "$GK_VERSION \
  && wget --no-verbose -O /tmp/geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v$GK_VERSION/geckodriver-v$GK_VERSION-linux64.tar.gz \
  && rm -rf /opt/geckodriver \
  && tar -C /opt -zxf /tmp/geckodriver.tar.gz \
  && rm /tmp/geckodriver.tar.gz \
  && mv /opt/geckodriver /opt/geckodriver-$GK_VERSION \
  && chmod 755 /opt/geckodriver-$GK_VERSION \
  && ln -fs /opt/geckodriver-$GK_VERSION /usr/bin/geckodriver

But I'm still getting those errors:
Traceback (most recent call last):
File "sample/async_echo.py", line 9, in
driver = WhatsAPIDriverAsync(loadstyles=True, loop=loop)
File "/usr/local/lib/python3.7/site-packages/webwhatsapi/async_driver.py", line 28, in init
autoconnect=False, extra_params=extra_params)
File "/usr/local/lib/python3.7/site-packages/webwhatsapi/init.py", line 196, in init
self.driver = webdriver.Firefox(capabilities=capabilities, options=options, **extra_params)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in init
keep_alive=True)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 156, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
While the sync version keeps working, I just had to upgrade the print calls.


refactor(content-docs): read category metadata files before autogenerating

Motivation
Complete a TODO. This means if the user wants to enhance / re-implement the generator, she doesn't have to read the files herself, but only utilize what's passed in as arguments.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Build

Merging to unblock myself from more refactors to come... Another day wanting for stacked PRs on GitHub

ok let's move on, b

I'd rather throw/warn than have some "deterministic behavior" for bad configuration in the first place.

I'd rather do both actually.

Undefined behavior is an important concept in any system. UB draws the boundaries and allows us to make important optimizations. It's the same as keeping things undocumented: anything undocumented is not encouraged, and we can break your code without warning.

Not the same
Undocumented behavior means users can't complain if this behavior change
Even if a behavior is undocumented, some users might end up relying on it, and be affected if this behavior change randomly. What I want is that this undocumented/undefined behavior changes only on purpose, when we decide to change it explicitly.
This is somehow related to Hyrum's law

BTW we should write tests for such behavior and warning message.
If you have undefined behavior, then you can't write tests so reliably because it can pass locally and fail on the CI

I'd rather burn those users with invalid configs very, very badly until they realize their mistakes than to keep their site work🤓 Especially behaviors that never made sense in the first place (having two duplicate category files)

That's also a good choice :D throwing is deterministic so if you want that I'm ok


Remove the "Evaluated by" field

Each trainee progress step has a field for "Evaluated by"
I think this just becomes the person who did the data entry.  If it is not used in any way, we should remove it.
Assiging to https://app.asana.com/0/412899495476717/list to decide if she wants to see this data.
Created automatically from an Asana task.

Yes, you're right that it is just the person who did the data entry. We do not need to keep this data.

@elichad can you verify that this hover displays correctly with this field removed?

(the "evaluated by" line should be gone entirely)

Yes, that line is removed (the possible 'Discarded' text in the hover is also removed with the removal of the discarded field). Screenshot from my working branch for the checkout feature


thumbnail generation and file upload sometimes not working

I am able to upload files correctly via the form (select image from local source). The thumbnails were generated perfectly.
But if i use it without a form to pick up a file from a remote url, it does not work sometimes.
For example:
	$image_url = 'https://images.curved.de/article_detail/2014/03/macbookair.jpg';
	$this->Attachment->set(array('attachment' => $image_url));
	$this->Attachment->set(array('model' => 'Post'));
	$this->Attachment->save();

It saves only the original image without generating the thumbnails. If i use this image instead, all works fine: http://pmeyhoefer.de/blog/wp-content/uploads/2013/12/macbook_air.jpg
Another problem with this image example:
http://vignette2.wikia.nocookie.net/ipod/images/4/42/IWeb_macbook.png/revision/latest?cb=20110903153651
With this example, the base file name is "latest" without extension. So i cannot display this image. This is because $fileName = basename($socket->request['uri']['path']); fail in _grab() method. The thumbnailgeneration here is working.
i assume that i have configurated the plugin correctly. I tested it with php and imagick thumbnail generation, both methods are not working as i expect.
Whats the problem?

What is your expectation?

My expectation is, that the thumbnails were generated. The thumbnail generation generally works fine, but not in some cases as explained above. The second problem is that the filename of the original image is not correct if the url is something like that http://vignette2.wikia.nocookie.net/ipod/images/4/42/IWeb_macbook.png/revision/latest?cb=20110903153651 In this example the filename is "latest" without extension (the thumbnails were generated correctly with extensions)

I found the bug/problem.
In _grab() Method the 'type' of the requested source is set with $headers['Content-Type'].
_createThumbnails checks if the type is in imageMimeTypes or _mediaMimetypes array. If both returns false, the thumbnails were not created.
The problem is the content-type of this link is text (i have no idea why)
https://images.curved.de/article_detail/2014/03/macbookair.jpg
Generally, is it a good idea to read the type from headers?

Sounds to me like the problem is with the image, not with the plugin.

Oh i checked it again. The content-type of the image is 'image/jpg' (not text). And 'image/jpg' is not listed in _imageMimetypes  array (instead of ''image/jpeg''). So the problem is , 'image/jpg' is missing in the list of supported mime types.

Great, please can you send a PR to correct that, and we'll get it merged.

Yes of course you are right, i am just wondering why this image has a wrong mime-type. Its not my image, i just found it via google. So its just a dummy.

Now i have created a validation rule to check if its a valid mime type or not. This prevent that faulty images were uploaded without generating thumbnails. But i am just wondering why the original image is saved but the thumbnails not.

Good idea :+1:


Add GetSendQueueSize() for Reporter

Dynamically sample based on queue size

What dynamically sampling? In SkyWalking 8.4.0, CDS(Configuration Discovery Service) for agent is driven by the backend. Read SkyWalking's document for more details.


WFCORE-310 - change ignore-unused-configuration default true

if nothing is specified, then ignore-unused-configuration = true, if --backup is used and host.xml has unspecified value, then  ignore-unused-configuration is false, otherwise the value configured in host.xml is used.
WFCORE-981 - RemoteDomainConnectionService uses out of date HostInfo data when reconnecting, this is now calculated on-demand, for example during reconnection to the DC.

Thanks for the feedback. Closing this, will reopen with separate commits.


GLTF files can prevent PNG/SVG files from being imported

Godot version
Latest master 2a0aef5f0912b60f85c9e150cc0bfbeab7de6e40 but different behavior on master
System information
macOS 13.3
Issue description
Some hard-to-isolate situations can cause other files like PNG files to be permanently unimported. In some cases this can be fixed by deleting the .import files, but in some cases Godot gets stuck and it refuses to even regenerate the .import files let alone perform the import.
One of these situations can be triggered by the GLTF files in the attached minimal reproduction project. Part of this issue is a regression since 4.0-stable, part of it also exists in 4.0-stable.
Steps to reproduce

Open the minimal reproduction project with the latest master.
Double-clicking on any of the PNG files gives an error that the resource can't be opened.

  Failed loading resource: res://torch/text/baseColor_1.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1263 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN
  Failed loading resource: res://torch/text/emissive_1.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1263 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN
  Failed loading resource: res://torch/minecraft_torch_minecraft_torch.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1263 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN
  Failed loading resource: res://torch/minecraft_torch_minecraft_torch_emissive.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1263 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN

Try deleting the .glb and .gltf files. Double-click on a PNG file. Same errors.
Try restarting Godot after deleting the .glb and .gltf files. Double-click on a PNG file. Same errors.
Try deleting the .png.import files. The PNG files will now import and load fine.
Note: If the .glb and .gltf files are deleted before you start Godot for the first time, the PNG files load fine.
It seems like a very serious bug in the import pipeline if something can cause a PNG file to never import.

Another problem that you can test in the same minimal reproduction project, this has regressions since 4.0-stable:

Open the minimal reproduction project with the latest master.
Double-click on the .glb file. The torch will be white. This is a regression, in Godot 4.0-stable the torch has the proper textures. In the console it prints these errors:

  Failed loading resource: res://torch/minecraft_torch_minecraft_torch_emissive.png. Make sure resources have been imported by opening the project in the editor at least once.
  modules/gltf/gltf_document.cpp:3282 - glTF: Image index '0' couldn't be loaded with the name: minecraft_torch_emissive. Skipping it.
  Failed loading resource: res://torch/minecraft_torch_minecraft_torch.png. Make sure resources have been imported by opening the project in the editor at least once.
  modules/gltf/gltf_document.cpp:3282 - glTF: Image index '1' couldn't be loaded with the name: minecraft_torch. Skipping it.

Double-click on the .gltf file. Similarly, the torch will be white, a regression, and errors in the console. But also note how Godot creates 2 new PNG files when double-clicking on the .gltf.

First of all it's a bug that Godot tries to extract textures that are already separate files.
Second of all these are valid files, you can open them with GIMP, Firefox, etc, but Godot refuses to import them.

Delete icon.svg.import in the root of the project. Now Godot will refuse to import icon.svg, and it does not generate the icon.svg.import file.
Delete all .png.import files. Now Godot will import those, and it will also import icon.svg, and double-clicking on the .glb or .gltf files will result in the models having textures.
Delete the .glb.import file. Try double-clicking it again and the texture will be white again.
Delete icon.svg.import in the root of the project. Now Godot will refuse to import icon.svg (again), and it does not generate the icon.svg.import file (again).
It seems like a very serious bug in the import pipeline if something can cause the .import files to not generate.

The first issue is also present in 4.0-stable, I have written some text about that collapsed:

Open the minimal reproduction project with Godot 4.0-stable.
Double-clicking on any of the PNG files gives an error that the resource can't be opened.

  Failed loading resource: res://torch/text/baseColor_1.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1209 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN
  Failed loading resource: res://torch/text/emissive_1.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1209 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN
  Failed loading resource: res://torch/minecraft_torch_minecraft_torch.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1209 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN
  Failed loading resource: res://torch/minecraft_torch_minecraft_torch_emissive.png. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_node.cpp:1209 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN

Try deleting the .glb and .gltf files. Double-click on a PNG file. Same errors.
Try restarting Godot after deleting the .glb and .gltf files. Double-click on a PNG file. Same errors.
Try deleting the .png.import files. The PNG files will now import and load fine.

Minimal reproduction project
wherearemyimports.zip

Unable to reproduce on 4.0.2 stable on windows. Is this possible macOS specific?

@lyuma Thanks for testing. I re-tested with 6980b2bf1761b9b980920dc5a4d32f240d88e211 on several different platforms that I have access to. I can still reproduce the issue on macOS arm64 and I can also reproduce the issue on my Linux arm64 VM on my Mac but it works fine on Windows x86_64 and Linux x86_64. So this seems like it might be an ARM-specific issue, or possibly an issue specific to the Mac hardware. Either way this is strange, and it would be helpful if somebody could test macOS x86_64.

^ can load the pngs
Godot Engine v4.0.2.stable.official.7a0977ce2 - https://godotengine.org
OpenGL API 4.1 INTEL-18.8.5 - Compatibility - Using Device: Intel Inc. - Intel HD Graphics 5000 OpenGL Engine

WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:70)
res://torch/text/baseColor_1.png: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).
res://torch/text/emissive_1.png: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).
res://torch/minecraft_torch_minecraft_torch.png: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).
res://torch/minecraft_torch_minecraft_torch_emissive.png: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).

@aaronfranke, since there's been some operating system updates to macos, can you do a check again?


GAMI-Net for Multiple Response Regression

Is it possible to use the method for a multiple target regression problem (Input1 + Input2 + Input3 = Target1 + Target2 for instance)?
The examples you provide considers only one target. Is it possible to reconfigure the output layer structure for multiple targets? My targets are highly correlated, so fitting separate single response models would ignore the correlations between them.

I received a response, apparently the code does not support multiple responses.


Refactor Domain Class

Proposed changes:

Update class Domain using Clean Code techniques, making it clearer.

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[X] reformat files using black (please check Readme for instructions)

Pull Request Test Coverage Report for Build 383743021

55 of 57 (96.49%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 86.744%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

rasa/shared/core/domain.py
55
57
96.49%

Totals

Change from base Build 359921846:
0.01%

Covered Lines:
20816

Relevant Lines:
23997

💛  - Coveralls


small issue

Closes #19

Thanks for the PR.
I am unable to reproduce the bug on macOS, but yeah there shouldn't be a trailing comma there.


Switch Platform Question

This issue is slightly related with #21. I was recently working on a university project and decided to use platform_widgets for easier cross platform support. I decided to implement a separate settings screen and add a change platform button under dev settings. However upon implementing that every time platform was changed I was navigating back to the main screen. As I understand changeToCupertinoPlatform() should be used in the beginning of the app but is there a way to do that and have the changes propagate in the root widget once the back button in the settings screen is pressed rather than jumping directly back?

Sorry for the delay...
I have been thinking of having a root widget that would rerender when the platform changed (in fact calling it via inherited widget instead) but I have not had the time to do it. Issue is that in order for the app to switch platforms, the build method needs to be called on every page. This does not naturally happen on parent pages.
It could look something like: (just top of my head)
// app
void build(BuildContext context) {
    PlatformProvider(
      builder: (BuildContext context) =>  PlatformApp(...)
   )
}

//settings page
void onChangeToCupertinoPlatform(BuildContext context) {
    PlatformProvider.of(context).changeToCupertinoPlatform()
}

This may or may not work, will have to build it to see.

I have built locally something that would help this issue. Stay tuned

@aqwert any news on this? It will be awesome if we could change platforms like that :muscle:

Have merged in the PlatformProvider. v0.11.5 has been published

I was trying to give the PlatformProvider a try today and it seems that your package has some problems and that version is not live yet. Check pub.dev analysis tab. Thanks for the update btw 👍

ok, I will have a look... might be a merge issue.

Seems like the pub store is using version 1.5.4-hotfix.2 instead of what I built it against for 1.6.2. This was the release before this update. Will need to resolve that first before getting this out

Published v0.12.0 which targets the correct flutter version and also has the PlatformProvider

Tested v0.12.0 and it's working perfectly, thanks! Already found some issues in my Cupertino widgets thanks to this 😅
Since this is now done, is there a way to call the changeTo* functions when the "Toggle Platform Mode" option on Android Studio or the "iOS" option on Dart Dev Tools are clicked? Related to https://github.com/aqwert/flutter_platform_widgets/issues/19

Closing as it addresses the original issue. Issue 19 is still open to address your additional comment


get error when i try to customize error page on CI 3.1.11

when I set my error page on routes 404 override, its not work. its always goes to default errors page CI (views/errors/html/error_404.php)
when I change CI error page with mine, its work. BUT, when i try to put assets from my css, its turn "Message: Call to undefined function base_url()". then,
When I set $ci = new CI_Controller(); $ci =& get_instance(); $ci->load->helper('url'); on that error page, then its will turn another error. which is "Unable to locate the specified class: Session.php" , when i had session on that URI

what could I do for it? is that my wrong there? helppppp

Its suck, sorry

This is a bug tracker. Please post your help requests on our forums.


Impossible to use the terminal to minikube from documentation

Hello,
We cannot use the terminal.

[Katacoda] support has been removed (https://blog.k8s.io/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/).
For that reason, we won't work on a fix.

Also it seems to be same issue as https://github.com/kubernetes/website/issues/39505#issuecomment-1434931638
/triage duplicate

/remove-triage duplicate
/kind bug
/language fr
Similar, but not a duplicate (different language).

We will update this page to remove the Katacoda tutorial.

We have an umbrella issue raised https://github.com/kubernetes/website/issues/41496 to remove tutorials that rely on Katacoda for all localized documents.

This looks similar (possibly a duplicate) of issue https://github.com/kubernetes/website/issues/41380 raised two week ago.


question: How to make invariant that requires an expected version if the aggregate does exist?

When using the express app, I would like to be able to require the expectedVersion(If-Match) for certain aggregate commands.  The expectedVersion seems not to be exposed anywhere in the the aggregate api.  Is there another way to do this?

Hi Tom
Please look at this block that builds the internal command from express requests, including if-match headers:
https://github.com/Rotorsoft/eventually-monorepo/blob/77ba11bb591f9fa8302d8aa98bec6f010d04ce46/libs/eventually-express/src/handlers.ts#L155
Hope it helps!

The issue is that in the aggregate implementation, the business rules don't have access to the expectedVersion in either the given or on declarations.  What I'd like to do is require expectedVersion for certain commands so that I can granularly constrain concurrency issues based on what is being commanded of the aggregate.  Do you think exposing expectedVersion to the aggregate commandhandler is appropriate for this use case?

The framework handles concurrency automatically. All you have to do is pass the expectedVersion as part of the command arguments.

Yes but there is no way to enforce the requirement to use exepectedVersion.  If you don't specify expectedVersion when calling the command, it will run the command with no concurrency check.  Perhaps it's an anti-pattern but Ideally we should be able to enforce the requirement of expectedVersion in an aggregate invariant per command.

if you don't provide the expected version when invoking the command (via headers or client port), it means you don't care as long as no other user is mutating your aggregate in the middle of your transaction.... this is enforced here:
https://github.com/Rotorsoft/eventually-monorepo/blob/77ba11bb591f9fa8302d8aa98bec6f010d04ce46/libs/eventually/src/handlers.ts#L130

if you don't provide the expected version when invoking the command (via headers or client port), it means you don't care as long as no other user is mutating your aggregate in the middle of your transaction.... this is enforced here:

I'd like to revisit this.  It would be nice to have an option to be able to allow concurrent commands to an aggregate.
Currently fallback optimistic concurrency control is enforced here....
https://github.com/Rotorsoft/eventually-monorepo/blob/master/libs/eventually/src/handlers/commit.ts#L36
I understand this would allow possible duplicate event versions to get written to the store but again it would be really nice to somehow allow this at the aggregate or even command level as an option to users as there are certain situations where concurrent writes would be acceptable to an aggregate.  Your thoughts @Rotorsoft?

You don't want duplicate versions, and the framework enforces this rule with optimistic concurrency. Can you describe the type of scenario you are considering in detail? In event sourcing, concurrent writes are serialized to maintain events in a strict deterministic order... but you can always find high-frequency scenarios where you might want to optimize this process via internal retries, around aggregate boundaries, etc. This framework is not considering any of these edge cases yet, mostly focusing on simplicity and usability for general applications, but I can see the possibility of a simple retry strategy when concurrency errors are found and a specific expected version is not required.

At first I thought duplicate event versions and concurrent writes would be fine but I also just realized that the snapshot returned from a command would be incorrect in a concurrent write situation.  I see that other event store frameworks allow ignoring concurrency but I think you’re right to require concurrency control for reducible artifacts in eventually.


GitHub Issue #174: Clean up code climate issues

For now we decided to use Codacy instead of Code Climate. This pull request addresses a range of Codacy issues.

Ready for review

LGTM


How to use this plugin for deploy?

Hi Johndevs,
is there a possibility to use this plugin to bundle a deploy unit?

Thanks & br

Hi, yes that is fully possible!
To create a WAR archive you simply run the war task and it will create a the archive under build/libs. You can deploy that on any server.

Hello John,
I ran gradlew war task with your plugin (couldn't find anything like war in the vaadin task folder), and the resulting war had empty WEB-INF/lib folder. When I copied all the dependency jars from payara folder, it worked for the exploded war, but the compressed stil complained about classes missing (precisely java.lang.ClassNotFoundException: com.vaadin.server.VaadinServlet)
Am I missing something?

Hi, running the war task as you did should produce a working archive with the dependencies included. Could you post the build.gradle you are using so I could try reproducing the issue?

Hi,
Here are the steps I did:

Deleted everything from build/libs folder to give gradle another chance to do its job
Ran gradlew war (gradle version 4.6, but with 4.0 installed previously it didn't work either)
war's WEB-INF only contains classes folder, no lib folder, and obviously no dependency jars inside.

This is just my learning project, so the build.gradle is basic, but I'm also taking this opportunity to learn how to deploy to an independent server. The war built with Maven works and can be deplyed to Tomcat. Here's build.grade:
`plugins {
id 'com.devsoap.plugin.vaadin' version '1.3.1'
}
group 'com.quayal'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
`


Not enough lewd commands

Hi! Loving the bot but it needs more horny/lewd commands. I would be really happy if this could be added. Have a nice day/night!
UwU

there are no plans to add any "horny" or lewd commands, now get back in your cell


updated example urls.py to use path() and added redirect of default URL

Problem

When running the test app, you get a 404 if you browse to http://localhost:8000/ - which is not user friendly.

The URLs used the url() function which is likely to be deprecated in a future Django release.

Solution

I added a RedirectView to redirect from the root path to 'admin/'

Switched to use path() syntax

Acceptance Criteria
Ran existing test suite and tested manually.

Coverage increased (+0.001%) to 96.256% when pulling ba17bbeb789d9cd3891818cb3179b78e8bbeed0b on matthewhegarty:example-app-url-update into edd2abef503a3f34914bb5cd4767a5174f0dfe3c on django-import-export:master.


Inconsistent pixel range values

In the adversarial training code, the input to the model is in range (-1, 1). However, in the attack code the pixel values are clipped in range (0,1). Seems like a bug to me, unless I am missing something.

We optimize in [0,1] and repeatedly convert it to [-1,1] on line 61.
https://github.com/hendrycks/ss-ood/blob/master/adversarial/attacks.py#L61

Thank you for the response. I am using your code in the 'adversarial' directory to replicate the numbers in table 1 of the paper. To get the standard adversarial training numbers I modified https://github.com/hendrycks/ss-ood/blob/master/adversarial/train.py as follows:

Set attack_rotations = False in the attack definition
Replace https://github.com/hendrycks/ss-ood/blob/master/adversarial/train.py#L135-L142 with bx, by = bx.cuda(), by.cuda()
Set by_prime = None
Comment out https://github.com/hendrycks/ss-ood/blob/master/adversarial/train.py#L153

However, I am getting similar robustness numbers for both the cases (with and without rotation loss). Can you please tell me how one can replicate the numbers in table 1 of your paper?

Are you still using rotations in any way? If so, then it's not standard adversarial training.

I don't think I am using rotations at all in my standard adversarial training script. Based on the changes above, I am never generating rotated images or using the rotation loss.

What's your adversarial accuracy?
On Thu, Feb 20, 2020 at 12:19 PM Pratik Vaishnavi<EMAIL_ADDRESS>wrote:

I don't think I am using rotations at all in my standard adversarial
training script. Based on the changes above, I am never generating rotated
images or using the rotation loss.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hendrycks/ss-ood/issues/8?email_source=notifications&email_token=ACZBITUYY4KGNWYSPTQ6B6DRD3QU5A5CNFSM4KVMVC4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMP5M3A#issuecomment-589289068,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZBITUGSNRYEL3DUFWMD53RD3QU5ANCNFSM4KVMVC4A
.

I am getting around 50% for both cases, for a 10-step PGD attack (eps = 8/255, step size = 2/255)

That simply cannot be. Try the code from
https://drive.google.com/file/d/16B7Bt-lqQlD24XTmMip40D077VX-Lc5L/view?usp=sharing
for normal adversarial training.
On Thu, Feb 20, 2020 at 12:42 PM Pratik Vaishnavi<EMAIL_ADDRESS>wrote:

I am getting around 50% for both cases, for a 10-step PGD attack (eps =
8/255, step size = 2/255)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hendrycks/ss-ood/issues/8?email_source=notifications&email_token=ACZBITTOCARAYJWSTVSC3H3RD3TM7A5CNFSM4KVMVC4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMP7Y3A#issuecomment-589298796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZBITS7L4LOVW2T5KU65ODRD3TM7ANCNFSM4KVMVC4A
.

Thank you for taking out time to answer my queries and sharing your code, I really appreciate it.
I tried the code that you provided for baseline, and re-ran the code for the rotation model and I got the following results:
[Baseline]
{'batch_size': 128, 'dataset': 'cifar10', 'decay': 0.0005, 'device': 1, 'droprate': 0.0, 'epochs': 100, 'layers': 40, 'learning_rate': 0.1, 'load': 'snapshots/baseline/', 'model': 'wrn', 'momentum': 0.9, 'prefetch': 2, 'save': './snapshots/baseline', 'test': True, 'test_bs': 200, 'widen_factor': 2, 'test_loss': 1.5106859993934632, 'test_accuracy': 0.4858}
[Rotation model]
{'batch_size': 128, 'dataset': 'cifar10', 'decay': 0.0005, 'device': 0, 'droprate': 0.0, 'epochs': 100, 'layers': 40, 'learning_rate': 0.1, 'load': 'snapshots/rot_five', 'model': 'wrn', 'momentum': 0.9, 'prefetch': 4, 'save': './snapshots/rot_five', 'test': True, 'test_bs': 200, 'widen_factor': 2, 'test_loss': 1.4669106388092041, 'test_accuracy': 0.4916}
I trained both the models against a 10-step PGD attack and the results I am sharing are for a 20-step attack on the said model.

I would not be surprised if I uploaded the wrong rotation code. But I am surprised that the baseline is 48.6%. If that's a 40-2 WRN, then I'd expect around 44.8%. Even a much larger 28-10 network https://github.com/MadryLab/cifar10_challenge should only be 47.0%.

Yeah I have the same concern, however both my code and your code for the baseline is returning the same numbers. Maybe a bug elsewhere (like the attack code)?
The other potential issue, like you said, might be with the rotation code. For example, you have not uploaded the wrn_prime.py code file in the adversarial folder. If the only difference between wrn.py and wrn_prime.py is the return values of the forward function (https://github.com/hendrycks/ss-ood/blob/master/adversarial/models/wrn.py#L96) then that's nothing to worry about.
Please let me know if you figure out what the issue is, as I am hoping to use your proposed model for my current research work.
Thank you!

I'm not sure I used that rotation code, but I often use the vanilla code in
the file I sent. I'd be surprised if my baseline implementation is somehow
a few percent better than the rest of the community's. I don't have reason
to suspect the attack code. This is a mystery to me.
On Thu, Feb 27, 2020 at 3:06 PM Pratik Vaishnavi<EMAIL_ADDRESS>wrote:

Yeah I have the same concern, however both my code and your code for the
baseline is returning the same numbers. Maybe a bug elsewhere (like the
attack code)?
The other potential issue, like you said, might be with the rotation code.
For example, you have not uploaded the wrn_prime.py code file in the
adversarial folder. If the only difference between wrn.py and wrn_prime.py
is the return values of the forward function (
https://github.com/hendrycks/ss-ood/blob/master/adversarial/models/wrn.py#L96)
then that's nothing to worry about.
Please let me know if you figure out what the issue is, as I am hoping to
use your proposed model for my current research work.
Thank you!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hendrycks/ss-ood/issues/8?email_source=notifications&email_token=ACZBITR67A5N4PAW3XYN6ADRFBBNRA5CNFSM4KVMVC4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENGJXXY#issuecomment-592223199,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZBITR3XFIBMNBGOLDWNITRFBBNRANCNFSM4KVMVC4A
.

Also face the same issue, can't solve it.

Hi,
I changed
https://github.com/hendrycks/ss-ood/blob/master/adversarial/attacks.py#L64
We let lambda = 0.5 during training, and since we're taking a sum in the attack code, we divide by 8. Let me know if that helps.

Hi,
Your advice doesn't address the problem of normal adversarial training performance to the 20-step PGD.
In my experiment, the finial AC of normal adversarial training  to the 20-step PGD is around 48%, the same as @pratik18v , maybe there is some problem with the code or the result.
Best,
Mu


Update to AR Foundation 3.0

You can update it for new preview? You should also update the instructions for compiling on Android. Multithreading check now works and is now supported

@D3m0n92 Thanks for the info regarding the Multithreading! I've updated the README to reflect that update.
This is unfortunately blocked due to an issue regarding shaders and MacOS Catalina https://forum.unity.com/threads/installing-unity-on-macos-catalina.689089/. I'll keep an eye on that forum post, but I assume I will have to wait until 2019.3 comes out of beta before I can release an update.

I've updated the AR Foundation plugins, now that Unity 2019.3 has been released, and things seem to work again!
https://github.com/CandyCoded/ARFoundation-Components/releases/tag/v3.1.0
🎉


webportal runtime takes only 1G, but compile takes 8G

When webportal starting up, it won't work if there is less then 8G memory, or the npm process would keep killed and the compiling won't finish.
But in the runtime, it takes only 1G.
It's would be a big waste to set the limit as 8G.

May be resolved by #1021 , pending validation in the v0.7.1 release.


fix: ignore or modify some doctests and resolve clippy issues

bump: deploying 0.3.4 on crates within 2 hrs. im just adding some extra tests and fixing that lte/gte bug


Doesn't handle the mask-type property on

🐛 Bug Report
If an svg has a <mask> with a mask-type attribute, the mask-type just gets dropped, resulting in an incorrect image.
To Reproduce
Steps to reproduce the behavior:

Go to the playground (https://www.smooth-code.com/open-source/svgr/playground/)
Plug in this SVG (the Windsor logo)

<svg width="60" height="60" viewBox="0 0 60 60" fill="none"
    xmlns="http://www.w3.org/2000/svg">
    <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="60" height="60">
        <path fill-rule="evenodd" clip-rule="evenodd" d="M14.1584 1.88938C19.187 0.629792 24.4676 0 30 0C35.5324 0 40.813 0.629793 45.8416 1.88938V1.88938C51.8816 3.40231 56.5977 8.1184 58.1106 14.1584C59.3702 19.187 60 24.4676 60 30C60 35.5324 59.3702 40.813 58.1106 45.8416C56.5977 51.8816 51.8816 56.5977 45.8416 58.1106C40.813 59.3702 35.5324 60 30 60C24.4676 60 19.187 59.3702 14.1584 58.1106C8.1184 56.5977 3.40231 51.8816 1.88938 45.8416C0.629792 40.813 0 35.5324 0 30C0 24.4676 0.629793 19.187 1.88938 14.1584H1.88938C3.40231 8.1184 8.1184 3.40231 14.1584 1.88938Z" fill="#111111"/>
    </mask>
    <g mask="url(#mask0)">
        <rect width="60" height="60" rx="10" fill="url(#paint0_linear)"/>
        <g filter="url(#filter0_d)">
            <path fill-rule="evenodd" clip-rule="evenodd" d="M30.3127 37.7975H25.0383L21.9056 27.9636H21.8417L18.7729 37.7975H13.4984L8.00024 21.9999H13.6583L16.4074 31.9923H16.5033L19.3483 21.9999H24.6227L27.5636 31.9923H27.6276L30.4086 21.9999H35.8429L30.3127 37.7975ZM35.0171 42.9999V40.1766H51.0003V42.9999H35.0171Z" fill="white"/>
        </g>
    </g>
    <defs>
        <filter id="filter0_d" x="-1.99976" y="13.9999" width="63" height="41" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
            <feFlood flood-opacity="0" result="BackgroundImageFix"/>
            <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
            <feOffset dy="2"/>
            <feGaussianBlur stdDeviation="5"/>
            <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
            <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
            <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
        </filter>
        <linearGradient id="paint0_linear" x1="16.6191" y1="-30.5616" x2="-35.6231" y2="40.6845" gradientUnits="userSpaceOnUse">
            <stop stop-color="#E64CFF"/>
            <stop offset="1" stop-color="#FF860B"/>
        </linearGradient>
    </defs>
</svg>

Render the React Component, which look like this

Expected behavior

Workaround
I fixed this by manually adding in style={{ maskType: "alpha" }} to the generated react component. so my mask now looks like:
...
<mask
      ...
      style={{ maskType: "alpha" }}
    >
...

Hello @pranaygp, mask-type is not actually a valid <mask /> tag property, the problem is the input SVG that is not valid.

@gregberge  mask-type for <mask> is "Candidate Recommendation": https://developer.mozilla.org/en-US/docs/Web/CSS/mask-type and supported by all major browsers for years. Would make sense to support it.
Is it an issue with svgr or where is the issue here?

Hi @yisibl, thanks you for pointing it out. I don't know where it breaks but I am pretty sure it is not in SVGR itself. Could someone investigate it?

I am sorry guys if I am posting not in the right place, but there are not many places on the internet where this issue is being discussed.
I am working on an iOS app, and assets exported from Figma in svg format sometimes are not rendered correctly in XCode.
I found a way to modify these "broken" svg files, by simply removing the code related to mask and filters.
As an example, if I have something like this:
<svg width="239" height="232" viewBox="0 0 239 232" fill="none" xmlns="http://www.w3.org/2000/svg">
<path opacity="0.07" fill-rule="evenodd" clip-rule="evenodd" d="M99.2602 222.908C74.4194 222.75 56.9463 200.853 42.6472 180.691C31.6525 165.189 31.852 146.67 31.7308 127.693C31.5734 103.033 22.2971 73.2846 41.8646 58.0828C62.1877 42.2941 90.258 56.4479 115.215 62.8355C145.271 70.528 184.633 69.1499 196.465 97.6517C208.518 126.686 183.787 156.563 164.462 181.465C147.886 202.823 126.387 223.08 99.2602 222.908Z" fill="white"/>
<mask id="mask0_5245_378344" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="11" y="14" width="213" height="209">
<path fill-rule="evenodd" clip-rule="evenodd" d="M99.2613 222.908C74.4204 222.751 56.9473 200.853 42.6482 180.691C31.6536 165.189 11.853 146.67 11.7319 127.694C11.5745 103.033 22.2982 43.2848 41.8657 28.0831C62.1888 12.2944 90.259 12.4482 115.216 18.8358C145.272 26.5283 209.635 29.1502 221.467 57.652C233.519 86.6858 183.788 156.563 164.463 181.465C147.887 202.824 126.388 223.08 99.2613 222.908Z" fill="#338F4D"/>
</mask>
<g mask="url(#mask0_5245_378344)">
<path d="M110.385 70.9749C111.642 72.9596 112.139 73.1912 114.19 74.3159C115.413 74.9775 117.398 76.3006 118.788 76.2675C124.08 76.1683 130.101 71.7688 132.747 65.6823C133.441 68.3286 134.004 73.2904 133.243 74.7459C132.482 76.2014 130.63 77.7892 128.91 78.8808C127.19 79.9724 125.503 80.9317 123.782 81.9571C122.062 82.9826 120.838 83.6441 119.35 84.405C115.917 86.2588 112.243 87.6281 108.434 88.4737C107.475 88.6721 106.085 88.606 105.887 87.6136C105.788 87.1836 106.019 86.7205 106.251 86.3235C107.408 84.1734 108.467 81.924 108.93 79.5093C109.592 76.0029 109.095 71.5373 108.434 68.0309" fill="#DBC6AA"/>

I would drop these lines:
<mask id="mask0_5245_378344" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="11" y="14" width="213" height="209">
<path fill-rule="evenodd" clip-rule="evenodd" d="M99.2613 222.908C74.4204 222.751 56.9473 200.853 42.6482 180.691C31.6536 165.189 11.853 146.67 11.7319 127.694C11.5745 103.033 22.2982 43.2848 41.8657 28.0831C62.1888 12.2944 90.259 12.4482 115.216 18.8358C145.272 26.5283 209.635 29.1502 221.467 57.652C233.519 86.6858 183.788 156.563 164.463 181.465C147.887 202.824 126.388 223.08 99.2613 222.908Z" fill="#338F4D"/>
</mask>
<g mask="url(#mask0_5245_378344)">

Also, you need to drop all of these closing tags: </g>
Or something like this:
<g opacity="0.04">
<g filter="url(#filter0_d_5245_378344)">
Also, remove this:
<defs>
<filter id="filter0_d_5245_378344" x="14.4882" y="94.3073" width="52.2555" height="51.0904" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="-2"/>
<feGaussianBlur stdDeviation="2"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.02 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_5245_378344"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_5245_378344" result="shape"/>
</filter>
</defs>

resvg supports the mask-type attribute as of v0.32.0. https://github.com/RazrFalcon/resvg/issues/582


Audio and Chat

Type: Bug
Have tried many times by connecting disconnecting and the audio doesn't work.
The chat messages cannot be seen by the host.
Extension version: 0.4.0
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.74GB (0.98GB free)

Process Argv
--crash-reporter-id 854ed971-c090-4c61-bce5-d8ed89ca73e7

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-22.04

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2303)

Memory (System)
7.63GB (4.15GB free)

VM
0%

We're unable to prioritize fixes to this area as we re-evaluate our priorities and product direction. We understand that this maybe disappointing. We appreciate your input and comments on this issue till now. We will soon be sunsetting this feature and will work towards a better use experience for communication needs for Live Share users from the editor.