dragonfly-reverb: 3.2.7 -> 3.2.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/michaelwillis/dragonfly-reverb/releases.
meta.description for dragonfly-reverb is: A hall-style reverb based on freeverb3 algorithms
meta.homepage for dragonfly-reverb is: https://github.com/michaelwillis/dragonfly-reverb
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.2.8 in filename of file in /nix/store/jx29127gwr95mdxv1mv43zkh9615z7vk-dragonfly-reverb-3.2.8

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
dragonfly-reverb

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jx29127gwr95mdxv1mv43zkh9615z7vk-dragonfly-reverb-3.2.8
ls -la /nix/store/jx29127gwr95mdxv1mv43zkh9615z7vk-dragonfly-reverb-3.2.8/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dragonfly-reverb

Maintainer pings
cc @magnetophon for testing.

@ofborg build dragonfly-reverb dragonfly-reverb.passthru.tests


Fix dialyzer error when using messages

When I used Pow.Extension.Phoenix.Messages in one project that is using dialyzer, I got unknown types Conn.t() and Messages.message(), there were missing aliases

Good catch thanks! Looking through other elixir libs it seems that it's not really practice to add specs/docs to macro methods, so I've decided to just remove them 😄


Avoid dimensionality mismatch between data array and CF variables.

🚀 Pull Request
Description

Closes #4599.
Corrects a problem where bounds for a scalar coordinate - still in a 2D array - where hitting a 'broadcast ambiguity' trying to save to a 1D CF variable.

Consult Iris pull request check list

Thanks @pp-mo!


Nonce generation was changed to produce smaller values

https://github.com/bitfinexcom/bitfinex-api-go/commit/d926899a526030ea1ef1d92bbfabd5f0120cffe4#diff-216f6cae287aa7aae392d7b55ebd2bb2R12
Who in their right mind would EVER change nonce generation to produce SMALLER values in a library that already has widespread adoption?
Anyone who already used the library and rebuilt with new sources after 20 Oct 2017 got a 400 Nonce is too small.. How did this pass review?
I know they're even after 1000000 seconds (=11 days!), it's still an unacceptable breaking change.

I didn't suggest this change and frankly I don't have any knowledge around when/why/etc., but I did notice this comment in the commit:

this also includes a breaking change because the REST endpoints use
nonces that are max 53bit, whereas before we used a 64bit number, so
if you've used this lib before you might have to generate a new API
key in order to get rid of the nonce too small error message

I can't seem to find documentation that REST nonces are bound by 2^53, but I did find a similar change made to the node JS library: https://github.com/bitfinexcom/bitfinex-api-node/issues/116


capybara default scope

Hi,
Is there any default configuration to set a default scope to the session like
Capybara.default_scope = "div.ui-page-active"

No.


Feat: Implement User Verification System with OTP for Email

Describe the feature
Description: We need to implement a user verification system to prevent spam user creation by sending a one-time password (OTP) to the user's email during the registration process. This will ensure that only verified users can access and use the system.
Requirements:
On user registration, generate a unique OTP and send it to the provided email address.
Create a new endpoint on the backend to verify the OTP.
Ensure the user cannot proceed to login or book events without successful OTP verification.
Set an expiration time for the OTP (e.g., 5 minutes).
Notify the user in case the OTP expires or if they enter an incorrect OTP.
Frontend: Create a verification page/form where users can enter their OTP.
Add error handling for scenarios like incorrect OTP, expired OTP, or network issues.
Tech Stack:
Backend: Express.js, Nodemailer
Frontend: React (for the verification form)
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I have starred the repository
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue

go for it @samar12-rad

Hey @RamakrushnaBiswal he has not yet raised the PR , can I work on the issue

@haseebzaki-07 yes you can


Debugger halts with vscode_backtrack: Internal Error

I'm trying to find out why this.direction is set to " "and is using a conditional breakpoint in order to inspect the stacktrace when " "is set.
But the debugger halts with No call stack available (vscode_backtrack: Internal Error: TypeError: Cannot read property '0' of undefined).

VSCode Version: Code 1.7.2 (7ba55c5860b152d999dda59393ca3ebeb1b5c85f, 2016-11-21T22:14:18.217Z)
OS Version: Linux x64 4.4.0-47-generic
Extensions:

Extension
Author
Version

beautify
HookyQR
0.5.5

ejs-language-support
QassimFarid
0.0.1

vscode-great-icons
emmanuelbeziat
1.1.25

vscode-apache
mrmlnc
1.1.0

spellchecker
swyphcosmo
1.2.3

ayu
teabyii
0.2.1

Steps to Reproduce:

Clone https://github.com/dotnetCarpenter/eloquent.git
Checkout 4b8664c3b21db4da79bba12f748bf033685d5be1
Add conditional breakpoint on line 116 in lifelikeSimulation.js
The condition should be value == " "
Start the debugger with the following launch.json:

{
	"version": "0.2.0",
	"configurations": [{
		"type": "node",
		"request": "launch",
		"name": "Launch Lifelike",
		"program": "${workspaceRoot}/ch07/lifelike.js",
		"cwd": "${workspaceRoot}/ch07"
	}]
}

If you have a similar issue, a work-around is to add a condition to your source code. In the above case, it could be if(value == " ") debugger

@dotnetCarpenter please try our new experimental node debugger by setting the attribute type in your launch config to node2 (instead of node).

@dotnetCarpenter what version of node are you using?

@weinand node: v7.2.0
Thanks. Using node2 works for launch but not for attach (nothing happens). node works for attach but fails as described in the first post.

When I use attach, I start the process with node --debug-brk lifelike.js

@dotnetCarpenter running lifelike.js on macOS with node v7.2 never results in  value == " " becoming true. That makes it difficult to reproduce.

@weinand  Did you checkout commit 4b8664c3b21db4da79bba12f748bf033685d5be1 ?

I found and fix my bug but if (step 2) you checkout 4b8664c3b21db4da79bba12f748bf033685d5be1 then you should hit the bug which is due to line 156 in ch07/lifelikeSimulation.js
findPlant(view) {
	// look for plant around
	const plant = view.find("*")
	if(plant) {
		this.direction = plant
		return { type: "eat", direction: plant }
	}

	// if not then look for space in the direction we are heading
	this.direction = view.look(this.direction)// <- this line courses this.direction = " "
	if(this.direction != " ")
		this.direction = view.find(" ") || "s"

	return { type: "move", direction: this.direction }
	}
}

this has been fixed in March 2017


Error trying to create a topic: Cannot use 'in' operator to search for 'timeout'

Environment details

OS:  Darwin Kernel Version 17.6.0
Node.js version: 10.0.0
npm version: 6.0.1
@google-cloud/pubsub version: 0.19.0

Steps to reproduce
const PubSub = require('@google-cloud/pubsub');
const pubsub = PubSub({
projectId,
keyFilename,
});
const topic = pubsub.topic(topicName);
const result = await topic.create(topicName);
Error message:
[LOCAL] topic topic3 Exist response: false
[LOCAL] topic topic3 doesn't exist - will try to create it
(node:12837) UnhandledPromiseRejectionWarning: TypeError: Cannot use 'in' operator to search for 'timeout' in topic3
at CallSettings.merge (/Users/crmar/GitHub_Storage/event-router-client/node_modules/google-gax/lib/gax.js:200:17)
at Object.apiCallInner [as createTopic] (/Users/crmar/GitHub_Storage/event-router-client/node_modules/google-gax/lib/api_callable.js:367:33)
at PublisherClient.createTopic (/Users/crmar/GitHub_Storage/event-router-client/node_modules/@google-cloud/pubsub/src/v1/publisher_client.js:329:32)
at /Users/crmar/GitHub_Storage/event-router-client/node_modules/@google-cloud/pubsub/src/index.js:836:26
at PubSub.getClient_ (/Users/crmar/GitHub_Storage/event-router-client/node_modules/@google-cloud/pubsub/src/index.js:810:3)
at PubSub.request (/Users/crmar/GitHub_Storage/event-router-client/node_modules/@google-cloud/pubsub/src/index.js:827:8)
at PubSub.createTopic (/Users/crmar/GitHub_Storage/event-router-client/node_modules/@google-cloud/pubsub/src/index.js:312:8)
at /Users/crmar/GitHub_Storage/event-router-client/node_modules/@google-cloud/common/src/util.js:786:22
at new Promise ()
at PubSub.wrapper [as createTopic] (/Users/crmar/GitHub_Storage/event-router-client/node_modules/@google-cloud/common/src/util.js:770:12)
(node:12837) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:12837) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
tried explicitly setting the timeout option, but same result:
const result = await topic.create(topicName, { timeout: 200 });
any ideas ?

correct syntax is const result = await pubsub.createTopic(topicName);


Updated Launcher Widget Preview

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes (New Launcher Widget Preview)

Before
After

!(

)
(

)

Description
A new Widget Preview to Show the dark snd light Mode
Steps to test this PR
Add the DuckDuckGo Widget


remove Travis-CI instructions

It's a GitHub Actions world these days.
I left the FAQ entry about other CI systems in place, and it now covers Travis-CI briefly.
If someone thinks the Travis-CI instructions should remain in-repo, I would suggest that they volunteer to reinstate them in a separate file (UPDATE: or in the FAQ entry, if they're short enough? just not sprinkled throughout!) in a separate PR.
At one time, it made sense for the readme to contain instructions for both CI systems inline. With GitHub Actions now so dominant, I feel rather strongly that it's too annoying for the reader to have to skip over the Travis-CI material.

We got a PR to organize Travis CI related doc fairly recently - https://github.com/sbt/sbt-ci-release/pull/310

interesting. I wonder how many other @bcarter97's there are out there.

@SethTisue not many I think, we are having a fair few issues with Travis.


Fix metada file names

Some files are in Portuguese and other in English.
Dod:
Every file using English names

Moved to
https://github.com/DataViva/dataviva-scripts/issues/1


Checking refType has existing in 'TypeDefinitions'

TypeDefinitions is map [package name][type name][ast.TypeSpec], we should check if instead of real package name.

fixed


Cannot add shadow to custom Marker info content

Environment details

Specify the API at the beginning of the title (for example, "Places: ...") - Maps directly
OS type and version - Android 10+
Library version and other environment information - google.android.maps-compose=2.11.4

Steps to reproduce

Create a custom content in a MarkerInfoWindow and apply a shadow Modifier to it
The shadow isn't applied and doesn't appear anywhere on the info window

If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.
@MaxMichel2 Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.

Hi @kikoso I can provide a sample.
MarkerInfoWindow(
        state = MarkerState(location),
        icon = if (isSelected) selectedDescriptor else unselectedDescriptor,
        onClick = {
            isSelected = true
            false
        },
        onInfoWindowClick = {

        },
        onInfoWindowClose = {
            isSelected = false
        }
    ) {
        // Has 8.dp of elevation
        CustomElevatedCard (
            modifier = Modifier
                .padding(horizontal = 24.dp)
        )
        // Also tried wrapping this in a container with shadow modifier w/ no luck
    }

Hope this is helpful


Performance : Display Mode "Overview"

When using Safari with the demo site of gantt and you switch from "Group" mode to "overview" a massive decrease in rendering the gantt can be seen. Try to move the side bar and you can feel how slow the gantt is performing.

@toilal: This massive performance decrease is also related to my last performance issue. I nailed it down to the group "overview" mode. When I use group or disabled the gantt is lightning fast. When leveraging the overview mode it is beyond slowness on Safari and IE. Might be something with the rendering of the colors etc.
I hope you can find the issue since I do not see any major difference between the group and overview mode for rendering the content.

The performance decrease with the group "overview" mode is now also slow on chrome mac os x.
Could this be related to the additional watchgroup ???
This issue really inhibits leveraging the overview mode.

The problem seem to be the watcher functions used for the overview mode. Because when I run the demo app wit ngStats then I can see that the digest cycle time doubles.
The first step would be to dig in the code to see which watcher function is so expensive.

@kschwidder I improved the performance of the group plugin with commit dad4e05d4f2f977c81566d8398d946a7cefa8514. Specially for the display type overview. Could you make a test if you notice any difference?
There is still one big problem with the group plugin. Every time a task is changed the groups are re-generated. This is very costly and needs to be improved in the next step.

@Schweigi : Performance has been improved significantly ! Well done. I have reactivated the overview mode. Thx

:+1: Thanks for feedback, and thanks @Schweigi :)


a couple of  questions on sexp query language

I'm thinking  on possible way of tuning the cayley query language. As perhaps you read my previous issues, I proposed the working solution how one can  upload the user-defined libraries to the otto vm used in gremlin queries.  After a few months of playing (as a user) with cayley, I  understood that a few features in the gremlin are absent. One of them is regex patterns in .Has(), .Is() etc functions.
I'm using regex pattern on the level of Otto VM to find nodes, but it is too slow (because it iterates on all vertices). So, why not to have this support at the go-level:
For example , it would be nice to have something  g.V().Has(".cool$","^[p,m]a[p,m]a.").All() in the gremlin.
Spending a few hours to browse the cayley's code, I have found the patterns are not possible in the gremlin because of  the "FixedIterator",  with its "Identity" function as a comparator, used here.
But then I have found "OptionalIterator" and sexp language which seems might support the regex patterns. So I have basically two questions:

Why did you not implement a support for sexp in http/query.go?
Is it possible to use sexp with  backends  different from "memstore",  I mean leveldb, mongodb etc?

Has there been progress with regex support for cayley db? I'm in the process of loading a cayley db with a Japanese-English dictionary and it would be handy to be able to lookup partial matches especially since Japanese compounds can vary often (but have the same root kanji).

@dennwc what does needs approval mean in this case?

Meaning that @barakmich should take a look. It looks resolved for me.


[pyupgrade]: Removes quotes from annotations

Fixes #827

@charliermarsh this just needs your input on how to handle rustpython's lack of an Index token (I highlight more in the comments). Feel free to let me know how we should handle it.

Am I correct that the way this works is by passing the rule each function definition, having it identify all the stringified types from the body, and then stripping the quotes?
I'm wondering if we can simplify things here, since we already have to solve this problem in Checker. In Checker, we track all the deferred string annotations, so that we can validate them at the very end (grep for in_deferred_string_type_definition). So we have logic for detecting whether we're in an annotation-compatible place, and we have special-cases for all the typing stuff.
Could we instead leverage that? Could we just pass every item in in_deferred_string_type_definition to a method that removes the quotes, and generate a fix from that? (i.e., in check_deferred_string_type_definitions, for each expression string, pass it to the new rule that just de-quotes it?) That way, we wouldn't have to reimplement all of the detection, and we'd have a centralized implementation. But I may be overlooking some of the details here.

check_deferred_string_type_definitions

I'm not 100% sure on the answer to this question, but let me dig in and I will find out.

@charliermarsh I implemented a rough POC with your idea. I see two issues:

I am not sure how to check for future annotations
It seems to be too aggressive, and change a bunch of my "do NOT change" items.

Do you know if there is a simple solution to these things? If so I would love to switch over.

I am not sure how to check for future annotations

I think we have a flag for that, self.annotations_future_enabled, on Checker.

Anything that shouldn't change, and is being changed, might be a bug in the code today. Grep for Some(Callable::TypedDict) => { in ast.rs. We handle each case and try to either mark the thing as an annotation or not.

The self.annotations_future_enabled worked perfect when calling rules the normal way, but now that I am in check_deferred_string_type_definitions, the method does not work anymore.
Will dig into the other issue further.

It looks to me like the existing functionality just checks for a certain Type, while what I built has to decide when a string needs to be converted. Unless there is something I am missing, I don't think I can use what is built to replace what I created. Let me know if you agree, and I can revert my changes.

It feels like the exact same problem... but I may still be misunderstanding. In the Checker, we have to identify all strings that should be treated as deferred type annotations, so that we can process them later (and find things like referenced to undefined variables). Here, don't we need to find all those deferred type annotations, then remove the quotes (if future annotations is enabled)?

Yeah. The issue is the items inside of the type. For example:
class D(typing.TypedDict):
    E: TypedDict(E, {"foo": "int"})

Should be converted to:
class D(typing.TypedDict):
    E: TypedDict(E, {"foo": int})

But instead it it converted into:
class D(typing.TypedDict):
    E: TypedDict(E, {foo: int})

For almost all of my tests, this approach seems to ignore the rules of when information inside of a type should be uncommented, and just always uncomments it.

But, I think we must be detecting this correctly, because:
import typing

class D(typing.TypedDict):
    E: typing.TypedDict(E, {"foo": "bar"})

If I run cargo run foo.py --select F -n, I get:
foo.py:4:36: F821 Undefined name `bar`

So Ruff knows that "bar" is an annotation, but "foo" is not -- somewhere.

E.g., this code block:
// Ex) TypedDict("a", {"a": int})
if args.len() > 1 {
    if let ExprKind::Dict { keys, values } = &args[1].node {
        for key in keys.iter().flatten() {
            self.in_type_definition = false;
            self.visit_expr(key);
            self.in_type_definition = prev_in_type_definition;
        }
        for value in values {
            self.in_type_definition = true;
            self.visit_expr(value);
            self.in_type_definition = prev_in_type_definition;
        }
    }
}

We know to treat "foo" as a non-annotation, and "bar" as an annotation -- so can we not use the same logic and code to power this fix? What are you seeing exactly? Are the failing changes on this branch?

Look at the differences in cargo test. They were all passing before the change, and now most of them are not. There is a chance I just missed something small.

I'll take a look and see where I'm confused. No need to dig further till I've actually looked at the changes more closely.

I had to move a few things around, but I think this version mostly works? There are some errors, but they're errors that are also present in Checker and so we should fix them there. For example, it does change "name" here, incorrectly:
x: DefaultNamedArg(name="name", quox="str")

@colin99d - I think this is good to merge -- do you want to take a look? Or should I close out the issue? 🎉 🎉 🎉

Looks good to me!! Thanks for figuring out how to get the existing functionality working with my PR!

Thanks for doing all the hard work!


fix: add missing constructor to TS type definitions

TS with Node16 or NodeNext module target expect explicit constructor to to allow new Foo() without syntax error.

I've not been gone through the TS release notes, but I noticed the error while switching a repo https://github.com/SAP/e-mobility-charging-stations-simulator to ESM ("type": "module" in package.json and "module": "NodeNext" in tsconfig.json)
=> import Queue from 'mnemonist/queue.js' makes tsc and eslint fail with various errors: missing constructor and typing incorrect on methods
=> import { Queue } from 'mnemonist' makes tsc fail with one error: missing constructor
And the resulting build with esbuild in both case fail to load the module if mnemonist is in external.

@jerome-benoit merged and released as part of v0.39.7.
Since I have you here and since you seem to be well versed in ESM stuff, do you know if the "schism" is over and if there is a completely sure and not bonkers way to support modern ESM-first packaging all while ensuring perfect backwards compatiblity with UMD/require and older node versions etc. ?

package.json permits to define the default exports for librairies willing to support CommonJS, ESM and TypeScript:
 "exports": {
    ".": {
      "types": "./lib/index.d.ts",
      "require": "./lib/index.cjs",
      "import": "./lib/index.mjs"
    }
  },

For individual module exports, import a CommonJS module into ESM module works. The other way around is not intended to work per design: ESM is targeted to replace CommonJS.
Most libraries just use an ESM wrapper for the CommonJS default exports like export * from './index.(c)js'.
TS seems to be more strict regarding file extensions: .cjs does not seem to be searched by default.
I've broken CommonJS support lately in a library I maintain: https://github.com/poolifier/poolifier/issues/1821

That PR is not enough to make mnemonist fully support ESM with TS.
I will make another PR shortly to make mnemonist fully ESM compliant via a default wrapper for exports.
I do not think making individual modules ESM compliant via wrappers worth the effort, the default exports file is enough.


SIGSEGV in unit tests: media server is terminated before tests are completed

MediaServer.terminate() is invoked before tests are completed, triggering SIGSEGV when running tests in some cases

fixed on 0.58.5


Choice button styles not saving

The problem
Describe the bug
The choice button background textures and text color reset every time I open Godot. It seems to only be the choice buttons that get affected by this.
To Reproduce
Steps to reproduce the behavior:

Go to Choice Buttons and change them.
Close and open Godot.
They reset to their default state. (for me, at least)

System (please complete the following information):

OS: Windows 10
Godot Version: 3.3.3
Dialogic Version: 1.4

Hi, thanks for the report. I cannot manage to recreate this.
The only thing I can see that is different is that I used godot 3.4.4. Not sure if thats the cause or something else I missed.
If you could test with godot 3.4 or try to test this again under different circumstances, it would be apreciated.

Hello! I updated Godot and the choice buttons broke even more. They don’t show the choice hover image through key inputs anymore and only do so through mouse inputs. This was not an issue before I updated. Also, the text color is only applying to one choice and not the other. Should I delete Dialogic and reinstall it again? It seems to be the only plausible solution to this problem.

Trying to recreate it on main branch with Godot 3.4.4 and unable too either. Button choice styles work as expected

I also have this problem but with timelines, characters, themes, etc.


feat: Central Hierarchy + Environment design populated by Actions

[#9 automatically closed after rebase + push --force, cannot be reopen]
The design is based on two central classes:

Hierarchywith two attributes _configurations and _templates https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/system.py#L127-L143 They are dictionaries with instances of classes in incipyt/_internal/dumpers -- path-like classes with a specific  method to write them, e.g. for Toml https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/_internal/dumpers.py#L71-L74 -- as keys. Each association key-value corresponds to a file path and its content to be written.  For _templates,  values are just Jinja template. _configurations is dedicated to all configuration files based on  key-value syntax (toml, cfg, ini, yaml, json, etc), values of this dictionary are then nested dictionary describing this configuration file.
Envrionment is basically a wrapper around a dictionary initiated with environment variables, https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/system.py#L13-L65 its purpose is to deal with all variables, like {NAME} or {AUTHOR} that should be asked to the user. To do so, https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/system.py#L67-L74 have to be implemented and ask the user for a specific variable. Then it behaves as a visitor for values of Hierarchy._configuration https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/system.py#L97-L108 actually values can contain some callable instead of str, if so those callable are call and the value substituted. Typically, it can be utils.Requires("{NAME}") with https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/_internal/utils.py#L12-L28 then it asks Environment for {NAME} : environment.pull(key).

There are similar substitution mechanisms for _template and also for using subprocess.run https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/system.py#L110-L124
The main workflow is then to initialize a Hierarchy and let tool specific classes populate _configurations and _template https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/system.py#L242-L245

An instance of Hierarchy stores all information about configurations files and templated files to write for the new project.
Then each tool is modeled by Action instances, they populate a hierarchy instance and define pre and post methods to run before and after the creation of the project files https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/system.py#L250-L259 e.g. Git Action pre method runs git init, while post method runs git add --all and git commit.
Definitions of configurations and templates can be done with environment variables, like {NAME}. All those variables are stored in an Environment instance, it is initialized with environment variables system and can be modified by any Action using pre or post methods. Then values are used when needed and asked to user if missing.
When an Action is created, it can also register itself a hook, e.g.  Git Action register a VCSIgnore hook that defines how a pattern is ignored by git. Then any Action can used those hooks, e.g. Venv Action use VCSIgnore to make VCS system aware of ignoring .env folder https://github.com/NotANameServer/incipyt/blob/dc3fddef98fb89dc1da5b1633f171792e311b4a2/incipyt/actions/git.py#L6-L24

About last push

append_unique needs to be moved as a class member
docs need update
still unsure about how TemplateDict internals work

Maybe we should ditch
template_dict["first", "second", "third"] = something

in favor of
template_dict["first"] = {"second": {"third": something}}

and check for overrides in __getitem__

still unsure about how TemplateDict internals work, maybe iteration should be preferred for __getitem__

I don't really like all those staticmethod.

Maybe we should ditch
template_dict["first", "second", "third"] = something

I don't think so, this syntax seems more clear and simple than the other.

I don't really like all those staticmethod.

Me neither, but I'm unsure about how to get rid of them. Maybe an iterative approach will suit this case better than the current, recursive one.

Maybe we should ditch
template_dict["first", "second", "third"] = something

I don't think so, this syntax seems more clear and simple than the other.

It is, but I see two issues with it:

It shawows all sequence-like (and not string-like) dict keys (though this can be with circumvented with template_dict.data['hello', 'tuple', 'key'])
template_dict["1"] = {"2": ...}} will bypass all the TemplateDict` collision logic for nested keys

Btw I love your utils module <3

I'm not sure sure if this is irony or not, but I'm not really convinced I did this right. make_repr and attrs_eq are intended to limit clutter in classes while providing comprehensive testing hebavior, but maybe a metaclass would better suit this purpose?

Thanks for 0bef7f8, I'll review this when I'll have time to do so :)

@LeMinaw  If you have time, can you:

Do a short review?
Improve docstrings?
Try to increase test coverage?

Also, I updated some dependencies/ci, I recommend you to recreate your venv following https://github.com/NotANameServer/incipyt/wiki/Developper-instructions (it's up-to-date).


Implement Hash#fetch

@st0012 changes applied; I've entirely removed the commit with the indentation change.


lstmtraining --model_output doesn't generate new folders

When running lstmtraining:
lstmtraining --model_output ./output/

If the destination folder does not exist it wont create it, the program will keep training but the models are not saved, until you create the folder manually.
Also can't extract a traineddata model if the destination folder does not exist when running combine_tessdata:
combine_tessdata -e eng.traineddata ./output/eng.lstm

Basically what I am saying is that if the destination folder does not exist, create it automatically.

See LSTM: Training: failed to write checkpoint #695 for more details

@Shreeshrii I am root, and I don't have any problems in training.
This issue is rather a suggestion, so that lstmtraining and combine_tessdata automatically creates the destination folders if they don't exist.

@christophered Good suggestion.

@zdenop please label as Feature Request.

I implemented an alternate solution which makes lstmtraining fail if the model output cannot be written. See pull request #1951.
It does not create directories, because I think this is the user's responsibility and easy to be done.

Pull request #1951 now also handles combine_tessdata.

zdenop


sliders not showing with ipywidgets 8.0.1

Bug report
Bug summary
After freshly installing using pip install mpl_interactions[jupyter], sliders generated by plot or hyperslice do not appear in the generated figure anymore.
Code for reproduction
conda create -n test python=3.9
conda activate test
pip install mpl_interactions[jupyter]

(installs ipywidgets==8.0.1)
import mpl_interactions.ipyplot as iplt
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, np.pi, 100)
tau = np.linspace(0.5, 10, 100)

def f1(x, tau, beta):
    return np.sin(x * tau) * x * beta
def f2(x, tau, beta):
    return np.sin(x * beta) * x * tau

fig, ax = plt.subplots()
controls = iplt.plot(x, f1, tau=tau, beta=(1, 10, 100), label="f1")
iplt.plot(x, f2, controls=controls, label="f2")
_ = plt.legend()
plt.show()

Example from the documentation. Sliders are not shown in notebook.
Actual outcome

Expected outcome
Sliders should appear above the Figure title. Works with ipywidgets 7.6.3.
Version Info

Matplotlib version: 3.5.3
Matplotlib backend (print(matplotlib.get_backend())): ipympl
Python version: 3.9
ipywidgets version: 8.0.1

Hi @jubrau are you sitll having this issue? I can't replicate this with ipywidgets 8.0.2
I know there were some initial issues with th eipywidgets release, so it's possible that 8.0.2 fixed the issue you were having.

After installing ipywidgets 8.0.2 both in the base conda environment and in the actual environment the bug seems to be gone. Thanks!


Can't enable cluster monitoring

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Upgrade to 2.3.2 from 2.2.8.
Enable cluster monitoring.
Result:
Workload: prometheus-cluster-monitoring is not running
create Pod prometheus-cluster-monitoring-0 in StatefulSet prometheus-cluster-monitoring failed error: Pod "prometheus-cluster-monitoring-0" is invalid: spec.containers[2].volumeMounts[1].name: Not found: "nginx-home"

Environment information

Rancher version 2.3.2
Single install cluster

Cluster information

Cluster type : Custom
Machine type : VM (4 vCPU - 4096MB
Kubernetes version : v1.15.5 also didn't work on v1.14
Docker version : 19.3.4
Guest OS: Ubuntu 18.04.3 LTS

I'm noticing what may be a similar issue on all of my clusters. I deployed 2.3.1 last week and updated to 2.3.2 today and nothings changed
Rancher was deployed via helm on KOPS 1.13.11 cluster in AWS
I'm unable to enable monitoring and there is no version in my monitoring drop down

Just ran into this myself. If you look under Apps there is another app called monitoring-operator. That one should have an upgrade available for it, if you upgrade that then the cluster monitoring should upgrade as well. Worked for me.

That seems to work for me too. I've been able to successfully execute this on 1 of our clusters which has the issue.

I cannot reproduce the bug, here are what I did:

run Rancher v2.2.8 single install
add two identical clusters: K8s v1.14.6, 1 etcd + control plan, 3 workers
enable the cluster monitoring(v0.0.3) in cluster2
upgrade Rancher to 2.3.2
enable the cluster monitoring(v0.0.5) in cluster1
upgrade the cluster monitoring to v0.0.5 in cluster2

Results:

the cluster monitoring works in both cluster

@basroovers  Are my steps different from yours? Do I miss anything?

I never enabled monitoring on the 2.2.8 cluster. Only after the upgrade to 2.3.2. That might be the difference.

My local cluster is showing the following error
Failed to get System Project ID: failed to find any cattle system project
This error appeared after I tried to enable monitoring.

I'm unable to enable monitoring and there is no version in my monitoring drop down

I had the same issue with my cluster.
To correct it you can configure Rancher server to use the packaged copy of Helm system charts.
In your helm template you have to add : --set useBundledSystemChart=true
Then kubectl -n cattle-system apply -R -f ./rancher to reload it.
source : https://rancher.com/docs/rancher/v2.x/en/installation/air-gap/install-rancher/
But after enabling monitoring the  Workload: prometheus-cluster-monitoring is not running !
create Pod prometheus-cluster-monitoring-0 in StatefulSet  prometheus-cluster-monitoring failed error: Pod  "prometheus-cluster-monitoring-0" is invalid:  spec.containers[2].volumeMounts[1].name: Not found: "nginx-home"
It seems this pod ask for a persistent volume even if you set  Enable Persistent Storage for Grafana at false when activating monitoring.
Disabling and deleting the cattle-prometheus namespace in the system project and enabling again monitoring few times have solved this issue for me but I'm unable to know where the error came from or to reproduce it...

Same here
Upgraded from Rancher 2.2.7 to Rancher 2.3.2
I upgrade the Monitoring tool from 0.0.3 to 0.0.5 or disable Monitoring tool and recreate 0.0.5 version but failed everytime, I also try the 0.0.4 version and it works fine. But on another cluster, upgrading 0.0.3 to 0.0.5 it doesn't cause any issue. The only different from the two is the error cluster having NVIDIA driver daemonset.

Encountered this problem as well after upgrading to 2.3.3 from 2.3.2. I'm attempting to enable monitoring on the Rancher cluster itself with non-persistent storage.

Have you tried upgrading the monitoring-operator first before updating monitoring to version 0.5?


Do character set conversion character by character

This should make the output consistent on both OS X and Linux
(using different versions of iconv)

I had to change this again because iconv is even less consistent than I though, so now it's completely character-by-character.
The previous version was just trying to decode the input string so we could figure out if it was valid.


npm install hangs

npm install hangs for a long time with below info:
⸨    ░░░░░░░░░░░░░░⸩ ⠙ fetchMetadata: sill mapToRegistry uri https://registry.npmjs.org/topojson
npm version is 3.10.5, node version is 6.3.1.

It could be a network issue on your side, a network issue on npm side or whatever in between. Anyway we can't do much about that, sorry :)

It looks like npm had some issue this morning (CET), so please retry and if it works, just close the bug.


SSM-841 Change default /nyhedsbreve view

https://berlingskemedia.atlassian.net/browse/SSM-841

The proposed solution was not the right solution. For details see https://berlingskemedia.atlassian.net/browse/SSM-841.
Sorry about the extra work.


Redirect to subdomain

Is there a convenient way to redirect a subdomain to another one? I would like to redirect appandflow.com to www.appandflow.com. Right now I'm just aliasing to both domains but it would be nice if I could do something like now alias www.appandflow.com appandflow.com.

https://github.com/vdanchenkov/now-redirect

@OlliV Since we can deploy from github I created a similar package without cli, which has the minimal code needed to do a redirect. https://github.com/timneutkens/now-redirect

^

Tim, it looks like you only enter one domain there but don't you need a from and a to URL?

@kristojorg, only the to adress is Needed. You can alias any domain to the deployed service using now alias And it Will redirect to the provided url 😁

very cool! I love that you can deploy from github... seems like there are lots of cool things you can do with this I haven't thought of.  Thanks!

👍

Is there a way to do this without dedicating an active instance?

@sergiodxa you mean alias my main app to all the subdomains I want to redirect from in addition to the main domain?

Yes, then in your app code check the domain to do the redirect.

That makes sense, thanks.


Support for Play Pause

I used vivus for animating the SVG. its very good for animating the svg.
Do we have any option or way to pause / pause animation?
Suppose if the svg has multiple path / shape elements (say circle, rectangle, line) i wanted to pause at each shape / path.
Please suggest how to achieve the play and pause using vivus.

Hi there,
Vivus already provide a play and pause method. However it's for the whole
animation. If you want to have a granular control over each shape of your
SVG, I'm afraid you will have to split each shape in different SVG that you
will control independently.

@maxwellito  Thanks for your response.
play / pause at the whole animation is also fine for me now,
Pls provide details how to play and pause. i couldn't find it in the documentation.
Thanks

You can see the methods in the readme.
// Create your Vivus instance
const myVivus = new Vivus('my-svg-id', {start: 'manual'});

// ..then when you need
myVivus.play();

// ..then when you need to stop
myVivus.stop();

Ok Thanks very much. i thought play() will play only from start of svg.
Its working fine.


virtual_screening_pipeline.ipynb cannot be properly displayed.

Hello, I am interested in this new descriptors. However, virtual_screening_pipeline.ipynb cannot be properly displayed.

Would you please kindly fix this?

Hello,
this is not an issue of the Jupiter notebook but of GitHub notebook renderer (https://github.com/jupyter/notebook/issues/5323).
if you clone the repository locally, launch Jupiter notebook and then open the .ipynb file from there, everything will be displayed correctly.

Resolved. Thank you very much!


CAMEL-14977: Create camel-undertow-spring-security component

Issue: https://issues.apache.org/jira/browse/CAMEL-14977
Improvement contains a new undertowSecurityProvider for spring security 5.
It contains provider and its configuration, a few helper classes for keycloak scenario and basic mock tests.
As a part of the changes is a small extension of camel-undertow doc, about property requireServletContext
and addition of undeployment of servlet in http://defaultundertowhost.java.
This change will be followed by improvement (https://issues.apache.org/jira/browse/CAMEL-14962), which will bring starter or some kind of helper for starter.
@davsclaus I'm facing one problem with servlet api version. If I use servlet api 3.1 which is used on whole camel, execution of tests fails with java.lang.NoClassDefFoundError: javax/servlet/http/MappingMatch. My solution for this problem is to add servlet-api from undertow for test scope (org.jboss.spec.javax.servlet:jboss-servlet-api_4.0_spec). I know that this is not the proper solution, so I'd like to ask for help with this problem.
This change only shows problem https://github.com/apache/camel/pull/3781 in "different light"
[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

Okay updated to servlet 4 can you update this PR

@davsclaus There is no need to change anything in this PR, servlet version is taken from camel-undertow. Reason of faled build is style error in core - https://github.com/apache/camel/pull/3783
Once it is merged, I'll rebase this PR.

ok


Widget ManyToManyWidget cannot find m2m connections

Describe the bug
Widget ManyToManyWidget cannot find and creat3e m2m connections
To Reproduce
class FactResource(resources.ModelResource):
    tags = fields.Field(attribute='tags', widget=ManyToManyWidget(Tag, field='name', separator=','))

    class Meta:
        model = Fact

With default ManyToManyWidget qs filter is: {'name__in': <filter object at 0x79f0827dba60>}
With this option, everything works:
class CustomManyToManyWidget(ManyToManyWidget):
    def clean(self, value, row=None, **kwargs):
        if not value:
            return self.model.objects.none()
        if isinstance(value, (float, int)):
            ids = [int(value)]
        else:
            ids = value.split(self.separator)
            ids = [i.strip() for i in ids if i is not None]
        return = self.model.objects.filter(**{"%s__in" % self.field: ids})

Is this a bug or am I doing something wrong?
Versions (please complete the following information):

Django Import Export: 3.7.4
Python 3.10
Django 4.2

Can you provide a failing test case or steps to reproduce with the example app?

I double-checked, it must have been something else. It's not reproducing. Thank you!


[TEST] Add test suite

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+21.5%) to 79.386%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

curvlinops/examples/utils.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
21.5%

Covered Lines:
181

Relevant Lines:
228

💛  - Coveralls


Maya: Shader name validation

This PR is adding multiple features.
Features
Scriptsmenu is back!
Scriptsmenu is module that can add customizable multi-level menu to Maya/Nuke/Mari. This is currently used to add ability to edit shader name definitions directly in Maya (see below).

Shader name definition editor
This is editor accessible directly from Maya:

It is editing simple text file saved via GridFs directly into mongodb.
Model name validator
This validator is now updated so it can use either definitions in file somewhere as was its previous behavior or it can load definitions with GridFs directly from database.
How to test it
Enable Validate Model Name validator in Settings.
In Maya, open OpenPype Tools > Edit shader name definitions and add some - one per line.
Create model as usual and name mesh like this:

if foo is in shader name definitions, validator should pass, if it is not, validator should fail.

🔙 backport to 2.x:
coming soon

📜 documentation:
coming soon

🎫 client issue:
pypeclub/client#85

Close pypeclub/client#85

Found bug in scriptsmenu module. Maya 2020 on action click:
# Traceback (most recent call last):
#   File "C:\Users\iLLiCiT\PycharmProjects\pype3_3\openpype\vendor\python\common\scriptsmenu\action.py", line 123, in run_command
#     modifiers = app.keyboardModifiers()
# AttributeError: 'PySide2.QtCore.QCoreApplication' object has no attribute 'keyboardModifiers'

It's because of using instance() in scriptsmenu which returns QCoreApplications which lack keyboardModifiers method.
app = QtWidgets.QApplication.instance()
modifiers = app.keyboardModifiers()

But the method is static so there is no need of having the application instance. Fixed when changed the 2 lines into:
modifiers = QtWidgets.QApplication.keyboardModifiers()

This is not a bug but as an artist I would be scared why it says error:

It's so easy to loose all data. I've added 10 items in one maya, saved. Swap to other maya added one item, "automatically ignored question dialog" and clicked Yes and everything is gone. I would force user to reload to latest util he can save (like he has to manually reload to be able copy his new data).

There is no way how to not add tools menu.

Shader def editor UI can modify only database which may not be used in the plugin as plugin may use filepath. That is confusing for me.
Names stored in Mongo are global for all projects. I think that should be different per project.

Most of @iLLiCiTiT comments are resolved. It still prints error during initialization, but I can't find where and it doesn't influence functionality.


keycloak is not initialized in hooks

Describe the bug
In createReactKeycloakContext initialized is set to false and looks like it never becomes true.
When calling keycloak.login() I am getting that adapter property inside keycloak.js is undefined, that seems to be possible if keycloak wasn't initialized.
I am not sure if it's related to hooks initialized property at all though.
Use-case scenario:

I am writing a PrivateRoute for Gatsby.js and am using useKeycloak similar to how it's shown in react-router examples. When being redirected back from keycloak authentication to my page I get Cannot read property 'login' of undefined pointing that adapter is undefined and keycloak isn't properly inited

KeycloakProvider is present in the hierarchy and some kind of keycloak is provided by useKeycloak with my realm settings. It's just doesn't seem to be properly initialized

Could it be that useKeycloak returns before componendDidMount of KeycloakProvider finished it's init flow?

Here is my PrivateRoute:
const PrivateRoute = ({ component: Component, location, ...rest }) => {

  const [keycloak, initialized] = useKeycloak()
  console.log('PrivateRoute', initialized, keycloak, keycloak.authenticated)
  if (!keycloak.authenticated && location.pathname !== `/login`) {
    keycloak.login()
    return null
  }

  return <Component {...rest} />
}

I am following gatsby example and have put KeycloakProvider into gatsby-browser.js file.
I have attached onEvent callback with logs but it never seems to be executed

My latest findings show that this could be somehow related to cors issues

Disclaimer: I don't use this library myself. I just came here to see how the authors handled a particular keycloak problem we've brushed up against.
They said, I'm pretty sure in your case you can fix your problem by adding
if(!initialized){
    return <p>Loading...</p;
}

(Or some other suitable fallback component)

I have tried doing that, but looks like my whole initialization fails due to CORS.
I have tried putting origin urls in keycloak admin panel, but it didn't help, still failes with cors request.

So I'm back to square one.
I resolved CORS issues, at least I no longer see any errors in the console.
Still, keycloak is not initialized in hooks.

So it looks like in Gatsby, KeycloakProvider never really inits.
I start getting at least onReady event if I do this and put it to gatsby-browser instead of the regular KecloakProvider
class TestKeycloakProvider extends KeycloakProvider {
  componentDidMount() {
    super.componentDidMount()
    console.log(`TestKeycloakProvider`, 'didMount', this)
    try {
      this.init()
    } catch (e) {
      console.log(e)
    }
  }
}

The issue isn't yet resolved

@panz3r  Hello, can you please check on this. We're also facing a similar issue and not able to identify a solution. We're getting keycloak is not initialized in the hooks on refreshing the page

@punithbm The project I am using keycloak in is on pause now so I will need some time to refresh my memory.
This seem to have worked so far:
import React from 'react'
import { useKeycloak } from '@react-keycloak/web'

const PrivateRoute = ({ component: Component, ...rest }) => {
  const [keycloak, initialized] = useKeycloak()
  console.log('PrivateRoute', initialized, keycloak, keycloak.authenticated)

  if (!initialized) {
    return <></>
  }

  if (!keycloak.authenticated) {
    keycloak.login()
    return <></>
  }

  return <Component {...rest} />
}

I didn't realize when I first commented on this issue that you were using Gatsby. I expect the issue is that your code is running during the server-side rendering phase and not in the browser.
I have not used it myself, but I think for Gatsby you'd need to follow or borrow from the NextJS example provided in this repository. The essential thing is to wrap Keycloak initialization with a check for whether it's running in the browser. The recommended way to do that seems to be if(typeof window !== 'undefined')


Cannot Run Two App Instances

Going through this guide:
https://docs.pears.com/guides/making-a-pear-desktop-app
I can run the first app instance just fine and create a topic. However, running a second pear dev in a separate terminal window has no effect. If I close the dev app, then re-run the command it's fine, but again I can only ever have 1 instance running at a time.

Ya they are all single instance atm. To run two explicitly give the 2nd one a storage dir like so
pear dev -s /tmp/another-instance

PR to clarify that is super welcome (you are not the first one to be confused).

:+1: PR added to pear-desktop repo..

resolved


Add a force flag to download a file without any user input

I have added a -f flag in the graphhopper.sh script to be able to run it correctly in a docker. The goal is to remove any input of the user, especially when trying to download a new file.
We can now run ./graphhopper.sh -f import europe_germany_berlin.pbf without having:
File not found 'europe_germany_berlin.pbf'. Press ENTER to get it from: http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
Press CTRL+C if you do not have enough disc space or you don't want to download several MB.

Thanks!
I regret a bit that we have such a limiting (but very simple) command line format and the force flag would be useful but does not really fit into the current schema. Also we plan to use dropwizard via #1108 that will require yet another slightly different parameter format, so I would postpone this for a bit.

Ok, so no need to try to fix the current script and be sure that all checks pass ? If you like to use something like that for the moment, I can make a version that is compatible with the previous versions and where you can add new flags. As you like.

Hmmh, I'm a bit undecided here as I've not looked yet very deep in the dropwizard change and I do not want to waste anyones time :)
My initial thought was to use the same parameter style for the script like we use for direct java call but this is probably not possible nor standard with bash parameter style.

The best would be something in the style of the java program like
./graphhopper.sh  --action web --datareader.file some.pbf

But maybe having this as a start with just -f is already good. Hmmh, but "force" could mean anything, maybe we should make the parameter more descriptive at the beginning and introduce short later on?

Yes, I can totally do that for the moment (it would be pretty easy). I would also keep the previous settings to remain backwards compatible.

I've added all these flags and also kept the positional arguments:
-h|--help
-f|--force-download
-a|--action
-d|--datareader.file
Does it seem good for you ?

Does not look too bad :) thanks!

-f|--force-download

can we do -fd here and for datareader.file the -f?

(Shouldn't sound negative regarding your work, sorry. Just still a bit hesitating to introduce yet another parameter format ...)

But maybe we can also iterate here after we merge the dropwizardifying

I've done the modifications. And no worry if you don't want :) I was doing these modifications to be able to use more easily the docker image (you can like that download and import any pbf file directly from the docker image, otherwise it's more tricky).

Thanks again! (Give me a few days over the holidays and I can better judge :))

I'm currently playing with fish and there is an interesting auto complete feature where the parameters and its description are shown. This would be cool to support - do you know if this is easy :) ?

As we change the command line handling due to #1314 we have to rewrite the script a bit. The work you did here seems really useful and I'll try to see how we can use it to make a cleaner scripting possible.

Please have a look at #1319. Will close here for now.


Reconnecting state view is rendering in the middle

LVN Markup:
<VStack class="padding" alignment="leading">
  <Text class="font:title">Turtle Rock</Text>
  <HStack class="font:subheadline">
    <Text>Joshua Tree National Park</Text>
    <Spacer />
    <Text>California</Text>
  </HStack>
</VStack>

This is with the default generated ContentView, correct?

Corect. However, this was after: https://github.com/liveview-native/liveview-client-swiftui/pull/1252 but I cannot see what that extract would have pushed the content down but then again I'm very good at SwiftUI

Oh, I didn't see that PR. I'll look into it.

I wanted to get that in for the workshop last Friday but didn't want to ping you outside your working hours, otherwise I would have waited for your approval


Debugging Blazor Wasm using VS Code is broken on macOS arm64

The out of the box experience with VS Code on macOS arm64 debugging a Blazor Wasm project is broken.
macOS Monterey 12.4 arm64
dotnet 6.0.300
VS Code 1.67.2
ms-dotnettools.blazorwasm-companion 1.1.0
ms-dotnettools.csharp 1.25.0
ms-dotnettools.vscode-dotnet-runtime 1.5.0
Steps to reproduce the behavior:

mkdir blazordebug
cd blazordebug
dotnet new blazorwasm
code .
press F5

The expected behavior is for VS Code to launch Chrome, run the Blazor app, and connect to the debugger.
The actual behavior is that I immediately get this error message:
An error occurred while installing .NET (5.0): .NET Acquisition Failed: Installation failed: Error: Command failed: "/Users/bbatchelder/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.5.0/dist/install scripts/dotnet-install.sh" -InstallDir "/Users/bbatchelder/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/5.0.17" -Version 5.0.17 -Runtime dotnet
dotnet_install: Error: Could not find `.NET Core Runtime` with version = 5.0.17
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support

Then Chrome launches, but sits at the about:blank page.
After about 30 seconds, Chrome is killed and I get a pop-up error:
Unable to launch browser: "Could not open wss://localhost:5001/_framework/debug/ws-proxy?browser=ws%3A%2F%2F<IP_ADDRESS>%3A62691%2Fdevtools%2Fbrowser%2Fe88459a5-3105-4f78-a3a3-23e7de8783dc"

I am able to get debugging to work if I modify my .vscode/launch.json to launch and debug in two separate steps:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": ".NET Core Launch (Blazor Standalone)",
            "type": "coreclr",
            "request": "launch",
            "program": "dotnet",
            "args": [
                "run"
            ],
            "cwd": "${workspaceFolder}",
            "env": {
                "ASPNETCORE_ENVIRONMENT": "Development"
            }
        },
        {
            "name": ".NET Core Debug Blazor Web Assembly in Chrome",
            "type": "pwa-chrome",
            "request": "launch",
            "timeout": 30000,
            "url": "https://localhost:7198",
            "webRoot": "${workspaceFolder}",
            "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}"
        }
    ]
}

However this too has a bug, where after you stop debugging, the dotnet process is still left running, and subsequent attempts to run or debug will fail because the port is already in use.
You can find the process using the following command:
sudo lsof -nP -iTCP:<port>| grep LISTEN

And then kill the process.

Are there preview builds of ms-dotnettools.blazorwasm-companion I could try to see if it resolves this issue?

Hi @bbatchelder! We released a new version of the C# extension today (1.25.4) that adds arm64 support. Could you please try your scenario again and see the problem still repros? I'm going to close out this issue for the time being, but if it does end up reproducing, please file another issue for the greatest visibility. Thanks, and happy coding!


Use AppURL for Oauth user link

Fix #6843

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6894   +/-   ##
=======================================
  Coverage   41.41%   41.41%
=======================================
  Files         432      432
  Lines       59552    59552
=======================================
  Hits        24664    24664
- Misses      31648    31649    +1
+ Partials     3240     3239    -1

Impacted Files
Coverage Δ

routers/user/oauth.go
43.86% <100%> (ø)
:arrow_up:

models/unit.go
62.16% <0%> (-5.41%)
:arrow_down:

models/repo_list.go
67.89% <0%> (+1.05%)
:arrow_up:

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 6db3dc7...933a918. Read the comment docs.

Please backport


Second try at adding PTP support

Background
The company that I am working at requires PTP leader/follower support on an STM32 H7 series microcontroller. This PR adds PTP support for the H7. It is a revised version of #444.
Description
All the PTP related features that have been added in this PR are completely feature gated, so that use without the PTP feature is completely unaffected.
There are three major parts of this implementation.

Modifying the Ethernet driver to provide ingress/egress hardware timestamping capabilities.
Adding a PTP driver that assists with timekeeping in the Ethernet PTP peripheral.
Adding a PTP frame buffer and accessor methods to the EthernetDMA, since smoltcp would drop any PTP frames on interface.poll.

The author of a related PR on a different repo had concerns about the Rx pipeline being stalled due to timestamps being stored in a context descriptor that is owned by the application and blocking the DMA. To minimize concerns regarding this, I ran a ping flood against the microcontroller using the ptp-take2 branch HAL as well as the main branch HAL, and the results were basically identical.
Validation
Screenshots of ping flood result, packet timestamping, as well as PTP synchronization can be provided.

Hey @richardeoin, this PR is ready. Please review if and when you have time. Thanks!

@richardeoin I'd love if you could review and merge this as well!


Does not work with nytimes?

Describe the bug
Whenever I tried to extract contents from NYTimes articles, they are random and incomplete.
I tried on Newspaper Demo page as well for NYTimes articles and I got - "Error converting html to string."
To Reproduce
Steps to reproduce the behavior, i.e., provide a minimalist example how to reproduce the error. Include a minimalist code example.
If you start with - http://newspaper-demo.herokuapp.com, and put in any NYtimes article, such as https://www.nytimes.com/2018/10/25/business/european-economy.html, you will find the error.
Expected behavior
On Demo page, "Error converting html to string."
If this were run in a program or terminal, random words would appear.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):

OS: [e.g. MacOS 10.2]
Python Version [e.g. 3.6]
news-please Version [e.g. 1.2]

Unfortunately, we cannot help with this issue since it is caused by Newspaper. I suggest that you open an issue at https://github.com/codelucas/newspaper describing this issue. Once they fix the issue, it will automatically be fixed in the latest news-please version.


config: make tide required for test-dev

Signed-off-by: hi-rustin<EMAIL_ADDRESS>

/release-note-none


Evaluation Method?

Hi, I'm very interested in this and have already generated adversarial masks to the images. However, after I got the generated image, I don't know how to evaluate if this method works? Is there any way for me to do the evaluation?
Thank you!

Hello,
Sorry for the disappointment, but I'm no longer using this repository for my work.
I meant to fork the original repository which is link
The original authors might have a better idea on how to address your issue.
Best,
T-Visor


add some nil pointer guards to the code related to the schemaref extr…

…action.

Ticket

How Has This Been Verified?

Checklist:

[ ] The change works as expected.
[ ] New code can be debugged via logs.
[ ] I have added tests to cover my changes.
[ ] I have locally run the tests and all new and existing tests passed.
[ ] Requires updates to the documentation.
[ ] I have made the required changes to the documents.

Added the test case in https://github.com/contiamo/openapi-generator-go/pull/18/commits/a2d2c1ce162829630a6cd55579b465eee4a06d4e
Before the fix it blew up with this:

Now the tests is passing.


A JavaScript error occurred in the main process (MacOS Arm64 Preview)

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.28.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20230214.4
Platform
macOS
OS Version
Ventura 13.2.1
Bug Description

Steps to Reproduce

Launch Storage Explorer
Wait 7-10 Seconds and the error shows

Actual Experience
This message comes up everytime I launch it. Nothing seems to be non functional due to the error. Just a minor annoyance thus far.  I will update back if I notice any functional issue.
Expected Experience
No Error :)
Additional Context
No response

Also seeing this.

@mikejohanson @jeffwilcox can you please enable debug logging, reproduce the issue, and then share your logs here? More instructions on this can be found here: https://learn.microsoft.com/en-us/azure/storage/common/storage-explorer-troubleshooting#storage-explorer-logs

2023-03-27_112901.zip
I quit the application after the warning/error showed up.

Seems the issue was a remote error on our side. Should be fixed now.

Thanks @MRayermannMSFT for getting back, confirmed not seeing it anymore. Going to close the issue.

@AlexKulpa can you help explain your thumbs down reaction? If you're still seeing the error when trying to update the ARM64 preview it'd be helpful to know. On the other hand, if you are reacting negatively to the fact there was an error in the first place, that's fine too. Just please let us know.

Yeah I've still seen this error that's why I gave thumb down

@AlexKulpa thanks for getting back to us so quickly. When was the last time you saw the error? I fixed the remote problem about 30min before posting the comment. If possible, can you try reproducing it again? I'm wondering if you just barely missed the remote fix because at this point I cannot reproduce it anymore. If you do reproduce it please share a screenshot/s of any error dialog/s you see. Thank you.

Huzzah. That's great. Probably was just a case of bad timing then. Thanks again for coming back to explain things.

What is done to fix this issue facing this issue when installed in windows 11


Snackbar is misaligned for small screens after v1.1.2

After v1.1.2 snackbar component is misaligned for small screen sizes (<480px)
To reproduce the issue simply open any codepen examples from snackbar docs on a small screen size

@Garbee Any idea what might be happening here? If this happens reliably below a certain screen size, could perhaps a media query help?

Yea, I'm working on it now. Looks like the -50% transform causes this and it didn't show when we tested. So just need to make that 0 by default and set it to -50% on tablets +.


sample codes to demonstrate access to WEBDAV

e.g. in BASH, C#, RUBY, PYTHON, Javascript - into VF documentation.

BASH and CURL

To upload file, HTTP PUT method to WEBDAV is preferred, HTTP POST may not be implemented by WEBDAV servers.

With CURL you may try the following:
a) obtain folder URL using upload dir picker component [url] (go to https://portal.west-life.eu/virtualfolder/filepicker.html click on 'Open Upload Dir...' select dir and copy Directory URL) e.g.  https://portal.west-life.eu/webdav/12323345/b2drop/myfolder
b) have [filename] to be created README.txt
c) have [data] to be written into the file, e.g. "Great times call for great men."
curl -X PUT [url]/[filename] --data "[data]"
e.g.
curl -X PUT  https://portal.west-life.eu/webdav/12323345/b2drop/myfolder/README.txt --data " Great time call for great men."

To get the content of the file you can HTTP GET it by:

curl https://portal.west-life.eu/webdav/12323345/b2drop/myfolder/README.txt


Fix link

Hopefully this is the correct fix?

Thanks for making the additional change, @ChrisMaddock. I'll merge your PR now.


test(reqtest): disable debug logs

Codecov Report
Base: 91.11% // Head: 90.79% // Decreases project coverage by -0.32% :warning:

Coverage data is based on head (f56c690) compared to base (a1fbfe0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
- Coverage   91.11%   90.79%   -0.33%
==========================================
  Files          33       33
  Lines        2477     2477
==========================================
- Hits         2257     2249       -8
- Misses        150      157       +7
- Partials       70       71       +1

Impacted Files
Coverage Δ

internal/engine/mongodb/queue.go
90.62% <0.00%> (-6.25%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


the airbnb rules makes conflict

requireTrailingComma:true
disallowSpacesInsideArrayBrackets:true
requireSpaceAfterComma:true
These 3 rules in presets/airbnb.json , please show me how to write an array.
It must write comma before closing bracket, if write space after comma, but cannot write space before closing bracket, so there is no way to write an array.

I mean write an array in single line, thx.

Hello.
According to https://github.com/airbnb/javascript#arrays--callback-return it should looks like these:
// good
[1, 2, 3].map(x => x + 1);

// good
const flat = {};
[[0, 1], [2, 3], [4, 5]].reduce((memo, item, index) => {
  const flatten = memo.concat(item);
  flat[index] = flatten;
  return flatten;
});

It's look like a bug tho since requireTrailingComma should not require it for inlined arrays.
/cc @markelog @hzoo
Thoughts?

Just run jscs --preset airbnb on
const flat = {};
[[0, 1], [2, 3], [4, 5]].reduce((memo, item, index) => {
  const flatten = memo.concat(item);
  flat[index] = flatten;
  return flatten;
});

Don't see any errors. With those three rules i also don't see any contradictions.
@petrelselina i'm gonna close this for now, please ping us up if you find any bugs, thank you


Move existing subscription to another tenant via API

Is it possible to transfer an existing subscription between tenant using the API?

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

ID: da261ee4-3348-b520-a27c-98f9d9ef40cc
Version Independent ID: 13d12189-ee46-8058-dd99-058adc69f1c5
Content: Add an existing Azure subscription to your tenant - Azure AD
Content Source: articles/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

@motim6026 Thanks for the feedback! We are currently investigating and will update you shortly.

@motim6026 Unfortunately, this is not possible currently via API.  I suggest you to please post this as a feedback at UserVoice. This will allow the community to upvote and for the product team to include into their plans. "This Product" button in at the bottom section of the document now to take you directly to the appropriate feedback page.

@motim6026 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


What is A1

In the nocd/sampler.py
to_keep = (1 - self.A[cne1, cne2]).astype(np.bool).A1 * (cne1 != cne2)
What is A1 here this is causing Error

This function might have been deprecated, here is the explanation with a possible fix to the problem https://numpy.org/doc/stable/reference/generated/numpy.matrix.A1.html


Surface "key-as-string" attribute for TermsAggregation

While running a terms aggregation query, the resulting buckets may contain
a "key_as_string" field depending on the fields datatype.  I currently have a need to get at that field to display a propertly formated date field instead of the epoch in millis that is currently returned in the "key" field.  Currently there is no way in the TermsAggregation.Entry class to get at this "key_as_string" field.  This commit simply makes that attribute available and defaults the value to the "key" value if no "key_as_string" field was returned in the result json.
Address issue:  394

Coverage increased (+0.008%) to 54.572% when pulling 02a780d8fb90f56abee2c633d33db64b42269a22 on seamuskc:issue-394-surface-get-key-as-string-attr into 51472d1cf32d34a4d706f8a1492fe6bb472c0165 on searchbox-io:master.

Coverage increased (+0.1%) to 54.691% when pulling 29f02d5fe1b8d4d860735dea24c160ad5ea03fca on seamuskc:issue-394-surface-get-key-as-string-attr into 51472d1cf32d34a4d706f8a1492fe6bb472c0165 on searchbox-io:master.


Document the format for IPv6 addresses with the 'net' plugin

This should resolve GH-23

Thanks :)


`initialize': That file does not exist (SpotifyPlaylist::MissingFileError)

$ ./bin/spotify-export.rb spotify.txt
/usr/local/lib/ruby/gems/2.4.0/gems/concurrent-ruby-1.0.2/lib/concurrent/map.rb:206: warning: constant ::Fixnum is deprecated
/usr/local/lib/ruby/gems/2.4.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated
/usr/local/lib/ruby/gems/2.4.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated
/usr/local/lib/ruby/gems/2.4.0/gems/concurrent-ruby-1.0.2/lib/concurrent/map.rb:230: warning: constant ::Fixnum is deprecated
/usr/local/lib/ruby/gems/2.4.0/gems/concurrent-ruby-1.0.2/lib/concurrent/map.rb:230: warning: constant ::Fixnum is deprecated
.../spotify-export/lib/spotify-playlist.rb:10:in `initialize': That file does not exist (SpotifyPlaylist::MissingFileError)
	from ./bin/spotify-export.rb:16:in `new'
	from ./bin/spotify-export.rb:16:in `<main>'

Did you make sure the file spotify.txt exists ? If it does, try to find out what file it is trying to open.


Quick Rundown

Apologies if this isn't the right place to enquire.
I'd just like to know how you have managed to run a custom boot-oader on these devices, assuming that Qualcom's boot process is the same as that on their android counterparts.
I've been looking for a way to unlock the bootloader on my Galaxy S5, and have come up short (there is a way to change the CID on the internal storage so that the phone thinks it's a 'developer edition' device, but mine is incompatible.

The vulnerability used to unlock these devices isn't applicable for the SoC of Galaxy S5, but is supposed to work on any device with an MSM8960/MSM8x30/MSM8x27/APQ8064 SoC

Thanks for your input. I kinda thought it would be a hail-mary.


Guar Bean Plantation Mk01 internal name does not match naming scheme of other AlienLife farms

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[X] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
The Guar bean plantation MK 01's internal name is guar-gum-plantation, while every other farm building has -mk01 appended to the end. It's not game breaking, but it would help for compatibility with other mods that reference the mk tag at the end of the prototype names
Steps to reproduce
No response
Additional context

Log file
No response

Won't fix. Half of the py machines follow this pattern. Too much effort to change it at this point.

if i made a PR for every single one would it be pushed through?

It would not.
You are talking about changing the internal name for 100s of entities.
I can already see

3rd party mods such as milestones and pysimple are broken.
Some migration is forgotten and machines are deleted.
Post processing does not have updated caches for the new internal names.

Generally, this change is way to risky. Lets please not do it.

Honestly I'm in favour of making -mk01 mandatory, but it would be a change best made with pysex release


Change symbol for Closed captions?

I think we agreed with Clemens not to use the "CC" symbol but the one similar to the YouTube one:

As part of the control bar (here, the "slide preview" symbol is missing in Lisa's design):

YouTube:

Icon updated to Lisa's design!

Test:  https://polimediaupv.github.io/paella-ethz/?id=belmar_16_9_hls

That part of the control bar looks very, very good know, thanks for your patience!


InkWell.onLongPress cancels ripple animation

I am trying to build a button that increments a number when the user taps on it, then continues to increment that number every x milliseconds while the user continues to long press the button.
If I try out this code sample, it behaves as expected. The number is incremented one time, and the ripple effect works properly:
return Material(
  child: InkWell(
    onTap: () { increment(); },
    child: Container(
      width: 30,
      height: 30,
      decoration: BoxDecoration(
        border: Border.all(color: Colors.black),
      ),
    ),
  ),
);

If I then try to implement the onLongPress callback, even just an empty function will stop the ripple effect immediately:
return Material(
  child: InkWell(
    onTap: () { increment(); },
    onLongPress: () {}, // this breaks the ripple effect
    child: Container(
      width: 30,
      height: 30,
      decoration: BoxDecoration(
        border: Border.all(color: Colors.black),
      ),
    ),
  ),
);

There doesn't seem to be a way to use the onLongPress parameter without breaking the ripple effect.

I ran into this and based on some of the docs on how I think this works, it seems like _handleTapCancel is called because both onTap and onLongPress enter the arena for Gesture disambiguation and onTap eventually admits defeat which ends up calling the _handleTapCancel callback.
In any case, this should be fixed as it makes it seems like the app has jank issues.

Code Sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: [
            Material(
              child: InkWell(
                onTap: () {},
                onLongPress: () {}, // this breaks the ripple effect
                child: Container(
                  width: 100,
                  height: 100,
                  decoration: BoxDecoration(
                    border: Border.all(color: Colors.black),
                  ),
                ),
              ),
            ),
            Material(
              child: InkWell(
                onTap: () {},
                // onLongPress: () {}, // this breaks the ripple effect
                child: Container(
                  width: 100,
                  height: 100,
                  decoration: BoxDecoration(
                    border: Border.all(color: Colors.black),
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.adb),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-3.0.pre, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.20.0-3.0.pre at /Users/taha/Code/flutter_dev
    • Framework revision 0af027f805 (4 days ago), 2020-07-04 12:19:20 -0700
    • Engine revision a751393804
    • Dart version 2.9.0 (build 2.9.0-20.0.dev 22da8934ac)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 13.5.1
    • Web Server (web)       • web-server                • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome
      83.0.4103.116

• No issues found!

Hi guys,
I have the same problem,
Has someone solved this problem??

Reproducible on stable 3.3 and master 3.7
https://user-images.githubusercontent.com/31410839/210488052-7f9ef139-f0be-4433-9b03-c250398d40a0.mov

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Material App Bar'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: [
            Material(
              child: InkWell(
                onTap: () {},
                onLongPress: () {}, // this breaks the ripple effect
                child: Container(
                  width: 100,
                  height: 100,
                  decoration: BoxDecoration(
                    border: Border.all(color: Colors.black),
                  ),
                ),
              ),
            ),
            Material(
              child: InkWell(
                onTap: () {},
                // onLongPress: () {}, // this breaks the ripple effect
                child: Container(
                  width: 100,
                  height: 100,
                  decoration: BoxDecoration(
                    border: Border.all(color: Colors.black),
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.adb),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-13.0.pre.131, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-13.0.pre.131 on channel master at /Users/mahesh/Development/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0196e6050b (2 days ago), 2022-12-31 11:10:23 -0500
    • Engine revision 932591ec04
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
      and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

The problem has not been solved for four years...


JAPANESE

Hello
A real strange thing happens... when I add the class "class PDF_Japanese extends FPDI", FDPI converts Japanese to Chinese characters :-)
I used this script: https://github.com/Trouble-Shooters/ts4/blob/master/module/fpdi/japanese.php

I'm really sorry but what kind of reply do you expect from this post? I mean there's not a single question ;-)
If you really think that this is an issue of FPDI, please prepare a complete reproducable test case and post the issue to the official FPDI repository. This package is only a metadata package.


spotdl: 3.9.4 -> 3.9.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for spotdl is: "Download your Spotify playlists and songs along with album art and metadata"
meta.homepage for spotdl is: "https://github.com/spotDL/spotify-downloader"
meta.changelog for spotdl is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/1bj9gwssi0lw2z0zmjhq0xv7yz6lpbwa-spotdl-3.9.5/bin/spotdl had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/1bj9gwssi0lw2z0zmjhq0xv7yz6lpbwa-spotdl-3.9.5/bin/.spotdl-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 3.9.5 with grep in /nix/store/1bj9gwssi0lw2z0zmjhq0xv7yz6lpbwa-spotdl-3.9.5
found 3.9.5 in filename of file in /nix/store/1bj9gwssi0lw2z0zmjhq0xv7yz6lpbwa-spotdl-3.9.5

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

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
spotdl

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1bj9gwssi0lw2z0zmjhq0xv7yz6lpbwa-spotdl-3.9.5
ls -la /nix/store/1bj9gwssi0lw2z0zmjhq0xv7yz6lpbwa-spotdl-3.9.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

spotdl

Maintainer pings
cc @dotlambda for testing.

ModuleNotFoundError: No module named 'pkg_resources'


State of the source code

At the moment, mics is advertise as

Intuitive mixins for ES6 classes

However, in its own code, it uses a wild mix of outdated syntax, like var and not even available syntax (at least on NodeJS), like export function. I think, it would be better to choose one. Personally, I would prefer ES6 as is available on NodeJS LTS (v6 atm), as it has a lot of benefits, especially for static analysis, and gets rid of the dependency on a transpiler for deployment.
Additionally, there is no linting available, and the code seems to not follow any guidelines. E.g. sometimes there are multiple variables declared per var statement, sometimes there are multiple consecutive var statements. I would suggest using airbnb's coding guidelines in order to improve the code quality and consistency.
After #2 is finished, I could run the code through WebStorm code analysis and fix the syntax one way or the other, if desired. It's only a few lines, so not too much trouble, actually :)

I'm all for it. However the code should continue to work on ES5 platforms. (I see IE11 as the baseline atm). Oh and it should stay small!  👍

https://github.com/Download/mics/pull/9

See specific issues for the progress on the state of the source code.


Upstream and delete?

How about upstreaming this repository to https://github.com/stusmall/murmur3 and removing it?

I think it would be a good idea to replace our fork with the upstream, because it has less change compared to the upstream, and our codes are less maintained.
I have tested PEBR with the upstream dependency, by running smr-benchmark. As it showed almost the same throughput, I think we can replace it with no worries.

Tested with NMTree, 64 threads and write-intensive workload:

Before: ops/s: 39431677, peak mem: 20452440
After:  ops/s: 38930176, peak mem: 21030152

The throughput with the forked one(Before) is slightly better, as our fork has micro-optimization such as using a plain usize other than a Readable bytes buffer.

I'd like to suggest we send a patch to the upstream repository https://github.com/stusmall/murmur3 and use the patched upstream.


Re-Training Second Head of TrailNet

I was able to achieve 85% accuracy with the IDSIA trails dataset, and further fine-tuned using my own data. When I try to train the second head with my own data, I get very high accuracy (~98%), but when I test a list of images from my training data, the network only predicts one class.

@ktnguyen2
I am running into the same issue of my model only predicting one class after training both rotation and translation heads. What did you do to solve this issue?
I'm not understanding how to "freeze" the rotational parameters after training them. It seems like training both heads are exactly the same except for the pretrained model for the translation head.

@daylanc I found that if you get high enough accuracy (at least 85%), then test the model by deploying it in ROS and analyze the results based on test images that you send it through via imagepub node.
It is a very tedious and crude method of evaluation, but it's the best that I found without looking deeper into NVIDIA DIGITS.

@ktnguyen2, @daylanc,
Hi guys, I'm preparing Tensorflow2 + TensorRT on Jetson PoC for Ardupilot open-source. Are you interested in sharing your data? Of course just for PoC implementation, not for public sharing. We all know that Caffe is closed and to move this concept forward switching to TF is mandatory (seems like TF is now more advanced with TensorRT then PyTorch), Regards

@soldierofhell I commend your efforts! Do you mean data as in my image datasets?

@ktnguyen2, I mean to my current knowledge there's no data available for lateral head so I'm asking if people who collected their own data similar as in the paper would kindly share it to prepare PoC or some reference models in TF2


ICM: start condition of testrunner misleading

Pre-Check that testrunner can start checks only the wastatistics and not the application server readiness.
https://github.com/intershop/helm-charts/blob/main/charts/icm/templates/test-job.yaml
command: ['sh', '-c', "until wget http://{{ .Release.Name }}-icm-web-wa:8080/INTERSHOP/wastatistics; do echo waiting for webadapter ; sleep 2; done"]

with https://github.com/intershop/helm-charts/pull/627 the WA checks the availability of ICM-AS for his own readiness probe. Therefore the test-job.yaml can wait for the WA readyness on /INTERSHOP/wastatus


Minor change PT-BR

@creed-victor You can merge now. Thanks.

@creed-victor You can merge now. Thanks.

@bitcoinuser you can also create PR's as draft in the future If you know that you will need more changes or want to check on preview build first :)

@bitcoinuser you can also create PR's as draft in the future If you know that you will need more changes or want to check on preview build first :)


info Starting JS server

npx react-native run-android
after
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 960 file(s) to forward-jetify. Using 4 workers... info Starting JS server...
after
Welcome to React Native!
Learn once, write anywhere
To reload the app press "r"
To open developer menu press "d"
but:
info Starting JS server... waiting.
My app won't open on Genymotion emulator

Restarting PC and

react-native init ProjectName
npx react-native run-android

and solved