FIREBASE DocumentReference:  HiveError: Cannot write, unknown type: DocumentReference. Did you forget to register an adapter?

Steps to Reproduce
I have created a class with a DocumentReference (Firebase), Hive is giving me an error saying that it the document reference needs to be registered, but I cannot register a DocumentReference.
Code sample
Meal Class In "meal.dart"
class Meal {
  @HiveField(0)
  final double calories;
  @HiveField(1)
  final double carbs;
  @HiveField(2)
  final double fats;
  @HiveField(3)
  final String name;
  @HiveField(4)
  final double proteins;
  @HiveField(5)
  final DocumentReference recipe;
  @HiveField(6)
  final String season;
  @HiveField(7)
  final double servings;
  @HiveField(8)
  final String type;
  @HiveField(9)
  final String url;
  @HiveField(10)
  final String id;

  Meal({
    this.calories,
    this.carbs,
    this.fats,
    this.name,
    this.proteins,
    this.recipe,
    this.season,
    this.servings,
    this.type,
    this.url,
    this.id,
  });
}

meal.g.dart file

part of 'meal.dart';

// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************

class MealAdapter extends TypeAdapter<Meal> {
  @override
  final typeId = 5;

  @override
  Meal read(BinaryReader reader) {
    var numOfFields = reader.readByte();
    var fields = <int, dynamic>{
      for (var i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
    };
    return Meal(
      calories: fields[0] as double,
      carbs: fields[1] as double,
      fats: fields[2] as double,
      name: fields[3] as String,
      proteins: fields[4] as double,
      recipe: fields[5] as DocumentReference,
      season: fields[6] as String,
      servings: fields[7] as double,
      type: fields[8] as String,
      url: fields[9] as String,
      id: fields[10] as String,
    );
  }

  @override
  void write(BinaryWriter writer, Meal obj) {
    writer
      ..writeByte(11)
      ..writeByte(0)
      ..write(obj.calories)
      ..writeByte(1)
      ..write(obj.carbs)
      ..writeByte(2)
      ..write(obj.fats)
      ..writeByte(3)
      ..write(obj.name)
      ..writeByte(4)
      ..write(obj.proteins)
      ..writeByte(5)
      ..write(obj.recipe)
      ..writeByte(6)
      ..write(obj.season)
      ..writeByte(7)
      ..write(obj.servings)
      ..writeByte(8)
      ..write(obj.type)
      ..writeByte(9)
      ..write(obj.url)
      ..writeByte(10)
      ..write(obj.id);
  }
}

Version
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.4 19E266, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.43.2)
[✓] Connected device (3 available)

• No issues found!

Hive version: ^1.4.1+1

Did you add
 Hive.registerAdapter<Meal>( MealAdapter(), );

before the runApp() in main()?

Yes I did, Hive is set up and working properly on the app, however with the
Firebase plugin, the class DocumentReference cannot be edited for hive.
On Thu, Apr 2, 2020 at 10:25 AM Maheshwar Ravuri<EMAIL_ADDRESS>wrote:

Did you add
Hive.registerAdapter( MealAdapter(), );
before the runApp() in main()?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/270#issuecomment-607983258, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJPGUREKMBVTU5YBPTNLBHTRKTC7LANCNFSM4L2R6TIA
.

ROUGH IDEA (BUT WILL WORK):
I faced similar issues with Type and IconData. The best way would be to covert that DocumentReference into a Map object and try saving that.  This constructor will be like your normal constructor except that it will take Map documentReference parameter instead of this.recipe. And then you would convert that JSON into a DocumentReference in your Meal.fromHive() constructor.

Yh you have to register a document reference type adapter or convert your this.recipe field from a document reference to say a map before saving it using hive.

@BasedMusa How do i do that? I need a documentReference to be stored in my local database (Hive, of course), because in the future it will be used inside the cloud database. Already searched how to do that, but no results. Could you please explain me a little bit more?

Here's a workaround assuming the field might be nullable
Create this extension on String? (optional)
DocumentReference? get asDocumentReference => this != null ? FirebaseFirestore.instance.doc(this!) : null;
Taking your example we have field number 5 as a document reference we write it as a String? instead of a DocumentReference?:
..write(obj.recipe?.path)
and then update the reading part to this:
recipe: (fields[5] as String?).asDocumentReference, (assuming you have the extension method)
If the field is not nullable then remove the nullable checks. Hope it helps. Initially I made a documentreference adapter but that didn't work because it tries to write it as the private _JsonDocumentReference class and that we can not access. Either way this will work, just make sure when you're generating the code with annotations that you copy the generated code into a new file and keep it there (instead of generating it) so you don't lose the changes. And then make sure to keep it up to date.

Steps to Reproduce I have created a class with a DocumentReference (Firebase), Hive is giving me an error saying that it the document reference needs to be registered, but I cannot register a DocumentReference.
Code sample Meal Class In "meal.dart"
class Meal {
  @HiveField(0)
  final double calories;
  @HiveField(1)
  final double carbs;
  @HiveField(2)
  final double fats;
  @HiveField(3)
  final String name;
  @HiveField(4)
  final double proteins;
  @HiveField(5)
  final DocumentReference recipe;
  @HiveField(6)
  final String season;
  @HiveField(7)
  final double servings;
  @HiveField(8)
  final String type;
  @HiveField(9)
  final String url;
  @HiveField(10)
  final String id;

  Meal({
    this.calories,
    this.carbs,
    this.fats,
    this.name,
    this.proteins,
    this.recipe,
    this.season,
    this.servings,
    this.type,
    this.url,
    this.id,
  });
}

meal.g.dart file

part of 'meal.dart';

// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************

class MealAdapter extends TypeAdapter<Meal> {
  @override
  final typeId = 5;

  @override
  Meal read(BinaryReader reader) {
    var numOfFields = reader.readByte();
    var fields = <int, dynamic>{
      for (var i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
    };
    return Meal(
      calories: fields[0] as double,
      carbs: fields[1] as double,
      fats: fields[2] as double,
      name: fields[3] as String,
      proteins: fields[4] as double,
      recipe: fields[5] as DocumentReference,
      season: fields[6] as String,
      servings: fields[7] as double,
      type: fields[8] as String,
      url: fields[9] as String,
      id: fields[10] as String,
    );
  }

  @override
  void write(BinaryWriter writer, Meal obj) {
    writer
      ..writeByte(11)
      ..writeByte(0)
      ..write(obj.calories)
      ..writeByte(1)
      ..write(obj.carbs)
      ..writeByte(2)
      ..write(obj.fats)
      ..writeByte(3)
      ..write(obj.name)
      ..writeByte(4)
      ..write(obj.proteins)
      ..writeByte(5)
      ..write(obj.recipe)
      ..writeByte(6)
      ..write(obj.season)
      ..writeByte(7)
      ..write(obj.servings)
      ..writeByte(8)
      ..write(obj.type)
      ..writeByte(9)
      ..write(obj.url)
      ..writeByte(10)
      ..write(obj.id);
  }
}

Version
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.4 19E266, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.43.2)
[✓] Connected device (3 available)

• No issues found!

Hive version: ^1.4.1+1

Bro, Hive can only use String and int


Invalid apply of ksp - problem with using selector labels

Bug Report
Selector labels construct in the policy tells the kubearmor which pods the corresponding policy has to be applied on.
Consider wordpress-mysql example:
kubectl apply -f policy.yaml
apiVersion: security.kubearmor.com/v1
kind: KubeArmorPolicy
metadata:
  name: ksp-wordpress-block-process
  namespace: wordpress-mysql
spec:
  severity: 3
  selector:
    matchLabels:
      app: wordpress
      env: production
  process:
    matchPaths:
    - path: /usr/bin/apt
    - path: /usr/bin/apt-get
  action:
    Block

Note that the wordpress deployment does not have the label env: production but still the policy is applied as shown by karmor probe.
Armored Up pods :
+-----------------+---------------------------------+-----------------------------+
|    NAMESPACE    |              NAME               |           POLICY            |
+-----------------+---------------------------------+-----------------------------+
| wordpress-mysql | mysql-58cdf6ccf-z9hpc           |                             |
+                 +---------------------------------+-----------------------------+
|                 | wordpress-bf95888cb-56x8j       | ksp-wordpress-block-process |
+-----------------+---------------------------------+-----------------------------+

To Reproduce

apply the policy.yaml
check karmor probe

Expected behavior
karmor probe should not show policy applied in the context of wordpress pods.

I'm interested in exploring the issue further.

I'd like to work on this issue!


Add regex option for the include_tables and exclude_tables params

Hey @maurerle I think it will be good to have an opportunity to pass regex to the table name filters

Hi @dukkee - any update on this?

hey @maurerle I'm sorry for so late answer.. Thank you a lot for your help 🙏


[BUG] pad_sequence raises an error when return_mask=True

Describe the bug
While the pad_sequence function works, when the flag return_mask is set to True, it raises an error.
To Reproduce
from tensordict import TensorDict, pad_sequence

list_td = [TensorDict({"a": torch.zeros((3,))}, []), TensorDict({"a": torch.zeros((4,))}, [])]
padded_td = pad_sequence(list_td, return_mask=True, batch_first=True)

Traceback (most recent call last):
  File "/Users/dtsaras/Documents/CS/circuit_gen/test.py", line 37, in <module>
    padded_td = pad_sequence(list_td, batch_first=True, return_mask=True)
  File "/opt/homebrew/Caskroom/miniconda/base/envs/c_gen/lib/python3.10/site-packages/tensordict/tensordict.py", line 5717, in pad_sequence
    raise RuntimeError(f"pad_sequence failed for key {key}") from err
RuntimeError: pad_sequence failed for key mask

Expected behavior
A TensorDict with a "mask" key that contains a bool tensor where the entries with padded_val should be the padded entries in the corresponding padded sequence.
Screenshots
If applicable, add screenshots to help explain your problem.
System info
Describe the characteristic of your environment:

Install with pip install tensordict
Python version 3.10

import tensordict, numpy, sys, torch
print(tensordict.__version__, numpy.__version__, sys.version, sys.platform, torch.__version__)

0.2.1 1.26.2 3.10.13 (main, Sep 11 2023, 08:16:02) [Clang 14.0.6 ] darwin 2.1.2
Additional context
Another potential improvement in the current implementation is that we might need multiple mask for every different key name {key}_mask
Reason and Possible fixes
The issue starts in the file tensordict/tensordict.py, line 5685 (if return_mask:). The issue is that the mask is created by using the shape td.shape, where in the case of a single TensorDict, it has a size of torch.Size([]), so it create a mask that is torch.tensor(True). The fixing would be to either completely remove this option, or create a mask for every key in the TensorDict and then create a mask of the appropriate size.
Checklist

[Yes] I have checked that there is no similar issue in the repo (required)
[Yes] I have read the documentation (required)
[Yes] I have provided a minimal working example to reproduce the bug (required)

Closed by #652


feat: improved command selector with scroll and scroll into view

Problem

When resizing the window, the command popup was not adjusting its size or anchoring correctly.
Scrolling through the command popup using up/down arrows did not bring the focused element into view, causing confusion for the user.
Text and fonts in the command popup appeared blurry due to transform resolution issues.
The static import open from 'open'; was still broken, leading to local execution issues.
The web watch in dev mode required hard refreshes to reflect changes.

Solution

Window Resize Handling: Added an event listener for window resize to ensure the command popup adjusts its size dynamically.
Sticky Group Titles: Implemented sticky group titles in the command popup using position: sticky, enhancing navigation and focus visibility.
Intersection Observer: Added an IntersectionObserver to decorate group titles when they become stuck, providing better visual cues to users.
Optimized Memory Usage: Refactored command element into a selectedElement property to reduce memory overhead and improve performance.
Internal Class Property Enhancements: Introduced internal class properties for better memory management and UI state tracking.
CSS Improvements: Fixed CSS to ensure all transition properties are applied correctly, improving the responsiveness of the UI.
Scroll Snap: Integrated the CSS scroll-snap feature for smoother scrolling and better focus management within the command popup.
Dynamic Import Fix: Replaced the static import with dynamic import() for loading the open module, fixing the local execution issue.
Live Server & Hot Reloading: Added a new serve:example script using live-server to enable live reload functionality, removing the need for hard refreshes during development.

License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Contains merge conflicts will review


remove color of a column?

in the original lineup the color of a column was used as background for the column header to better separate them. This was removed in the js version by using icons for different types. The only application was as the color of the bars in numerical values. However, with introducing the recent color mapping feature the color was just used as default.
Thus the coloring can be removed by default.

Yes, I think we can remove the colum color.

Yep.
The new color mapping dialog is really cool btw.


gadgets: Uniform filtering map name

All gadgets have an eBPF map used to filter the events. This map is sometimes called mount_ns_set and others filter. We should use the same name everywhere.
Ref https://github.com/kinvolk/inspektor-gadget/pull/654#discussion_r871551754

@mauriciovasquezbernal How about using mount_ns_set everywhere? We can also maybe drop _set suffix. What do you think?

It'd be nice if we are able to include the filter word there to make it clear this map is used for filtering. What about mount_ns_filter?
/cc @alban

Sounds good to me. I will use mount_ns_filter


Keys in dictionary are returned in sorted order

See Also

http://forums.bridge.net/forum/bridge-net-pro/bugs/1559

@geoffreymcgill, please change the milestone if it is not meant to go to 1.11.

I would like to try and fix for 1.11.

Why when you have a dictionary with keys, say
a
abc
acb
b,
you get a, b, abc then acb.

@michaelcheers: As mentioned in the related forum thread, the current implementation of Dictionary in Bridge is correct, although the result is unexpected when compared to native C#.
We're investigating a change to the Bridge logic, although only if it requires very little additions to bridge.js to make this work.
The order of the Dictionary keys is non-deterministic. Do not rely on the keys returning in the order they were added.

I think the internal ordering should not be considered or tagged as a defect if we are talking about Dictionary. It is meant to be fast and to get the keys the fastest way possible in the current language implementation. To attain best performance different hash algorithms may be used to the dictionary, depending on the language, and this may or may not include sorting in the process.
A sorted list indicates that recovering entries should be pretty fast as when searching the list, given the current element, the program can know whether to go forward or backwards looking for the desired one. Probably in c# the hashset implementation used by dictionaries (I didn't look at it in detail) uses some level of sorting in their hash chunks. It just happened that in JavaScript the array itself is sorted in favor of the dictionary.
That said I believe this only should be considered for fixing or review/improving if the current implementation is arguably slow. The list being ordered in the case does not suggest a bad organization or unnecessary overhead though, but the other way around. And given the performance of JavaScript can be much slower than a compiled C# application due to its interpreted nature, it is not enough to just prove C# uses a different approach on dictionary, cause it probably can simply not fit the JavaScript structure. One way to prove the current dictionary implementation is slow could be with another JavaScript dictionary implementation. I don't think this has ever been the point of this issue though.
I'm just sharing my opinion on the issue.

@DaniilVeriga, @geoffreymcgill, @vladsch, is there any hope of this being fixed for 16.0?

I made a pull request: #2858.


Navigation bar insets not working on API 21

Describe the bug
Navigation bar insets are always 0,0,0,0 on API 21. (Status bar insets work fine.) This is reproducible in the sample app for this project on an API 21 emulator. See screenshots below.
Screenshots?

API21
API29

Environment:

Android OS version: 21
Device: Emulator (Google Pixel 4)
Accompanist version: 0.6.2

Thanks for the report! I’ll take a look tomorrow, but initial guess is a bug in AndroidX Core.
Maybe bumping to 1.5.0-rc01 will fix it.

Solid guess—I just tried upgrading and it worked! Appreciate the quick reply 🚀

Ha nice! I’ll bump the dependency for the next release.

Is 1.5.0-rc01 released? I don't see it on maven.google.com

Whoops, I meant beta03


1.3.0 readiness

Merges develop to master in preparation for 1.3.0.
Additionally, updates several constraints in requirements, and the build matrix; this pull request is just to do a final verification that all environments pass.

Coverage remained the same at 100.0% when pulling e6a052a5ddae652e58cf1b790d7b722c969e2860 on weierophinney:versions/1.3.0 into e882abbd63803939a87b14fd1ffebfedca2685e3 on zendframework:master.


Ofir/extend tool for lb lab

Adding 'generic' node/server option, support for only single-node 4 to 12 ssds, no chrony,
option to get data-ips conf for single data interface
Also added centos ga 3-3-x option (w.o kernel base)
Also fix docker ansible execution: using 'sudo docker run -i' instead of 'sudo docker run -it"

Awesome - only request I have is to move the jq install into the InstallInstallerSoftware method to match the rest of the codebase and it'll be good to go. Love the changes!

Aside from the single comment I think it's good to go - really appreciate the work Ofir! Once the jq install is moved I'll merge.

@felixm-lb putting jq  insall under InstallInstallerSoftware is not good enough as you also use jq in previous checks...
so I will move it and push another PR to fix it
Cheers!


Not Able to Access the Mongodb from SpringBootApplication image inside the docker

Hi Team,
I have tried many option to access the mongodb image from docker.It works fine outside the docker but If I run the application in docker container it shows me error.Mention below are screenshot of error.Also share you the code of connection and commands which I am running.
Exception while running spring boot application

Mongo Db Container Running

Java Code used for connect to docker mongodb image
MongoClient mongo = new MongoClient(new ServerAddress("<IP_ADDRESS>", 27017));
Command Tried
docker run testingsprint
docker run testingsprint --link mongo
Kindly provide me the solution.
Thank you
Sourabh Lodha

@tianon
I tried to given the name of ip address but it also doesn't work.Can you provide me the other solution for this.


www.mojave.cafe accepts Monero as payment to its general goods store.

Hi there,
We accept Monero as payment at www.mojave.cafe. We sell general goods and add items every week.
:-)

Hi! Added in #839 . Thanks :)
+merchant
+in progress


OneTable removes empty strings in nested objects

I noticed an issue with create/update methods where Model fields with type: Object that have empty strings are being removed unless you use the nulls: true param. For example:
// model
Test: {
  pk: { type: String, value: 'TEST#${testId}' },
  testId: { type: String, required: true },
  value: { type: Object, required: true }
}

// code
const model = table.getModel('Test');
await model.create({
  testId: 'test123',
  value: { a: 'a', b: '' }
});

would lead to an object in the table that looks like:
{
  "pk": {
    "S": "TEST#test123"
  },
  "testId": {
    "S": "test123"
  },
  "value": {
    "M": {
      "a": {
        "S": "a"
      },
    }
  }
}

The property b, ends up missing.
After reviewing the code in Model.js, I noticed the lines:
https://github.com/sensedeep/dynamodb-onetable/blob/main/src/Model.js#L1617-L1622
and
https://github.com/sensedeep/dynamodb-onetable/blob/main/src/Model.js#L1999-L2001
Which reference an old issue where DynamoDB did not support storing empty strings.
This is no longer the case as of 2020. I was using this feature in DynamoDB-Toolbox previously:
https://aws.amazon.com/about-aws/whats-new/2020/05/amazon-dynamodb-now-supports-empty-values-for-non-key-string-and-binary-attributes-in-dynamodb-tables/
At the time that code was written it may have been accurate, but now I would consider it a bug. I'm working around this with nulls: true and transform for now. Any chance we could get this code updated?

If you comment those lines of code out, does it perform correctly?

I got around to creating a test that inserts an entity with an empty string field. When I comment out https://github.com/sensedeep/dynamodb-onetable/blob/main/src/Model.js#L1617-L1620 it successfully inserts the nested empty string.

I'm not sure what the exact solution is, but I think handleEmpties should respect the DynamoDBDocumentClient's marshallOptions.convertEmptyValues and then apply the nulls attribute before writing.

We don't use the DynamoDBDocumentClient but go directly to the layer below.
Just committing a fix that uses:
if (this.table.params.legacyEmpties === true) {
    properties[name] = this.handleEmpties(field, value)
}

Users who need the old behavior can set "handleEmpties: true" in the schema.params.


Make sure "our class" appears in the ALL DATA viewer slider

This seems ok now. (Our test class with students beta2_13 through beta2_16 is now appearing in a different color than before). Did we change something between the testing and now that suddenly made them appear?

Fixed by #240


R8: Program type already present: io.flutter.plugins.webviewflutter.DisplayListenerProxy$1

Launching lib\main.dart on NX659J in debug mode...
lib\main.dart:1
R8: Program type already present: io.flutter.plugins.webviewflutter.DisplayListenerProxy$1
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithR8ForDebug'.
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 13s
[!] The shrinker may have failed to optimize the Java bytecode.
    To disable the shrinker, pass the `--no-shrink` flag to this command.
    To learn more, see: https://developer.android.com/studio/build/shrink-code
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

@VictorJPimentel
please provide your complete flutter doctor -v and your complete flutter run -v

@VictorJPimentel
please provide your complete flutter doctor -v and your complete flutter run -v

[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.19042.685], locale
en-US)
• Flutter version 1.22.4 at C:\src\Flutter 2\flutter
• Framework revision 1aafb3a8b9 (7 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\victo\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.52.1)
• VS Code at C:\Users\victo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.18.0
[!] Connected device
! No devices available

[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.19042.685], locale
en-US)
• Flutter version 1.22.4 at C:\src\Flutter 2\flutter
• Framework revision 1aafb3a8b9 (7 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\victo\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.52.1)
• VS Code at C:\Users\victo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.18.0
[!] Connected device
! No devices available

PS C:\Users\victo\Desktop\nueva_temporada> flutter run -v
[ +149 ms] executing: [C:\src\Flutter 2\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +74 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 1aafb3a8b9b0c36241c5f5b34ee914770f015818
[   +1 ms] executing: [C:\src\Flutter 2\flutter/] git tag --points-at HEAD
[  +53 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.4
[  +10 ms] executing: [C:\src\Flutter 2\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +44 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\src\Flutter 2\flutter/] git ls-remote --get-url origin
[  +39 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +80 ms] executing: [C:\src\Flutter 2\flutter/] git rev-parse --abbrev-ref HEAD
[  +43 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +87 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[  +13 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +90 ms] executing: C:\Users\victo\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +63 ms] List of devices attached
[   +5 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[  +18 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +25 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[  +24 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[  +98 ms] No supported devices connected.
[  +15 ms] "flutter run" took 388ms.
[  +32 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:353:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:933:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:836:33)

#4      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1190:13)
#7      _CustomZone.run (dart:async/zone.dart:1093:19)
#8      _runZoned (dart:async/zone.dart:1630:10)
#9      runZoned (dart:async/zone.dart:1550:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:825:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:335:21)
#14     _rootRunUnary (dart:async/zone.dart:1198:47)
#15     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#19     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#22     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
#23     _rootRunUnary (dart:async/zone.dart:1198:47)
#24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#25     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#27     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#28     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#29     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#30     _rootRun (dart:async/zone.dart:1190:13)
#31     _CustomZone.run (dart:async/zone.dart:1093:19)
#32     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#33     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#34     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#35     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#36     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#37     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
[ +294 ms] ensureAnalyticsSent: 203ms
[   +8 ms] Running shutdown hooks
[  +28 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

PS C:\Users\victo\Desktop\nueva_temporada> flutter run -v
[ +149 ms] executing: [C:\src\Flutter 2\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +74 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 1aafb3a8b9b0c36241c5f5b34ee914770f015818
[   +1 ms] executing: [C:\src\Flutter 2\flutter/] git tag --points-at HEAD
[  +53 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.4
[  +10 ms] executing: [C:\src\Flutter 2\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +44 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\src\Flutter 2\flutter/] git ls-remote --get-url origin
[  +39 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +80 ms] executing: [C:\src\Flutter 2\flutter/] git rev-parse --abbrev-ref HEAD
[  +43 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +87 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[  +13 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +90 ms] executing: C:\Users\victo\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +63 ms] List of devices attached
[   +5 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[  +18 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +25 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[  +24 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[  +98 ms] No supported devices connected.
[  +15 ms] "flutter run" took 388ms.
[  +32 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:353:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:933:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:836:33)

#4      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1190:13)
#7      _CustomZone.run (dart:async/zone.dart:1093:19)
#8      _runZoned (dart:async/zone.dart:1630:10)
#9      runZoned (dart:async/zone.dart:1550:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:825:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:335:21)
#14     _rootRunUnary (dart:async/zone.dart:1198:47)
#15     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#19     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#22     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
#23     _rootRunUnary (dart:async/zone.dart:1198:47)
#24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#25     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#27     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#28     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#29     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#30     _rootRun (dart:async/zone.dart:1190:13)
#31     _CustomZone.run (dart:async/zone.dart:1093:19)
#32     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#33     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#34     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#35     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#36     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#37     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
[ +294 ms] ensureAnalyticsSent: 203ms
[   +8 ms] Running shutdown hooks
[  +28 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

@VictorJPimentel

please provide your complete flutter doctor -v and your complete flutter run -v

'[ +98 ms] No supported devices connected.`

I meant actually running your app

@VictorJPimentel

please provide your complete flutter doctor -v and your complete flutter run -v

'[ +98 ms] No supported devices connected.`

I meant actually running your app

@VictorJPimentel
Check out this SO link and see if you are using any of the plugins listed there and follow the solution to see if it works.
Also check out this link which may indicate it could be due to the plugins you are using.
If issue still persists, please provide pubspec.yaml and a minimal complete reproducible code sample along with flutter run-v while you have device / emulator attached.
Thanks.

@VictorJPimentel
Check out this SO link and see if you are using any of the plugins listed there and follow the solution to see if it works.
Also check out this link which may indicate it could be due to the plugins you are using.
If issue still persists, please provide pubspec.yaml and a minimal complete reproducible code sample along with flutter run-v while you have device / emulator attached.
Thanks.

Flutter doctor -v:
PS C:\Users\victo\Desktop\nueva_temporada> flutter doctor -v
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
• Flutter version 1.22.5 at C:\src\Flutter 2\flutter
• Framework revision<PHONE_NUMBER> (4 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\victo\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.52.1)
• VS Code at C:\Users\victo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.18.0
[√] Connected device (1 available)
• NX659J (mobile) •<PHONE_NUMBER>ABCDEF • android-arm64 • Android 10 (API 29)
! Doctor found issues in 1 category.
pubspec.yam:
name: nueva_temporada
description: A new Flutter application.
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
http: ^0.12.0+2
webview_flutter: ^0.3.0
youtube_player_flutter: ^6.0.3+2
cupertino_icons: ^0.1.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- assets/images/
fonts:
- family: Oswald
fonts:
- asset: assets/fonts/Oswald-Regular.ttf
- family: Billabong
fonts:
- asset: assets/fonts/Billabong.ttf
flutter_icons:
image_path: "assets/images/darkLogo.png"
android: true
ios: true

Flutter doctor -v:
PS C:\Users\victo\Desktop\nueva_temporada> flutter doctor -v
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
• Flutter version 1.22.5 at C:\src\Flutter 2\flutter
• Framework revision<PHONE_NUMBER> (4 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\victo\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.52.1)
• VS Code at C:\Users\victo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.18.0
[√] Connected device (1 available)
• NX659J (mobile) •<PHONE_NUMBER>ABCDEF • android-arm64 • Android 10 (API 29)
! Doctor found issues in 1 category.
pubspec.yam:
name: nueva_temporada
description: A new Flutter application.
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
http: ^0.12.0+2
webview_flutter: ^0.3.0
youtube_player_flutter: ^6.0.3+2
cupertino_icons: ^0.1.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- assets/images/
fonts:
- family: Oswald
fonts:
- asset: assets/fonts/Oswald-Regular.ttf
- family: Billabong
fonts:
- asset: assets/fonts/Billabong.ttf
flutter_icons:
image_path: "assets/images/darkLogo.png"
android: true
ios: true

@VictorJPimentel
You probably didn't see the links I shared earlier. See this issue comment and the same plugin you are also using, which means it could be an issue due to that plugin you are using. Try to remove that plugin and try again to see if you still get the same error. If so, you'll need to report this issue in that plugin owner's repo. https://github.com/flutter/flutter/issues/56360#issuecomment-624671509

@VictorJPimentel
You probably didn't see the links I shared earlier. See this issue comment and the same plugin you are also using, which means it could be an issue due to that plugin you are using. Try to remove that plugin and try again to see if you still get the same error. If so, you'll need to report this issue in that plugin owner's repo. https://github.com/flutter/flutter/issues/56360#issuecomment-624671509

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Print executed tasks

Problem description
When running tasks, you only see output produced by the tasks themselves.
Especially for tasks with a long chain of dependencies, this can make it hard to see which task is currently being executed.
Let's take the following task
[tasks]
test-rust = "cargo test"

There are two ways to improve its output:

Print the task name "test-rust"
Print the executed command: "cargo test" (similar to just)

Closing because duplicate #381

I've missed that. Sorry for the noise :)


Django 2.0 patch

This pull request works on Django 2.0 while still maintaining backwards compatibility. Please let me know if there's anything you'd like me to change.

Thanks.


[Docs] Add More Header Documentation

Document Store, StandardAction and StandardActionConvertible

Current coverage is 100.00%

Merging #33 into master will not affect coverage as of fba7322

@@            master     #33   diff @@
======================================
  Files            6       6
  Stmts           87      87
  Branches         0       0
  Methods          0
======================================
  Hit             87      87
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of fba7322

Powered by Codecov. Updated on successful CI builds.

Memo to myself: build locally to catch SwiftLint issues, even when just writing header docs!


Dashed line with categorised data displays wrong

C3 version: 0.6.7
D3 version:  5.7.0
Browser: Chrome v69.0
OS: MacOS

Dashed region with categorised data displays wrong :
https://jsfiddle.net/d9xkLpr1/1/
Fun fact, with older versions of C3/D3, things work :
https://jsfiddle.net/8192hwy4/

C3 version: 0.4.10
D3 version:  3.5.5

I do have the same issue, again with dashed regions and categorised data:
http://jsfiddle.net/7kYJu/7830/
We can notice a right shift of the dashed style, compared to the area.
Is there an upcoming fix?

Same issue here. Still not fixed :(
Versions:
-C3 version: 0.6.12
-D3 version: 5.9.1
-fiddle: https://jsfiddle.net/ug3bka2L/
@kt3k

I've found where it become broken: 0.4.23 works fine, 0.4.24 has shifted lines.
So it's probably https://github.com/c3js/c3/pull/1891


Address doesn't match seed?

Since the Waves devs purposely crippled their coin I'm trying to get a workaround going since we use PHP. When I try sending Waves I'm getting the address seed from the node with /addresses/seed/ but when I plug it in to waves-php the address doesn't match.
$account = PrivateKey::fromString( 'returned base58 seed' );
$sender = $account->publicKey();
echo 'address = ' . $sender->address()->toString() . PHP_EOL;

The node returns an account seed in base58 string format.
Docs: Creating a private key from a seed
Fixed code:
use Waves\Account\PrivateKey;
use Waves\Common\Base58String;

$accountSeedBase58 = 'H4do9ZcPUASvtFJHvESapnxfmQ8tjBXMU7NtUARk9Jrf';
$accountSeed = Base58String::fromString( $accountSeedBase58 )->bytes();
$accountPrivateKey = hash( 'sha256', $accountSeed, true );
$account = PrivateKey::fromBytes( $accountPrivateKey );
$sender = $account->publicKey();
echo 'address = ' . $sender->address()->toString() . PHP_EOL;

Thanks, worked perfectly :)


Updated failover to match correct failover procedural steps

Changed the steps to match correct procedure based on research and PGG talks
Updated notes that the settings isn't failover specific

@SeanGallardy : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@SeanGallardy: I'm sorry - only the author of this article, @MikeRayMSFT, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


Implement OpenCensus compatibility shim

Note that the OpenCensus implementation for Ruby was incomplete - in particular, it lacked metrics and exporter support. Do we need to implement an OC shim? Does it need to support metrics?

+1 Need OpenCensus compatibility shim for java

@fbogsany What's the real-world justification for this? Who is only supporting OpenCensus but not OpenTelemetry?

This is more complicated than opentracing. OpenCensus for Ruby never progressed beyond Alpha. There is a tracking issue for the compatibility shim here: https://github.com/open-telemetry/opentelemetry-specification/issues/1175. It is not clear whether we need to implement one for Ruby.


Activate pylint-pytest plugin

This patch is necessary because pylint does not autoactivate third-
party plugins just because they are installed in the same virtualenv.
It seems like this bit of the original configuration got lost over
time: the Python distribution package is present in the dependencies
and gets installed but pylint does not use it. With this change, it
becomes used again.

(not expecting reviews because it's a correction of a misconfiguration that was expected to work earlier)

I'd like an opportunity to review this, even if it is a correction
Can you please request reviews? I know it's might seem silly, but it is still a change to the code base.

@cidrblock sure, feel free to re-gate as well. Looks like Zuul was drunk.


Add Creative Coding

https://github.com/terkelg/awesome-creative-coding
It can be hard to get started with more advance creative coding. This is a list of beginner-friendly tools, resources and things to get you started
By submitting this pull request I confirm I've read and complied with the below requirements.
Failure to properly do so will just result in the pull request being closed and everyone's time wasted. Please read it twice. Most people miss many things.

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title. For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should include a short description about the list project/theme (not the list itself), and should be added at the bottom of the appropriate category.
The list I added

has been around for at least 30 days,
is the result of hard work and is the best I could possibly produce,
is a non-generated Markdown file in a GitHub repo,
is not a duplicate,
includes a succinct description of the project/theme at the top (example),
includes a project logo/illustration (whenever possible) at the top right of the readme (example). (The logo should link to the project website or any relevant website. The logo should be high-DPI, so set it to maximum half the width of the original image.),
only has awesome items with descriptions (Awesome lists are curations of the best, not of everything),
contains the awesome badge on the right side of the list heading,
has a Table of Contents section named Contents as the first section,
has an appropriate license (Meaning something like CC0, NOT a code licence like MIT, BSD, Apache, etc) (If you use a license badge, it should be SVG, not PNG),
has contribution guidelines,
doesn't include a Travis badge,
has been checked for inconsistent formatting, spelling, and grammar:

Each link description starts with an uppercase character and ends with a period.
Drop all the A / An prefixes in the descriptions.
Consistent naming. For example, Node.js, not NodeJS or node.js.

Looks pretty good :)

The entry in the Awesome list should include a short description about the list project/theme (not the list itself), and should be added at the bottom of the appropriate category.

Not followed.

includes a succinct description of the project/theme at the top (example),

Not followed.

The Contents should not be hidden by default. The whole point of it is to be able to get to a specific section quickly.

abandonedart.org - Generative art ideas by Matt Pearson.
iquilezles.org - Home of Íñigo Quílez.
bit-101.com - Blog by Keith Peters.

I think you should shortly explain why it's worth reading what these people write.

Thanks, feedback much appreciated. Sorry for the inconvenience. The list should be updated to comply with the guidelines.

The entry in the Awesome list should include a short description about the list project/theme (not the list itself), and should be added at the bottom of the appropriate category.
Not followed.

Please read the text carefully. The description here should be about the theme, not the list itself.

Can you linkify Creative coding in the top description to https://en.wikipedia.org/wiki/Creative_coding

Updated with link and new description.

The entry in the Awesome list should include a short description about the list project/theme (not the list itself), and should be added at the bottom of the appropriate category.
Not followed.
Please read the text carefully. The description here should be about the theme, not the list itself.

Not sure how I can possibly make this clearer. The description here needs to be improved according to the above requirements: https://github.com/sindresorhus/awesome/pull/864/files#diff-0730bb7c2e8f9ea2438b52e419dd86c9R475

Your commit messages in your repo should also be more descriptive than Update README.


Custom target not added to list when using "CMake: Build a Target"

I'm using a custom target so I can 'make upload' to send my compiled executable to my target hardware, as follows:
add_custom_target(upload DEPENDS blinky
COMMAND ./dfu-util.exe -d 0x1eaf:0003 -a 2 -D $<TARGET_FILE:blinky>.bin
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/flash
COMMENT "Uploading to board...")

The target is added to the makefile without issues, I can use the terminal to manually 'make upload' without problems. However when I try to use the command palette to build a target, I only get "all" and "blinky" (my test executable) as options. Am I missing something here?

@stephenwhittle Which CMake version do you use?
As a work-around you may create a custom task in VS Code to upload firmware.

cmake version 3.9.20170620-g8308 built from source.
Thanks for the workaround. Happy to provide more information or minimal repro project if necessary.
I presume, then, that in theory this should have worked?

@stephenwhittle Thanks for info.
This is a bug (or rather missing feature) in new CMake Server mode implementation.
In older versions (or if you set cmake.useCMakeServer to false) CMake Tools ran make help target to get list of targets available, which gave decent results.
In Server Mode CMake is able to give much more precise metadata about project. However this includes non-buildable targets, like INTERFACE or IMPORTED (as I understand the code ;) ) and CMake Tools try to filter them out. Unfortunately it seems that this logic excludes also custom targets.
I suspect repro should be fairly straight-forward.

Hmm... May be the same as #207.


⚠ Samsung has degraded performance

In 33622e4, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2461 ms

Resolved: Samsung performance has improved in e6214e6.


make and model values dell

Hi,
Just want to mention that the %make% Value for Dell should be "Dell Inc." Instead of Dell.
It cost me a few hours to figure out why my drivers weren't injected.
Can you change this in the instructions? It might help other people.
Page: https://docs.microsoft.com/en-us/windows/deployment/deploy-windows-mdt/deploy-a-windows-10-image-using-mdt
Subject: Create the logical driver structure in MDT
Kind Regards,
Frank van Es

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

ID: 1c66f2a3-5be3-e3cf-b90f-c9ce2f6ecf9d
Version Independent ID: c9ed7f55-3770-73a4-5ee4-deee16eb7600
Content: Deploy a Windows 10 image using MDT (Windows 10) - Windows Deployment
Content Source: windows/deployment/deploy-windows-mdt/deploy-a-windows-10-image-using-mdt.md
Product: w10
Technology: windows
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

Will do, thanks for the catch!


http://localhost:8888/ not found

Hello
I would like to compile and run Apollo from a fresh Ubuntu 14.04. Everything seems to build properly but I have no access to the Dreamview web page.
Here's what I have tried:
bash docker/setup_host/install_docker.sh
bash docker/scripts/dev_start.sh
bash docker/scripts/dev_into.sh
./apollo.sh clean
./apollo.sh build_no_perception dbg # I don't have a GPU
bash scripts/bootstrap.sh

build seems to run fine:
...
INFO: Elapsed time: 815.158s, Critical Path: 47.84s
INFO: Build completed successfully, 6211 total actions
============================
[ OK ] Build passed!
[INFO] Took 835 seconds

and Dreamview is supposed to have started:
$ bash scripts/bootstrap.sh
Started supervisord with dev conf
Start roscore...
voice_detector: started
dreamview: started
Dreamview is running at http://localhost:8888

However, when I try to open http://localhost:8888 on firefox, I get a page not found error.
Is there anything I did wrong?
Also, note that I was able to access the dreamview by using a release:
bash docker/scripts/release_start.sh
(but I would like to modify Apollo's code so it is not what I want)
Thank you

Generally, running dev container will be much more developer-friendly.
Actually we are going to retire the release process, which has already been a little out of maintenance.

@vingtfranc hi, here are some thoughts on how to solve this kind of problems.  You can also find some hints in FAQ Q2 .
Hope this will help.

Thank you. It was indeed an issue with PCL
https://github.com/ApolloAuto/apollo/issues/3615#issuecomment-380133923 solved my problem


Warning/error during NPM/Yarn install on Vercel

While it looks like a "fatal error" it actually doesn't affect CI builds it seems. Need further investigation.

Seems to have something to do with the resolution of the CWD
Builds where this happened:

https://vercel.com/contentlayer/website/E2XabpxHr8AwBNB7U7Z9PjDPf4qE

This should be addressed with the 0.2.5 release. 🎉


Clicking on scrollbar triggers @close and @open events

on http://monterail.github.io/vue-multiselect/ in Options Groups, if you click on scroll bar and watch for the events though a chrome-vuejs extension, you can see the @close and @open calls happening in the background, i am consuming those events for resetting the options so clicking on scrollbar screws up the multiselect altogether for me.

Doesn’t happen to me. What browser/OS are you using?
Would be best if you could provide a repro using the JSFiddle example.

i'm seeing this issue too, as are my coworkers. we're using chrome and chromium on windows, osx, and ubuntu.


Correct the spelling of CocoaPods in README

This pull requests corrects the spelling of CocoaPods 🤓
https://github.com/CocoaPods/shared_resources/tree/master/media
One day I’ll make a bot that looks through the READMEs of all Pods, looks to see if it uses “Cocoapods” and PRs “CocoaPods” :D— Ørta (@orta) February 10, 2016

Get a job.


Support positionFixed option

@simonihmig hey, can you please take a look?
This PR just proxies new option to popper https://popper.js.org/popper-documentation.html#Popper.Defaults.positionFixed


HDDS-3652 Add test for SCMRatisResponse.

What changes were proposed in this pull request?
Add test for SCMRatisResponse.
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3652
(Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
UT
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

LGTM, +1.


Hi, I try to follow the default step to install AWX on K3S. However, cannot access proxy no IP assigned...

As titled.

Normal behavior

I can't understand your situation in detail. Please describe your environment and provide steps to reproduce.

@kurokobo
https://github.com/kurokobo/awx-on-k3s/blob/main/README.md
I am following this guideline to install. DNS set and point to AWX Server.
However, once AWX is installed. I cannot access AWX by FQDN.
I checked the log that traefik proxy does not have IP assigned and compared the workable one. The workable one has IP address and I can access AWX GUI.
Would you please help to advise how can I address this problem?

Thanks for the update, what I would like to hear is the following.
Versions:

What is the OS name and version?
What versions of K3s and AWX Operator do you have?

Environment:

What is the difference between an "As titled" environment and a "Normal behavior" ("workable") environment?

Any difference for the versions for OS/K3s/AWX Operator?
Any difference for any files that used to deploy AWX?
IP configuration for K3s host? (IPv4/v6, Num of NICs, IP range, ...)

Your situation:

Have you tried anything to resolve the issue?
Have you tried re-installing K3s?
Is it reproducible? In other words, is the result the same no matter how many times you try it on that host?
Is the pod named like traefik-*********-***** working in the kube-system namespace?: kubectl -n kube-system get pod
Any logs for the pod?: kubectl -n kube-system logs traefik-*********-*****
What happens if I delete the pod?: kubectl -n kube-system delete pod traefik-*********-*****


Failed to import - @reduxjs/toolkit

Failing module

GitHub: https://github.com/reduxjs/redux-toolkit
npm: https://www.npmjs.com/package/@reduxjs/toolkit

import { composeWithDevTools} from "@reduxjs/toolkit"

Error message
After running deno run I got this:
ReferenceError: window is not defined
It seems like it's because of the following line here:
https://esm.sh/v97/@reduxjs/toolkit@1.9.5/denonext/toolkit.development.mjs:180:60
var composeWithDevTools = typeof Deno   !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {

It's checking for Deno to not be undefined, but then immediately accessing window, hence triggering the ReferenceError
Additional info

esm.sh version: v128
Deno version: 1.35.0

I think it's from this recent change here
It seems to string replace typeof window when the target is Deno, which may be set due to the Deno HttpAgent user-agent.
A similar issue in the Deno Fresh framework here

Good catch! I was debugging es build itself and didn't consider that this error would be introduced by esm.sh . Replacing window checks with Deno seems very brittle as most frontend libraries use it to determine if they are running in the browser.

ideally you should use target es20xx for browsers, however i will get rid of the replacing for deno target

@ije The issue is still present, see<EMAIL_ADDRESS>where typeof window is replaced with typeof Deno

@marvinhagemeister not deploy the patch yet, will do it tmr and let you know, thanks

This doesn't seem to be a "one size fits all" type of fix.
In https://esm.sh/v128/<EMAIL_ADDRESS>the problematic line has changed from:
var composeWithDevTools = typeof Deno   !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?

to
var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__

in https://esm.sh/v129/<EMAIL_ADDRESS>(Note the version numbers in the URLs are different.) So the fix deployed in v129 (https://github.com/esm-dev/esm.sh/commit/7d63a99649cfdd23cbdd77382502eb9b46befc19) which resolved this definitely did work. Great.
But there was hope from the fresh community that this would also fix the preact debugging issue. But both of the following:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
have this code:
typeof Deno  <"u"&&window.__PREACT_DEVTOOLS__

Should I log a separate issue for this?

@deer can you please ask the fresh community update to v129+?

Sorry, I think I wasn't clear with my comment. I don't think this has anything in particular to do with fresh. I'll try to explain better a second time:
The preact source has a line like this:
if (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {

and both esm.sh v128 and esm.sh v129 produce something like this:
typeof Deno  <"u"&&window.__PREACT_DEVTOOLS__

Contrast this with the redux toolkit source which has a line like:
typeof window !== 'undefined' &&
  (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__

esm.sh v128 has it like:
typeof Deno   !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__

but esm.sh v129 has it like:
typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__

The hope was that this would get resolved for the preact devtools, but it seems like we're still getting typeof Deno, instead of the desired typeof window (which redux now gets). Am I misunderstanding something? I don't see how doing anything with fresh would change the results of these URLs.

<EMAIL_ADDRESS>
I notice that adding ?dev yields working code for this particular package (that is, has typeof window instead of typeof Deno)

The preact devtools package seems to be a different bug(?). Should it be a different issue? The prior behavior for reduxjs/toolkit could be bypassed by giving an explicit target, but that does not work in this case:
https://esm.sh/v129/preact@10.15.1/denonext/devtools.mjs?target=es2022 still has typeof Deno


Tuf TestValidKey failing

Description
The TestValidKey is failing with email being 0 and issuer "". The email<EMAIL_ADDRESS>should be replaced with 0 and issuer https://accounts.google.com being replaced with "".
https://github.com/sigstore/sigstore/blob/a9272f3e753d1d1fa374af7b5bba5263a5c06fbe/pkg/tuf/policy_test.go#L44-L65
Is this the expected behavior?
I was writing some fuzz tests for Tuf and ran into this issue.

Sounds good.


[Core] Add minimal NLU structure

Requirements + Meaning
Action can have a requirement (Concept)
Meaning is also a concept that can be added to every concept.
With those two is possible to extract meaningful information.
This structure might iterate over all requirements for an action, gathering meanings and making inferences.
NLU (well-known) challenges:

Interesting reading about NLU:
https://thegradient.pub/machine-learning-wont-solve-the-natural-language-understanding-challenge/


Add additional tests for component installation

Adding some tests for components we install that aren't being checked now.

General comment, with only 3 unique distro + version combinations in tests/test-matrix.json that are almost identical in content, does it make sense to move the common tests that each distro specifies to verify_common_components func in tests/run-tests.sh?

General comment, with only 3 unique distro + version combinations in tests/test-matrix.json that are almost identical in content, does it make sense to move the common tests that each distro specifies to verify_common_components func in tests/run-tests.sh?

Maybe. There were certainly things that were different that I've recently made the same. I think I'd like to get Mariner in the mix before I make the call of "these things are also always installed".


runtime dependencies are optional, once_cell is needed only for Rust …

At the moment I'm interested in the driver code to build custom runtime, potentially not async.
So I made runtime-related dependencies optional. Besides I moved once_cell dependency to non default "once_cell" feature. For Rust version >= 1.70 OnceCell/OnceLock is part of std.

I would like to use the latest stable version of rust, but not nightly one. It's a pity that some features could not be used. I think we can simply left a comment there and go ahead.

I would like to use the latest stable version of rust, but not nightly one. It's a pity that some features could not be used. I think we can simply left a comment there and go ahead.

Enabled stable feature by default and made it possible to use unstable nightly features.

Enabled stable feature by default and made it possible to use unstable nightly features.

It makes the solution complex:

What if stable and nightly are enabled together?
What if stable and nightly are disabled together?

To my opinion, the crate is stable when no nightly features enabled. If nightly is enabled, once_cell becomes a useless dependency. I think that's OK, because it won't shown in the final binary is no one specializes the template types.

Enabled stable feature by default and made it possible to use unstable nightly features.

It makes the solution complex:

What if stable and nightly are enabled together?
What if stable and nightly are disabled together?

To my opinion, the crate is stable when no nightly features enabled. If nightly is enabled, once_cell becomes a useless dependency. I think that's OK, because it won't shown in the final binary if no one specializes the template types.

Cargo features are additive by design and don't support negation/exclusion. If stable and nightly are disabled the compilation will fail due to lack of dependency to once_cell. It's possible to document this behavior in a features section doc.
It's possible to automate enabling stable/nightly features automatically in build script but explicit control allows, for example, to use nightly without unstable features enabled.

Cargo features are additive by design and don't support negation/exclusion.

That's why I asked. I don't think we need a stable feature. If nightly is enabled, we use nightly features, otherwise stable ones. That's simple and enough.

It's possible to automate enabling stable/nightly features automatically in build script...

I don't like that. It's too complex.

Cargo features are additive by design and don't support negation/exclusion.

That's why I asked. I don't think we need a stable feature. If nightly is enabled, we use nightly features, otherwise stable ones. That's simple and enough.

It's possible to automate enabling stable/nightly features automatically in build script...

I don't like that. It's too complex.

We could always depend on once_cell and check if rustc doesn't link it if no code uses it. But cargo will still download it as a dependency.

Than you for your work! There's only 2 small requests now. I'd like to remove stable feature completely. When nightly enabled, once_cell dependency won't be used but still be downloaded. I think that's OK because there's many other crates using that:)

Just double checked it - when once_cell is a required dependency nightly build runs with --extern once_cell parameter:
#16 7.479      Running `/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name compio --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="all"' --cfg 'feature="lazy_cell"' --cfg 'feature="nightly"' --cfg 'feature="once_cell_try"' --cfg 'feature="read_buf"' --cfg 'feature="runtime"' --cfg 'feature="signal"' --cfg 'feature="sync-queue"' --cfg 'feature="time"' -C metadata=a8df9ee9a64e364e -C extra-filename=-a8df9ee9a64e364e --out-dir /build/target/debug/deps -C incremental=/build/target/debug/incremental -L dependency=/build/target/debug/deps --extern async_task=/build/target/debug/deps/libasync_task-b508837d0cf3394e.rmeta --extern cfg_if=/build/target/debug/deps/libcfg_if-d4664edabea63f35.rmeta --extern crossbeam_queue=/build/target/debug/deps/libcrossbeam_queue-4e01ed9d46ee251e.rmeta --extern futures_util=/build/target/debug/deps/libfutures_util-ffea5e0af241a81b.rmeta --extern io_uring=/build/target/debug/deps/libio_uring-74537db3ff64a61c.rmeta --extern libc=/build/target/debug/deps/liblibc-f0a8aa31998f7d5c.rmeta --extern once_cell=/build/target/debug/deps/libonce_cell-7302fb7e29d0287e.rmeta --extern slab=/build/target/debug/deps/libslab-f7c4f2f5543be4e8.rmeta --extern socket2=/build/target/debug/deps/libsocket2-60730a6431312f18.rmeta`

It doesn't mean that the library is linked

Specifying --extern has one behavior difference from extern crate: --extern merely makes the crate a candidate for being linked; it does not actually link it unless it's actively used. In rare occasions you may wish to ensure a crate is linked even if you don't actively use it from your code: for example, if it changes the global allocator or if it contains #[no_mangle] symbols for use by other programming languages. In such cases you'll need to use extern crate.

So we do get compile time overhead but could hope for link time exclusion.


"Snap" package for Cayley

I think it would be useful -- and I want to learn to build snap packages, so I will do this!

Will you configure it to run on system restart?

Should I?

At least it should be registered as a service. It's a database package after all :)

Cayley is finally available as a snap:
snap install --edge --devmode cayley

I'm leaving this open until we automate the release process for snaps.


Modify loading text on splash screen

Description
Change "loading" text to "Initial loading" at the splash screen.
Related issues and discussion
Fixes #1676
Screen-shots, if any

Checklist
Make sure you've done all the following (You can delete the checklist before submitting)

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.
[x] Code is well documented
[x] Include unit tests for new functionality
[x] All user-visible strings are made translatable
[ ] Code passes Travis builds in your branch
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines .

Hey @huzaifaiftikhar,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because something unrelated to the tests, like a problem a dependency or the build process itself.


Avoid printing unnecessary message

FitResultsSave nii or mat attempts to create a dir that already exists when save path is passed as variable.
This PR introduces a small fix for that.

@agahkarakuzu how would you recommend I test this?

Is folder guaranteed to be a full path (at least starting with './') or can it be plain folder name(s)?
I ask because there's an edge case where ~exist(folder, 'dir') will be false if folder matches anything that exists in the search path.
For example, the following code does not create a folder on my machine
folder = 'examples/images';
if ~exist(folder,'dir')
    mkdir(folder)
end

because one of the entries in my path is /usr/local/MATLAB/R2019b/examples/images.
It does, however, make the new folders if folder = './examples/images'.
Annoyingly, it also makes the new folders if folder = examples/images/something_else.
It probably won't be a problem in practice unless the user has multiple project folders appended in path and uses the same folder names across projects.
A safer alternative is to use isfolder() but that's a recent~ish function.

Coverage decreased (-0.01%) to 42.388% when pulling 844bb240e86e02435f50f9565de2a3204582e335 on savenii_minorfix into 1d30f425773f372c17bc59b762c1ecd8e761246d on master.

@notZaki thanks for the heads up. This feature is mainly to be used with absolute paths. Users are commonly exporting FitResults folder in the same directory with their data. I'll remember points you made in managing directories.

@agahkarakuzu just by looking at the line above, it appears that relative paths are part of the use cases. I.e. if no "folder" variable is passed on, then the relative path "FitResults" inside that folder will be checked.
https://github.com/qMRLab/qMRLab/pull/365/files#diff-53b85909ee84f57bc52012bb5cfb0f46R8-R11

@mathieuboudreau I would expect to see batch tests fail if there was a problem with the folder creation in that use case. If you can show me an example where it may fail with an example, maybe I can better understand what you mean.

Sure.
In you branch,

Open MATLAB
Open the qMRLab directory and run startup.
Create a batch example using the inversion_recovery model
Open batch example MATLAB file, and replace FitResultsSave_nii(FitResults); with FitResultsSave_nii(FitResults,[],'Test');
Run the batch example.

This will break because the directory "Test" is already in the path, per what @notZaki mentioned.

Because of how we're dealing with the default case, i.e. if no folder name is passed automatically set it to "FitResults" (per my comment above), then if the user already has a folder called "FitResults" in their path, then they will encounter the same error as I forced above because we're only checking for if the relative folder name "FitResults" exists, which if it's somewhere in their path your fix won't create the directory.

Note that before running the batch script, I opened the inversion recivery directory so that its the current dir (not the qMRLab)

@mathieuboudreau this handles those use cases, giving us all three:
Test
./Test
/Somewhere/Over/The/Rainbow/Test/

@mathieuboudreau I also pushed one more commit to make bids.utils decode/encode json files using JSONLab on octave, others are just painful there. Tested on a notebook on Binder with this branch, it works.

Okay @mathieuboudreau, I'll insert some comments there.

Approved, I'm going to override and force merge since your last commit was only text, and I know you're in a deadline rush.


Use the Python bindings for in-toto/attestation

We should use the in-toto-attestation package that contains Python bindings for in-toto/attestation to validate the schema.

I looked into the library and feel that it is not suitable for our use case. The library exists to properly validate an artifact's provenance, rather than to verify the validity of a given provenance file. From the website for the most relevant method:

Performs complete in-toto supply chain verification for a final product. (Source)


[Question][Documentationa] Are there any examples/demos for converted Polymer 3 compatible Vaadin components?

Thanks for the clarification.
Maybee polymer 2 based examples will do in my case.
Bower is not used in my company and the connections to bower repositories aren't open. So, in my case, it is easier to setup development env. for polymer 3 as it uses npm.

@web-padawan do you think maybe https://github.com/Polymer/polymer-modulizer/issues/405 isn't getting much attention because everything was migrated to https://github.com/Polymer/tools monorepo, and that's where all the eyes and attention are?

@lkraav my feeling is that Polymer team does not want to invest resources to modulizer at this point. It has been confirmed to work by us, and does the job for the components themselves, as well as converting tests. AFAIK there are guys in Google who are converting their internal projects from Polymer 1 to something newer, either 2 or 3 - at some point they might want to put more effort.

We are about to start the Polymer 3 and ES modules conversion of all the components.
The progress on demo helpers tracked at #67 (to be started next week).
Closing this one, and sorry about the long delay.


Generally Available Timeline

Is there any estimated date on when this will be generally available?

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

ID: 4c416d5e-5bfd-c641-e9bb-324dcb921acc
Version Independent ID: 8739a044-d471-c432-3ed1-503539408ae8
Content: SSL termination with Azure Key Vault certificates
Content Source: articles/application-gateway/key-vault-certs.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@festivus I am following up now to see if there is a date or time range that I can give.

@festivus App Gateway SSL Termination with Azure Key Vault Certificates will be Generally available sometime next month!
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


New tab official example not working for headless mode

I must have missed something but executing the official example for creating a new tab in headless mode doesn't work for me:
const CDP = require('chrome-remote-interface');

CDP.New().then((tab) => {
    return CDP({tab: tab});
}).then((client) => {
    return client.Runtime.evaluate({
        expression: 'alert("Closing this tab...")'
    }).then(() => {
        const tab = client.chooseTab;
        return CDP.Close({id: tab.id});
    });
}).catch((err) => {
    console.error(err);
});

I get: Error: Could not create new page
I tried with the command line: chrome-remote-interface new http://www.ingdirect.fr. Same error.
I'm executing Chrome on Ubuntu. I customized the IP on which chrome listen but I tried with the default (localhost) and I observed same results.
Regarding the command line, inspect and list works. But not new nor close.
[ { description: '',
    devtoolsFrontendUrl: '/devtools/inspector.html?ws=<IP_ADDRESS>:9222/devtools/page/49db60ac-cc96-4e0f-bba2-7403f40a82bf',
    id: '49db60ac-cc96-4e0f-bba2-7403f40a82bf',
    title: 'about:blank',
    type: 'page',
    url: 'about:blank',
    webSocketDebuggerUrl: 'ws://<IP_ADDRESS>:9222/devtools/page/49db60ac-cc96-4e0f-bba2-7403f40a82bf' } ]

I'm using the latest version of node and CRI:
 npm ls -g --depth=0
/home/jon/.nvm/versions/node/v7.9.0/lib
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

There's a note about the headless version:

Please note that currently the DevTools methods are not properly supported in headless mode; use the Target domain instead. See #83 and #84 for more information.

It will be fixed in Chrome 59, you can use the google-chrome-unstable Ubuntu package.

OK good to know. Saw that but thought DevTools was a domain. Thanks.

Switching to Chrome 59 unstable resolved several issues I had including creating a new tab.

@jdat82 what OS are you on?

The chrome server was on Ubuntu and the client script on a Mac. Can't wait to get rid of Linux for chrome headless.

@cyrus-and I cant get new tab working using headless
I tried debian and ubuntu docker image
I tried with a selenium click and running java script to perform the click action for the link that is supposed to open a new tab but it doesnt open
Im using chromedriver 2.3 and google chrome stable 61 and google chrome unstable 63 still doesnt work
can you give me any suggestions how can I get it work ?

@skaliber if it's ChromeDriver-related then you may want to take a look at #265, otherwise please file a new issue with all the details.


Demo cleanup

I don't know if you want to take it a step further and remove try! in the library code, but for now I just removed it from the demo.
Fixes #419

I don't know if you want to take it a step further and remove try! in the library code

Nah, I don't want to bump the minimum rustc for rayon if we can help it.  In rayon-demo though, that's fine.  Thanks!


Add value notification model

adds a model for value notification events
https://zwave-js.github.io/node-zwave-js/#/api/node?id=quotvalue-notificationquot
will be used by the integration to fire HA events for these (stateless) value notifications (e.g. scene support for remotes)

why does pylint ignore the classmethod?

why does pylint ignore the classmethod?

We can disable the no-self-use globally in pylintrc. It's complaining as we now have a function body in the method and we don't use self.

We can disable the no-self-use globally in pylintrc. It's complaining as we now have a function body in the method and we don't use self.


[22.11] cargo-tauri: 1.0.5 -> 1.0.9

Description of changes
Fixes CVE-2023-31134.
https://tauri.app/releases/

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Builds for me, nixos x86_64.


@require cache (solved)

Packet hook gives really bad lag (10fps + ~2000ms)

console.time() your packet handling code to make sure it's really the packet hook

it is, i tested only the packet hook by itself

I cannot replicate

I import the script via a repl (so it automatically updates), there wasn't an issue until today's update. Can you reproduce with this?
// ==UserScript==
// @name         ABC Hook
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://diep.io/
// @icon         https://www.google.com/s2/favicons?domain=diep.io
// @require      https://raw.githubusercontent.com/Qwokka/wail.min.js/5e32d36bd7a5e0830d1ff4b64d3587aea13f77da/wail.min.js
// @require      https://wasm-hook-fetcher.codersudawuda.repl.co
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
})();

Please stop opening off topic issues

how is this off topic?

This isnt

Oh wait lol. Crabby's automator is still running so there actually is an issue! LOL

@CoderSudaWuda I am not experiencing this issue. How can I recreate the lag?

If you had another memory related script installed, it might have made the packet hook script from hooking into the wrong function hence the lag - so maybe try running packet hook without any other scripts.

Try looking at the performance tab

I could not reproduce with your repl version either

@CoderSudaWuda @require meta tag is cached in most Script Monkey extensions. Your issue is likely that the PacketHook cached in your extension is not the latest version. You can test this with PacketHook.CONFIG.BUILD === "b6c132517d2f9e84c9d9334a5fdeaba8a96e3343" in your userscript you sent above. If it returns false then that is the issue - if it returns true however, you can re open this issue

there isnt a config property for Hook.
as for the questions above: i tested in an environment where its the only script, there is no other script clashing

i can't open the issue so uh can someone read this

For PacketHook not Hook

yeah thats the issue, what do I do about it?

Try fetch()ing the packet hook code yourself inside the script instead of depending on the tampermonkey/violentmonkey @require, that way it doesn't cache forever

CORS error, I can't do that. even if i could evalling doesnt work.

that is an issue on your server, there is a cors package on npm

i can't fetch clientside

Fetch to jsdelivr

fetch("https://cdn.jsdelivr.net/gh/ABCxFF/diepindepth/protocol/userscripts/packethook.user.js?" + Date.now())

you could always make your own wasm hook and have it fetch the constants from an automator inside the hijacked WebAssembly.instatiate

the thing with fetching is that i can't import anything from it since evalling it wont work

Maybe eval the config only? There should be a way, good luck on your scripting!

is there a way to import WAIL without using @require

ok i got around it!
    const resp = await fetch("https://cdn.jsdelivr.net/gh/ABCxFF/diepindepth/protocol/userscripts/packethook.user.js?" + Date.now());
    const js = await resp.text();

    const resp2 = await fetch('https://raw.githubusercontent.com/Qwokka/wail.min.js/5e32d36bd7a5e0830d1ff4b64d3587aea13f77da/wail.min.js');
    const js2 = await resp2.text();

    var script1 = document.createElement('script');
    script1.appendChild(document.createTextNode(js2));
    document.head.appendChild(script1);

    var script = document.createElement('script');
    script.appendChild(document.createTextNode(js));
    document.head.appendChild(script);

GM_xmlhttpRequest bypasses CORS


Strip contents of style tags

Adds a styles state
ignores contents between a style state until it finds  the next tag open
switches to html state

Hey @geometry9, thanks for your interest! While I get why this would be useful, I am not quite sure the functionality in your pull request belongs in this library.
I'm wary for two reasons - one, I'd like not to stray too much from the original PHP version, and two, I don't want to introduce a semantic difference between tags. It's much simpler to just strip a tag rather than taking different actions depending on the tag value.

Closing this due to inactivity.


Wrong lifehooks initialization (componentWillReceiveProps)

Hello! Actually for component Map (m.b. for other components too), on componentWillReceiveProps hook, component will mount again instead of update.
That is because of check instance property of state. At that hook, component have old state, instead updated. Its can be noted from comment to that hook at react sources:

// Note: During these life-cycles, instance.props/instance.state are what
// ever the previously attempted to render - not the "current". However,
// during componentDidUpdate we pass the "current" props.
at updateClassInstance();

By this bug, component will initialize instance twice: once on component mount and then when component will recieve props imidiatly. New instance will replace old, initialized and this will cause bug on instanceRef, what be called twice.

Hi @lfoma!
Unfortunately, I can't recreate the issue you are encountering, can you create a small reproduction on codesandbox.io?

Those "unsafe" life hooks are not used anymore starting from v3 even if there was a bug is should be gone


Use the global composer autoloader if phan is installed globally

If I composer global require "etsy/phan:dev-master", and then run phan, I get an error about a missing autoload.php. This change allows Phan to be installed globally instead of just per-project.

Thanks @cweagans!


Fix windows link error by expose the entry point for REGISTER_NODE_TYPE

This PR is to fix issue #1547 , The original plan is to expose the dmlc::Registry::Get symbol in dmlc-core project, but later I found it does not work because nnvm is not only the consumer of dmlc::Registry symbol, but also need to enable registry on some new types, like:
DMLC_REGISTRY_ENABLE(nnvm::PassFunctionReg);
If we add MACRO like DMLC_DLL in registry.h, it will fail in nnvm because Windows does not allow to implement a function that declared as dllimport. I am currently use a workaround that in tvm lib, we expose another method that allow other component to access the dmlc::Registry<::tvm::NodeFactoryReg> instance, so nnvm could consume that one instead directly invoke the Get method in dmlc header file.
This is the simplest solution I can think of at this moment, but not sure does it align with tvm's design. Let me know if you have any concern.

Thanks @souptc for the contribution! This works, and is merged


Better local notification support in react native

Based in part on: https://github.com/jacobrosenthal/react-native/pull/1
R: @brentvatne

Aside from those two small comments above this looks good to merge


JetBrains.Annotations

Can the classes within the JetBrains.Annotations namespace be made internal?
The reason I ask is that once I bring the Manatee.Trello assembly into my solution, R# thinks that it can use these classes and starts decorating the attributes in places where I use R# quick fixes.
Having a look at other libraries that include their JetBrains annotations in the same way, it appears they make the classes internal which prevents this.

Making it public was actually the desired behavior.  However, due to the changes in the upcoming v3, I have no more use for them, so I deleted the annotations completely.
I'll also look at the usages in v2 to see what I can do there.

I have v3 available now, if you want to give that a go...

Yep thanks!


OLS-833: Bump-up Kubernetes and azure-identity packages

Description
Bump-up Kubernetes and azure-identity packages
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[x] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Related Tickets & Documents

Related Issue #OLS-833

/lgtm

/approve

/override "Red Hat Konflux / lightspeed-service-on-pull-request"

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@d408f10). Learn more about missing BASE report.
Report is 34 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1271   +/-   ##
=======================================
  Coverage        ?   94.74%
=======================================
  Files           ?       57
  Lines           ?     2437
  Branches        ?        0
=======================================
  Hits            ?     2309
  Misses          ?      128
  Partials        ?        0