Problems with serializing nested Valid and Invalid

I'm using ValidatedNel from the cats package. I'm experiencing the following issue:
When akka tries to serialise my case class which contains a nested ValidatedNel it will not work. It seems to get the nesting wrong for the names of the fields or something. I crudely managed to reproduce it by hacking the unit tests a bit.
See here: https://github.com/TimSoethout/akka-kryo-serialization/commit/a87108e72e4921f615bb42f8024e76957f2b47fe
When you run the unit test it breaks hard:
> sbt "testOnly com.romix.akka.serialization.kryo.SnapshotRecoveryTest"
[info] Loading global plugins from /Users/tim/.sbt/0.13/plugins
[info] Loading project definition from /Users/tim/Downloads/akka-kryo-serialization/project
[info] Set current project to akka-kryo-serialization (in build file:/Users/tim/Downloads/akka-kryo-serialization/)
[info] Compiling 1 Scala source to /Users/tim/Downloads/akka-kryo-serialization/target/scala-2.11/test-classes...
[WARN] [10/11/2016 15:07:51.091] [pool-6-thread-7-ScalaTest-running-SnapshotRecoveryTest] [akka.serialization.Serialization(akka://testSystem)] Multiple serializers found for class cats.data.Validated$Valid, choosing first: Vector((interface scala.Product,com.romix.akka.serialization.kryo.KryoSerializer@219462dc), (interface java.io.Serializable,akka.serialization.JavaSerializer@4540d92a))
Implicitly registered class with id: cats.data.Validated$Valid=1209028387
Implicitly registered class with id: cats.data.Validated$Invalid=35569944
[WARN] [10/11/2016 15:07:51.278] [pool-6-thread-7-ScalaTest-running-SnapshotRecoveryTest] [akka.serialization.Serialization(akka://testSystem)] Multiple serializers found for class cats.data.Validated$Invalid, choosing first: Vector((interface scala.Product,com.romix.akka.serialization.kryo.KryoSerializer@219462dc), (interface java.io.Serializable,akka.serialization.JavaSerializer@4540d92a))
Implicitly registered class with id: cats.data.NonEmptyList=413260567
Implicitly registered class with id: scala.collection.immutable.Nil$=2013895718
Success([B@8fe4fdc)
Success([B@695eb0e4)
[WARN] [10/11/2016 15:07:51.286] [pool-6-thread-7-ScalaTest-running-SnapshotRecoveryTest] [akka.serialization.Serialization(akka://testSystem)] Multiple serializers found for class scala.Some, choosing first: Vector((interface scala.Product,com.romix.akka.serialization.kryo.KryoSerializer@219462dc), (interface java.io.Serializable,akka.serialization.JavaSerializer@4540d92a))
Implicitly registered class with id: scala.Some=1288426183
Success([B@57e30b80)
Success([B@4ba65808)
[WARN] [10/11/2016 15:07:51.287] [pool-6-thread-7-ScalaTest-running-SnapshotRecoveryTest] [akka.serialization.Serialization(akka://testSystem)] Multiple serializers found for class com.romix.akka.serialization.kryo.Test, choosing first: Vector((interface scala.Product,com.romix.akka.serialization.kryo.KryoSerializer@219462dc), (interface java.io.Serializable,akka.serialization.JavaSerializer@4540d92a))
Implicitly registered class with id: com.romix.akka.serialization.kryo.Test=662069142
[WARN] [10/11/2016 15:07:51.288] [pool-6-thread-7-ScalaTest-running-SnapshotRecoveryTest] [akka.serialization.Serialization(akka://testSystem)] Multiple serializers found for class com.romix.akka.serialization.kryo.ValidatedWrapper, choosing first: Vector((interface scala.Product,com.romix.akka.serialization.kryo.KryoSerializer@219462dc), (interface java.io.Serializable,akka.serialization.JavaSerializer@4540d92a))
Implicitly registered class with id: com.romix.akka.serialization.kryo.ValidatedWrapper=415019382
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000101f786d8, pid=98382, tid=0x0000000000003d0b
#
# JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0x5786d8]  Unsafe_GetObject+0x51
#
# Core dump written. Default location: /cores/core or core.98382
#
# An error report file with more information is saved as:
# /Users/tim/Downloads/akka-kryo-serialization/hs_err_pid98382.log
Compiled method (nm)   12510 15493     n 0       sun.misc.Unsafe::getObject (native)
 total in heap  [0x0000000104069150,0x00000001040694a8] = 856
 relocation     [0x0000000104069278,0x00000001040692b8] = 64
 main code      [0x00000001040692c0,0x00000001040694a8] = 488
Compiled method (nm)   12510 15493     n 0       sun.misc.Unsafe::getObject (native)
 total in heap  [0x0000000104069150,0x00000001040694a8] = 856
 relocation     [0x0000000104069278,0x00000001040692b8] = 64
 main code      [0x00000001040692c0,0x00000001040694a8] = 488
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
/usr/local/Cellar/sbt/0.13.11/libexec/sbt-launch-lib.bash: line 41: 98382 Abort trap: 6           (core dumped) "$@"

Relates:
When I try something like this in my own project in the unit tests (borrowing your roundTrip from ScalaKryoTest :

case class Test(s:String)
case class ValidatedWrapper(v: ValidatedNel[String, Int])

"BIG CRASH" should "not crash" in {

    val valid: ValidatedNel[String, Int] = Validated.valid(1)
    val invalid: ValidatedNel[String, Int] = Validated.invalidNel("errrr")

    val v = roundTrip(valid)
    val iv = roundTrip(invalid)

    println(v)
    println(iv)

    val wrappedv: Option[ValidatedNel[String, Int]] = Some(valid)
    val wrappediv: Option[ValidatedNel[String, Int]] = Some(valid)

    val wv = roundTrip(wrappedv)
    val wiv = roundTrip(wrappediv)

    println(wv)
    println(wiv)

    roundTrip(Test("test"))

    roundTrip(ValidatedWrapper(valid))
    roundTrip(ValidatedWrapper(invalid))

  }

it does not crash but gives me NPE:
Implicitly registered class with id: cats.data.Validated$Valid=1209028387
Implicitly registered class with id: cats.data.Validated$Invalid=35569944
Implicitly registered class with id: cats.data.NonEmptyList=413260567
Implicitly registered class with id: scala.collection.immutable.Nil$=2013895718
Valid(1)
Invalid(NonEmptyList(errrr))
Implicitly registered class with id: scala.Some=1288426183
Some(Valid(1))
Some(Valid(1))
Implicitly registered class with id: com.ing.rebel.kryo.Test=344068600
Implicitly registered class with id: com.ing.rebel.kryo.ValidatedWrapper=2073457946

java.lang.NullPointerException
Serialization trace:
head (java.lang.Integer)
a (cats.data.Validated$Valid)
v (com.ing.rebel.kryo.ValidatedWrapper)
com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException
Serialization trace:
head (java.lang.Integer)
a (cats.data.Validated$Valid)
v (com.ing.rebel.kryo.ValidatedWrapper)
	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:101)
	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518)
	at com.esotericsoftware.kryo.Kryo.writeObjectOrNull(Kryo.java:606)
	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:87)
	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518)
	at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552)
	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80)
	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518)
	at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628)
	at xxxx.kryo.SpecCase.roundTrip(SpecCase.scala:39)
	at xxxx.kryo.ScalaKryoTest$$anonfun$3.apply(ScalaKryoTest.scala:56)
	at xxxx.kryo.ScalaKryoTest$$anonfun$3.apply(ScalaKryoTest.scala:27)
	at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1682)
	at xxxx.kryo.ScalaKryoTest.withFixture(ScalaKryoTest.scala:78)
	at org.scalatest.FlatSpecLike$class.invokeWithFixture$1(FlatSpecLike.scala:1679)

It does seem to work with Either:
  case class EitherWrapper(v: Either[String, Int])
  ...

  it should "handle nested Either" in {
    val left: Either[String, Int] = Left("s")
    val right: Either[String, Int] = Right(1)

    roundTrip(EitherWrapper(left))
    roundTrip(EitherWrapper(right))
  }

results in
Testing started at 16:06 ...
Implicitly registered class with id: com.ing.rebel.kryo.EitherWrapper=8927732
Implicitly registered class with id: scala.util.Left=946164401
Implicitly registered class with id: scala.util.Right=199227405

Process finished with exit code 0

I can reproduce and confirm this issue, however I believe the problem is in core Kryo.
Debugged it a while was not able to locate the issue so far.
Interesting observation is that running with TRACE logging (via Log.TRACE()) makes it serialize the message properly, see below:
I prepared a full reproducer, however believe this should be fixed in Kryo core instead of this plugin so far.
Full reproducer with outputs: https://github.com/ktoso/akka-cats-serialize/tree/master
Both successful run with TRACE and failing run without logging

I think this issue is addressed in Kryo-4.0 that changes how the generic classes are serialized by the FieldsSerializer that is used here. I have to test and confirm. Thanks @ktoso for the isolated test case

Is there an easy way to setup 4.0 for akka?

You can try to change the dependency to kryo-4.0.0, recompile and publish it locally. I don't think there is need for any change.

I confirm that Kryo 4.0.0 resolves this issue.
It also seems to be drop-in compatible with this version of akka-kryo-serialization.
I don't know about what timing would be best for this library to upgrade to Kryo 4.0, but it would be great to do so soon it seems :-)
@TimSoethout in order to make this work for you right away, you can override the kryo dependency, as shown here: https://github.com/ktoso/akka-cats-serialize/commit/3e95dcdaa3b81c3f66104392454046a1eff7d9b8

To allow clients to retain the former handling of generics a config option to control kryo.getFieldSerializerConfig().setOptimizedGenerics(true) could be added.

Cheers, thanks @ktoso, @luben & @magro. This seems to solve it for me for now.
I do run into another issue where I nest a unit in a Validation, but that one is already documented here: https://github.com/romix/akka-kryo-serialization/issues/89.

Great, thanks everyone involved.
@luben when do you think this plugin could upgrade to 4.0? Seems like a general good step to do in any case in the near future.

@magro, As mentioned in #89:
kryo.getFieldSerializerConfig.setOptimizedGenerics(true) seems to let the NPE return.
Maybe this was the crux all along?

Yes, couple of weeks ago I proposed to cut 0.4.2 with the currently commited improvements and kryo-3.0 and also release 0.5.0 depending on kryo-4.0 with settings to turn on the backward compatibility with 3.0 serialization format.  https://github.com/romix/akka-kryo-serialization/pull/97

Great, thanks!

@luben I'm not opposed to release 0.4.2 and 0.5.0 as you suggested. I'm just too busy at work recently. If you can submit PRs for this, I'm fine reviewing them and rolling out the release.

@romix great. I will give a shot with the Unit serialization problem and will prepare PR for 0.4.2 release and later 0.5.0 release based on kryo-4.0 (with added configs to keep the backward compatibility with 3.0)

@luben Thanks a lot!

Awesome, love this community @luben @romix :-)


增加 IReadOnlyList 及其实现 ReadOnlyList

Pull Request Test Coverage Report for Build 103

8 of 8 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 92:
0.0%

Covered Lines:
1509

Relevant Lines:
1509

💛  - Coveralls


Implement EOF

What was wrong?
The current specs do not support EOF
Related to Issue #971
How was it fixed?
Implement the 11 EOF EIPs
Cute Animal Picture

Rebased on latest forks/prague

Rebased on current forks/prague and updated tests to the latest release


GH-37111: [C++] Dataset: Fixing Parquet Schema Cast

Rationale for this change

Parquet Dataset uses SchemaManifest to cast, however, arrow::Field in SchemaManifest has a deduced type, and not the dest type.
If user is using duration. It will be stored and deduced as int64, so causing the bug.
What changes are included in this PR?

Using deduced type to casting
Are these changes tested?

Yes
Are there any user-facing changes?
bugfix

Closes: #37111

@bkietz @pitrou Would you mind take a look?

You're right, I did a wrong fixing, let me draft a new and correct one


Allow user menu for unauthenticated users

This is the second attempt of introducing an easy way for unauthenticated users to use the panel. #8671 had a lot of unnecessary backend code and convoluted if conditions. This PR takes a different approach by only modifying the views.
Some checks for authentication could also be removed because the user menu and the account widget are now fully functional without an authenticated user. Because the user menu can now also be displayed on simple pages, as a side effect, switching from dark to light mode is now also supported before the user is authenticated.
If this PR is welcome and should be merged I will:

[ ] Add missing translations
[ ] Add documentation

Screenshots

widget when unauthenticated & user menu

user menu when unauthenticated

user menu on simple pages

[x] Changes have been thoroughly tested to not break existing functionality.

[x] New functionality has been documented or existing documentation has been updated to reflect changes.

[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Sorry, I still think this is more suitable for a package/plugin to provide the widget and render hook for the guest menu

Sorry, I still think this is more suitable for a package/plugin to provide the widget

Filament provides the account widget and, in my opinion, should not crash on the dashboard when the Authenticate middleware is removed. Therefor I've opted to modify the widget to make it compatible.

and render hook for the guest menu

In this PR there is no seperate guest menu, displaying no menu whenever the Authenticate middleware is removed looks out of place. There is no option to sign in or sign up anywhere. This modifies nothing for everyone who applies their Authenticate middleware so I don't see why the process should be made mor complicated for users who'd want this feature.
When solving this with a render hook, the whole menu hast to be duplicated like I originally did in #8671 which I don't think is a nice solution. Keeping up with changes in the "real" user menu would not be very maintanable.

I agree that Filament should not crash when removing the authenticate middleware. I am more than happy to merge a PR that fixes that.
I am also happy to merge in any extra render hooks that would be required to create a guest menu in a plugin or in your own app.
However, I do not like the overhead that this "default" guest menu - agreed with @wychoong. Sorry.
In the future, I am more than happy to validate PR ideas before you spend time on them, to avoid any wasted time.

And with a render hook, you don't really need to keep up with any changes to the normal user menu, your menu would be entirely managed by your codebase, using the x-filament::dropdown component

Okay thank you, its not any extra work for me if I can reuse this for the plugin. Will work on a PR for the crash and the render hooks in a few weeks.

Sounds good. We want to make Filament as extensible as possible with plugins, and render hooks are a great way to achieve that.


[Bug fix] 201-torch-numpy tensor.dot

In the cell
# incorrect method
data = np.array(data)
tensor = torch.Tensor([1,2,3,4]
print(
    '\nmatrix multiplication (dot)',
    '\nnumpy: ', data.dot(data),        # [[7, 10], [15, 22]]
    '\ntorch: ', torch.dot(tensor.dot(tensor)     # 30.0. Beware that torch.dot does not broadcast, only works for 1-dimensional tensor
)

it want to show tensor.dot() don't work with 2-D input, but it pass 1-D tensor.

Thanks for the contribution. For the convenience, I have changed the notebook file myself.


spike: research new BTCLI version

Research BTCLI 8.0

Check if the subnet still runs on the newest version
Document required changes for the subnet to run
Run tests and validate they still work+

Updating bittensor
It is suggested to create a new virtual environment for this
conda create -n bt
conda activate bt

Update bittensor library
pip install "bittensor[cli]"
pip install "bittensor[sdk]"
pip install bittensor-wallet

double check that the library is correctly installed
pip list

You should see something similar to the following list
bittensor                 8.1.0
bittensor-cli             8.1.0
bittensor-wallet          2.0.1

Issues
List of found issues when trying to run subnet 42
Config object issues
when trying to run a validator I am facing an error with the config object and the wallet class
Command:
python neurons/validator.py --netuid 165 --subtensor.network test --wallet.name validator --wallet.hotkey default --logging.debug --axon.port 8092 --neuron.debug

Output:
TypeError: argument 'config': 'Config' object cannot be converted to 'Config'

This error is happening on base/neuron.py file
│                                                                                │
│    94 │   │   │   self.subtensor = MockSubtensor(self.config.netuid, wallet=self.wallet)         │
│    95 │   │   │   self.metagraph = MockMetagraph(self.config.netuid, subtensor=self.subtensor)   │
│    96 │   │   else:                                                                              │
│ ❱  97 │   │   │   self.wallet = bt.Wallet(config=self.config)                                    │
│    98 │   │   │   self.subtensor = bt.Subtensor(config=self.config)                              │
│    99 │   │   │   self.metagraph = self.subtensor.metagraph(self.config.netuid)

Failed solutions
List of attempts already tried
1# new config file
There is a new config file seems to be important but its just a base configuration, didn't affect this issue
docs: https://docs.bittensor.com/btcli#config
community message reference: https://discord.com/channels/1120750674595024897/1242998447125037106/1290369105412755600
2# dealing with the config object on base neuron
The way the config object is created is the following
        base_config = copy.deepcopy(config or BaseNeuron.config()) # Gets base configuration from config file
        self.config = self.config() # Config coming from command parameters
        self.config.merge(base_config) # Joins both configs
        self.check_config(self.config)

By logging
 isinstance(self.config, bt.Config)

we can deduce that self.config is in fact a Config object
When logging
dir(self.config)

output: ['__is_set', 'axon', 'config', 'enable_validator_api', 'logging', 'mock', 'netuid', 'neuron', 'no_prompt', 'no_version_checking', 'strict', 'subtensor', 'wallet', 'wandb']
we can see that all the configs defined in the config.py file are there and seems fine
Tried doing
bt.Wallet(config=self.config.config)

But more errors rised and errors like "default wallet is not in the wallet list" showed up, what tells me that doing that only uses default configs
Ideas to explore

Maybe the config argument that bt.Wallet is waiting for is different than the Config we are using ( perhaps some missalignment between library versions? )

Oh that new wallet import may make the difference, will double check, thank you!

There is a new Config object with just wallet configuration, this is used in the new Wallet class, this class is called Config
Before this new version we used the regular config object that has every config in it, this config object class was also called Config . Here is where the confussion started and why this error now makes sense
TypeError: argument 'config': 'Config' object cannot be converted to 'Config'
I hate that there was no disclaimer about this or nobody saying nothing on the discord channels :melting_face:
Solution:
Create a new config object just for bt.wallet and insert the required values from the main config
wallet_specific_config = Config(
hotkey=self.config.wallet.hotkey, name=self.config.wallet.name
)
        self.wallet = bt.wallet(config=wallet_specific_config)


[libarchive] update

Resolves https://github.com/microsoft/vcpkg/pull/33035.
Resolves https://github.com/microsoft/vcpkg/pull/32703.


meta attribute is missing in the response of GET /Roles/<role-id>?attributes=<attributes> requests

Describe the issue:

Create a role with users, groups, permissions
Get the role by id -> This contains the meta attribute (but some sub-attributes are missing https://github.com/wso2/product-is/issues/9177)

curl --location --request GET 'https://localhost:9443/scim2/Roles/e8258724-b7b4-430b-a7d5-49595c273b85' \
--header 'Authorization: Basic YWRtaW46YWRtaW4='

Get the role by id excluding some attributes -> This contains the meta attribute (but some sub-attributes are missing https://github.com/wso2/product-is/issues/9177)

curl --location --request GET 'https://localhost:9443/scim2/Roles/e8258724-b7b4-430b-a7d5-49595c273b85?excludedAttributes=permissions,users' \
--header 'Authorization: Basic YWRtaW46YWRtaW4='

:exclamation:  4. Get the role by id by specifying some attributes  -> The response doesn't contain the meta attribute
curl --location --request GET 'https://localhost:9443/scim2/Roles/e8258724-b7b4-430b-a7d5-49595c273b85?attributes=permissions' \
--header 'Authorization: Basic YWRtaW46YWRtaW4='

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version:  IS 5.12.0-alpha
OS:  Linux
Database: H2
Userstore:  LDAP

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


update mongo for bookworm compatibilty

Problem

Description of why you made this PR

Solution

And how do you fix that problem

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme

@gcollin what do you think of updating don’t code to mongo 7.0?

No problem on my side. Sorry I was focused on something else


squeeze TensorBuffer

Hi,
I'm tring to test on my model to encode an image. I got a [1, 400, 400 3] tensorBuffer ("hidden_img" below) after forwarding but I want to squeeze the tensor to [400, 400, 3] before calling TensorImage.fromTensorBuffer( tensorBuffer  ).  Is there any method to squeeze tensorBuffer like squeeze in numpy. Any suggestions would be appreciated!
  TensorImage encode(TensorImage image, List<double> secret) {
    print("success enter encode! ");

    /// Iutputs List
    var inputs = [image.buffer, secret];

    /// Outputs buffer
    TensorBuffer out_secret = TensorBufferFloat(_outputShapes[0]);
    TensorBuffer hidden_img = TensorBufferFloat(_outputShapes[1]);
    TensorBuffer residual = TensorBufferFloat(_outputShapes[2]);

    /// Outputs map
    Map<int, Object> outputs = {
      0: out_secret.buffer,
      1: hidden_img.buffer,
      2: residual.buffer,
    };
    print(_inputShapes.toString());

    /// run
    _interpreter.runForMultipleInputs(inputs, outputs);

    print("run success!");
    // List<int> shapes = [400, 400, 3];
    // hidden_img.resize(shapes);

    return processOutputImage(TensorImage.fromTensorBuffer(hidden_img));
  }

  TensorImage processOutputImage(TensorImage image) {
    //resize and normalize image
    imageProcessor =
        ImageProcessorBuilder().add(NormalizeOp(0, 1 / 255)).build();
    // add();
    //process image one by one
    TensorImage output_image = imageProcessor.process(image);
    return output_image;
  }

Hey there, @linzissu, did you find a solution to the problem?


Add tests for EmbraceUrl

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

Current dependencies on/for this PR:

master

PR #65   👈

This stack of pull requests is managed by Graphite.


Can I use the Agora AgoraRtcEngine_iOS Pod directly

Hi. Can I put this in my Podfile instead of installing the pod through node_modules?
I've tried it but I get some errors. Namely
Use of undeclared identifier 'AgoraConnectionChanged....
Any ideas? Thanks.

Yes you can, but i think it is bad practice, because you need to confirm which version is the react-native-agora new released dependency. Probably you could provide more details here that I would help you to fix it.

Cool, thanks @Matrixbirds , looks like I was able to get it on second try :)


Add Django 4.0 official documentation

What does this PR do?
Add resources
For resources
Description
Quick reference guide to Django provided by codemy.com in PDF version
and official documentation on Django 4.0 in PDF version
Why is this valuable (or not)?
The cheat sheet provides to quick start to create and run a Django project
How do we know it's really free?
The cheat sheet provided by the author at his website codemy.com at https://codemy.com/books/django-quick-reference-guide.pdf
The documentation is provided by the official team.
For book lists, is it a book? For course lists, is it a course? etc.
The first commit is includes a cheat sheet
The second commit link includes a documentation
Checklist:

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

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Write a Dart program to convert inches to centimeters

Description
Write a Dart program to convert inches to centimeters
1 inch = 2.54 centimeters
Input  : 5
Output : 12.7

How to contribute

Save the solution in convert_inches_to_centimeters.dart file
Add convert_inches_to_centimeters.dart file in convert-inches-to-centimeters folder

Please assign this to me @harshraj8843


Use custom systemd files and ilab wrapper from inside nvidia-bootc build context

In order to addres a problem with the build pipeline, we need all the files to be present inside of each container build context
Until we switch to have .. as the build context, we're duplicating some files

Duplicates https://github.com/containers/ai-lab-recipes/pull/696 :facepalm:


Connecting to Google Cloud SQL using Cloud SQL Proxy on Heroku produces ENOENT error

I'm having a similar problem to #1464 with connecting to a socket. The socket I would like to connect to is a google cloud proxy for a google sql server.
According to Google Cloud SQL's help page for external connections, the UNIX socket follows the syntax <PROXY_PATH>/<INSTANCE_CONNECTION_NAME> which I am using as the socketPath in Node. I am using the correct username and password, since I can connect using MySQL Workbench. I can also connect if I use the node command you provided in the issue referenced above.
On the Google SQL Cloud Proxy side, I'm starting up the proxy from a Windows command window:
cloud_sql_proxy.exe -dir=/cloudsql -instances=[instance-connection-name]=tcp:3306
& mysql -u [username] -p [password] -h <IP_ADDRESS>

On the Node.js side:
var connection = mysql.createConnection({
    user: "username",
    password: "password",
    port: 3306,
     socketPath: "/cloudsql/[instance-connection-name]"
});

where I replace [...] with the correct values.
In the connection, I get:
_connection: [Circular]
...
_fatalError: {[ Error: connect ENOENT /cloudsql/[instance-connection-name] ]
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'connect',
address: '/cloudsql/[instance-connection-name]'
fatal: true},

and Heroku also spits out a similar error:
Error: Cannot enqueue Query after fatal error.]
code: 'PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR',
fatal: false

I realize that there are many different parts to this, so it could be another portion that is throwing an error.  However, since the proxy is open and I can access it with node, I believe that it could be the way I am using this package. Any help would be appreciated.

Hm. I'm not very familiar with that setup, and the most I can say from the errors is that Error: connect ENOENT /cloudsql/[instance-connection-name] is coming from Node.js core code, and I'm not familiar with that that means on a UNIX socket. Is there any way you can help me reproduce the issue to take a closer look?

I'm not sure that I can reproduce this error outside of Heroku, unfortunately. It's specific to the dynamic IP address assigned by Heroku to an application, which is what prompted my connection.
The best way to reproduce the error is to set up a SQL database that can only be accessed by a certain username and password through a proxy. The way I created this is the following.
Is this enough information? Or do you need the specific connection that I am setting up? I have a dummy database that I could provide you with information for, although I'd rather not do so publicly on Github.
Steps

Create a project
Create an instance for a server

ID: skipper_sql
Region - us-east1
Machine Type - SSD
Storage Capacity - start at 10GB
Create backups and set automated ones

[Optional] Add your public IP to the authorized networks to see the database. Remove to test proxy.

Create a cloud SQL Proxy: https://cloud.google.com/sql/docs/sql-proxy

Enable Cloud SQL Administration API - https://cloud.google.com/sql/docs/external#proxy https://cloud.google.com/appengine/docs/flexible/nodejs/using-cloud-sql#before_you_begin

Install and Initialize Cloud SDK - https://cloud.google.com/sdk/docs/

Set the instance password - https://cloud.google.com/shell/docs/examples#manage_cloud_sql_data

```
gcloud sql instances set-root-password [YOUR_INSTANCE_NAME]
--password [YOUR_INSTANCE_ROOT_PASSWORD]
```

Instance is from gcloud, password generated from KeePass, use whenever asking for root user

Use Google Cloud SDK to create a user for proxy connections - https://cloud.google.com/sql/docs/mysql-client#cloud-shell https://cloud.google.com/sql/docs/sql-proxy#invocations

```
gcloud beta sql connect my-instance --user=root
CREATE USER '[USER_NAME]'@'%' IDENTIFIED BY '[PASSWORD]';
```

Check user is there - <https://cloud.google.com/sql/docs/create-manage-user-mysql>

```
SELECT user, host FROM mysql.user;
```

Create a specific cloud sql proxy user and password:
CREATE USER '[USER_NAME]'@'cloudsqlproxy~%' IDENTIFIED BY '[PASSWORD]'

Verify connection to databases

```
mysql --host=[INSTANCE_IP] --user=root --password
```

Set up a service account - https://console.cloud.google.com/iam-admin/serviceaccounts/serviceaccounts-zero

Run SQL Proxy on local machine and keep it running

On Windows:
 cloud_sql_proxy.exe -instances=[instance-connection-name]=tcp:3306 & mysql -u [username] -p [password] -h <IP_ADDRESS>

Can add credential file as well, however won't allow MySQL Workbench to work then.
 ... -instances=[instance] -credential_file=[file] & mysql...

Create socketPath with username and password on npm

 {
    “username”: “dev”,
    “password”: “devpwd”,
    “database”: “dev-db”,
    “host”: “localhost”,
    “dialect”: “mysql”,
    “dialectOptions”: {
    “socketPath”: “/cloudsql/{projectName}:{zone}:{instance-name}”
 }

 socketPath: "/cloudsql/t-computer-144617:us-east1:skipper-sql"

from https://medium.com/google-cloud/node-js-on-app-engine-with-cloud-sql-proxy-43f56279a56b#.szvu84x7k

Use in application in Node using Express

var connection = mysql.createConnection({
user: "[username]",
password: "[password]",
port: 3306,
 socketPath: "/cloudsql/[instance-connection-name]"

});
router.post("/get-result", function(req, res) {
var query = "INSERT INTO `test_schema`.`test_table` (`name`, `date`, `number`) VALUES ('name', '2016/9/27', '3');";

console.log("MYSQL CONN: ", connection);

connection.query(query, function(err, rows, fields) {
    if (err) {
        console.log("ERROR: ", err);
        return res.status(500).send("Could not connect on query");
    }
    var results = {
        "rows": rows,
        "fields": fields,
    };
    console.log(results.rows);

    connection.end();
    res.json(results);
});

});

I'm confused just at step number 1. Where do i make a new project? Sorry if it should be obvious, but I can't figure it out.
For for additional steps, are those free things I can just make? Where do I sign up?

Would it be easier if you could submit a pull request with a fix?

Ah, this was referring to the Google Platform Cloud SQL. I'm sorry it was not clear before. There is a free trial available with Google Cloud SQL, you can click the Try It Free button in the corner.

After you click Try It Free, you can go through the trial setup. You get 60 days free and $300 worth of credit.
Once you have gone there, you can follow the prompts for setting up a project.

If you have any examples of connecting with a UNIX or TCP socketPath, that would be great to have.

I have another update. I've been tinkering on this with a local host connecting to the Google Cloud SQL server, and I have some new error logs, in case that can maybe help?
Err connecting: Error: Cannot enqueue Handshake after fatal error.
    at Protocol._validateEnqueue (C:\Users\[user]\Documents\GitHub\CORE.TypicalBa
ys\node_modules\mysql\lib\protocol\Protocol.js:199:16)
    at Protocol._enqueue (C:\Users\[user]\Documents\GitHub\[repo]\node_
modules\mysql\lib\protocol\Protocol.js:135:13)
    at Protocol.handshake (C:\Users\[user]\Documents\GitHub\[repo]\node
_modules\mysql\lib\protocol\Protocol.js:52:41)
    at Connection.connect (C:\Users\[user]\Documents\GitHub\[repo]\node
_modules\mysql\lib\Connection.js:136:18)

Hi, do you have any update about this issue?

Sorry for not updating (I thought I did). I was able to connect to the Google Cloud SQL just fine, so not sure what the issue is. Without being able to reproduce and no PR fix offered up, I'm not sure there is any action I can take here.

@dougwilson Thanks so much! Can you give an example on successfully connecting to Google Cloud SQL?

All I did was follow the instructions at https://cloud.google.com/sql/docs/external#proxy ; I tried both TCP and UNIX socket proxies with this module and they both worked.

How do you manage this if connecting via a docker container? Kinda struggling with this.


adds implementation for document type

Issue #103
Description of changes:
This PR adds implementation of document type.
Ion Schema specification:
https://amzn.github.io/ion-schema/docs/spec.html#type-system

document: represents a series of top-level values

List of changes:

adds IonSchemaElement implementation
TypeRef validate method now uses IonSchemaElement as input
TypeDefinitionImpl's parse_from_isl_type method now returns a TypeId
instead of TypeDefinitionImpl
adds nullable annotation check for non built in type references to
return an error
Remove document type tests from skip list
adds id() for TypeRef to get the TypeId of that TypeRef
adds doc examples

Tests:
adds unit tests for document type (removes previously unsupported tests from skip list)

Suggested review changes:

adds changes to use IonSchemaElement for validation
changed all constraint and type validation logic to use
IonSchemaElement as input
Added a Display implementation of IonSchemaElement to use it for
violation messages
added changes for derived types that are preloaded into TypeStore
modified tests according to above changes
Renamed IonSchemaElement enum variant

Overall, this approach looks really good. Just a few minor questions/comments.


feat(RingTheory/LaurentSeries): add properties of the X-adic valuation on Laurent series

Add some properties conneccting the $X$-adic valuation of a Laurent series to the vanishing of its coefficients, together with explicit values of the valuation of some basic Laurent series.
Co-authored-by: María Inés de Frutos-Fernández @mariainesdff

[ ] depends on: #13064

Have you considered using AddVal from Mathlib.RingTheory.HahnSeries.Summable?  It looks like the order API from Hahn series can make some of your proofs shorter.

Have you considered using AddVal from Mathlib.RingTheory.HahnSeries.Summable? It looks like the order API from Hahn series can make some of your proofs shorter.

Oh no, I had briefly had a look and then decided that since I was going for a MulVal they were unrelated. I will check it and try to simply my proofs - thanks!

Have you considered using AddVal from Mathlib.RingTheory.HahnSeries.Summable? It looks like the order API from Hahn series can make some of your proofs shorter.

I have had a look but it seems to me that since most of the material about AddVal concerns... additive valuations, there is not much I can gain: I would at any rate need to set-up a dictionary. Or am I missing something, do you have explicit instances in mind where this could help?


ReadMe moved to docs/backup-recovery

Created a new directory under docs and added README for backup-recovery
Removed the README under recovery since HACKING.md file includes
all the details about formatting and building the image

/cc @donpenney @danielmellado @vitus133
Signed-off-by: Sabbir Hasan<EMAIL_ADDRESS>

/retest

/retest

/retest

+1 ... no further comments from me

/lgtm


updated photogrammtery example

"If you want access from other tenants, please contact us via the #ml-vision Slack channel or open a pull request in this repo." Maybe change to "or open a issue in the cognitedata/vision-autotraining github repo


statusCode: 429 statusMessage: 'Too Many Requests'

Hi, when I make a request, I get the status code 429 with too many request.
Is there a limitation on the API call? if yes, would you tell me what they are? so I will be aware of them. thanks a lot.

Yeah, google definitely has some rate limits in place to prevent abuse. Since this isn't official, I can't exactly say what the rate limits for this exactly are.

The single translate endpoint has a much stricter limit than the limit that may not even exist on the batch endpoint.  This packager only implements single


Styled-components doesn't work with Flatlist

Version
2.1.2

Reproduction

https://github.com/Hunsu/styled-components-bug-with-flatlist
Steps to reproduce
Run the app. You won't have the bug if you change line 18 of the component DogCard to <View style={styles.cardContainer} >
Expected Behavior
All images are shown in the list.
Actual Behavior
The first images are rendered and then disappear and only some are rendered.

You need to add units to your CSS properties in styled-components styles.
https://github.com/styled-components/styled-components-native-code-mod

I did that and it didn't fix the problem. I think it should have warned me though. If you could give some indications I could debug further this problem.

If you remove flex: 1 it fixes the issue.
I'm pretty sure that means that the flex shorthand in css-to-react-native is not resetting correctly, or outputting slightly different values. https://github.com/styled-components/css-to-react-native/blob/master/src/transforms/flex.js
The good news is: You don't need to add it (same for width) to make your list work. It's completely unnecessary.
The bad news is: I might've seen this before, and getting the shorthands right has proven to be tricky.
cc @jacobp100

There's #465, which is similar. (Sorry it goes off topic!)
I'll add to this though,
React Native has two flex models: non-standard flex, and the web-standard flex{Grow, Shrink, Basis}. The main differences are that in the non-standard model, a positive flex implies a flexShrink of 0, and a negative insteal implies a flexGrow of zero. In the web-standard model, the flexShrink has a default value of 1.
Unfortunately, the non-standard flex property collides with the flex shorthand. We choose to use the shorthand instead, because we assume people would rather use the web-standard model.
Specific to your case, you switched from the non-standard flex model to the standard model, so your flexShrink went from 1 to 0, which caused your content to collapse. But Phil is right, you don't need the flex property at all (and it's not needed in the linked issue either).


PostgreSQL schema:dump includes data

Laravel Version: 8.83.27 (but was looking on 9.x branch and see the issue there)
PHP Version: 8.0
Database Driver & Version: postgresql 12, pg_dump 12.13

Description:
The artisan schema:dump command for postgresql is dumping the data from other postgres schemas.
In the original pull request it had --schema-only but after refactors it is now using --exclude-table-data for each table on the selected connection. https://github.com/laravel/framework/blob/8.x/src/Illuminate/Database/Schema/PostgresSchemaState.php#L24
If you have other schemas on the database the data for it won't be ignored. The original schema:dump works how I would expect it to work, where it does all database schemas without data (and my use case).
But I see there is a --database option so this fix shouldn't be to exclude all the extra tables but to restrict the pg_dump to only dump the schema for the current connection.
Steps To Reproduce:
Can add later if needed.

That indeed doesn't seem correct to me. Would be happy to get some help here with investigating at how we can prevent other connections from being dumped. I'm actually stumped it dumps the other schemas.

It's because it uses pg_dump and specifies a database which will by default dump all schemas (a postgres "schema" being a separate things makes things confusing to talk about).
pg_dump has the following option...
 -n, --schema=PATTERN         dump the specified schema(s) only
So really the fix is just getting the schema from the config and then using that option. I don't have time to make a PR until tomorrow.

That indeed doesn't seem correct to me. Would be happy to get some help here with investigating at how we can prevent other connections from being dumped. I'm actually stumped it dumps the other schemas.

This is due to PostgreSQL and MySQL having different definitions of what schemas are.
For MySQL a schema is defined as:
Conceptually, a schema is a set of interrelated database objects, such as tables, table columns, data types, indexes and so on. In MySQL a schema is synonymous with a database: you can swap out the words schema and database.
For PostgreSQL a schema is defined as:
A schema is a namespace for SQL objects, which all reside in the same database. Each SQL object must reside in exactly one schema.
More generically, the term schema is used to mean all data descriptions.
A schema can be used to organize database objects, or even allow having one database identical tables for different schemas. If you have a database named 'laravel', with schema 'symfony' and schema 'laravel', this database can have two tables named users in a PostgreSQL database.
In a MySQL database, you would simply have a database named laravel and symfony.
PostgreSQL has a default public schema, but for consistency sake I would recommend exporting all schemas for one database, so the artisan dump command simply dumps out all tables.
What we would like to achieve is that we want to get all schemas, without any data, excluding the migrations table.
This would look like something like:
pg_dump [connection_options] -s -T 'migrations' [db_name]
The reason why -s rather than using @robclancy suggestion, is because -n would make us be concerned about choosing which schema we want to use: which in PostgreSQL is a namespace within a database, but our command suggests that we print out the entire database.
Another, more complicated way, would be that Laravel by default always uses the 'public' namespace, and we only print out whatever is in public, but this seems controversial.
@driesvints If you would like to test this, I found a pretty cool way of having some fun with it:
(1) Create a docker container for PostgreSQL https://hub.docker.com/_/postgres
(2) Use https://uibakery.io/sql-playground to create a postgres database and fill it with test data, I used their site
so I could also test use cases for when using an external host. I setup a booking sample website which had about 500 records, all defined
(3) pg_dump -s -T 'appartments' -h host.postgres.database.azure.com -U user@dbname > laravel.sql
Most tables were namespaced under public, but it allowed me to eliminate the appartment table and still get all object definitions within all schemes.
I'll make a PR referring to this issue.

schema is a database option, so you wouldn't have any issues with specifying which schema to use. When I originally wrote out the issue I suggested that it just have -s added but then I reviewed the code more and changed to the -n suggestion because of how it currently works.
The original PR did exactly as you describe and for my use case that would work better. But if being more strict to the laravel connections I could also dump all my schemas by just doing multiple dumps with each connection (it's an option to choose the connection in the command).
I don't even know why it was refactored like it was in the first place.

@robclancy I replied to your comment in the PR:
https://github.com/laravel/framework/pull/45805#issuecomment-1404481502

@robclancy What did you by the way mean with schema being a database option? I wasn't able to find any references to a collection of schemes in the code. (A database could have multiple schemes, which we shouldn't confuse with the more general definition of a scheme).

It's not really documented or in the skeleton app (it probably should be), but it works like you would expect. https://github.com/laravel/framework/blob/075dde12e118419dfa5badd26acbe34c7f15c24f/src/Illuminate/Database/Connectors/PostgresConnector.php#L115
And I assume when not specified it just defaults to public.

Oh they do have it, but with search_path, which they probably added because schema is confusing.
https://github.com/laravel/laravel/blob/9.x/config/database.php#L77

PR is ready for this issue. @driesvints / @taylorotwell could you have a look? This is something that you guys worked on back in the day.
https://github.com/laravel/framework/pull/45805

Will be fixed in the next release. Thanks all.


Update following go modules to their newest proper version

   golang.org/x/crypto v0.6.0
    golang.org/x/sys v0.5.0

Especially golang.org/x/sys needs to be kept up to date since systems do change over time.
On OpenBSD anything using older golang.org/x/sys will soon have major issues because of syscall limitations.

I'm getting following error trying to build 0.5.1 with go1.16 (as referenced in go.mod):
Building subPackage ./cmd/rtrdump
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_linux.go:2271:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)

Setting go.mod to go1.17 and running go mod tidy fixes this for me.

This seems to be related to different build modes:
qbit@europa[0]:~/src/stayrtr(tags/v0.5.1)% go build --mod=readonly ./...
qbit@europa[0]:~/src/stayrtr(tags/v0.5.1)% go build --mod=vendor ./...
go: inconsistent vendoring in /home/qbit/src/stayrtr:
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

        To ignore the vendor directory, use -mod=readonly or -mod=mod.
        To sync the vendor directory, run:
                go mod vendor
qbit@europa[1]:~/src/stayrtr(tags/v0.5.1)%

readonly works as expected.

Hm, I see now that my error is different.

OK, to reproduce one can do:
git checkout v0.5.1
go mod vendor
go build -mod=vendor ./...

It seems the newer sys package requires > go1.16.

Weird, since the CI builds using 1.16

Nevermind, clearly whatever is limiting the version in CI doesnt work


Search posts in admin area

This PR adds search to posts in the admin area.
I have been wanting to take a look at full text search with Postgres for a while and thought this would be a good addition to the admin area.

Source: http://rachbelaid.com/postgres-full-text-search-is-good-enough/

Rubocop violations

File
Line
Reason

apps/admin/lib/admin/views/posts/search.rb
18
Unnecessary spacing detected.

apps/admin/lib/admin/views/posts/search.rb
18
Operator = should be surrounded by a single space.

lib/persistence/relations/posts.rb
53
Method has too many lines. [26/20]

  Generated by :no_entry_sign: danger


Scanner doesn't recognize window resolution

Every time I try to scan the error "Game Window not set to 1280x720 Windowed" show up, even if the game is in that resolution. Tried restarting several times the game.

Can confirm this happens on my GF's razor 15 laptop when attached to a secondary monitor. Works fine on a windows 10 laptop screen at native resolution, and on a desktop.

This is a very old issue and has likely been fixed by the latest release or prerelease. Please let us know if those versions have been fixed so that we may close this issue.


Masterfiles downloads as standard hifi files

I have hi-fi account, I havent been able to download any master files despite making sure "master" is set to my default. Downloading both master and hi versions of albums, yield the same exact file sizes.
Examples: Deftones : Ohms album, as well as the Smashing Pumpkins single "Confessions of a Dopamine addict" which are both available in Master quality, but downloads in standard via the gui app.

Same for me. Tried several tracks in Master quality but the downloads are always 16Bit 44.1k. Maybe MQA format cannot be transfered by TMD-Pro...?

You have to get your OAUTH token and then go to settings and paste it in the AccessToken field.  The token does expire not sure how long it takes to expire.  So you will need to get the new token when it stops downloading MQA quality.

Everything working with Tidal Media Downloader :) Download pure MQA raw files is 24-bit 48Khz FLAC ~1700kb/s (hi-fi FLAC have ~900kbs and 16-bit 41kHz. For full Master quality support You must have decode software or hardware for example DAC with support MQA playback. Unfortunately this standard have payment license. You must buy product for example USB DAC with MQA or software player for smartphone or PC with certificated playback. Captain obvious - TIDAL support MQA because they have official licensed player and You must PAY for that ;)

You have to get your OAUTH token and then go to settings and paste it in the AccessToken field. The token does expire not sure how long it takes to expire. So you will need to get the new token when it stops downloading MQA quality.

where do you find this oauth token?

For some dark reason "Can you feel it" from "the jackson 5" (from albums "The Essential Jacksons" AND "The Very Best Of The Jacksons and Jackson 5") does NOT want to be ripped.
Immediately when trying to do so "Err" occurs. Very strange since it plays in Tidl and all other songs of those albums rip perfectly. (Tried to put in a playlist - what sometimes helps if songs don't rip) - but that also didn't work :-( Anyone ideas what is happening ?
some hidden question mark '?' in "Can you feel it" ? or the numeral 5 of "jackson 5" doing someting strange in the code ?

You have to get your OAUTH token and then go to settings and paste it in the AccessToken field. The token does expire not sure how long it takes to expire. So you will need to get the new token when it stops downloading MQA quality.

where do you find this oauth token?

Hi, it's fixed with the most recent version.  You just have to log into the real tidal desktop app, then open tidal media downloader pro and go to settings and  click on the button that says get access token then click okay. But the access token does  expire  so  you just have to repeat the process if it stops downloading mqa files.

In the old versions, when I copy and paste the artist link, it would find and download all the albums of that singer, but in new versions I cannot find and download the albums of the singer one by one, I have to copy - paste them.

For some dark reason "Can you feel it" from "the jackson 5" (from albums "The Essential Jacksons" AND "The Very Best Of The Jacksons and Jackson 5") does NOT want to be ripped.
Immediately when trying to do so "Err" occurs. Very strange since it plays in Tidl and all other songs of those albums rip perfectly. (Tried to put in a playlist - what sometimes helps if songs don't rip) - but that also didn't work :-( Anyone ideas what is happening ?
some hidden question mark '?' in "Can you feel it" ? or the numeral 5 of "jackson 5" doing someting strange in the code ?

I found what is happening :
The quality provided by Tidal for this CD is "HiFi" but fot this "can you feel it" it is "High" so it's an AAC (lossy) which explains why it cannot be ripped.
(I noticed the same just now when trying to download https://tidal.com/browse/album/1403730 (Tina Turner : All the best) which are all normal)

I refreshed the token successfully, but the bitrate of my "master" download is 1355kbps.  That seems to me to be "HiFi" not "Master" right?  Am I doing something wrong?  How can I tell if the file I downloaded is MQA / "Master" quality or just HiFi?

I tried several tracks in master quality but the downloads are always 16Bit 44.1 kHz
While the old version Tidal-gui.exe can download in 24Bit 48kHz format

All 24 mqas are 15bit max anaway. As 8 bits are used to store inaudible frequencies and 1 bit to show the mqa logo on the dac. 😁


Statistics graph visualizations go below 0

Data points that equal 0 which proceed or follow >0 data points will be visualized below 0.

Hi @cm-chandler , this is due to how this library tries to draw graphs with a natural curve. I'm currently looking into new libraries to fix this this. Will leave this issue open and close it off when it's replaced.

This has been fixed why changing graph libraries and will be merged to main soon.


[WIP] feat(upgrade, jiva): add runtasks and job to upgrade jiva volumes from 0.8.2 to 0.9.0

Signed-off-by: mittachaitu<EMAIL_ADDRESS>This PR adds support m-upgrade for jiva volumes.
Steps to upgrade:
step1: kubectl apply -f rbac.yaml
step2: kubectl apply -f upgrade-job.yaml
step3: kubectl apply -f jiva_upgrade_runtask.yaml
step4: kubectl apply -f volume-upgrade-job.yaml

@mittachaitu please move these files to jiva dir in the same dir.


KAFKA-8806 Reduce calls to validateOffsetsIfNeeded

Remember the updateVersion of the last update to Metadata so we can avoid unnecessarily checking each partition for leader epoch changes on every call to KafkaConsumer#poll

There are a number of test failures that could be related.

@ijuma, they are related, looking at them now.

retest this please

Two jobs timed out, one had flaky test failures:

kafka.api.GroupEndToEndAuthorizationTest.testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl
kafka.api.SaslSslAdminClientIntegrationTest.testDescribeLogDirs
kafka.api.SaslSslAdminClientIntegrationTest.testAlterReplicaLogDirs
org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.testReconfigConnector
kafka.api.DelegationTokenEndToEndAuthorizationTest.testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl

retest this please

retest this please

retest this please

retest this please

retest this please

It's a bit concerning that the tests are so flaky in this PR, have we been checking the failures to see if they're related (before Jenkins deletes them)?

retest this please

Reviving this PR cc @hachikuji @ijuma @andrewchoi5

retest this please

retest this please

Here are some results from the new JMH added:
KAFKA-8806:

Benchmark                                                   (partitionCount)  (topicCount)  Mode  Cnt   Score   Error  Units
SubscriptionStateBenchmark.testFetchablePartitions                        50          5000  avgt   15  13.758 ± 0.477  ms/op
SubscriptionStateBenchmark.testHasAllFetchPositions                       50          5000  avgt   15   9.131 ± 0.056  ms/op
SubscriptionStateBenchmark.testPartitionsNeedingValidation                50          5000  avgt   15  11.869 ± 0.403  ms/op
JMH benchmarks done

Trunk:

Benchmark                                                   (partitionCount)  (topicCount)  Mode  Cnt   Score   Error  Units
SubscriptionStateBenchmark.testFetchablePartitions                        50          5000  avgt   15  19.249 ± 0.117  ms/op
SubscriptionStateBenchmark.testHasAllFetchPositions                       50          5000  avgt   15  17.025 ± 1.421  ms/op
SubscriptionStateBenchmark.testPartitionsNeedingValidation                50          5000  avgt   15  13.291 ± 0.646  ms/op
JMH benchmarks done

So for very high partition counts, there seems to be a decent improvement


Fix Graphic Filled (0070,0024) validation condition

Closes #115

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.95%. Comparing base (e8644e2) to head (b2b1225).
Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #116      +/-   ##
==========================================
+ Coverage   89.82%   89.95%   +0.12%
==========================================
  Files          15       15
  Lines        1632     1672      +40
==========================================
+ Hits         1466     1504      +38
- Misses        166      168       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Sure! Thank you for your swift feedback and merging the PR. 🤝


Import driver 1

Add driver one mode so it can be enhanced as well and play both in one

It will eventually happen but later.


Fedora 38 EOL date is incorrect by 1 year

Link to product page on endoflife.date
https://endoflife.date/fedora
Details of incorrect and correct details you have found
The EOL date on Fedora 38 doesn't follow the schedule of 13 months after F38 is released or 4 weeks after N+2 releases (F40). It's about 1 year past the correct 2024 date, the website says 2025 when it should be 2024.
Please see:
https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule
https://fedorapeople.org/groups/schedule/f-40/f-40-key-tasks.html (tentative EOL date 2024-05-14) - found this from https://fedorapeople.org/groups/schedule/
endoflife.date: 2025-05-18
Product documentation: 2024-05-14
What is the source website for the product and for its version information?
https://docs.fedoraproject.org/en-US/releases/lifecycle
Additional context
N/A

Your are right, #2887. I calculate the date using the method documented in the markdown file. The result is 2024-05-18, which is very close to the date indicated on Fedora's website.
We may want to change that in the future and use Fedora's tentative EOL date, but that's another issue.


add javadoc, and sources  artifacts for sonatype publishing

fixes https://github.com/uber/jaeger-client-java/issues/2

Coverage remained the same at 69.072% when pulling 8d0bc0282994d2ed7ba2a722c771df6a620df550 on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

Coverage remained the same at 69.072% when pulling e43d4dcfc44a7f8e037b37a92354fcb42d77951b on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

Coverage remained the same at 69.072% when pulling c25ad3dd2012ac22dc7a980eab875fabcd6e2e85 on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

upload step is still failing with "not authorized" errors. Did you use your own credentials in secrets?

Coverage decreased (-0.1%) to 68.958% when pulling 30af971083d28334a837f3f690c91f7c8d2d3034 on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

Coverage remained the same at 69.072% when pulling 7d017c369a2e0e611d3d87722ebb4cd3664b2e9f on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

Coverage remained the same at 69.072% when pulling 1fc920b7bcf2e0e253483165fcb0e7b67dfd0b6c on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

Coverage remained the same at 69.072% when pulling b3eded16c0fcfd00bc56eb683953ad7adce80017 on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

Coverage remained the same at 69.072% when pulling 07685c496011a52ce97d382c601161998b00c625 on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.

Coverage remained the same at 69.072% when pulling 4360b0850f54a998d1ab1e26fcee75524e69b969 on sonatype into 18b834136a1d2da302ad52fcc1abcebd5b0a57e8 on master.


Typo in selector script

https://github.com/HsuWanTing/unified-summarization/blob/80d9894c0142a3da3e81d61ab509c37ba15f82ec/scripts/selector.sh#L35
SAVE_PKL variable is passed as SAVE_PK which leads to an empty string being passed to a boolean flag.

Thanks for the debug. I've fixed it.


Infrastructure update

This is the remnants of an old branch of mine where I tried to opt in to ci-helpers and other infra update, but didn't manage to make yt happy. Good to see that @astrofrog managed to do it in #258 :)
However there were a few place where the travis run could be further optimized, like installing aplpy from conda, etc.

:+1:
Any chance you could increase the coveralls threshold?  Or is that something we have to do on the website?

@keflavich - it has to be set on coveralls.io


Input file format

Hi,
Thank you for the great program.
Just want to make sure about the input format.
Based on the manual, it is recommended to use Illumina PE reads to correct PacBio or ONT reads.
Given the circumstances, not sure which input file format would be appropriate.

Ratatosk correct -v -c 16 -s short_read_R1.fastq  -s short_read_R2.fastq -l long_reads.fastq -o out_long_reads
Ratatosk correct -v -c 16 -s short_read_R12all.fastq -l long_reads.fastq -o out_long_reads
--> -s short_read_R12all.fastq: It means to make a single input file from the same PE reads.

Any suggestion?
Cheers

Hi @OZTaekOppa,
Thank you for your interest in Ratatosk. Both suggestions are good and are the same for Ratatosk so use whichever is the most convenient for you. As a short reminder, Ratatosk recognizes mates from the same pair as reads with the same name/title. If the two mates from the same pair do not have exactly the same name/title, they will both be interpreted as two separate single-end reads.
Guillaume


[REQUEST] SSL Error Ssl Pls upgrade

SSL Error Ssl Pls upgrade
SSL Hata veriyor Bazı Sitelerde

Did you just censor the website and then leave it in the white and red text of the log? 🤦♂

I bet you are on Windows 7 or Server 2008R2 (or older)
Please read here https://forum.openbullet.dev/topic/129/error-unable-to-establish-ssl-connection-with-http-server/15

Closing as the OP is dead or something


[WIP] Add Interact notebook extension

Closes #17
See: https://github.com/data-8/nbinteract
TODO
Summary
Replace this text with a summary of your changes.
How to test
Replace this text with how someone else can test your changes. For example:

Log into JupyterHub as user sam
Verify that the Start Server button is present.

Closing because added in PR #50


Portus does not handle delete webhooks/events.

Portus does not handle delete events.
Started POST "/v2/webhooks/events" for <IP_ADDRESS> at 2016-07-07 06:11:37 +0000
Processing by Api::V2::EventsController#create as JSON
Handling 'delete' event:
{
  "id": "c13a2883-f2d5-4ec3-881c-33e42854997d",
  "timestamp": "2016-07-07T06:09:52.193178452Z",
  "action": "delete",
  "target": {
    "digest": "sha256:4a4aceb1fbd05888e565014dface338d92a3b028260dbce29ec160435b405860",
    "repository": "my_repo"
  },
  "request": {
    "id": "34840b7d-e2f9-41bf-b4a6-7079c8328519",
    "addr": "<IP_ADDRESS>",
    "host": "dockerhub.example.net",
    "method": "DELETE",
    "useragent": "Ruby"
  },
  "actor": {
    "name": "portus"
  },
  "source": {
    "addr": "a470a91e6c28:5000",
    "instanceID": "9516244b-63ad-45ee-bbd3-6dbe94562189"
  }
}
Completed 500 Internal Server Error in 30ms (ActiveRecord: 1.1ms)

NoMethodError (undefined method `handle_delete_event' for #<Class:0x007fc891abeda0>
Did you mean?  handle_push_event):
  lib/portus/registry_notification.rb:21:in `block (2 levels) in process!'
  lib/portus/registry_notification.rb:21:in `each'
  lib/portus/registry_notification.rb:21:in `block in process!'
  lib/portus/registry_notification.rb:13:in `each'
  lib/portus/registry_notification.rb:13:in `process!'
  app/controllers/api/v2/events_controller.rb:6:in `create'

Thanks for reporting this bug.


Enhancements to the SVG diagram generation for a workflow.

What would you like to be added:
For States which have actions associated in an array, a way to look at the actions in detail or atleast the names of the actions.
Right now, the diagram is linear. For ex: If there is a Parallel State, with 3 flows , the SVG generated just has a box, that says number of actions = 3.Similarly for Event state, if there are actions it just lists the number of actions.
May be a collapsible box, which when clicked shows more details.
Why is this needed:
One of the reasons to have an SVG, is to make it easier to understand the steps in the logic. It would be nice if we can dig into details on the diagram itself rather than going into the JSON to figure out what detailed actions,  are associated with a State.
I talked about this on the slack channel. The link to the conversation is here.
@tsurdilo created a gist for it here.
I would enhance that with a Merge step as well, which show cases that with the default strategy of "and" as completion, the workflow will wait for all to finish and merge the results from each of the flows before passing them as data to the subsequent downstream tasks.

@mohnishkodnani thanks, will work on it as soon as possible


Diet template inline tag support.

I'm really missing this jade 1.0 feature:
p hello #[i world] sun

hello world sun

ala https://github.com/jadejs/jade/pull/1323

This is now implemented as part of Diet-NG, which will be the successor of the current implementation at some point. Development will concentrate on that instead.


Network: IP resource creation

Description
This PR adds the automatic creation of IP resources for offloaded pods
This PR requires #2346 to be merged

/merge


Constant crashes without Caffeine addon

For some reason the mod always crashes if Caffeine addon is not installed
I always used the newest TFC version available (...173)
Crash logs:
https://pastebin.com/nX3zNPbA
https://pastebin.com/wj5ZTRkd
https://pastebin.com/LKCEv1Nk
(All 3 crashes are diferent with different mods enabled)

The caffeine addon is broken, you can't use it with anything. Also this looks like you might have accidentally downloaded the 'sources' jar instead of the regular jar?


Extend range of the laser scan

Description
Extends the range of the laser scan to match the range of the ToF sensor. Also, it decreases the default maximum range of infrared sensors, since they have a very bad range during the daylight.

👀


ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs

i received today error , because that plugin
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs
i need to know , can you update it , or have to remove it to

3.0.0 uses the latest SDKs and is pushed to Pub. It should solve this issue, but if not, please file another one.

This seems not be handled correctly while I have a trouble to install flutter_facebook_login 3.0.0...

FYI: I succeeded to install it after uncomment the line
platform :ios, '9.0'


Training model k2

ImportError: cannot import name 'SingleCutSampler' from 'lhotse.dataset' (/mnt/efs/swetha/icefall_environ/lib/python3.8/site-packages/lhotse/dataset/init.py)

This is an error caused by lhotse. The latest version of lhotse removes SingleCutSampler. We will fix this soon, as a temporary fix, you can comment the line importing SingleCutSampler.


Enhance Path Handling in Makefile

Issue Description:
The Makefile uses realpath to set SPHINXBUILD, SPHINXAUTOBUILD,CHECKOUT_BASENAME and CHECKOUT_TMP_ABS:
SPHINXBUILD     = $(realpath bin/sphinx-build)
SPHINXAUTOBUILD = $(realpath bin/sphinx-autobuild)

CHECKOUT_BASENAME=$(shell basename $(shell realpath ./))

CHECKOUT_TMP_ABS=$(shell realpath $(CHECKOUT_TMP))

This can cause compatibility issues and doesn't handle special characters in paths. We need to replace realpath with a more portable and robust method. This issues was already discussed with @stevepiercy on plone community conversation link

@Vivek-04022001 please add a change log entry. For Volto, the root of the package is packages/volto.

Thank you!


advanced menu: LESS variables for colors

I have introduced extra LESS variables to advanced menu.
Now you can customize the colors of advanced menu separately from the other colors of your theme. Just overwrite them in LESS file of your own theme.
Color defaults are the same as before, so nothing gets broken.
The original pull request #271 has already been checked by @klarstil , but was automatically closed later by ShopwareBot due to restructuring of the branch names.

Merged in commit https://github.com/shopware/shopware/commit/e81bc6ed5d4361a9f96b5827aa0a00171f235968.
Thanks again @SvenHerrmann.


vSphere deployment  build failed

Dear forum,
I am trying to deploy kubernetes cluster on vsphere.
Actually the target compilation failed with the following error.
I appreciate for any recommendation to handle this issue:
make[1]: Entering directory '/opt/kubernetes-anywhere'
( cd "phase1/$(jq -r '.phase1.cloud_provider' .config.json)"; ./do deploy-cluster )
.tmp/vSphere-k8s.test.tf
Error configuring: 33 error(s) occurred:

data.template_file.configure_master: missing dependency: tls_self_signed_cert.k8s
data.template_file.configure_master: missing dependency: tls_locally_signed_cert.k8s
data.template_file.configure_master: missing dependency: tls_private_key.k8s
data.template_file.configure_master: missing dependency: tls_locally_signed_cert.k8s
data.template_file.configure_master: missing dependency: tls_private_key.k8s
data.template_file.configure_node: missing dependency: tls_private_key.k8s
data.template_file.configure_node: missing dependency: tls_self_signed_cert.k8s
data.template_file.configure_node: missing dependency: tls_locally_signed_cert.k8s
data.template_file.configure_node: missing dependency: tls_locally_signed_cert.k8s
data.template_file.configure_node: missing dependency: tls_private_key.k8s
data.tls_cert_request.k8s.test-admin: missing dependency: tls_private_key.k8s
data.tls_cert_request.k8s.test-admin: missing dependency: tls_private_key.k8s
data.tls_cert_request.k8s.test-master: missing dependency: tls_private_key.k8s
data.tls_cert_request.k8s.test-master: missing dependency: tls_private_key.k8s
data.tls_cert_request.k8s.test-node: missing dependency: tls_private_key.k8s
data.tls_cert_request.k8s.test-node: missing dependency: tls_private_key.k8s
null_resource.master: missing dependency: tls_private_key.k8s
null_resource.master: missing dependency: tls_self_signed_cert.k8s
null_resource.master: missing dependency: tls_locally_signed_cert.k8s
tls_locally_signed_cert.k8s.test-admin: missing dependency: tls_private_key.k8s
tls_locally_signed_cert.k8s.test-admin: missing dependency: tls_private_key.k8s
tls_locally_signed_cert.k8s.test-admin: missing dependency: data.tls_cert_request.k8s
tls_locally_signed_cert.k8s.test-admin: missing dependency: tls_self_signed_cert.k8s
tls_locally_signed_cert.k8s.test-master: missing dependency: tls_private_key.k8s
tls_locally_signed_cert.k8s.test-master: missing dependency: tls_private_key.k8s
tls_locally_signed_cert.k8s.test-master: missing dependency: data.tls_cert_request.k8s
tls_locally_signed_cert.k8s.test-master: missing dependency: tls_self_signed_cert.k8s
tls_locally_signed_cert.k8s.test-node: missing dependency: tls_self_signed_cert.k8s
tls_locally_signed_cert.k8s.test-node: missing dependency: tls_private_key.k8s
tls_locally_signed_cert.k8s.test-node: missing dependency: tls_private_key.k8s
tls_locally_signed_cert.k8s.test-node: missing dependency: data.tls_cert_request.k8s
tls_self_signed_cert.k8s.test-root: missing dependency: tls_private_key.k8s
tls_self_signed_cert.k8s.test-root: missing dependency: tls_private_key.k8s
Makefile:63: recipe for target 'do' failed

@g1001p
Can you please share - /opt/kubernetes-anywhere/.config file?
cc: @tusharnt @BaluDontu

@g1001p Can you close this issue?
Looks like you are able to deploy the cluster. https://github.com/kubernetes/kubernetes.github.io/issues/3984#event-1120890053

i checked and see status of this issue closed day ago.
Thank you for great help.
On Wed, Jun 14, 2017 at 8:02 PM, divyenpatel<EMAIL_ADDRESS>wrote:

@g1001p https://github.com/g1001p Can you close this issue?
Looks like you are able to deploy the cluster.
kubernetes/kubernetes.github.io#3984 (comment)
https://github.com/kubernetes/kubernetes.github.io/issues/3984#event-1120890053
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes-anywhere/issues/403#issuecomment-308495252,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT6qcsjtkxh1CCFopM7el-BNu4QBG2H3ks5sEBI-gaJpZM4NvcRl
.

I mean to close https://github.com/kubernetes/kubernetes-anywhere/issues/403

@g1001p, just in case you still have compilation issue.
We have published pre-build image at cnastorage/kubernetes-anywhere
docker pull cnastorage/kubernetes-anywhere
docker run -it --rm --env="PS1=[container]:\w> " --net=host cnastorage/kubernetes-anywhere:latest /bin/bash
Please Refer updated Getting Started Guide at - https://github.com/kubernetes/kubernetes-anywhere/blob/master/phase1/vsphere/README.md

Looks like you are confusing me with somebody else i am not using
kubernetes-anywhere
On Wed, Jun 7, 2017 at 6:58 PM, divyenpatel<EMAIL_ADDRESS>wrote:

@g1001p https://github.com/g1001p
Can you please share - /opt/kubernetes-anywhere/.config file?
cc: @tusharnt https://github.com/tusharnt @BaluDontu
https://github.com/baludontu
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes-anywhere/issues/403#issuecomment-306858234,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT6qconmVdEnbE05QO3kVVgjhdGm4M_8ks5sBtapgaJpZM4NvcRl
.


Updates to GitHub page

Thanks for making my life better by discovering your site and videos on YouTube ! You make people understand very easily what you are teaching ! HLS is a magic tool learnt from you. I couldn't find a way to contact and thank you enough so i did it here.

  Thanks for the feedback!


Add note regarding release_level_backup feature flag to bbr devguide.

@thereses - please review this change. Thanks!

@edwardecook Hi Ed, Thanks for this PR. What's the difference between a "release author" and a "CF release author" in these notes? If they are the same person, we should just combine these two notes into one and make a bulleted list.
Stacking notes quickly leads to note fatigue where readers don't read both.

Thanks, @edwardecook. Ditto to Jane's question. Is there a difference between "release authors" and "cf release authors"?

Hi @jncd @ghanna2017, apologies for the delay in getting back to you, "cf release author" corresponds to someone writing a release specifically for OS or Pivotal cloud foundry who therefore needs to take account of the release_level_backup feature flag. Whereas a "release author" is more general

@edwardecook great, thanks. That's what I assumed and wrote the note accordingly.


Attribute "changed_by" is not updated

Just started to use this integration and I have noticed that the changed_by attribute is not updated. I have another Securitas custom component that I downloaded in the past from somewhere and such attribute works. It is useful to set up different automations according to who arms/disarms the alarm. Any chance to fix this?

Yes, let me take a look on how I can add this!

Yes, let me take a look on how I can add this!

Have you managed to add this feature?

Hi @guerrerotook!
Sorry to bother you again with this issue. Just wondering whether you have had the chance to review it. I have been using and old integration built by Segalion and Cebeerre until now. Once it loads, it works fine. Problem is that, for whatever reason, every time I have to reboot Home Assistant, such integration randomly does not load due to an error. I usually have to reboot 2-3 times for it to load properly. I have been testing yours, and it always loads with no errors. However, it does not update the attribute mentioned above in the first post.
Do you have any plan to add this feature in a short term? I am afraid that such integration could stop working soon, and I would love to switch to yours, as long as such attribute updates properly, which is the only feature I am missing. Looking forward to getting some feedback soon.
Cheers!


apiv2(ticdc): implmenet the list changefeeds

What problem does this PR solve?

Issue Number: ref #8019
What is changed and how it works?
Implement the list changefeeds for API v2
Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
`None`

/run-all-tests

/run-all-tests

/run-all-tests

/merge


how to use this source?

i'm a student,watch your video on youtube ,in the video,i know this source ,but ,today ,i use this source on python 3.xx,it's error,sorry ,my english is poor ,so ,you can tell me how to use this source? i really want to use this,thx

Try using python 2. I'm using Ubuntu 16.04 and I can run python extract_scene.py eoc/chapter1.py OpeningQuote. You write your videos as python classes in a python file and compile them to a video with that command. The command looks in eoc/chapter1.py and uses the OpeningQuote class. Take a look at the code for that class to get an Idea for making you own and try making a copy of it to play around with and modify. At least that's what I've been doing. One problem you might run into is that any video with a Pi creature in it can't be compiled because the Pi creature SVG file isn't included in this repo (understandably because that's more or less the trademark of 3b1b and Grant would want to keep the copyright). Good luck.

thinks for your help,i use Notebook on x86 structure,so it's not good fo Ubuntu ,so i have to use Win10,now i change to python 2.if hava some questions,can i ask help for you?In addition ,your math video is very very great than my teacher my text book ,in my country,you video is wide popularity,you maybe not think that,i watch translation video on  a anime website,hahaha,but,i watch your channel not update,because of your job?i know your information on Internet.they say:you resign your job , and make math video full time,in that way,You see what life? can these video Bring you benefits?

I recommend closing this issue.


IOT section relation to lamda and kappa architecture

[Enter feedback here]
Please provide more details how the IOT section work with kappa and lamda architecture. When and how to represent them in the IOT scenarios?

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

ID: 953d7d0d-651f-a566-1d28-6946c824e1ae
Version Independent ID: 8f5b4264-dcc9-ad28-36fe-45463d15f52a
Content: Big data architectures - Azure Architecture Center
Content Source: docs/data-guide/big-data/index.md
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @ZoinerTejada
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 433513

UPDATE: The IoT Architecture Council is discussing this topic. Thank you!
You can find our content at http://aka.ms/IoTArchitecture


Reduce hash collisions when interning type variable references

Fixes #322

Draft for now, because of the 3.2.0 target. Other than that, this should be ready.


homeassistant: 0.111.4 -> 0.112.0

Using the glorious ./update.sh tooling. Thanks @Mic92!
Motivation for this change
New upstream release.
https://www.home-assistant.io/blog/2020/07/01/release-112/
Logbook and History are now fast, expect db migrations on startup.
The tests needed a fixup, because the embedded MQTT broker was removed.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@Mic92 @dotlambda

Upgrade on an RPi4 with PostgreSQL and 1.4GB database size on an SSD connected over USB3 took roughly 10 seconds.
2020-07-01 19:42:57 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 7
2020-07-01 19:42:57 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns context_parent_id to table events. Note: this can take several minutes on large databases and slow computers. Please be patient!
2020-07-01 19:42:57 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns old_state_id to table states. Note: this can take several minutes on large databases and slow computers. Please be patient!
2020-07-01 19:42:57 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_events_context_parent_id` to database. Note: this can take several minutes on large databases and slow computers. Please be patient!
2020-07-01 19:43:02 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_events_event_type_time_fired` to database. Note: this can take several minutes on large databases and slow computers. Please be patient!
2020-07-01 19:43:06 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2020-07-01 19:43:07 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=201 from 2020-06-30 05:30:37.667604+00:00)

The load times of logbook/history are down from ~20s to under less than 3s.

This broke denonavr integration for me. The log has this, which is surprising since defusedxml is already in nixpkgs, so I assumed update.sh would've pulled it in. I only just started looking though (and I don't necessarily expect my issue to block this PR, just wanted to give initial feedback.)

Well, as far as I can tell, denonavr->ssdp->defusedxml, so it looks like a possible bug in the update script and it's dependency resolution.
I'm not sure it matters to me anymore though. This release removes denonavr's ability to be configured via YAML. I am looking for a more static home-assistant replacement moving forward. (Something nix-powered would be neat, and could pair nicely with esphome's declarative nature.)

Well, as far as I can tell, denonavr->ssdp->defusedxml, so it looks like a possible bug in the update script and it's dependency resolution.
I'm not sure it matters to me anymore though. This release removes denonavr's ability to be configured via YAML. I am looking for a more static home-assistant replacement moving forward. (Something nix-powered would be neat, and could pair nicely with esphome's declarative nature.)

mach-nix could provide more precise pinning.

Well, as far as I can tell, denonavr->ssdp->defusedxml, so it looks like a possible bug in the update script and it's dependency resolution.
I'm not sure it matters to me anymore though. This release removes denonavr's ability to be configured via YAML. I am looking for a more static home-assistant replacement moving forward. (Something nix-powered would be neat, and could pair nicely with esphome's declarative nature.)

Our latest script does resolve transitive dependencies. It was not used here for updating though.

This broke denonavr integration for me. The log has this, which is surprising since defusedxml is already in nixpkgs, so I assumed update.sh would've pulled it in. I only just started looking though (and I don't necessarily expect my issue to block this PR, just wanted to give initial feedback.)
error: https://gist.github.com/colemickens/e814a6e78d29dc487336c242c9b59418

denonavr

requires "denonavr==0.9.3" "getmac==0.8.2"

Does not depend on any other component, so the update script won't find defusedxml, which is a requirement in the ssdp, ohmconnect, namecheapdns and ihc components.
The denonavr manifest declares some ssdp values, but does not depend on ssdp. This could in fact be an upstream bug.
https://github.com/home-assistant/core/blob/dev/homeassistant/components/denonavr/manifest.json

I guess they expect ssdp to be loaded through default_config, which depends on it. Did you configure default_config? @colemickens

There were two patch versions released in the meantime.

The bump has been pushed.

Please don't consider me blocking. I was able to get 0.112.1 working after activating ssdp, so everything's good on my end. I'll pull 0.112.2 and test later, but I don't anticipate problems.
Thanks for the PR and the help!

Result of nixpkgs-review pr 91958 1

9 packages built:
- home-assistant
- python37Packages.graphql-core
- python37Packages.graphql-server-core
- python37Packages.influxdb-client
- python37Packages.rx
- python38Packages.graphql-core
- python38Packages.graphql-server-core
- python38Packages.influxdb-client
- python38Packages.rx

Result of nixpkgs-review pr 91958 1

9 packages built:
- home-assistant
- python37Packages.graphql-core
- python37Packages.graphql-server-core
- python37Packages.influxdb-client
- python37Packages.rx
- python38Packages.graphql-core
- python38Packages.graphql-server-core
- python38Packages.influxdb-client
- python38Packages.rx


feat: replace errgroup with ants goroutine pool

Changes:

Move core functionality to a separate package
https://github.com/twpayne/find-duplicates/blob/fcc11cc1359e5912d9d581360f47294d73f53604/main.go#L6

Attempt to fix issue #7 by switching from errgroup to ants goroutine pool.
From what I have noticed, there seems to be a small performance improvement (less than 1s).
Before:
time ./find-duplicates -o /dev/null /home

real	0m23.034s
user	2m27.127s
sys	1m23.543s

After:
real	0m22.236s
user	2m27.485s
sys	1m25.284s

@twpayne Please try out this PR and see if you still get the runtime: program exceeds 10000-thread limit error on your filesystem.
If the error still occurs, then we might need to follow the same approach as this PR in minio: https://github.com/minio/minio/pull/5001.

Thank you for this excellent PR!
With this change, I've not been able to make the thread exhaustion re-occur.
I particularly appreciate the work you have done to follow the project's existing style. Thank you!


[OTHER] Close Profile Info onNavigation #293

Fixes Issue
Closes #293

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Yes, I tried that but not getting the proper results. Giving it one more shot

I think all it takes, is something like
  beforeNavigate(() => {
    displayPopover = false;
    destroyInstance();
  });

It's not tested though

Will work on this again facing issues forking the repo again

On implementing   beforeNavigate(() => {
displayPopover = false;
destroyInstance();
}); the profile icon is getting dissapeared, if anyone else has the idea to implent through this can go ahead

I'll open a new PR for this issue then 👍


feat(Directive): improving sample LoadingButton directive to display standard property setup plus how to use custom events

Improves LoadingButton directive with more standard property setup and provides a sample custom event emitter to show people how custom events can be handled. Also drying things up a bit to simplify the sample.

@NathanWalker Awesome, thanks.


Speech Commands v2 dataset doesn't match AST-v2 config

Describe the bug
According to MIT/ast-finetuned-speech-commands-v2, the model was trained on the Speech Commands v2 dataset. However, while the model config says the model should have 35 class labels, the dataset itself has 36 class labels. Moreover, the class labels themselves don't match between the model config and the dataset. It is difficult to reproduce the data used to fine tune MIT/ast-finetuned-speech-commands-v2.
Steps to reproduce the bug
>>> model = ASTForAudioClassification.from_pretrained("MIT/ast-finetuned-speech-commands-v2")
>>> model.config.id2label
{0: 'backward', 1: 'follow', 2: 'five', 3: 'bed', 4: 'zero', 5: 'on', 6: 'learn', 7: 'two', 8: 'house', 9: 'tree', 10: 'dog', 11: 'stop', 12: 'seven', 13: 'eight', 14: 'down', 15: 'six', 16: 'forward', 17: 'cat', 18: 'right', 19: 'visual', 20: 'four', 21: 'wow', 22: 'no', 23: 'nine', 24: 'off', 25: 'three', 26: 'left', 27: 'marvin', 28: 'yes', 29: 'up', 30: 'sheila', 31: 'happy', 32: 'bird', 33: 'go', 34: 'one'}

>>> dataset = load_dataset("speech_commands", "v0.02", split="test")
>>> torch.unique(torch.Tensor(dataset['label']))
tensor([ 0.,  1.,  2.,  3.,  4.,  5.,  6.,  7.,  8.,  9., 10., 11., 12., 13.,
        14., 15., 16., 17., 18., 19., 20., 21., 22., 23., 24., 25., 26., 27.,
        28., 29., 30., 31., 32., 33., 34., 35.])

If you try to explore the dataset itself, you can see that the id to label does not match what is provided by model.config.id2label.
Expected behavior
The labels should match completely and there should be the same number of label classes between the model config and the dataset itself.
Environment info
datasets = 2.14.6, transformers =  4.33.3

You can use .align_labels_with_mapping on the dataset to align the labels with the model config.
Regarding the number of labels, only the special _silence_ label corresponding to noise is missing, which is consistent with the model paper (reports training on 35 labels).  You can run a .filter to drop it.
PS: You should create a discussion on a model/dataset repo (on the Hub) for these kinds of questions

Thanks, will keep that in mind. But I tried running dataset_aligned = dataset.align_labels_with_mapping(model.config.id2label, 'label'), and received this error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/victor/anaconda3/envs/transformers-v2/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 5928, in align_labels_with_mapping
    label2id = {k.lower(): v for k, v in label2id.items()}
  File "/Users/victor/anaconda3/envs/transformers-v2/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 5928, in <dictcomp>
    label2id = {k.lower(): v for k, v in label2id.items()}
AttributeError: 'int' object has no attribute 'lower'

My guess is that the dataset label column is purely an int ID, and I'm not sure there's a way to identify which class label the ID belongs to in the dataset easily.

Replacing model.config.id2label with model.config.label2id should fix the issue.
So, the full code to align the labels with the model config is as follows:
from datasets import load_dataset
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification

# extractor = AutoFeatureExtractor.from_pretrained("MIT/ast-finetuned-speech-commands-v2")
model = AutoModelForAudioClassification.from_pretrained("MIT/ast-finetuned-speech-commands-v2")

ds = load_dataset("speech_commands", "v0.02")
ds = ds.filter(lambda label: label != ds["train"].features["label"].str2int("_silence_"), input_columns="label")
ds = ds.align_labels_with_mapping(model.config.label2id, "label")


Proxy port broken after updating K8s Dashboard

Hi,
Thanks for updating the k8s dashboard to the latest version. I'm just testing it and it seems that Cloud9 requires kubectl proxy to still listen on port 8080 (instead of 8001, as suggested in the change made in the commit 42ba607.
Could you please confirm that or should I perform any additional configuration to run the workshop using port 8001?
Thanks in advance.

Thank you for the report, the port should be 8080 the lab has been updated: #792


GlobInfo uses excessive amount of memory

Based on some dump files collected by Svet, we noticed that GlobInfo we gathered from msbuild is bigger than expected, and in some traces, it uses 1.2% of the total heap.
The majority of those objects are RegEx objects.  CPS gathers GlobInfo from every projects, and uses it to watch directory changes.  Because the majority of the .Net Core project uses exactly the same globbing pattern, we hope those RegEx can be reused (or maybe a more efficient globbing matching logic can be used to replace RegEx), and we can have a much reduced memory usage for that structure.

@ladipro I just wanted to check -- did this get integrated to 16.7 before the cutoff, or is it going to be 16.8?

@panopticoncentral yes, it is in 16.7.


i need build website fitness

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Closing as incomplete. Please feel free to add more information if you have any and we can re-open the issue.


docs(point-arrays): adds knobs for point-array props

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


docs: updated iOS examples with new speak api; updated docs with api id/secret

Minor updates to existing docs.

it's 2020 and I'm still out here typing npm install

You'll need an update to nav.json too to add your new file, like I just had to do on mine.

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


Upgrade to 0.16.2 failed , due to database migration issue

Gitea Version
0.16.2
Git Version
git-2.35.1-1.fc35.x86_64
Operating System
Fedora
How are you running Gitea?
I am using the upstream binary from github on amd64.
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
I just upgraded to 0.16.2 using a script. Upon restarting gitea, the following error message is in the log:
ORM engine initialization attempt #9/10...
 Error: migrate: migration[210]: v208 was completely broken - remigrate failed: unable to (re)insert webauthn_credential[3]. Error: pq: duplicate key value violates unique constraint "UQE_webauthn_credential_s"

Screenshots
No response

Likely related to  #18770 and  #18771

And I upgraded from 1.16.1 before (and all the way from 1.14.6)

So, I guess what happened is that as I removed the keys (I have 2 u2f keys) last time (https://github.com/go-gitea/gitea/issues/18477#issuecomment-1026290602), they were still present in the DB.
I have added the 2 same keys again after the upgrade, so the current status is that:

webauthn_credential has 2 entries.
u2f_registration has 2 entries as well.

And so the migration do not seems to take that case in account.

As I needed my forge to be working, the solution I used was to connect to Postgres, and run:
DELETE FROM u2f_registration WHERE user_id = 1;

But the issue was related to having 2 entries in the u2f_registration table with the same exact name/user as the 2 webauthn entries.

Sadly, I can confirm the issue.

So there are also a same name key in the table but with different id from u2f table.
LowerName       string `xorm:"unique(s)"`
UserID          int64  `xorm:"INDEX unique(s)"`


chore(merge-back): 1.140.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: c5598f6987bc70434669a7e36404831156aba88a
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: c5598f6987bc70434669a7e36404831156aba88a
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Gmod action music creator quits unexpectly

I don't know why.

send output.log

Warning: Unable to set VSync! SDL Error: wglSwapIntervalEXT(): The operation completed successfully.
Traceback (most recent call last):
  File "main.py", line 22, in main
  File "main.py", line 140, in impl_pysdl2_init
NameError: name 'exit' is not defined


Create pipeline

Subj

Implemented:

Lints and tests
Semantic release
Publish to pypi
Bump, build and push helm charts after semantic-relese
Build docker images on tags


Some minor updates to the notebook

This PR makes a few minor changes to the Groups and Integrations notebook, mostly to make the installation instructions more clear, and to use more explicit variable names.

This closes JIRA issue https://jira.stsci.edu/browse/EXOCTK-9


Adding broker endpoints

Summary
Adding delete and Create API Keys for subAccounts
Additional Information
Using the sema nomenclature and stardards for this repo and OKX documentation.

Please also increase the version number in the "package.json" file - it'll make the release process easier.

Ready!