Make EditableText cursor configurable

The cursor in text fields is currently unlike native iOS and Material cursors. This PR adds fields for cursor width and radius (how rounded the corners of the cursor RRect are) so that the cursor can (in future PRs) be configured to look more like the native.
I removed a global variable in RenderEditable called _kCaretWidth and replaced it with an instance variable called cursorWidth. The default value was changed from 1.0 to 2.0, as per the Apple UI Design Guidelines. Changing the default value caused a TextField test to fail, so I changed the test.

Try adding this to get the image base64 encoded:
diff --git a/packages/flutter_goldens/lib/flutter_goldens.dart b/packages/flutter_goldens/lib/flutter_goldens.dart
index 5f960788a..ce0529b6b 100644
--- a/packages/flutter_goldens/lib/flutter_goldens.dart
+++ b/packages/flutter_goldens/lib/flutter_goldens.dart
@@ -1,23 +1,24 @@
 // Copyright 2018 The Chromium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.

 import 'dart:async';
+import 'dart:convert';
 import 'dart:io' as io;
 import 'dart:typed_data';

 import 'package:collection/collection.dart';
 import 'package:file/file.dart';
 import 'package:file/local.dart';
+import 'package:flutter/foundation.dart';
 import 'package:flutter_test/flutter_test.dart';
-import 'package:meta/meta.dart';
 import 'package:platform/platform.dart';
 import 'package:process/process.dart';

 // If you are here trying to figure out how to use golden files in the Flutter
 // repo itself, consider reading this wiki page:
 // https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package%3Aflutter

 const String _kFlutterRootKey = 'FLUTTER_ROOT';

 /// Main method that can be used in a `flutter_test_config.dart` file to set
@@ -81,22 +82,25 @@ class FlutterGoldenFileComparator implements GoldenFileComparator {
     return new FlutterGoldenFileComparator(goldens.repositoryRoot.childDirectory(testDirectoryRelativePath).uri);
   }

   @override
   Future<bool> compare(Uint8List imageBytes, Uri golden) async {
     final File goldenFile = _getGoldenFile(golden);
     if (!goldenFile.existsSync()) {
       throw new TestFailure('Could not be compared against non-existent file: "$golden"');
     }
     final List<int> goldenBytes = await goldenFile.readAsBytes();
-    // TODO(tvolkert): Improve the intelligence of this comparison.
-    return const ListEquality<int>().equals(goldenBytes, imageBytes);
+    if (const ListEquality<int>().equals(goldenBytes, imageBytes))
+      return true; // they match
+    final String encoded = base64.encode(imageBytes);
+    debugPrint('base64 encoded image:\n$encoded\nEND');
+    return false;
   }

   @override
   Future<void> update(Uri golden, Uint8List imageBytes) async {
     final File goldenFile = _getGoldenFile(golden);
     await goldenFile.parent.create(recursive: true);
     await goldenFile.writeAsBytes(imageBytes, flush: true);
   }

   File _getGoldenFile(Uri uri) {


Disappearing reaction button when device rotates

Hey everyone @ GitHawk,
Great work on this!! I just started using it today.
I noticed if the emoji reaction bar is visible while the device experiences a rotation it causes the add reaction button to disappear.
Steps to reproduce

Navigate to a comment
Click on the add reaction/emoji button to display the emoji menu
While the menu is open, rotate the device (Any direction, into landscape or portrait)
Rotate the device back to the original orientation

Environment
Device: iPhone 7
iOS Version: iOS 10.3
GitHawk Version: 1.10
Extra
This only affects one comment at a time. Therefore, you can toggle which comment experiences the bug by reproducing the steps on another comment.
Screenshot of Issue

I think this might be a UIMenu default behavior, and we should respawn it after rotating.
Sent with GitHawk

Tbh this is such a benign behavior that I think the fix has a higher risk of breaking or annoying maintenance cost than I think is worth it.
Sent with GitHawk

Sorry, I didn't mean to report such a nit bug. I thought it was better to report than to say nothing, but its really not affecting my app experience.

@SD10 np! All bugs welcome
Sent with GitHawk

Yep! Definitely prefer to submitting any issues you find, never hurts!
Sent with GitHawk


Add the ability to handle xz patch files

closes https://trac.macports.org/ticket/52445

Should I commit this as-is?  or try to see if it is possible to auto-add the dep?

Commit it as-is. Currently, the xz dependency for distfiles gets added when use_xz yes is used, and no equivalent exists for patchfiles. In future, I want to auto-detect distfile type and add needed dependencies based on filename extension. When we do that for distfiles, we can also do it for patchfiles.


Automatically refresh certificates after DSC list update (EXPOSUREAPP-8886)

Testing

install CWA 2.6
generate and scan tc, vc, rc
update CWA with this branch
check if all certificates are still valid
you can also play with the Test Menu ( DCC Signature Verification > Refresh / Clear cache )

Tested on device from 2.6 to this branch with the certificate from the jira ticket but it still shows up invalid for me.

@SamuraiKek  Please double check , I have tested the same scenario on device and it worked

@SamuraiKek Please double check , I have tested the same scenario on device and it worked

Retested again. It was a connection issue with my Samsung. After restarting the phone it worked.


Pycharm weak warning on nested decorator

Describe the bug
Nothing fails but Pycharm warns on this nested Pydantic decorator. Creating issue to keep under observation.
To Reproduce
Visible when using code inspection in Pycharm 2023.2.
Screenshots

Environment
All

Fixed with ad55840


torchvision 0.16 is not compatible with PT 1.13.1

🐛 Describe the bug
Sample code
from torchvision.datasets import mnist

Error:
    from torchvision.datasets import mnist
  File "/usr/local/lib/python3.10/site-packages/torchvision/__init__.py", line 6, in <module>
    from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
  File "/usr/local/lib/python3.10/site-packages/torchvision/models/__init__.py", line 2, in <module>
    from .convnext import *
  File "/usr/local/lib/python3.10/site-packages/torchvision/models/convnext.py", line 8, in <module>
    from ..ops.misc import Conv2dNormActivation, Permute
  File "/usr/local/lib/python3.10/site-packages/torchvision/ops/__init__.py", line 23, in <module>
    from .poolers import MultiScaleRoIAlign
  File "/usr/local/lib/python3.10/site-packages/torchvision/ops/poolers.py", line 10, in <module>
    from .roi_align import roi_align
  File "/usr/local/lib/python3.10/site-packages/torchvision/ops/roi_align.py", line 4, in <module>
    import torch._dynamo
ModuleNotFoundError: No module named 'torch._dynamo'

This change which was released in 0.16 used _dynamo. _dynamo is part of the change which only released from PT 2.0.
Versions
torchvision=0.16
torch=1.13.1

Thanks for the report @ningziwen . That is expected, from our dependency table, you will either want to install pytorch 2.1 to use torchvision 0.16, or install torchvision 0.14 to install pytorch 1.13.
https://github.com/pytorch/vision#installation


Slow to delete a tag

Thanks for creating this tool to allow remove images from registry.
We have a 45gb large docker distribution v2 registry and delete a tag takes about 5 mins, this particular image only has about 150 tags.
Is anyone else also experiencing the similar performance issue?

I could totally believe a delete operation taking that amount of time. We used to have more repos, and that made the script much slower. For what it's worth, I now use the script to delete tags on a 100GB registry with repos that have up to 250 tags, and I just did a tag delete in a large repo in 25 seconds.


feat(#1386): added the ability to filter by class names

We can add the classesToIgnore property to options to filter elements.
Example for google maps:
html2canvas(document.getElementById('map'), { useCORS: true, classesToIgnore: ['gmnoprint'] });
https://github.com/niklasvh/html2canvas/issues/1386

Fixed with https://github.com/niklasvh/html2canvas/commit/fad4f837c95ef3e07e69a9ab5e543e46049ee909


chore: bump cuda base version to a more recent one

Fixes FL-1740

/e2e --tests=camelyon,mnist,doc

End to end tests: :hourglass_flowing_sand: STARTING


Azure usage values

This adds a temporary workaround to show usage values.
Fixes https://github.com/project-koku/koku-ui/issues/1080
Currently, the Azure instance-types API returns a single property for meta total usage, where we typically expect value and units. See https://github.com/project-koku/koku/issues/1387
Example

Codecov Report

Merging #1084 into master will decrease coverage by 0.04%.
The diff coverage is 28.57%.

@@            Coverage Diff            @@
##           master   #1084      +/-   ##
=========================================
- Coverage   75.65%   75.6%   -0.05%
=========================================
  Files         228     228
  Lines        4370    4374       +4
  Branches      814     817       +3
=========================================
+ Hits         3306    3307       +1
- Misses        951     954       +3
  Partials      113     113

Impacted Files
Coverage Δ

src/api/azureReports.ts
82.35% <ø> (ø)
:arrow_up:

...s/azureReportSummary/azureReportSummaryDetails.tsx
58.82% <28.57%> (-4.51%)
:arrow_down:

Continue to review full report at Codecov.

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


Fido.ca login issue

Cannot login fido.ca, one of the Canada's major telecom operator, with this host file both on android and ubuntu.

Hi @CoNsTaRs can you tell us which specific domains are blocked?
Fido is a subsidiary of Rogers Communications...


[WIP] [BiDi] Implement visual caret movement style

Adds option to use visual caret movement style.
Fixes https://github.com/godotengine/godot/issues/89908 (partially, also need adding some extra documentation for BiDi related stuff).

I cherry-picked this to tip of master (v4.3.dev.custom_build [aac37952a]), cursor movement is broken when use_visual_cursor_movement_style is enabled (though probably expected since this is WIP?).
Anyway:

Copy this, and paste into a LineEdit: شa (it should appear as aش)
Your cursor should be between the a and ش
It is impossible to move the cursor to the right of ش with the arrow keys.

Also, sometimes the cursor seemed to behave as if use_visual_cursor_movement_style was set to false. I had to restart the app more than once for the change to take effect, though not every time.

I cherry-picked the latest against master (0e50807c55).
Visual cursor movement with the arrow keys looks correct now.
However, I am having trouble with deleting letters with backspace

Copy this, and paste into a LineEdit: bشa
Put the cursor between b and ش.
Press del, notice nothing happens.  Press backspace, the b is deleted
Revert back to bشa and instead put the cursor between ش and a
Press backspace, notice nothing happens.  Press del, the a is deleted

Testing the same scenario in my browser's url bar, the letter that is deleted is dependent on how the cursor arrived to that position.   However, something is always deleted when del or backspace is pressed.

Deleting in the non obviously direction was deliberately disabled (will make it an option, there is no standard way to handle it as usual).
Also, I'm not sure how to handle selection (currently it's always using logical order, like GTK do, macOS do it differently, but I do not see any logic in the macOS behavior, it seems to clamp selection pretty randomly).

Deleting in the non obviously direction was deliberately disabled (will make it an option, there is no standard way to handle it as usual).

Agreed.  I know it's not standard since I also saw different behavior between apps, but it seems like something should happen since otherwise it's hard to delete ش
At least for my browser (I'm on Ubuntu 20 LTS) I'm seeing:
Scenario 1

Copy this, and paste into the URL bar: bشa.  The cursor is to the right of a
Tap left-arrow once; the cursor is now between ش and a
Press backspace, ش is deleted.
Revert back to step 2, then press del instead and see a is deleted.

And for the other direction:
Scenario 2

Copy this, and paste into the URL bar: bشa.  The cursor is to the right of a
Using the arrow keys, move the cursor to the start of the line (left of b), then move the cursor to the right of ش
The cursor is now between ش and a
Press backspace, b is deleted.
Revert back to step 3, then press del instead and see ش is deleted.

With mouse:
Scenario 3

Copy this, and paste into the URL bar: bشa.  The cursor is to the right of a
Using the arrow keys, move the cursor to the left of b, then back to the right of a
Using the mouse, place the cursor between ش and a
Behavior is identical to Scenario 1.

Scenario 4

Copy this, and paste into the URL bar: bشa.  The cursor is to the right of a
Using the mouse, place the cursor between ش and a
Behavior is identical to Scenario 2.

I tested the latest on master (b2f425fe68)
Through some light testing, this scenario may not be correct?

Copy this into a line edit شb*a& (it should appear as &b*aش)
Place the cursor between a and ش
Press del, notice b is deleted (this seems odd - I'd expect either & or ش to be deleted.  Strangely, when I do the same in my browser's url bar, nothing happens (when the cursor approaches from the right).
Revert back to step 2, press backspace and notice ش is deleted (I think this one is okay).

Just curious, is it hard (or does it not make sense) for when virtual cursor is enabled to make "backspace always deletes to the left" and "del always deletes to the right"?  I wouldn't be surprised that someone someone who's used to typing in RTL languages would have a strong opinion against that though.
Overall this is a huge improvement.  Considering (like you've said) there's no standard, it might be possible to leave this implementation as it is.

Just curious, is it hard (or does it not make sense) for when virtual cursor is enabled to make "backspace always deletes to the left" and "del always deletes to the right"?

It should be possible (I guess I'll add another config option), but most apps seems to always delete logically previous/next or do nothing.


[bug] Attribute contents HTML-encoded after serialization

Please describe the bug
Given an HTML document with a space in the href portion of the a element, document.to_html will incorrectly encode that space. This is only the case with the HTML4 parser.
Help us reproduce what you're seeing
#! /usr/bin/env ruby

require 'nokogiri'
require 'minitest/autorun'

class Test < Minitest::Spec
  describe "Node#css" do
    it "should find a div using chained classes" do
      html = ' Hello '

      doc = Nokogiri::HTML::Document.parse(html)
      serialized_doc = doc.to_html
      assert_false serialized_doc.match(/%20/)
    end
  end
end

Expected behavior
I would expect the href attribute value not to be HTML-encoded.
Environment
# Nokogiri (1.16.0)
    ---
    warnings: []
    nokogiri:
      version: 1.16.0
      cppflags:
      - "-I/home/anselm/.gem/ruby/3.2.2/gems/nokogiri-1.16.0-x86_64-linux/ext/nokogiri"
      - "-I/home/anselm/.gem/ruby/3.2.2/gems/nokogiri-1.16.0-x86_64-linux/ext/nokogiri/include"
      - "-I/home/anselm/.gem/ruby/3.2.2/gems/nokogiri-1.16.0-x86_64-linux/ext/nokogiri/include/libxml2"
      ldflags: []
    ruby:
      version: 3.2.2
      platform: x86_64-linux
      gem_platform: x86_64-linux
      description: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
      engine: ruby
    libxml:
      source: packaged
      precompiled: true
      patches:
      - 0001-Remove-script-macro-support.patch
      - 0002-Update-entities-to-remove-handling-of-ssi.patch
      - 0003-libxml2.la-is-in-top_builddir.patch
      - '0009-allow-wildcard-namespaces.patch'
      - 0010-update-config.guess-and-config.sub-for-libxml2.patch
      - 0011-rip-out-libxml2-s-libc_single_threaded-support.patch
      memory_management: ruby
      iconv_enabled: true
      compiled: 2.12.3
      loaded: 2.12.3
    libxslt:
      source: packaged
      precompiled: true
      patches:
      - 0001-update-config.guess-and-config.sub-for-libxslt.patch
      datetime_enabled: true
      compiled: 1.1.39
      loaded: 1.1.39
    other_libraries:
      zlib: '1.3'
      libgumbo: 1.0.0-nokogiri

Additional context
We ran into this because we use Nokogiri to sanitize HTML snippets (the idea is to filter out some elements), and got reports from our users that some links don't work. They had mistakenly added a space to the end of the URL, which Nokogiri then encoded as %20, leading to broken links.

Hi @mamhoff, thanks for opening this issue.
You're seeing an artifact of how libxml2 chooses to serialize some attributes. I've talked about this previously in https://github.com/sparklemotion/nokogiri/issues/969#issuecomment-973068692
The good news is that you can use Nokogiri's HTML5 parser which does what you expect:
class Test < Minitest::Spec
  describe "HTML4" do
    it "should find a div using chained classes" do
      html = ' Hello '

      doc = Nokogiri::HTML::Document.parse(html)
      serialized_doc = doc.to_html
      refute serialized_doc.match(/%20/)
    end
  end

  describe "HTML5" do
    it "should find a div using chained classes" do
      html = ' Hello '

      doc = Nokogiri::HTML5::Document.parse(html)
      serialized_doc = doc.to_html
      refute serialized_doc.match(/%20/)
    end
  end
end

emits
Finished in 0.004149s, 482.0834 runs/s, 482.0834 assertions/s.

  1) Failure:
HTML4#test_0001_should find a div using chained classes [/home/flavorjones/foo.rb:21]:
Expected #<MatchData "%20"> to not be truthy.

2 runs, 2 assertions, 1 failures, 0 errors, 0 skips

Is this a helpful answer?

Hi @flavorjones, thank you for the quick answer. Yes, that answer does help.


No Controllers to Select

Despite having controllers that work with my PC, when I try to use one for my game, it doesn't show any controllers to select and bind.

Yes, the controller is connected when I do this. Does anyone know how I can fix this?

Please read the documentation on how to connect a gamepad.
https://mrcrayfish.gitbook.io/controllable-documentation/guides/how-to-connect-a-gamepad


Fix wrong match to fleets with no label selector

The match selector was identifying fleet with no labels as matching all devices, when in reality, they don't match any devices.

Merging since it's a bug which is being seen in the demo environment.


Navigation menu is cut off on mobile with Multi Tenancy

Package
filament/filament
Package Version
V3.0
Laravel Version
V10.0
Livewire Version
No response
PHP Version
V8.2.8
Problem description
With multi tenancy dropdown enabled, the navigation bar cuts off the last link on mobile devices
Expected behavior
Be able to see/view all links
Steps to reproduce
Enable multi tenancy completely to where dropdown menu shows to allow switching
Add enough resources to fill the navigation links until it gets to a point of scrolling. Go to website on mobile device, try to access menu, try to scroll to the last item on the list - the last link is cut off
Reproduction repository
https://github.com/jamesautodude/filament
Relevant log output
No response

There is no reproduction repository. Please @ me with one and I will reopen the issue.
Also, please detail the mobile device and browser you used to test, and whether or not it is reproducible using a thin browser on desktop.

Ah just seen you opened a new one


Remove or increase thread limit

Find out why it's there in the first place.

Do you mean libdds thread limit?
It is limiting number of thread private persistent cache for double dummy solver. The thread private data is large so it shouldn't be more than physical cores available. I can be configured with server.yaml. Default is to let libdds detect cores available.

Yes, the libdds thread limit.
I noticed in testing on my Mac that the analysis finishes substantially more quickly if I let the library set the number of threads. I do not know why our wrapper code sets a maximum of 2 by default. I'd like to know before changing it.

As of yesterday, the default is to let library use the automatic detection. Configuration can lower the limit if there is a need. (Same for memory use)

Great - thanks! Closing this issue…


#227 -- Support Transition Directive on Components

see https://github.com/defenseunicorns/UnicornUI/issues/227#issuecomment-1610005465

the preprocessor concept seems to be working, removing the Transition compilation error (though there's still a type error for the return type of the transition function).


Discord (ordinary) with openasar doesn't work

Describe the bug
When i open the discord (at cli too) it crashes with error:
[OpenAsar > Modules] Checking
Error: Cannot find module '/home/dibusure/.config/discord/0.0.22/modules/discord_desktop_core'
Require stack:
- /nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/utils/requireNative.js
- /nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/bootstrap.js
- /nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/index.js
-
    at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
    at Function.n._resolveFilename (electron/js2c/browser_init.js:261:1128)
    at Module._load (internal/modules/cjs/loader.js:732:27)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at module.exports (/nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/utils/requireNative.js:1:74)
    at startCore (/nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/bootstrap.js:1:1448)
    at EventEmitter.<anonymous> (/nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/bootstrap.js:1:2467)
    at Object.onceWrapper (events.js:421:28) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/utils/requireNative.js',
    '/nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/bootstrap.js',
    '/nix/store/30i97k1vnv44j23qrw8xix0bh9xyrirs-discord-0.0.22/opt/Discord/resources/app.asar/index.js',
    undefined
  ]
} uncaughtException

Steps To Reproduce
Steps to reproduce the behavior:

Install discord with openasar according to wiki
Run discord in terminal

Expected behavior
Discord is launching normally with openasar and opening openasar settings
Screenshots
Output in "Describe the bug"
Additional context
0-0
Notify maintainers
@MP2E @devins2518 @artturin @infinidoge
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.85, NixOS, 22.11 (Raccoon), 22.11.20221230.6a0d270`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Hmm,
Given that it's saying it's missing a module in the Discord .config folder, I'm not sure if it's a Nix problem, it might just be that Discord updated and changed things which separately broke OpenAsar.
Will try and build/run on my machine once I'm back on a computer

I'm not sure if it's a Nix problem, it might just be that Discord updated and changed things which separately broke OpenAsar.

I'm sure it is

I'm not sure if it's a Nix problem, it might just be that Discord updated and changed things which separately broke OpenAsar.

I'm sure it is

then have you confirmed that it does not replicate with https://github.com/GooseMod/OpenAsar/wiki/Install-Guide ?
does discord_desktop_core contain these 3 files?
$ ls .config/discord/0.0.22/modules/discord_desktop_core
core.asar  index.js  package.json

does discord_desktop_core contain these 3 files?

i installed via nixpkgs overlay
i said this in "Steps To Reproduce" block

discord downloads its main files at runtime which we can't control

So what can i do?

Hmm. If that is the case, then this does seem to be a flaw with how OpenAsar is handled Nix-side then.
I'm not really sure how that could be fixed, though, outside of trying to run Discord during/before the build to generate the necessary files, which seems... bad.

IMO this issue should stay open until a workaround is implemented, or this is at least documented somewhere. $VERY_POPULAR_PROGRAM inexplicably breaking every update is pretty poor UX.

openasar isn't $VERY_POPULAR_PROGRAM, it's a unsupported mod.
Is there anything nixpkgs specific to do here, or is it a upstream documentation issue.

Added workaround instruction to https://nixos.wiki/wiki/Discord#OpenAsar_.2F_Vencord

Maybe there could be a script which launches an unmodified discord when there's an error containing MODULE_NOT_FOUND, but then the discord size will be duplicated

openasar isn't $VERY_POPULAR_PROGRAM, it's a unsupported mod.
Is there anything nixpkgs specific to do here, or is it a upstream documentation issue.
Anyone can edit the nixos wiki so quirks can be added there.

I agree, I was wrong. I apologise. I don't think there much more we can do here; Nix pulling discord_desktop_core itself seems too brittle IMO, so this is up to OpenASAR.

Maybe there could be a script which launches an unmodified discord when there's an error containing MODULE_NOT_FOUND, but then the discord size will be duplicated. It could print instructions.

Instructuons would be the best solution


Command permissions not doing anything

using latest version of LuckPerms, Fabric, API for MC 1.17.1, and MCP v1.4.0

Running these vanilla MC commands in game does not do anything.

Can you please elaborate what you mean by “Running these vanilla MC commands in game does not do anything”?
For example, what do players (that got the minecraft.command.locate permissions) see when they run /locate mineshaft?
What is the output of /lp user  permission check minecraft.command.locate?
running /locate or /gamemode after giving a player that permission in luckperms with this mod on does not allow the player to run the command.

Hm, I don't know for sure, but it could be a mod incompatibility.


Add @vue/compiler-sfc  to package.json

It needs for watch script

https://github.com/vitejs/vite/blob/main/packages/plugin-vue/package.json#L32
It have to install from peerDependencies. but It cannot works. It is not installed by yarn.
I thought it is not cause of this template

This template works using the capabilities of npm v7 - automatic peerDependency installation.  If you use a different package manager you will have to install the peerDependency yourself.

I am closing this PR because it is not suitable for this template.


Fix compile_fail tests

Objective

Bevy has several compile_fail test
#2254 added #[derive(Component)]
Those tests now fail for a different reason.
This was not caught as these test still "successfully" failed to compile.

Solution

Add #[derive(Component)] to the doctest
Also changed their cfg attribute from doc to doctest, so that these tests don't appear when running cargo doc with --document-private-items

Also changed their cfg attribute from doc to doctest, so that these tests don't appear when running cargo doc with --document-private-items

You could use #[doc(hidden)]. That will cause it to be hidden even with --document-private-items.

Also changed their cfg attribute from doc to doctest, so that these tests don't appear when running cargo doc with --document-private-items

You could use #[doc(hidden)]. That will cause it to be hidden even with --document-private-items.

I chose against this as #[cfg(doctest)] better represents the intention of the code, compared with #[cfg(doc)]+#[doc(hidden)]


Add emit extension block symbols option to dump-symbol-graph and SymbolGraphOptions

Adds support for emitting extension block symbols to the dump-symbol-graph command and other SymbolGraphOptions.
Motivation:
Extension block symbols with the respective command line flags -emit-extension-block-symbols and -omit-extension-block-symbols were introduced in apple/swift#59047 and apple/swift#61637 as part of an ongoing effort to solve apple/swift-docc#210. These flags should be exposed in higher-level commands such as swift package dump-symbol-graph as well as the package plugin API, so that users and package manager plugins such as apple/swift-docc-plugin can access them more easily.
Modifications:
This PR adds the flag-pair --emit-extension-block-symbols/--omit-extension-block-symbols to the DumpSymbolGraph command and exposes the emitExtensionBlocks option in PluginToHostMessage.SymbolGraphOptions. SymbolGraphExtract was also extended by an emitExtensionBlockSymbols option and its extractSymbolGraph function adds the respective compiler command line flag accordingly.
Result:
swift package dump-symbol-graph --emit-extension-block-symbols dumps symbol graph files that extension block symbol format. The default behavior does not change. The --omit-extension-block-symbols flag will be used to explicitly disable the feature once the default behavior has been changed to --emit-extension-block-symbols in the future.
Package Plugins can specify the emitExtensionBlocks property requesting symbol graphs, e.g.:
import PackagePlugin

// ...
try getSymbolGraph(for: target, options: PackageManager.SymbolGraphOptions(
            minimumAccessLevel: targetMinimumAccessLevel,
            includeSynthesized: true,
            includeSPI: false,
            emitExtensionBlocks: true
        ))

The default behavior for package plugins also does not change.

@swift-ci please smoke test

looks good once CI is green

@swift-ci please smoke test

@neonichu Test failures are expected until the CI uses a toolchain that was built after Dec. 2nd (and therefore includes this code adding the -omit-extension-block-symbols flag to swift-driver). This last run used one from Dec. 1st.

@neonichu Could you run tests again, please? They should pass now.

@swift-ci please smoke test

It seems like the self hosted macOS runner uses Swift 5.5, which doesn't know the flags this PR introduces. I'm a little confused as to why a contribution to the main branch (which is supposed to land in Swift 5.8) must be compatible with Swift 5.5. I couldn't find any CLI flags in SwiftPM that are hidden based on the Swift version, so I assumed each version of SwiftPM only needs to be compatible with the compiler/driver version of the respective toolchain it is part of. However, looking at the branches, it seems like you're currently maintaining compatibility down to Swift 5.3 from the main branch.
Should I therefore wrap all my changes in Swift 5.8 guards so that one can actually run the Swift 5.5 compiler's swift-symbolgraph-extract with the resulting version of SwiftPM? Or would it be better to just make a Swift 5.7 branch before this PR lands to avoid messing up the code-base?
@tomerd or @neonichu could you please tell me what is the best strategy for this?

@swift-ci please test

@theMomax It is intentional that we are supporting older versions, we have an API to check which flags are available in the used compiler to guard availability of newer features like this. 5.5 is a little bit older than we’d like, but generally speaking we do want to retain the ability of using and developing SwiftPM with toolchains that aren’t the latest.
A compilation conditional is not sufficient to handle this since we do want people to mix a newer SwiftPM with older compilers at runtime as much as possible. You can look at the use of this API to see how conditionality could be done based on the availability of the flags you need rather than versions.

@neonichu thank you for the explanation! I pushed a fix that basically just drops the flag with a warning if it is not supported by the driver. Is that how it's supposed to be done? I couldn't find a precedent in the code where a user-provided command argument had to be dropped.
let extensionBlockSymbolsFlag = emitExtensionBlockSymbols ? "-emit-extension-block-symbols" : "-omit-extension-block-symbols"
if DriverSupport.checkSupportedFrontendFlags(flags: [extensionBlockSymbolsFlag.trimmingCharacters(in: ["-"])], fileSystem: fileSystem) {
    commandLine += [extensionBlockSymbolsFlag]
} else {
    print("warning: dropped \(extensionBlockSymbolsFlag) flag because it is not supported by this compiler version")
}

People would still see the flag in the help dialog of SwiftPM even if they use it with a compiler version that doesn't support it. Since they manually configured their setup to use  SwiftPM/compiler versions from different toolchain versions I guess that's ok, though. I also wouldn't know an intended way to conditionally disable an ArgumentParser flag at runtime, but if necessary I'm sure it's possible somehow.

@swift-ci Please smoke test

@swift-ci please smoke test

@theMomax emitting a warning like you're doing seems like the right thing to do

Looks like this is ready to go. Thanks for your help @neonichu !

@shahmishal why did this not trigger the Windows build?  This seems to have broken the windows build.


Wiki update

Description
With all the changes that happened during the summer, the wiki needs an update

Unecessary due to website docs


Does not work with cpprestsdk master right now

Tried on 2018-09-20: nmos-cpp-node crashes after a couple of seconds with latest cpprestsdk. Version from May 18, 2018 works

@maweit Martin, we've tried several recent releases of C++ REST SDK, including v2.10.6 from 20 September 2018. I didn't find an immediate crash on any platform, but I did encounter a crash-on-exit bug with v2.10.6 on Windows depending on the CMake configuration options, e.g. CPPREST_PPLX_IMPL, CPPREST_HTTP_LISTENER_IMPL and CPPREST_HTTP_CLIENT_IMPL. This seems to have been resolved by the latest release, v2.10.8, so I have updated the documentation to suggest that version for now. If you were able to confirm that solves your issue, that would be great!
Thanks.

Ah, looks like the v2.10.8 tagged release may not work on some Linux environments. There's a fix on master, see https://github.com/Microsoft/cpprestsdk/commit/65267c6e83e7e29ed3bdddde13d2c4bbb10e1bff

I also get a warning when building on that target:

/home/hbv-bld1/bt/git/nmos-cpp/Development/nmos/sdp_utils.cpp: In function ?nmos::sdp_parameters nmos::get_session_description_sdp_parameters(const web::json::value&)?:
/home/hbv-bld1/bt/git/nmos-cpp/Development/nmos/sdp_utils.cpp:823:83: warning: narrowing conversion of ?sdp::fields::clock_rate.web::json::field::operator()((* & rtpmap_value))? from ?uint64_t {aka long unsigned int}? to ?param_type {aka long int}? inside { } [-Wnarrowing]
sdp_params.audio.sample_rate = nmos::rational{ sdp::fields::clock_rate(rtpmap_value) };
~~~~~~~~~~~^~


Issues computing RoBERTa on TPUv4 POD

🐛 Bug
Computation on a TPUv4 POD crashs with an error. In order to get it run on TPUv4 I had to change one value in the spawn (see https://github.com/facebookresearch/fairseq/compare/main...scheiblr:fairseq:TPUv4). On a single TPUv4 it runs (with the pip installation).
To Reproduce
python3 -m torch_xla.distributed.xla_dist   --tpu=$TPU_NAME   --restart-tpuvm-pod-server   --env=MKL_THREADING_LAYER=GNU   --env=TPUv4=True   --
fairseq-train "/home/scheible/data/clean-small" "--distributed-world-size" "8" "--tpu" "--log-format" "json" "--log-interval" "25" "--task" "masked_lm" "--criterion" "masked_lm" "--optimizer" "adam" "--adam-betas" "(0.9,0.98)" "--adam-eps" "1e-6" "--clip-norm" "0.0" "--arch" "roberta_base" "--save-dir" "/home/scheible/checkpoints" "--sample-break-mode" "none" "--tokens-per-sample" "512" "--lr-scheduler" "polynomial_decay" "--lr" "0.0004" "--total-num-update" "100000" "--warmup-updates" "10000" "--dropout" "0.1" "--attention-dropout" "0.1" "--weight-decay" "0.01" "--batch-size" "64" "--update-freq" "16" "--skip-invalid-size-inputs-valid-test" "--save-interval-updates" "100000" "--max-update" "100000

Erorr:
[...]
2023-05-03 20:47:40 <IP_ADDRESS> [1] TypeError: _foreach_mul_() received an invalid combination of arguments - got (list, Tensor), but expected one of:
2023-05-03 20:47:40 <IP_ADDRESS> [1]  * (tuple of Tensors self, Number scalar)
2023-05-03 20:47:40 <IP_ADDRESS> [1]       didn't match because some of the arguments have invalid types: (!list!, !Tensor!)
2023-05-03 20:47:40 <IP_ADDRESS> [1]  * (tuple of Tensors self, tuple of Scalars scalars)
2023-05-03 20:47:40 <IP_ADDRESS> [1]       didn't match because some of the arguments have invalid types: (!list!, !Tensor!)
2023-05-03 20:47:40 <IP_ADDRESS> [1]  * (tuple of Tensors self, tuple of Tensors other)
2023-05-03 20:47:40 <IP_ADDRESS> [1]       didn't match because some of the arguments have invalid types: (!list!, !Tensor!)
2023-05-03 20:47:40 <IP_ADDRESS> [1]
2023-05-03 20:47:40 <IP_ADDRESS> [0] Exception in device=TPU:2: _foreach_mul_() received an invalid combination of arguments - got (list, Tensor), but expected one of:
2023-05-03 20:47:40 <IP_ADDRESS> [0]  * (tuple of Tensors self, Number scalar)
2023-05-03 20:47:40 <IP_ADDRESS> [0]       didn't match because some of the arguments have invalid types: (!list!, !Tensor!)
2023-05-03 20:47:40 <IP_ADDRESS> [0]  * (tuple of Tensors self, tuple of Scalars scalars)
2023-05-03 20:47:40 <IP_ADDRESS> [0]       didn't match because some of the arguments have invalid types: (!list!, !Tensor!)
2023-05-03 20:47:40 <IP_ADDRESS> [0]  * (tuple of Tensors self, tuple of Tensors other)
2023-05-03 20:47:40 <IP_ADDRESS> [0]       didn't match because some of the arguments have invalid types: (!list!, !Tensor!)
2023-05-03 20:47:40 <IP_ADDRESS> [0]
2023-05-03 20:47:40 <IP_ADDRESS> [0] Traceback (most recent call last):
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/usr/local/lib/python3.8/dist-packages/torch_xla/distributed/xla_multiprocessing.py", line 331, in _mp_start_fn
2023-05-03 20:47:40 <IP_ADDRESS> [0]     _start_fn(index, pf_cfg, fn, args)
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/usr/local/lib/python3.8/dist-packages/torch_xla/distributed/xla_multiprocessing.py", line 325, in _start_fn
2023-05-03 20:47:40 <IP_ADDRESS> [0]     fn(gindex, *args)
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/home/scheible/fairseq/fairseq/distributed/utils.py", line 362, in distributed_main
2023-05-03 20:47:40 <IP_ADDRESS> [0]     main(cfg, **kwargs)
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/home/scheible/fairseq/fairseq_cli/train.py", line 205, in main
2023-05-03 20:47:40 <IP_ADDRESS> [0]     valid_losses, should_stop = train(cfg, trainer, task, epoch_itr)
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/usr/lib/python3.8/contextlib.py", line 75, in inner
2023-05-03 20:47:40 <IP_ADDRESS> [0]     return func(*args, **kwds)
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/home/scheible/fairseq/fairseq_cli/train.py", line 331, in train
2023-05-03 20:47:40 <IP_ADDRESS> [0]     log_output = trainer.train_step(samples)
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/usr/lib/python3.8/contextlib.py", line 75, in inner
2023-05-03 20:47:40 <IP_ADDRESS> [0]     return func(*args, **kwds)
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/home/scheible/fairseq/fairseq/trainer.py", line 946, in train_step
2023-05-03 20:47:40 <IP_ADDRESS> [0]     self.optimizer.multiply_grads(numer / (sample_size or 1.0))
2023-05-03 20:47:40 <IP_ADDRESS> [0]   File "/home/scheible/fairseq/fairseq/optim/fairseq_optimizer.py", line 116, in multiply_grads
2023-05-03 20:47:40 <IP_ADDRESS> [0]     torch._foreach_mul_(grads, c.to(device) if torch.is_tensor(c) else c)
[...]

Expected behavior
I expected the RoBERTa model to be trained.
Environment

fairseq Version: main:
PyTorch Version: 1.13
OS (e.g., Linux): Linux
How you installed fairseq (pip, source): source (fork with TPU4 change)
Build command you used (if compiling from source): pip install .
Python version: 3.8.10
CUDA/cuDNN version: -
GPU models and configuration: -
Any other relevant information: -

solved it by revert the changes of https://github.com/facebookresearch/fairseq/commit/3c1abb59f581bfce68822b6179d1c1b37b304259


column command got invalid option -n

Hello good day,
Just want to ask  I am getting this error if I tried to run the devicons-ls.
column: invalid option -- 'n'
I tried man column but it seems I cant find the -n option.
Can you give a hint how I can fix this? please.
Thanks

@zer09 Are you on Arch Linux?
I believe it is a version of column issue that doesn't support that option

Got it thanks, but I will just wait the official release of fedora 26, I tried it on VM and woks perfectly. I am now on fedora 25 that has version 2.28 of column command.
Thanks

opss, I was wrong, I forgot I did change the -n option with -x. I will try to read the reddit link you give.


No signature of method: before_plugins_f31qds46uanbzcp13ta91b9jm.ext()

Hello, i followed your guide but when i launch the project i receive:
`before-plugins.gradle' line: 1
A problem occurred evaluating script.
No signature of method: before_plugins_f31qds46uanbzcp13ta91b9jm.ext() is applicable for argument types: (before_plugins_f31qds46uanbzcp13ta91b9jm$_run_closure1) values: [before_plugins_f31qds46uanbzcp13ta91b9jm$_run_closure1@59cc70c9]
Possible solutions: exec(groovy.lang.Closure), exec(org.gradle.api.Action), wait(), run(), run(), any()
Unable to apply changes on device: 2c9edbb29804. Error is: Command gradlew.bat failed with exit code 1.

[NSDebugAdapter] The tns command finished its execution with code 0.`

At this moment i installed only the open-native plugin followed the guide in this github Readme.
But i receive that error.
The final goal is to install https://github.com/MacKentoch/react-native-beacons-manager

Hey @Atomico001 Can you share your before-plugins.gradle file?

ext {
// The version used here should be same as the one's
// set in app.gradle file.
buildToolsVersion = '33.0.0'
minSdkVersion = 23
targetSdkVersion 30
compileSdkVersion 31
    androidXCoreVersion = "1.8.0"
    androidXCompatVersion = "1.5.1"

}
allprojects {
// Nativescript by default runs this hook for all plugin builds,
// but we want to run it only when the main app builds.
if (!rootProject.projectDir.absolutePath.contains("tempPlugin")) {
// We are replacing com.facebook.react:react-native with our local :react library in all linked libraries.
// We could do this inside the module itself but we want the module to work in both
// react-native & nativescript
configurations {
all {
resolutionStrategy {
dependencySubstitution {
substitute module("com.facebook.react:react-native") using project(":react") because "we will replace this with our local react"
}
}
}
}
}
}

Hey, use this below, the above has some mistakes:
ext {
        // The version used here should be same as the one's
        // set in app.gradle file.
         buildToolsVersion = '31.0.0'
         minSdkVersion = 23
         targetSdkVersion = 30
         compileSdkVersion = 31
         androidXCoreVersion = "1.3.1"
         androidXCompatVersion = "1.3.1"
}
allprojects {

  // Nativescript by default runs this hook for all plugin builds,
  // but we want to run it only when the main app builds.
  if (!rootProject.projectDir.absolutePath.contains("tempPlugin")) {
    // We are replacing com.facebook.react:react-native with our local :react library in all linked libraries.
    // We could do this inside the module itself but we want the module to work in both
    // react-native & nativescript
    configurations {
      all {
        resolutionStrategy {
          dependencySubstitution {
            substitute module("com.facebook.react:react-native") using project(":react") because "we will replace this with our local react"
          }
        }
      }
    }
  }
}

The app is building fine on my side.

@ammarahm-ed The error is changes but about the same.
\before-plugins.gradle' line: 23
A problem occurred evaluating script.
No signature of method: org.gradle.api.internal.artifacts.ivyservice.dependencysubstitution.DefaultDependencySubstitutions$1.using() is applicable for argument types: (org.gradle.internal.component.local.model.DefaultProjectComponentSelector) values: [project :react]
Possible solutions: find(), print(java.io.PrintWriter), print(java.lang.Object), use([Ljava.lang.Object;), find(groovy.lang.Closure), wait()
Command gradlew.bat failed with exit code 1

What version of Nativescript are you using? also do ns clean once then try again.

ns info
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 8.2.3 and the latest available version is 8.4.0.
⚠ Update available for component @nativescript/core. Your current version is 8.1.5 and the latest available version is 8.4.1.
⚠ Update available for component @nativescript/ios. Your current version is 8.1.0 and the latest available version is 8.4.0.
⚠ Update available for component @nativescript/android. Your current version is 8.1.1 and the latest available version is 8.4.0.
i did a ns clean but nothing changed

@Atomico001 try update all dependencies of ns

Ok, i will updated everything.. (hard job)
now i succesfull installed open-native and now it builds finally!
so i installed the plugin goal https://github.com/MacKentoch/react-native-beacons-manager
and now when i build i have this error:
node_modules\react-native-beacons-manager\android\build.gradle' line: 30
A problem occurred evaluating project ':react-native-beacons-manager'.
Could not find method compile() for arguments [directory 'libs'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Command gradlew.bat failed with exit code 1
app.gradle:
buildToolsVersion = '33.0.0'
minSdkVersion 23
targetSdkVersion 33
compileSdkVersion 33
so i used this before-plugins.gradle:

`ext {
    // The version used here should be same as the one's
    // set in app.gradle file.
    buildToolsVersion = '33.0.0'
    minSdkVersion = 23
    compileSdkVersion = 33
    targetSdkVersion = 33

    androidXCoreVersion = "1.8.0"
    androidXCompatVersion = "1.5.1"

}
allprojects {
// Nativescript by default runs this hook for all plugin builds,
// but we want to run it only when the main app builds.
if (!rootProject.projectDir.absolutePath.contains("tempPlugin")) {
// We are replacing com.facebook.react:react-native with our local :react library in all linked libraries.
// We could do this inside the module itself but we want the module to work in both
// react-native & nativescript
configurations {
all {
resolutionStrategy {
dependencySubstitution {
substitute module("com.facebook.react:react-native") using project(":react") because "we will replace this with our local react"
}
}
}
}
}
}`

@Atomico001 Try this one https://www.npmjs.com/package/@hkpuits/react-native-beacons-manager

I was getting the same error actually now. The module itself is pretty outdated. Last updates in 2017 😅 i have gotten it to work btw locally. Just need to fix something in open-native after which i will post the steps here to follow.

Hey, so follow the steps below once I release alpha.15:
Install the module from here:
npm install @hkpuits/react-native-beacons-manager

Add the following patch in<EMAIL_ADDRESS>Use patch-package to install the patch. Mainly  you need to add postinstall:"patch-package" in scripts inside package.json.
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index a7e2244..f186903 100755
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -8,9 +8,9 @@
     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

     <application>
-        <service android:name="com.mackentoch.beaconsandroid.BeaconsAndroidTransitionService"/>
+        <service android:exported="true" android:name="com.mackentoch.beaconsandroid.BeaconsAndroidTransitionService"/>

-        <receiver android:name="com.mackentoch.beaconsandroid.BeaconsAndroidBootReceiver">
+        <receiver android:exported="true" android:name="com.mackentoch.beaconsandroid.BeaconsAndroidBootReceiver">
 			<intent-filter>
 				<action android:name="android.intent.action.BOOT_COMPLETED"/>
 			</intent-filter>

In nativescript.config.js:
export default {
 ...
  'open-native': {
    patchAndroidApplication: true,
  },
} as NativeScriptConfig;

Run the app & it should build normally. This will work in alpha.15 that I will release in a bit.

Hey @Atomico001 alpha.15 is out. Please follow the updated setup guide for android: https://github.com/OpenNative/open-native/tree/main/packages/core
Then do the above mentioned steps to get it to build with the module installed.

Perfect. i will try. Thank you for you effort!

Ok, i follow all instruction. It build.
From your instruction now i can use the module without problem.
so i follow the readme and:
import  Beacons from '@hkpuits/react-native-beacons-manager'
the problem is that i receive:
<EMAIL_ADDRESS>is not a module.ts(2306)
Don't know if it is a module problem or something with openNative.

Try importing as follows: import  Beacons from<EMAIL_ADDRESS>


Failed to find shepherd.css

Going crazy, so hope someone out here can help!
I've installed the vue-shepherd plugin as well as the shepherd.js plugin.
   "shepherd.js": "^8.1.0",     "vue-shepherd": "^0.2.1",
and I can SEE the shepherd.css file in ../node_modules/shepherd.js/dist/css/shepherd.css
But when I try and import the file I'm getting:
ERROR in ./app/javascript/app.vue?vue&type=style&index=0&lang=css& (./node_modules/css-loader/dist/cjs.js??ref--3-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--3-2!./node_modules/vue-loader/lib??vue-loader-options!./app/javascript/app.vue?vue&type=style&index=0&lang=css&) Module build failed (from ./node_modules/postcss-loader/src/index.js): Error: Failed to find '../node_modules/shepherd.js/dist/css/shepherd.css'
Any idea where I've gone astray??

@Trimakas are you using vanilla Vue or Nuxt? This depends largely on your project setup, but https://cli.vuejs.org/guide/css.html#referencing-assets might be helpful. You likely want to import with ~.

I had this error at first which stemmed from a quotation issue. Try:
@import "~shepherd.js/dist/css/shepherd.css";


List all accounts in the service

As a user or system component requiring a comprehensive view of customer accounts
I want to retrieve a list of all accounts stored in the service
So that I can perform analytics or obtain an overview of the customer base

Details: Specify the endpoint or method to retrieve a comprehensive list of customer accounts.
Acceptance Criteria: Ensure accurate listing of all stored accounts.


Feature request: Subscribe / Newsletter on TaskBoard website

I just wanted to receive an email when a new version is released or something interesting happened
Perhaps an RSS feed would do.

That's certainly an option I will consider.
In the meantime, whenever I put out a new release it goes on my Twitter (for example, v0.3.0 was announced).


Empty snps track in local web

I would like to visualize the variants of the recombinant, donor and receptor, just as it is shown in the RIVET's web page.
However, whenever I run it locally in my computer and select one row in the table, the variants track is empty:

This is a functionality that I find very useful and I would be really grateful if you could help me.
I tried using as input the files provided in example/, with the same outcome.
There is no errors in my console when I run rivet-frontend.py

Hi, @mlarjim. Thanks for letting us know, I'm happy to help resolve this issue.  Could you please try pulling the latest updates from main, and running RIVET locally with the example data again?
git pull
python3 rivet-frontend.py -r example/final_recombinants_example.txt -v example/trios_example.vcf -c config.yaml

If this works with the example data, please try your recombinant data again and let us know if the issue is resolved or persists.  Thank you!

Excellent @mrkylesmith! It works fine with both example and my recombinant data.
Pulling the latest changes and installing again the packages in install/rivet_env.yml worked for me
Than you so much!


Auto-Updates not working

Operation System:OSX
Beaker Version:Latest
I noticed in the settings section the below
" Sorry! Beaker auto-updates are only supported on the production build for MacOS and Windows. You will need to build new versions of Beaker from source."
I did build from Source ....Is there a way to turn auto-updates on ?

By latest, did you mean 0.6.1 or 0.7?

No it means, in perpetuity. The only ways to get auto updates atm is with the official release

On Mar 4, 2017, at 12:21 PM, ThatOneGamer999<EMAIL_ADDRESS>wrote:
By latest, did you mean 0.6.1 or 0.7?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ah, I see.

I suppose we could come up with an additional auto-update mechanism that uses git, if you build from source. Something that automatically git-pulls.


bounding box cuts off nodes

the automatic determination of x- and y-lims tends to cut off my (big) nodes.
would be nice if there were a padding feature to add padding to the x- and y-lims to expand the bounding box.
(I'm making many such figures so manual tuning of axes not acceptable.)
oddly I get the following values for the automatically determined x, y-axis limits (which I seek to modify) for this plot. the y-axis limits are clearly incorrect.
ax.yaxis.attributes.limits[] = (0.0f0, 10.0f0)
ax.xaxis.attributes.limits[] = (0.0f0, 10.0f0)

so bizarre. the yaxis limits are not being retrieved inside the function. but outside the function they are.

As to the last post, final limits are always computed at display time.  You can run Makie.update_state_before_display!(fig) to make them compute limits, though.

I'll close this issue as a duplicate of #141.
I think the underlying issue is that the Makie limit calculation does not take things into account that are drawn in pixel space rather than data space, i.e., elements that are displayed at the same size regardless of zoom level. Calculating proper limits is nontrivial since the limits affect the zoom level and, therefore, the projection of the pixel-space objects into data space.
This discourse post might help you to define a function to fix the limits after plotting.


Playground Tutorial and Documentation links don't work when combined with "Get link" button.

Describe the bug
By using the "Get a link to this code" button and the browser refresh button, you can get the playground in a state where the Tutorial and Documentation links don't work as expected.
To Reproduce

Open clean playground state.
Make some noticeable change to the default code.
Click the "Get a link to this code" button. (notice the URL changes)
Refresh the page using the browser refresh button.
Click on one of the Tutorial links. (notice how the URL resets.)

At this point the erroneous behavior is encountered:

The page does not display the selected Tutorial.
Navigating to a different code sample will change the code to the selected sample, but clicking on one of the Tutorials or Documentation links changes it back to the manually altered code, despite the URL never taking on the "link" info again.

Additional Information
This was encountered on the Chrome browser.

We just reproduced this, so it is still an issue.

I think I have the fix - testing now


linux/common-config: rely on upstream for default governor

Motivation for this change
This shouldn't be forced as the default. Suddenly remembered about schedutil which is why I came across this.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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

[ ] Fits CONTRIBUTING.md.

cc @thoughtpolice as maintainer for the kernel package

https://discourse.nixos.org/t/sane-cpu-frequency-governor-selection-on-nixos/6591 is probably relevant

There is also a confusion between intel_pstate and intel_cpufreq drivers. powersave governor of the intel_pstate is equivalent to ondemand governor of intel_cpufreq which also have a powersave governor. I presume NixOS forces some default governor because determining the actual default governor is very confusing. For example, schedutil is only available if intel_pstate driver has been put into passive state.
I think current state is correct because if /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors is somehow not available, the kernel falls back to full performance.

By default it falls back the performance in 5.13
choice
        prompt "Default CPUFreq governor"
        default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ
        default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if ARM64 || ARM
        default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if X86_INTEL_PSTATE && SMP
        default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
        help
          This option sets which CPUFreq governor shall be loaded at
          startup. If in doubt, use the default setting.

I'm pretty sure those equivalences haven't been updated in a long time. If I remember correctly, even in cpufreq with schedutil, HWP hints should now be used I believe?

This means it defaults to schedutil because almost any CPU supports pstate, at least with passive mode. I mean if one sets powerManagement.cpuFreqGovernor to null, the computer should be running with performance governor because of frequency scaling being disabled. It shouldn't fall back to schedutil.

I don't understand, if it is null why are you automatically going for performance. The kernel configuration basically tells what should happen by default, If in doubt, use the default setting.
If frequency scaling were to be disabled, isn't that what the userspace governor is for.

Your point is perfectly valid. What you are saying is to use the kernel default if cpuFreqGovernor is not set. Nevertheless my opinion is this behavior being confusing. I expect computer to be running at full power when frequency scaling is not in effect. I am wondering what the maintainer thinks about this.

If frequency scaling were to be disabled, isn't that what the userspace governor is for.

I don't think one can use userspace with intel_pstate driver. It only has performance and powersave governors. That's why I suggest NixOS should continue pushing its own defaults as this is confusing as it is.

Nevermind, fthe generated configuration points to USERSPACE by default instead of SCHEDUTIL so rip.


Add option to choose metrics and repare some of the losses

Losses fixed in ae0796c

Choose metrics for train/test: done in fa5ad0
Choose loss: done in 1560ff


Command channel to stop integrations without PID

To reduce attack surface, new command-api stop integration approach avoids using PID.
Instead new approach is:

agent receives a "run integration" request, it hashes name+args and stores this in memory
whenever agent receives a "stop integration" with same args (hashes match) it stops it

WIP

Pull Request Test Coverage Report for Build 331994316

44 of 44 (100.0%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.09%) to 57.955%

Files with Coverage Reduction
New Missed Lines
%

internal/agent/event_sender.go
1
72.56%

pkg/metrics/sampler/sampler_routine.go
2
94.74%

Totals

Change from base Build 329452776:
0.09%

Covered Lines:
10954

Relevant Lines:
18901

💛  - Coveralls


potential security vulnerability via an outdated version of<EMAIL_ADDRESS>><EMAIL_ADDRESS>

Hi,
this is perhaps not the place to report it, please feel free to close the issue, but the version of static-module specified in the package.json is affected by this security vulnerability:
https://nodesecurity.io/advisories/548
<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>I have tried to update static-module to version ^2.0.0 which fixes the issue:
https://github.com/browserify/static-module/issues/34
...but the tests are failing. I do no know this code enough to fix it, any help is welcome.
This is part of making plotly.js pass security tests:
https://github.com/plotly/plotly.js/issues/2386
Would also be good to have a security badge with:
snyk: https://github.com/snyk/snyk#badge
or
nsp: see https://github.com/dwyl/repo-badges
Thx
Alex

Unfortunately, bumping static-module to the unvulnerable 2.x  series won't be trivial.
Changes from PRs https://github.com/substack/static-eval/pull/18 and https://github.com/browserify/static-module/pull/38 appear to be incompatible with cwise.
From my findings, static-module fails (i.e. does not transform cwise({args: [], body: () => {}}) expressions) whenever body() mutates one if its input arguments.
For example, with
// cmd.js
var fs = require('fs')
var sm = require('./lib/cwise-transform')()

process.stdin.pipe(sm).pipe(process.stdout)

// works.js
var cwise = require('cwise')
var f = cwise({
  args: ["array"],
  body: function() {
      return 'yo'
  },
})

// fails.js
var cwise = require('cwise')
var f = cwise({
  args: ["array"],
  body: function(a) {
      ++a
  },
})

then, node cmd.js < works.js works just fine (but doesn't do anything :smirk: ), and node cmd.js < fails.js  outputs:

var f = cwise({
  args: ["array"],
  body: function(a) {
      ++a
  }
})

that is, it correctly removes the require statement, but ignores the cwise call.

Thanks for looking at it. I tried to update the dependency but the test are failing (I am on windows and not familiar with these libs).
But I am able to run the examples which are in the example dir.

+1

@etpinard I did upgrade the dependencies and did a very simple change in the test files and all the unit test are ok except fill, perhaps you would have an idea?
changes
(I am sorry I am on windows, so there are some changes on package.json)
Thx
Alex

@alhugot I believe your patch in https://github.com/alhugot/cwise/commit/39b4ad8a1c67d94903bdc139e59bc764e59bad6f defeats the purpose of browserify suite where cwise is used as a transform.
To double-check, would you mind comparing the output of browserify -t cwise test/fill.js using old and new static-module versions?

@etpinard I am sorry I don't know much about browserify. Do you mean changing
var cwise = require("cwise") to var cwise = require("../cwise") in the unit test?

ok I see, I have look at https://github.com/scijs/ndarray-fill module which use cwise and indeed the transform is wrong, as in your example. Sorry a bit slow on this one.

. Sorry a bit slow on this one.

No worries. Thanks for the help!

+1

@hakandilek thanks for the headsup, but npm test fails for me with<EMAIL_ADDRESS>

What's the reason? Check out my linked pull request. I've integrated Travis
ci also for the actual nodejs versions.
On Wed, 30 May 2018, 17:44 Étienne Tétreault-Pinard, <
<EMAIL_ADDRESS>wrote:

@hakandilek https://github.com/hakandilek thanks for the headsup, but npm
test fails for me with<EMAIL_ADDRESS>—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scijs/cwise/issues/19#issuecomment-393211941, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABBdWf3KaUh7_bwyNR-hvHwpcEnxsTS3ks5t3r5jgaJpZM4SMRVS
.

Check out my linked pull request.

Ha. Sorry I missed that. Thanks for the PR.

any update on this issue ?

potential security vulnerability +1

Hello! Is there any update on this one...Is this https://github.com/scijs/cwise/pull/21 successfully merged?
Thank you!


Fix autoload and transform models conflict

When loading a model wrapped in DDP or already transformed.
The logic for transforming the model should be the opposite of what we used to do.
Otherwise, autoload will require to modify the script when we want to resume the training.
With this PR, autoload_transform_models now has no sense.

/test

LGTM!


Update README.md

add cla badge

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


add recycler view adapter

Added functions for implementation of recyclerview adapter
Fixes #6

@souris-dev done! Replaced context with parent.getContext(), please review.


fix: correct dependency injection of custom context fields implementing partial eq/ne

This PR fixes issue #1806
It includes 2 regression tests related to both corrections in faststream.utils.context.types for the 2 use cases where value is compared to EMPTY.
Note that the issue description is incorrect as the custom field class must implement __ne__ and not only __eq__ to trigger the problem. This is the reason for the User implementation provided in regression test.
Please, let me know if PR needs some improvements.

LGTM, thank you!

Sorry for not executing the pre-commit check before submitting PR. Do you want me to correct those errors ?

It will be really kind

@antoinehumbert can you run precommit please? 😄

Will do tomorrow. Sorry for the incontinence.

Hi! Everything looks good now.


Integrate filemanager (storage tracking)

As a Publisher I want to see how much of space I'm using in my dashboard so I have a sense of how much I may need to pay (or how much of free space is left).
As a User I want to see the size of a dataset that I'm looking at so that I have a sense of how much data is in it.
Acceptance criteria

[x] In my dashboard, I can see my total space usage
[x] In showcase page, I can see size of the dataset

Tasks

[x] refactor /dashboard route

[x] hit filemanager API
[x] convert bytes to pretty bytes and pass to template
[x] render

[x] refactor /showcase route

[x] hit filemanager API

FIXED - file manager is now used to display space usage in dashboard and on showcase pages.


Fixed list type casting bug

Running this line from the example:
from video_transformers.trainer import trainer_factory

results in this error:
TypeError: 'type' object is not subscribable

The problems is that list is used instead of 'typing.List' in the type hinting. Fixed it in this fork.

@sandstorm12 thank you for the PR!
Can you please reformat your code as given in readme and push again? https://github.com/fcakyon/video-transformers#contributing

@fcakyon Thank you. I have applied the formatter. Please review the PR again.


what's the use of triggerOffset?

can someone explain this?
Thanks

It may be means that trigger offset of the item view, when more than that trigger offset, it will move next or pre.


Simplify site generation

Warning! These changes are based on the work delivered in #1145 replacing the maven-changes-plugin. Hence, that PR needs to be merged first!
This PR attempts to simplify the site generation.
Highlights from the changes are as follows:

all Maven reporting is disabled
Coveralls, JaCoCo, DOAP, PDF configurations are removed
enforce-upper-bound-deps Maven enforcer rule is fixed
/pom.xml is overhauled (developers are simplified, contributors are removed, unused configurations/properties are removed, etc.)
maven-site-plugin is disabled for all modules except /pom.xml
all <module>/src/site/markdown/index.md[.vm] files are moved to /src/site/markdown/<module>.md[.vm]
build instructions are updated

As a result, ./mvnw site takes less than 30s on a decent laptop.

I pulled logging-log4j-tools and built it. I ran mvn clean install (which worked). I then ran mvn site, which failed with
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.12.0:site (default-site) on project log4j: SiteToolException: The site descriptor cannot be resolved from the repository: ArtifactResolutionException: Unable to locate site descriptor: Could not transfer artifact org.apache.logging:logging-parent:xml:site_en:7 from/to spring-snapshots (https://repo.spring.io/libs-snapshot-local): Failed to transfer file https://repo.spring.io/libs-snapshot-local/org/apache/logging/logging-parent/7/logging-parent-7-site_en.xml with status code 409
[ERROR]   org.apache.logging:logging-parent:xml:7

@rgoers, it simply works on my machine. Since logging-log4j-tools release is stuck on INFRA-23996, I cannot prove my claim in CI, i.e., GitHub Actions.
Would you mind trying ./mvnw clean site in mvn-site-simplified branch, please?
Which module fails to build? log4j-spring-cloud-config-sample-server?

It fails at the root of the project. It isn't in any module.

@rgoers: my guess is that you are using a Maven Central mirror that does not contain the logging-parent.site.* artifacts?

It turns out I had some Spring repos in my settings.xml from when I was adding out stuff to Spring and that messed it up. After removing it the site built fine and only took 47 seconds!

Under components, when I select "Implementation" I get a file not found. All the other pages are fine.

Under components, when I select "Implementation" I get a file not found. All the other pages are fine.

I have removed that page, since it was empty anyway. Now, in c6125223, removed it from the menu too.

Note - make sure you do mvn site:stage -DstagingDirectory=$HOME/log4j to generate the full web site.

:heavy_check_mark:


Service call with ROS2 CLI results in add_new_query called repeatedly filling queue

Thanks for this great open source project! We're really excited to use this internally and help out where we can.
Note this issue is was spotted while using the yadu/events branch. I am using it because it added support for the events needed for RVIZ. I built ros2 rolling from source inside a docker container with ubuntu 24.04 as a base image. rmw_zenoh was built from source with the yadu/events branch on commit d93ad02. I don't know if this issue is related to this branch or just that the logging messages that were added in the branch made the issue clearer.
The issue occurs when making service calls using ros2 service call <service> <type>. I am using a std_srvs/srv/Trigger for simplicity. I'll see the following errors at a high frequency and the service call will time out. Note that the executor will also spin and presumably call the callback, but it does not result in a response to the service call. The info messages before and after spinning are provided in the output below as an example.
[ERROR] [1711319879.861642564] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger
[ERROR] [1711319879.861683387] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger
[ERROR] [1711319879.861818046] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger
[ERROR] [1711319879.861846561] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger
[INFO] [1711319879.861854427] [simple_server]: before spin
[ERROR] [1711319879.861936467] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger
[INFO] [1711319879.862053562] [simple_server]: after spin
[ERROR] [1711319879.862092667] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger
[ERROR] [1711319879.862160480] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger
[ERROR] [1711319879.862237294] [rmw_zenoh_cpp]: Query queue depth of 1 reached, discarding oldest Query for service for 0/simple_service/trigger

To cause the issue, the following seems to be required (with ros2 run rmw_zenoh_cpp rmw_zenohd running):

At least 2 separate nodes running on system in separate processes with 1 node having the service you're making the service call to.
I must tab complete the service name using ros2 service call <partial-service-name> and all nodes will print the following warnings:

[WARN] [1711303086.719254316] [rmw_zenoh_cpp]: Received liveliness token to remove node /_ros2cli_8088 from the graph before all pub/subs/clients/services for
 this node have been removed. Removing all entities first...
[WARN] [1711303086.727274245] [rmw_zenoh_cpp]: Received liveliness token to remove unknown node /_ros2cli_8088 from the graph. Ignoring...

I can then run the service call a few times and cause the issue.

Let me know if any other information would be helpful!

Hello,
Thanks for the feedback!
The Received liveliness token to remove node... is expected at the moment as maybe reflective of a deeper issue within rcl.
However I was unable to reproduce the high frequency errors highlighted with add_two_ints_server.
# terminal 1
ros2 run demo_nodes_cpp add_two_ints_server

# terminal 2
ros2 service call  # Press tab here a few times -> The "Received liveliness token to remove node..." warnings show up in terminal 1 but no other errors.
## Successfully populates list of active services

Is the simple_server a node that you wrote? If so, it would be very helpful if you could share the code or a way for me to run the node to try to reproduce the behavior.

Thank you for the reply!
Yes, I'll make sure to share the source code when I get a chance.
An important note to help reproduce the issue is I have to have other nodes running. I'm not sure why this is. With other nodes running I do see the Received liveliness token to remove node... in each terminal. Afterwards, I can trigger the high frequency error messages after several service calls. It's also common to see one-off error messages saying Query queue depth of 1 reached....

I had a whole bunch of other nodes running when I tried that test with add_two_ints_server. Repeatedly sending the service request also does not trigger the error.
I'll wait for you to share instructions on reproducing your setup.
I'll also add that if you had rolling branch built and you later switched to yadu/events, then you'll need to ensure you stop all ROS 2 processes and especially the ros2 daemon before running any nodes with that branch. This is because the liveliness token keyexpressions have changes between these versions. pkill -9 -f ros && ros2 daemon stop

This issue was possibly caused by building on noble with rustc version 1.76. I am unable to reproduce using yadu/noble rebased on rolling (with yadu/events merged) which builds with rustc version 1.75.
Feel free to close this issue unless you see any reason to keep it open.
Thanks for the help!


adding doc for order item cancel

@baileymatthewr I assigned you so you could update the appropriate api doc.


Allow brush pattern to be changed

Currently there are no functions that allow users to update the brush pattern. Users can only color one pixel by pixel. A feature that allows users to change the brush pattern is necessary.

Deleting this issue since this is a duplicate of #39


I can't pick anything up

Someone told me to check my keybinds but I checked and they're fine. I can still pick stuff up if  I remove the extension but whether autoloot is o or off I can't pick anything up.

pls help


fix: useSessionStorage hydration mismatch

Initial value for useState hook should be identical to the one provided in SSR to prevent hydration mismatch error.

This should fix https://github.com/juliencrn/usehooks-ts/issues/176

@juliencrn maybe the same should be done for localStorage? Should I also add that in?

does anyone else manage this repo?

Ran into the same issue you're having, indeed with the useLocalStorage hook. Fix looks fine, would be nice to get this rolled out.

Hi @harrywebdev, thanks for your PR. The base branch was a bit outdated but I've taken your changes in #435 mentioning you


✨ Community Detection

Description

✨ add community detection algorithm using label propagation
⚡ enhance previously existing funcs to ensure DRY code

Published as v1.5.0.
Thanks, Tokyo 💪

My pleasure 💪🏻


Add tags-dropdown feature

Here is the list of URLs that can be used to test the functionality.

https://github.com/facebook/react/releases (Releases page)
https://github.com/facebook/react/releases/tag/v16.8.1 (Release page of a particular tag)
https://github.com/sindresorhus/refined-github/releases (Releases page with no releases)

It Fixes #1895 and closes #1895.

Note: The feature uses the GitHub API to fetch the releases for the project. If the personal token is available then it uses api v4 (GraphQL) otherwise it uses the api v3 (REST).
Demo:

cc @bfred-it @sindresorhus Please have a look. :)

Isn’t this already available in the Code tab? There’s a branch/tag selector

@bfred-it Yes, It's available on the Code tab but I believe when we want to search for the release notes of any particular release or want to download the release assets (e.g. binaries/tar) it will come handy.

Right but I mean you can already search it from the Code tab without adding 250 lines of code

Ah right, that one opens the code while this one would open the release directly.
I'm just concerned about the size. I'd like to see the native selector added instead, the code is just:

    Branch:
    master

    <include-fragment class="select-menu-loading-overlay anim-pulse">
    </include-fragment>

And once it loads it can be trimmed of the "Branches" part and redirect the links to the release page instead of /tree (via onclick handler)
This frees us from any API, adds full search and we're not limited to the last 100 items

Yeah, You got it right. I didn't know about this include-fragment. I'm giving it a try and also address the changes. Thanks for your quick response :)

include-fragment has a load event, if I remember correctly. Check out on-new-comments.ts for the example.

Yep, It has. I am also going through the documentation. https://github.com/github/include-fragment-element

@bfred-it A quick question. Adding include-fragment thing will require us to add two npm packages.

include-fragment it self and
Webcomponents pollyfill for custom elements.

Are there any concerns?

<include-fragment> is a custom element and GitHub has all of its code loaded already in the browser, you don't have to load it again, you just use it.
On usage of <include-fragment>, refer to https://github.com/sindresorhus/refined-github/blob/0b6c7330c21f8570519143ad3d0decc328d4db47/source/features/show-recently-pushed-branches-on-more-pages.tsx#L28

@notlmn Thanks for your response. I initially thought the same but when I tried, It failed with Cannot read property 'get' of null at window.customElements.get. So I tried with those packages installed and it worked. Maybe I need to look into it again.

@notlmn Don't know what was the issue. This time it worked without those packages installed. 🤔

@bfred-it I have made the suggested changes. Please take a look. :)

@bfred-it Thank you so much for the in-depth reviews. It helped me a lot to understand some concepts and improve my knowledge. I've pushed the latest changes and I think this should suffice. Please let me know if any more changes are needed on my side. :)

@bfred-it Hopefully this should be it. I've implemented all the suggested changes. Please let me know if any more changes are needed.
PS: If anything happens to me, my last wish is to see this PR getting merged. 😂

Example:

Tested on
https://github.com/bfred-it/doma/releases
https://github.com/facebook/react/releases/tag/v16.6.0-alpha.8af6728
I dropped the text from the button because it's duplicate in this case. In the Code tab, the switcher acts as a title, as it's the only place where "Branch: master" is shown, for example. In our case if there's a tag selected, we already have the title in a big h1 on the page

Also if you're a big tags user, this feature would be pretty useful: https://github.com/sindresorhus/refined-github/issues/966

Changes look pretty good. I completely missed the drafting new release page. Thanks for making it perfect and putting efforts in reviewing the PR. :)

@bfred-it I would like to contribute to #966. :)

@bfred-it Can we merge this? or it will go with #966?

Let’s wait for Sindre

@HardikModha Can you fix the TS issues in https://travis-ci.org/sindresorhus/refined-github/builds/521256206?utm_source=github_status&utm_medium=notification ? We enabled TS strict mode recently in master.

@sindresorhus First of all, Thank you for your time to carry out a detailed review. I have made the suggested changes. Please have a look.

You seem to have overwritten my changes in https://github.com/sindresorhus/refined-github/pull/1896/commits/f5572b01031fdd5b7a8fff76cb6caf9ceb3a1b70.

The feature seems to work well.

@HardikModha Can you mention it in the readme and link to a screenshot of the feature (should be retina, if you don't have retina screen, then 200% zoom).

You seem to have overwritten my changes in f5572b0.

Sorry, It was not intentional. I've added your changes back. It should be good now. I've also updated the readme. Can you please take a look?

@HardikModha Same questions as https://github.com/sindresorhus/refined-github/pull/1904#issuecomment-484641357

@sindresorhus It's a yes from me! :)

The tags dropdown seems to align weirdly...

I opened a new issue

@HardikModha if not too difficult, could you make the content load on demand?
For example in the sidebar here, when you click on Projects, the content will start loading. I think this can be achieved with some HTML. Here's the source of the Projects dropdown:

		<svg class="octicon octicon-gear" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true">
			<path fill-rule="evenodd"
				d="M14 8.77v-1.6l-1.94-.64-.45-1.09.88-1.84-1.13-1.13-1.81.91-1.09-.45-.69-1.92h-1.6l-.63 1.94-1.11.45-1.84-.88-1.13 1.13.91 1.81-.45 1.09L0 7.23v1.59l<IP_ADDRESS> 1.09-.88 1.84 1.13 1.13 1.81-.91 <IP_ADDRESS> 1.92h1.59l.63-1.94 1.11-.45 1.84.88 1.13-1.13-.92-1.81.47-1.09L14 8.75v.02zM7 11c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z" />
		</svg>
		Projects

			Projects
			<button class="hx_rsm-close-button d-none btn-link close-button" type="button"
				data-toggle-for="projects-select-menu"><svg aria-label="Close menu" class="octicon octicon-x"
					viewBox="0 0 12 16" version="1.1" width="12" height="16" role="img">
					<path fill-rule="evenodd"
						d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z" />
				</svg></button>

			<svg height="32" class="octicon octicon-octoface" viewBox="0 0 16 16" version="1.1" width="32" aria-hidden="true">
				<path fill-rule="evenodd"
					d="M14.7 5.34c.13-.32.55-1.59-.13-3.31 0 0-1.05-.33-3.44 1.3-1-.28-2.07-.32-3.13-.32s-2.13.04-3.13.32c-2.39-1.64-3.44-1.3-3.44-1.3-.68 1.72-.26 2.99-.13 3.31C.49 6.21 0 7.33 0 8.69 0 13.84 3.33 15 7.98 15S16 13.84 16 8.69c0-1.36-.49-2.48-1.3-3.35zM8 14.02c-3.3 0-5.98-.15-5.98-3.35 0-.76.38-1.48 1.02-2.07 1.07-.98 2.9-.46 4.96-.46 2.07 0 3.88-.52 <IP_ADDRESS>.59 1.02 1.3 1.02 2.07 0 3.19-2.68 3.35-5.98 3.35zM5.49 9.01c-.66 0-1.2.8-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.54-1.78-1.2-1.78zm5.02 0c-.66 0-1.2.79-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.53-1.78-1.2-1.78z" />
			</svg>


Monitoring UI Issues

Version: master 2.2 (12/6/18)
What kind of request is this (question/bug/enhancement/feature request):
Bug
NOTE: I tried to sort these by most important on top and least at the bottom.
Issues found:

[x] If you pick custom timeframe and update time on the calendar and refresh with the button the time (minute only) still does not update in the date/time fields. However epoch time does still get sent correctly to the server in our POST to rancher server to update custom timeframe. The hours and days will update.

[x] When selecting a timeframe the carrot is covered by the text. ALSO dates are not relevant when we are looking within the last 24 hours or less they should be removed in those situations. ALSO we should just remove the word "Last" from all the drop down menu options for timeframe as this is implied. (Partially fixed, dates just need to be removed now for timeframes 24 hours or less)

[x] If you refresh the Rancher Components Metrics area (you need to have logging enabled) the charts will change order randomly. I tested with fluentd.

[x] If you refresh charts the shape of the lines will change even if there are no new data points. They will also change color of the lines. Sometimes if you refresh a few times there are no data points at all at the very left breaking the lines.

[ ] If you move your mouse too quickly off of a chart after hovering to get the overlay data it will stay up and you can have this happen on multiple charts at once.

[ ] Charts with very big overlays don't shift up into the viewable browser area.

[ ] If you look at the data at the very top of the cluster page some of the text is off center vertically.

[x] Rancher Components Metrics section doesn't show anything since logging needs to be enabled. There should be a hint provided for this instead of "Not enough data for graph" perhaps "Not enough data for graph. You may need to enable logging." or something to that effect would be more helpful.

Result:
Multiple issues identified above.

Confirmed fixes in the PR #2471 the rest of the issues in this issue will need to be fixed later but are not important for the alpha.

Regarding the third issue: "If you refresh the Rancher Components Metrics area (you need to have logging enabled) the charts will change order randomly. I tested with fluentd." -- This is is fixed but is now happening in the etcd metrics area. When you refresh or wait for auto-refresh "Disk operations" chart and "Disk Sync Duration" chart will switch places.
I can validate all the other checked-off issues are resolved but the unchecked issues still need to be fixed so I am removing the status/resolved and status/to-test labels again. If you prefer a new issue please let me know instead of setting these labels but not completing all of the tasks specified in the issue description.

It is worth noting these unresolved issues are NOT critical for alpha release.

If you move your mouse too quickly off of a chart after hovering to get the overlay data it will stay up and you can have this happen on multiple charts at once.

Charts with very big overlays don't shift up into the viewable browser area.

It's not very easy to fix. Please create separated issues to track them.

If you look at the data at the very top of the cluster page some of the text is off center vertically.

This is kind of a global style in Rancher UI. Maybe you could create a new issue for it and Lauren could change it

When you refresh or wait for auto-refresh "Disk operations" chart and "Disk Sync Duration" chart will switch places.

Fixed but not merged yet. Track with https://github.com/rancher/rancher/issues/16985


panic: runtime error: invalid memory address or nil pointer dereference

Background
LND-Process is shutting down
Your environment

0.14.2 now 0.14.3 - beta
debian
bitcoin v22.0.0

Steps to reproduce
During operation, LND went offline and did not restart again.
Flashing the SK card and updating to 0.14.3-beta didn't help either.
Expected behaviour
Start LND
Actual behaviour
LND did not start
status:
● lnd.service - Lightning Network Daemon
Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2022-05-14 22:45:19 BST; 51s ago
Process: 232802 ExecStartPre=/home/admin/config.scripts/lnd.check.sh prestart mainnet (code=exited, status=0/SUCCESS)
Process: 232956 ExecStart=/usr/local/bin/lnd --configfile=/home/bitcoin/.lnd/lnd.conf (code=exited, status=2)
Main PID: 232956 (code=exited, status=2)
CPU: 2.237s
May 14 22:45:19 raspberrypi systemd[1]: lnd.service: Failed with result 'exit-code'.
May 14 22:45:19 raspberrypi systemd[1]: Failed to start Lightning Network Daemon.
May 14 22:45:19 raspberrypi systemd[1]: lnd.service: Consumed 2.237s CPU time.
 Did you run the compaction manually with an external tool?
Because it looks like the automatic compaction of lnd is failing here. Which unfortunately does sound like data corruption of the channel.db file.

I performed the compression in the raspiblitz menu after LND failed without warning during operation.

What do you mean by "compressed"? Did you run the compaction manually with an external tool?
Because it looks like the automatic compaction of lnd is failing here. Which unfortunately does sound like data corruption of the channel.db file.

I hope that there is a way to repair the channel.db to at least get back to the sats?!

I performed the compression in the raspiblitz menu after LND failed without warning during operation.

I'm not sure what that command in the menu does in the background, but I assume it's the compaction. Did that run successfully?
And did you run that before you got that restart problem or afterwards to try and fix it?

I hope that there is a way to repair the channel.db to at least get back to the sats?!

It depends on the type of data corruption. Often when the data gets corrupted because of an unclean shutdown (power outage or unplugging the power supply by accident), there is no way to repair the DB.

Exactly, I mean the compaction.
The error occurred without warning or indication. She was walking normally. There were no power outages or anything else.
so.. Last week when I looked at my node I saw that LND is not working.

first I rebooted.

have read the logs

flashed the SD card

Unfortunately, that didn't bring any improvement either

then I compacted the channel.db

in ln.conf I set auto-compact to false

That didn't work either.

It looks like the corruption might be in the network graph data which can be re-synced from other nodes. So you can try running chantools dropchannelgraph, though that is risky and not well tested.
The alternative is to run through the recovery process by using the seed and SCB file (channel.backup).


extreme long build time when adding cloud_firestore to pubspec.yaml

having issues with extreme long build time when adding cloud_firestore to pubspec.yaml.
what am i doing wrong?

Duplicate of https://github.com/FirebaseExtended/flutterfire/issues/349


Type hint issue with distributed_job Framework

When using decorator
@distributed_job(Framework.PyTorch, num_nodes="params:num_nodes")

I have the following warning
Argument of type "str" cannot be assigned to parameter "framework" of type "Framework" in function "distributed_job"
  "str" is incompatible with "Framework"

I am not sure if the typing error is due to my config or if it is standard behavior. In any case, this can be easily fixed by making the Framework class inherit from Enum
from enum import Enum
...

class Framework(Enum):
    PyTorch = "PyTorch"
    TensorFlow = "TensorFlow"
    MPI = "MPI"

Fixed by #81


Can i use the dropdown with Radio group? How?

I'm not entirely sure what you mean, but the dropdown has interactions with radio groups.
If you want it to act as a radio group, use the options added by https://github.com/softsimon/angular-2-dropdown-multiselect/pull/27


[ADAM-1551] Emit non-reference model genotype at called sites.

Resolves #1551. WIP. Still needs tests.

Coverage decreased (-0.4%) to 82.742% when pulling d26a6d52a2cc63ca52f96eb59a728155552bf784 on fnothaft:issues/1551-gvcf-nonref-at-variant-sites into ad5ae6df68c87e34caf42d7877be3064fea95a4f on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2087/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2104/Build result: FAILURE[...truncated 15 lines...] > /home/jenkins/git2/bin/git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ # timeout=15 > /home/jenkins/git2/bin/git rev-parse origin/pr/1559/merge^{commit} # timeout=10 > /home/jenkins/git2/bin/git branch -a -v --no-abbrev --contains f0338eb9c189ed9a14a10585448b708571a9a2dc # timeout=10Checking out Revision f0338eb9c189ed9a14a10585448b708571a9a2dc (origin/pr/1559/merge) > /home/jenkins/git2/bin/git config core.sparsecheckout # timeout=10 > /home/jenkins/git2/bin/git checkout -f f0338eb9c189ed9a14a10585448b708571a9a2dcFirst time build. Skipping changelog.Triggering ADAM-prb ? 2.3.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.11,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.10,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.11,2.0.0,centosTriggering ADAM-prb ? 2.3.0,2.10,2.0.0,centosADAM-prb ? 2.3.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.11,2.0.0,centos completed with result FAILUREADAM-prb ? 2.3.0,2.10,2.0.0,centos completed with result FAILURENotifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2105/Build result: FAILURE[...truncated 15 lines...] > /home/jenkins/git2/bin/git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ # timeout=15 > /home/jenkins/git2/bin/git rev-parse origin/pr/1559/merge^{commit} # timeout=10 > /home/jenkins/git2/bin/git branch -a -v --no-abbrev --contains 846edd5b75f067df8d50b4247f7a76b3ce077435 # timeout=10Checking out Revision 846edd5b75f067df8d50b4247f7a76b3ce077435 (origin/pr/1559/merge) > /home/jenkins/git2/bin/git config core.sparsecheckout # timeout=10 > /home/jenkins/git2/bin/git checkout -f 846edd5b75f067df8d50b4247f7a76b3ce077435First time build. Skipping changelog.Triggering ADAM-prb ? 2.3.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.11,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.10,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.11,2.0.0,centosTriggering ADAM-prb ? 2.3.0,2.10,2.0.0,centosADAM-prb ? 2.3.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.11,2.0.0,centos completed with result FAILUREADAM-prb ? 2.3.0,2.10,2.0.0,centos completed with result FAILURENotifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Coverage decreased (-0.8%) to 82.527% when pulling 32b96200ce20ef05db525ef90064e7afbcbe2970 on fnothaft:issues/1551-gvcf-nonref-at-variant-sites into 152a8ad17509919f25a4f5b7c04161c5b313fc33 on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2106/
Test PASSed.

Pinging for review.

We'll need to cut a bdg-formats release if this does look good to go.

Thanks @heuermh for the review. I will cut bdg-formats 0.11.1 right now.

This is ready to go from my side.

Coverage decreased (-0.3%) to 83.046% when pulling 8cf09f6ce070407e97be634d8b21958218ca0187 on fnothaft:issues/1551-gvcf-nonref-at-variant-sites into 310d9f97c299644cd44dedcdbfbc6b7bbb42841d on bigdatagenomics:master.

Coverage decreased (-0.8%) to 82.601% when pulling 8cf09f6ce070407e97be634d8b21958218ca0187 on fnothaft:issues/1551-gvcf-nonref-at-variant-sites into 310d9f97c299644cd44dedcdbfbc6b7bbb42841d on bigdatagenomics:master.

Thank you, @fnothaft


DOC: The example of scipy.signal. freqz() has a problem about fs.

Issue with current documentation:
Example
from scipy import signal
import numpy as np
b = signal.firwin(80, 0.5, window=('kaiser', 8))
w, h = signal.freqz(b)

The default fs for firwin is 2.But the default fs for freqz is 2*pi.

So the cutoff frequency in this picture is false.
Idea or request for content:
I'd like to submit a pr to fix it.😁
Additional context (e.g. screenshots, GIFs)
No response

the link

I'd like to submit a pr to fix it.😁

That would be great,  @qqwqqw689!
Besides fixing the fs parameter, could you also make the right axis label in the plot readable. Doing something like
>>> fig, ax1 = plt.subplots(tight_layout=True)

or
>>> fig, ax1 = plt.subplots(figsize=(6., 4.))  # enlarge plot a bit

might fix that problem.