Trying to combine bottom half modal and modal slide from the sides

I'm trying to combine bottom half modal and modal slide from the sides using multiple modals. But while coming back from 2nd modal to 1st one, the modal goes down (closes) and then another opens. Please have a look at the videos below to see what I wanted to do.
What I'm trying to obtain with the modal
https://youtu.be/YaMjp_VJ_9Y
what is happening using react-native-modal
https://youtu.be/GR8otXHhElc
Code
export default class App extends Component<Props> {
  state = {
	visibleModal: null
  };

  renderButton = (text, onPress) => (
	<TouchableOpacity onPress={onPress}>
	  <View style={styles.button}>
		<Text>{text}</Text>
	  </View>
	</TouchableOpacity>
  );

  renderModalContent = () => (
	<View style={styles.modalContent}>
	  <Text>Hello!</Text>
	  {this.renderButton("Next Modal", () =>
		this.setState({ visibleModal: 6 })
	  )}
	  {this.renderButton("Close", () => this.setState({ visibleModal: null }))}
	</View>
  );

  renderNextModalContent = () => (
	<View style={styles.modalContent}>
	  <Text>Hello from next modal!</Text>
	  {this.renderButton("BACK", () => this.setState({ visibleModal: 5 }))}
	</View>
  );

  render() {
	return (
	  <View style={styles.container}>
		{this.renderButton("modal", () => this.setState({ visibleModal: 5 }))}
		<Modal
		  isVisible={this.state.visibleModal === 5}
		  onBackButtonPress={() => this.setState({ visibleModal: null })}
		  style={styles.bottomModal}
		>
		  {this.renderModalContent()}
		</Modal>
		<Modal
		  isVisible={this.state.visibleModal === 6}
		  animationIn="slideInLeft"
		  animationOut="slideOutRight"
		  onBackButtonPress={() => this.setState({ visibleModal: null })}
		  style={styles.bottomModal}
		>
		  {this.renderNextModalContent()}
		</Modal>
	  </View>
	);
  }
}

const styles = StyleSheet.create({
  container: {
	flex: 1,
	justifyContent: "center",
	alignItems: "center"
  },
  bottomModal: {
	// flex: 0,
	justifyContent: "flex-end",
	margin: 0
  },
  button: {
	backgroundColor: "lightblue",
	padding: 12,
	margin: 16,
	justifyContent: "center",
	alignItems: "center",
	borderRadius: 4,
	borderColor: "rgba(0, 0, 0, 0.1)"
  },
  modalContent: {
	backgroundColor: "white",
	padding: 22,
	justifyContent: "flex-end",
	borderRadius: 4,
	borderColor: "rgba(0, 0, 0, 0.1)"
  }
});

Hi! Since this is not an issue you should ask this question on stackoverflow :)
That said, you should not use two different modals to achieve that effect but just a single one and change its content.


Feature

Dont you want to implement Nvidia and Intel into Lact? you got Green With Envy as a helper, maybe u can use it and add it to lact adding more to your Program.

Nvidia support is out of scope for this project. It works completely differently from AMD, and I do not have the hardware to test it on. Use GreenWithEnvy instead, it achieves largely the same functionality as LACT.
Intel Arc GPUs don't seem to support overclocking under linux. Intel integrated GPUs do seem to expose some  functionality, but I'm not sure how useful it would be.

LACT is not a product, it's a personal project that I work on in my free time.
Expanding it to support everything is not realistic, I don't think it would be fitting for the project, and I do not have the time, motivation or available hardware for it.
I'd rather have a limited scope of functionality (configuring AMD GPUs and showing info about them), and have that functionality be polished and well-tested, instead of adding too many features.
If Intel ARC GPUs get support for configuration on linux and i manage to get my hands on one, then I would consider adding support for them, as it would be interesting and there no other tools for it. But otherwise I'd like to avoid feature creep.


PageView item does not dispose if tapping NoSplash.splashFactory button

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Click on the button in a PageView item
Swipe the PageView to the next item

Expected results

The PageView item should dispose when the FilledButton is tapped

I'm able to fix this issue by removing ThemeData(splashFactory: NoSplash.splashFactory) (every item will dispose correctly), but my app requires this custom theme.
Actual results

The PageView item does not dispose, only if the button is tapped and the splash factory is NoSplash.splashFactory

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

void main() => runApp(const PageViewExampleApp());

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(splashFactory: NoSplash.splashFactory),
      home: Scaffold(
        appBar: AppBar(title: const Text('PageView Sample')),
        body: const PageViewExample(),
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    final PageController controller = PageController();
    return PageView(
      controller: controller,
      children: const <Widget>[
        Page(pageNumber: 1),
        Page(pageNumber: 2),
        Page(pageNumber: 3),
      ],
    );
  }
}

class Page extends StatefulWidget {
  final int pageNumber;

  const Page({
    super.key,
    required this.pageNumber,
  });

  @override
  State<Page> createState() => _PageState();
}

class _PageState extends State<Page> {
  @override
  void dispose() {
    print("Disposed page: ${widget.pageNumber}");
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Center(
      child: FilledButton(
        onPressed: () {},
        child: Text('Page ${widget.pageNumber}'),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/147695465/666a5a23-e9e0-426e-96f7-abb2d64168ef
If the user does not tap the button, the PageView item widget will dispose. If the user taps the button without a splash factory, the PageView item will not dispose.

Logs
Logs
Restarted application in 709ms.
flutter: Disposed page: 1

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.16.0-10.0.pre.46, on macOS 13.6 22G120
    darwin-x64, locale en-US)
    • Flutter version 3.16.0-10.0.pre.46 on channel master at
      /Users/jcode/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c0d19ca561 (4 hours ago), 2023-10-11 23:33:07
      -0400
    • Engine revision d00fabf0b9
    • Dart version 3.3.0 (build 3.3.0-14.0.dev)
    • DevTools version 2.28.1

[!] Android toolchain - develop for Android devices (Android SDK version
    33.0.2)
    • Android SDK at /Users/jcode/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more
      details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See
      https://flutter.dev/docs/get-started/install/macos#android-setup
      for more details.

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

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

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

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

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • 85347627-43C3-4413-7D7D-04A2C4412FC2 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 13.6 22G120 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 117.0.5938.149

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Hi @VibrantTower. Thanks for filing this. I can reproduce this on the latest master and stable channels following the steps highlighted above.
Details

[✓] Flutter (Channel stable, 3.13.7, on macOS 13.0 22A380 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.7 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2f708eb839 (3 days ago), 2023-10-09 09:58:08 -0500
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

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

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5556                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • iPhone XS (mobile)          • 3CFD1268-0D52-486E-A12E-6E136E972D94 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 117.0.5938.149

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.16.0-10.0.pre.46, on macOS 13.0 22A380 darwin-arm64, locale en-NG)
    • Flutter version 3.16.0-10.0.pre.46 on channel master at /Users/damilolaalimi/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c0d19ca561 (7 hours ago), 2023-10-11 23:33:07 -0400
    • Engine revision d00fabf0b9
    • Dart version 3.3.0 (build 3.3.0-14.0.dev)
    • DevTools version 2.28.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

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

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5556                        • android-arm64  • Android 14 (API 34) (emulator)
    • iPhone XS (mobile)          • 3CFD1268-0D52-486E-A12E-6E136E972D94 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 117.0.5938.149

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


Update Deviantart Ripper

New selects for div structure, new login system (hidden token), Note: account requires old pagination setting (this has been set on default login), thumb fallback still broken (temp fix of try again)

Do users need to do anything to configure ripme to use this? Do they need to set up an account?

^ Generally no acc needed. I just tested you're allowed to see Mature-tagged content by clicking one which is covered with silver background and 'Mature Content' on it just to give your birth year.
However, that auto-scroll feature can't be toggled (AFAIS) without an acc.
I have the same content open in 2 windows that aren't logged in. Looking at the source code, the area where the content would appear is replaced by the age verifier, but the piece's sizes are mentioned multiple times regardless of it. Seemingly when there are more than 1 zoom levels, for which there are a separate file each (see below). The download button is its own entity with its own link that seems to always come with a token appended.
These are how I see things looking at the source code:
The way when there's no download button and when the piece is visible:

there's a
 with potentially multiple <img tags, 1 for each zoom level.
I've only found ones with 2 zoom levels when checking for this ticket, but they seem to always be in order from smallest to largest, and each tag has width="X" and height="X" parameters (where the X are integers).
Also, each tag has class="dev-content-normal" for the first zoom level, which in the case of multiple levels is the smallest, and largest has class="dev-content-full". Since I couldn't find any with only 1 zoom level I can't tell if those parameters appear with the tags.

The way when the download button exists:

there's a <a tag with a class="XX" where XX seems to always (not fully sure) be dev-page-button dev-page-button-with-text dev-page-download  (note the trailing Space).
in the same tag there are also href="XX" where XX is the full link with a token, and other parameters of which what could matter are data-download_url="XX" (same link as in number 1 with &ts=X where X is a large integer), data-download_width="2500" and data-download_height="2779". Those sizes could be useful in comparing which size is largest across the page.
2.1) Note: although the zoom levels would give good sizes, it's very possible the originally uploaded file was bigger and the zoom levels are limited to size[s] smaller than that;
Resolution
 and
X×X
 (where the X are integers) directly below it.

@rautamiekka covers it in more detail than I did, I was just verifying the basic features regarding the existing ripper which assumes an account (like the default one, though who knows if/when it would be locked out) that shows mature posts and has pagination set to the older system.
The existing code for finding original file URLs seemed also to be generally operating as expected (loading the files from links or from the main page if possible), but I did not dig into it that deeply.

There's a 2nd way to get to the stuff:
While I were looking for how DA's RSS subbing works now (it used to be just a straight RSS link in each folder and gallery, but now the link is totally gone, so you have to know the link first to construct the actual sub' link), http://www.wikihow.com/Bypass-the-Mature-Filter-on-deviantArt explains that, and its primary function: how to bypass Mature tag through RSS.

I know I'm going to get insulted for this.... but where do I put the updated deviantartripper.java file so that I can actually use it? In a ripme subdirectory? Elsewhere?
Thanks is advance.

^ Java ain't Python. Wait for a new release.

@mikalh19 You need replacing original DeviantartRipper.java with new one.
Then compile with Maven(run bulid.bat)
see how to install Maven on windows.
https://www.youtube.com/watch?v=Jtj-0yhox5s

@Phenrei Thanks!
It hangs up when downloading next page at some gelleries.
ex.
http://mariaski.deviantart.com/gallery/?catpath=/
I appreciate your help.

I haven't tested this personally. To be clear, does this change seem to work? Is any action required to get it to work that they should be notified as or does it work out of the box? Is there any follow-up action item we should open an issue to track after this change is merged?

@metaprime  Hmm,This has not worked since 2 days ago. It halted at first download. It does not make sense to me. Anyway,you'd better not marge,maybe.

There appear to be download token issues after the first page, so everything throws back a 504. It's likely a cookie issue. I'm going to attempt to roll the obtaining of the download link into the step right before download so we don't obtain outdated tokens, and ensure all cookies are going forward/being re-obtained. For now I'd leave this pull on standby.

@metaprime please help i m new... my queries are as follows:

how to download devianart ripper java (changed one) file from this github ?
i can replace then do i have to run build.bat and deploy .bat ? is this correct

please help me soon
as i want to download full gallery of greenmapple17 from devianart
also i couldnt identify if this error is rectified or not....hope it is
and is there any kind of coding that can bid gallery downloads into individual dolders just like those of devianart profile has in their uploads

@Phenrei please anyone help

@poplipopatpotty In order to get an update you'll need to get the version of the project that contains the update (the user's branch that made this pull request) and build according to the instructions in the README: https://github.com/4pr0n/ripme#compiling--building.
If you're not comfortable with Git or compiling software projects from the source code, the best thing to do is to wait for a new release which includes the fix you need.

@poplipopatpotty There's a preview release available which includes a different fix for the deviantArt ripper, see: https://github.com/4pr0n/ripme/pull/516#issuecomment-298254520

@Phenrei @angelegg @rautamiekka Any update?

any news about this? it still happens to me

@andrerdxd This repo is pretty much dead, all development has moved to https://github.com/RipMeApp/ripme

Works perfectly to me ... Let's continue over at the successor linked above.


refactor(utils, vue-app): use ufo to parse queries and join urls

Types of changes

[x] Refactor

Description
As we're already importing and using ufo, we can eliminate some of our homegrown URL tools. This PR (so far):

replaces urlJoin() functions (duplicates) with the ufo equivalent
replaces the extensive URL + query normalisation function (and so obsoletes the clientUseUrl feature flag from #6287)
replaces a custom trailingSlash implementation

Checklist:

[ ] All new and existing tests are passing.

Codecov Report

Merging #8765 (4432ccd) into dev (1196c17) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev    #8765      +/-   ##
==========================================
- Coverage   66.03%   66.02%   -0.01%
==========================================
  Files          92       92
  Lines        4013     4012       -1
  Branches     1105     1105
==========================================
- Hits         2650     2649       -1
  Misses       1097     1097
  Partials      266      266

Flag
Coverage Δ

unittests
66.02% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

packages/config/src/config/_app.js
100.00% <ø> (ø)

packages/utils/src/lang.js
100.00% <100.00%> (ø)

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 1196c17...4432ccd. Read the comment docs.


Drivetrain kinematics

In order to plan more complex routes for the robot we need to add more to the drivetrain subsystem to convert the path to left and right wheel speeds.  That is described here:
https://docs.wpilib.org/en/2022/docs/software/kinematics-and-odometry/differential-drive-kinematics.html
There is a more complete tutorial that includes some of the same kinematics, the first step is to use the sysid tool to figure out the control parameters for the robot, We can have some of the other team members do that, so we just need the code added to the drive train to use the parameters.
That is described here:
https://docs.wpilib.org/en/2022/docs/software/pathplanning/trajectory-tutorial/entering-constants.html
And here:
https://docs.wpilib.org/en/2022/docs/software/pathplanning/trajectory-tutorial/creating-drive-subsystem.html
The above link has example code, but uses different motor controllers, encoders and an analog gyro.  Our drivetrain already has most of those, but looks like we need methods to tank drive based on voltages, to  return a turn rate from the gyro.

The complete example code is available here: https://github.com/wpilibsuite/allwpilib/tree/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/ramsetecommand


Avoid memory allocation and improve performance, part 1

Hi @Daniel15, for more than a year we have been using this library, and recently noticed problems with allocations and object hits in Large Object Heap if the component is large or a large props is serialized
Goals

Native implementation for IHtmlString without recopy and allocating new strings
Reuse everything
ComponentExistsChecks configuration property (default true), for disable "EnsureComponentExists" (avoid extra engine call, in production for example)

Branch with banchmarks here https://github.com/DaniilSokolyuk/React.NET/tree/bench
Note the difference between the nano seconds and microseconds
Before, Small objects

Method
Mean
Error
StdDev
Gen 0
Gen 1
Allocated

CreateComponent
12.97 us
0.0954 us
0.0845 us
1.8463
0.5035
10.9 KB

React
17.19 us
0.2015 us
0.1787 us
7.8430
1.1597
43.81 KB

ReactInitJavaScript
75.81 us
0.5654 us
0.5012 us
146.9727
-
602.56 KB

After, Small objects

Method
Mean
Error
StdDev
Gen 0
Gen 1
Allocated

CreateComponent
541.4 ns
10.55 ns
10.83 ns
0.0496
0.0143
312 B

React
12,973.0 ns
119.90 ns
100.12 ns
1.8005
0.4883
11320 B

ReactInitJavaScript
11,401.2 ns
72.78 ns
64.52 ns
0.1831
-
792 B

Before, Large objects

Method
Mean
Error
StdDev
Gen 0
Gen 1
Gen 2
Allocated

CreateComponent
35.76 us
0.2885 us
0.2558 us
5.6763
1.5259
-
34.8 KB

React
48.16 us
0.4108 us
0.3843 us
24.7803
3.5400
-
139.08 KB

ReactInitJavaScript
417.16 us
4.9953 us
4.6726 us
356.4453
142.5781
71.2891
1980.55 KB

After, Large objects

Method
Mean
Error
StdDev
Gen 0
Gen 1
Allocated

CreateComponent
551.0 ns
10.95 ns
9.710 ns
0.0496
0.0143
312 B

React
36,337.2 ns
130.36 ns
121.939 ns
5.0049
1.3428
31585 B

ReactInitJavaScript
51,691.7 ns
766.71 ns
717.185 ns
24.8413
0.5493
104398 B

Thanks for starting this conversation. It looks like there are a few breaking changes (like making component disposable), which could be a problem. This PR is also quite large, it would be better to split up optimization’s into smaller PRs so we can discuss each change :)
Otherwise as is it’s going to be a bit before we can work through this one.

@dustinsoftware i think disposable component is the smallest problem :)
I do not think that there are so many changes here, backward compatibility is also completely left, I do not consider it necessary to split pr

This is probably the largest pull request we've ever received :) Thanks for workijng on it.
There's a lot of changes that change #if NET40 to #if NET40 || NET451, is it possible to split those out into a separate pull request? As @dustinsoftware said, it's much easier to review multiple small PRs instead of one giant one.

@Daniel15 Thanks you, splitted, after this PR I will create another requester

@Daniel15, @dustinsoftware what about this PR? I have already split this request and prepared the
second part
We are already using these changes and significantly reduced the hits in LOH and FullGC

When you’re ready, please open some smaller pull requests so that we can
review and merge those changes individually :)
On Wed, Mar 28, 2018 at 12:08, Daniil Sokolyuk<EMAIL_ADDRESS>wrote:

@Daniel15 https://github.com/Daniel15, @dustinsoftware
https://github.com/dustinsoftware what about this PR? I have already
split this request and prepared the
second part
https://github.com/DaniilSokolyuk/React.NET/tree/avoid-memory-allocations-part2
We are already using these changes and significantly reduced the hits in
LOH and FullGC
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/pull/522#issuecomment-377001291,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFmwUqVYqIUKtOtV4BGc4NSQPnk2dks5ti9-OgaJpZM4S5xkt
.

@dustinsoftware i am already split this PR, there are only 227 new lines here, and about 60% this lines is replace string.format to TextWriter.Write

@dustinsoftware, yes you right, but previous ID generating is ugly, we are allocate GUID, after allocate byte array and 1-3 string...  my implementation used 1 string

previous ID generating is ugly

There may be consuming code that depends on the current ID format, so this isn't a good reason to change it. We unfortunately don't know how consumers are using this project and want to avoid surprises between version updates.

Thanks for reviewing this, @dustinsoftware!

@damiangreen, we can announce this change or publish major version

That’s not the point I was trying to make... I am hesitant to merge in changes for minor improvements that are technically breaking changes.
The discussion on this PR is getting too long, please open a new one for each individual change (such as ones the bulleted list above) and we can discuss them one at a time :)


Support dev versions of Zig

Is your feature request related to a problem? Please describe.
I would like to use ZVM on projects that use Mach which runs off nominated Zig versions. These versions are almost always development versions which as of my knowledge ZVM can't actually download.
Describe the solution you'd like
Being allowed to install dev versions of Zig, even if it's only the nominated ones.
Describe alternatives you've considered
Being allowed to put my own zig binary into some directory and have ZVM work with it.

Ah nevermind, I solved my problem by looking at https://github.com/tristanisham/zvm/issues/45#issuecomment-1920519249
This really should be clarified, or maybe adding a command for listing/searching for zig versions you can install

There are commands,zvm ls -alland zvm vmu. It is also mentioned in the README and on the website.
Based on what we currently have, how could the documentation be clearer to communicate these features?

zvm ls is said to list all the currently installed zig versions. It doesn't mention at all in the help menu about this. I think a simple change adding that into the help menu would be super useful

I've updated the help menu copy and added more info to the readme. Thanks again for using ZVM. I hope it's been good to you otherwise.
https://github.com/tristanisham/zvm/releases/tag/v0.7.2


[WIP] Laravel 5.0 version

Issue for keeping track of updating to L5.

Just tried installing the ide-helper for 2.0 dev stability
Here's a copy of my composer.json
{
	"name": "laravel/laravel",
	"description": "The Laravel Framework.",
	"keywords": ["framework", "laravel"],
	"license": "MIT",
	"type": "project",
	"require": {
		"laravel/framework": "~5.0",
	    "barryvdh/laravel-ide-helper": "~2.0"

	},
	"require-dev": {
		"phpunit/phpunit": "~4.0",
		"phpspec/phpspec": "~2.1"
	},
	"autoload": {
		"classmap": [
			"database"
		],
		"psr-4": {
			"App\\": "app/"
		}
	},
	"autoload-dev": {
		"classmap": [
			"tests/TestCase.php"
		]
	},
	"scripts": {
		"post-install-cmd": [
			"php artisan clear-compiled",
			"php artisan optimize"
		],
		"post-update-cmd": [
			"php artisan clear-compiled",
			"php artisan optimize"
		],
		"post-create-project-cmd": [
			"php -r \"copy('.env.example', '.env');\"",
			"php artisan key:generate"
		]
	},
	"config": {
		"preferred-install": "dist"
	},
	"minimum-stability": "dev"
}

and here's an output of running ./artisan aftewards
Laravel Framework version 5.0-dev

Usage:
 [options] command [arguments]

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question
 --env                 The environment the command should run under.

Available commands:
 clear-compiled       Remove the compiled class file
 down                 Put the application into maintenance mode
 env                  Display the current framework environment
 help                 Displays help for a command
 inspire              Display an inspiring quote
 list                 Lists commands
 migrate              Run the database migrations
 optimize             Optimize the framework for better performance
 serve                Serve the application on the PHP development server
 tinker               Interact with your application
 up                   Bring the application out of maintenance mode
app
 app:name             Set the application namespace
auth
 auth:clear-resets    Flush expired password reset tokens
cache
 cache:clear          Flush the application cache
 cache:table          Create a migration for the cache database table
config
 config:cache         Create a cache file for faster configuration loading
 config:clear         Remove the configuration cache file
db
 db:seed              Seed the database with records
event
 event:generate       Generate the missing events and handlers based on registration
handler
 handler:command      Create a new command handler class
 handler:event        Create a new event handler class
key
 key:generate         Set the application key
make
 make:command         Create a new command class
 make:console         Create a new Artisan command
 make:controller      Create a new resource controller class
 make:event           Create a new event class
 make:middleware      Create a new middleware class
 make:migration       Create a new migration file
 make:model           Create a new Eloquent model class
 make:provider        Create a new service provider class
 make:request         Create a new form request class
migrate
 migrate:install      Create the migration repository
 migrate:refresh      Reset and re-run all migrations
 migrate:reset        Rollback all database migrations
 migrate:rollback     Rollback the last database migration
 migrate:status       Show a list of migrations up/down
queue
 queue:failed         List all of the failed queue jobs
 queue:failed-table   Create a migration for the failed queue jobs database table
 queue:flush          Flush all of the failed queue jobs
 queue:forget         Delete a failed queue job
 queue:listen         Listen to a given queue
 queue:restart        Restart queue worker daemons after their current job
 queue:retry          Retry a failed queue job
 queue:subscribe      Subscribe a URL to an Iron.io push queue
 queue:table          Create a migration for the queue jobs database table
 queue:work           Process the next job on a queue
route
 route:cache          Create a route cache file for faster route registration
 route:clear          Remove the route cache file
 route:list           List all registered routes
schedule
 schedule:run         Run the scheduled commands
session
 session:table        Create a migration for the session database table
vendor
 vendor:publish       Publish any publishable assets from vendor packages

When I run the generate command in L5, I'm left with an _ide_helper.php file which only has methods built for the items in the extras array.  Not so helpful... any idea how to get it to generate my methods for my own facades too?

I'm not sure if the latest merge to master is supposed to show up in the ~2.0 version, but when I run the composer update and then run
./artisan

I don't see the ide-helper in the list of commands.
Here's my complete composer.json for clarity
{
	"name": "laravel/laravel",
	"description": "The Laravel Framework.",
	"keywords": ["framework", "laravel"],
	"license": "MIT",
	"type": "project",
	"require": {
	  "laravel/framework": "5.0.*@dev",
	  "videlalvaro/php-amqplib": "2.2.*",
		"barryvdh/laravel-ide-helper": "~2.0"
	},
	"require-dev": {
		"phpunit/phpunit": "~4.0",
		"phpspec/phpspec": "~2.1"
	},
	"autoload": {
		"classmap": [
			"database"
		],
		"psr-4": {
			"App\\": "app/"
		}
	},
	"autoload-dev": {
		"classmap": [
			"tests/TestCase.php"
		]
	},
	"scripts": {
		"post-install-cmd": [
			"php artisan clear-compiled",
			"php artisan optimize"
		],
		"post-update-cmd": [
			"php artisan clear-compiled",
			"php artisan optimize"
		],
		"post-create-project-cmd": [
			"php -r \"copy('.env.example', '.env');\"",
			"php artisan key:generate"
		]
	},
	"config": {
		"preferred-install": "dist"
	}
}

Did you add the service provider?

I added the service provider 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider', to the providers array and I also do not have anything ide-helper as a command.
I also tested ~2.0@dev

Can you clear the storage folder or something? are you in production or local environment?

That did the trick :)
I was local, clearing storage folder fixed it.


S3 Backup Cron not working

Environmental Info:
K3s Version:
v1.22.5+k3s1
Node(s) CPU architecture, OS, and Version:
3 nodes, AMD64
Cluster Configuration:
Master/Worker x3
Describe the bug:
The S3 etcd backup schedule doesnt work.
See below server parameters. When i initiate a manual snapshot with these exact same parameters, a backup is made to S3.
No logging at the moments the CRON should do something. Doesnt seem to get triggered.

Installed K3s:

Expected behavior:
Backups to S3 to be made accoring to the set CRON schedule.
Actual behavior:
No backups
Additional context / logs:
No logs at moments it should make the backup

I don't believe that '0 \*/12 \* \* \*' is a valid Cron expression. Backlashes within single quotes don't escape the following character, they are just included as literal backslashes in the Cron expression, which would render it invalid.

I don't believe that '0 \*/12 \* \* \*' is a valid Cron expression. Backlashes within single quotes don't escape the following character, they are just included as literal backslashes in the Cron expression, which would render it invalid.

It is the result of the following installation command, which seems correct. By the way also the CRON value for the generic etcd backup suffers the same issue;
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.22.5+k3s1 INSTALL_K3S_EXEC=" \
server --disable servicelb \
--disable traefik \
--write-kubeconfig-mode 644 \
--token XXXXXX \
--node-label workertype=normal \
--tls-san XXXX \
--etcd-snapshot-schedule-cron '0 */12 * * *' \
--etcd-snapshot-retention 14 \
--etcd-s3 --etcd-snapshot-schedule-cron '0 */12 * * *' \
--etcd-s3-endpoint s3.eu-central-1.amazonaws.com \
--etcd-s3-access-key XXXXX \
--etcd-s3-secret-key XXXX  \
--etcd-s3-region eu-central-1 \
--etcd-s3-folder etcd \
--etcd-s3-bucket XXXXX \
--server https://XXXXX:6443" sh -

After a little investigation i found this issue for k3sup:
https://github.com/alexellis/k3sup/issues/350#issuecomment-946797559
The third scenario indeed does the trick. So refactoring the installation command into the following results in correct CRON syntax. I will just assume it will actually schedule now ;)
Question remains: is this a bug in the K3S installation script?
In my opinion at least it should not accept these values if it results in a non-functioning situation.
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.22.5+k3s1 INSTALL_K3S_EXEC=\
**"server" sh -s - \**
--disable servicelb \
--disable traefik \
--write-kubeconfig-mode 644 \
--token XXXX  \
--node-label workertype=normal \
--tls-san XXXXXX \
--etcd-snapshot-schedule-cron "0 */12 * * *" \
--etcd-snapshot-retention 14 \
--etcd-s3 \
--etcd-snapshot-schedule-cron "0 */12 * * *" \
--etcd-s3-endpoint s3.eu-central-1.amazonaws.com \
--etcd-s3-access-key XXXXX \
--etcd-s3-secret-key XXXXX \
--etcd-s3-region eu-central-1 \
--etcd-s3-folder etcd \
--etcd-s3-bucket XXXXX \
--server https://XXXXXX:6443

The install script is just that, an install script. It doesn't validate any of the args. This is all just how quoting works in shells - the argument needs to be a single string with asterisks in it. Not split into multiple arguments, not escaped with backslashes. Just a simple quoted Cron expression. If you passed it in to the install script differently, and the installer mangled it, that would constitute a bug.


Add putty-cac

Add PuTTY CAC with CAPI and PKCS support.

Use the tag name instead of master in the URLs, otherwise people won't be able to download a previous version.

Nice catch. Fixed!

Please move this PR to https://github.com/ScoopInstaller/Versions

https://github.com/ScoopInstaller/Versions/pull/303


Remove lint step

@usamaahmadkhan Image is available for testing. docker pull stakater/configure-alertmanager-operator:SNAPSHOT-PR-2-8fc6698f


Add longphase

This PR closes #291, by adding LongPhase as the default phaser. This reduces the runtime of the pipeline by ~3-4 hours, while producing comparable results. Both whatshap and HiPhase are kept for now, because they each have their own strengths that have not been properly examined (for example whatshap pedigree phasing).
Co-phasing of SNVs and SVs with HiPhase is removed in this PR, since that workflow was not being tested, and was not working.
All SV-callers VCFs outputs are not similar, and the only really supported caller for HiPhase is pbsv. Other callers might require modifications to the VCF, which adds complexity and needs to be investigated further. Perhaps we should always run multiple SV-callers to support this.
I've added an issue to support co-phasing of SNVs and SVs with LongPhase and/or HiPhase (#389) to track the progress of (re-implementing) co-phasing.

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Thanks @rannick!


UAVCAN DSDL submodule issue with new master branch vs legacy-v0

The UAVCAN DSDL repository https://github.com/UAVCAN/public_regulated_data_types/tree/master deprecated the DSDL submodule version linked to in the PX4/libuavcan "px4" branch to DSDL  branch "legacy-v0". This breaks syncing submodules when trying to build the PX4 firmware.
The PX4/libuavcan "px4" branch is tracked to DSDL commit 192295c. This commit is not present in the new "master" branch for DSDL.
Error is:
Fetched in submodule path src/drivers/uavcan/libuavcan/dsdl but it did not contain 192295c... direct fetching of that commit failed
Failed to recurse into submodule path 'src/drivers/uavcan/libuavcan/dsdl'
Workaround is to name modify gitmodules within PX4/libuavcan to specify branch of dsdl submodule as "legacy-v0".

Is this still an issue?

@julianoes it probably still is. @ARob109 do you mind issuing a PR to PX4/libuavcan fixing that? Thanks!

@TSC21, PR issued to PX4/libuavcan. New to contributing, this was my first PR, so hopefully I did it correctly. Still also very new to submodules, but the PX4/Firmware will also need to be updated to point to the new PX4/libuavcan commit, correct?

@TSC21, PR issued to PX4/libuavcan. New to contributing, this was my first PR, so hopefully I did it correctly. Still also very new to submodules, but the PX4/Firmware will also need to be updated to point to the new PX4/libuavcan commit, correct?

I left a comment. You need to rebase in master.

Solved in #14510.


Component Status Board + Foundation for API-specific Tasks

Jira
http://vjira2:8080/browse/BDS-1046 and http://vjira2:8080/browse/BDS-744
Summary
Adds an automatically generated (always up to date) component status board to Pattern Lab's main overview page.
Details
Pattern Lab Updates

Patches Pattern Lab PHP logic to add a brand new --dataonly CLI config option to export the global PL data available (ex. nav URLs) without having to do a full Pattern Lab build

Build-related Updates

Moves the existing bolt-versions build task to new api-tasks folder in @bolt/build-tools
Adds a new api-specific section to the build tasks as a new home for handling things such as:

Generating the data / component checks for the component status board + compiling the Twig via @bolt/twig-renderer
Generating visual regression testing URLs
Programmatically being able to find all available versions of the Bolt packages published to NPM

Updates the existing pattern lab build task to conditionally allow generating just the PL data (quick compile)
Consolidates + improve coordination of the build and watch tasks for the new API-specific work vs the build and watch tasks for Pattern Lab (via events that get emitted)

Misc

Updates the iframe-resizer library import path (used in a few places) to prevent build errors (build broken otherwise)

How to test

Review changes to make sure we're all on the same page
Verify Travis builds and deploys as expected and the main PL overview page correctly displays the new component explorer
Confirm Pattern Lab's watch task will rebuild and compile as expected
Confirm changes to the status board's API-specific task in the build tools will regenerate when you change the template / data + subsequently recompile Pattern Lab after completed

NOTE: a handful of components displayed in the component status table (ex. UL, OL and Button Group) are going to be slightly mismatched with the actual url in Pattern Lab due to some naming differences + bug in Pattern Lab PHP's logic with folder names.

I'm getting a separate PR going that'll work around that by renaming the problematic PL folders to match up with the component name / name we publish to NPM with.

Everything looks great. And i approve this PR. I notice one thing that on the first compile we have two Recompiling Pattern Lab... task triggered one after another. Maybe it should be that way but i want to notice that.

And then two Pattern Lab recompiled in xxxms. Recompiling times are not always the same.

Thanks @adamszalapski! I think I might just need to update the logic for this to make sure that compiling just the data for Pattern Lab doesn't count as "being the 1st time being compiled". Should be a super quick edit to make 👍

@danielamorse all set with those two things you pointed out. Anything else you wanted to call out?


Budget to goal

Github Issue (if applicable): #546
Trello Link (if applicable): https://trello.com/c/uQTUquAR/205-quick-budget-option-top-up-category-to-desired-goal-amount
Forum Link (if applicable): N/A
Explanation of Bugfix/Feature/Enhancement:
This feature adds a Quick Budget button that balances a category to 100% of its goal.
This works very similarly to "Balance to Zero," and is almost code-identical to "Balance to Zero." The primary differences are in how the amount is calculated and a non-working attempt to update the button when the goal is changed.
I am requesting this merge to see if anyone can help me figure out how to make the button update once YNAB updates its internal data for the change. For now, it only updates the button after action is taken with the categories (changing away and back, or starting an edit to the budgeted entry.
My current method for updating after the goal is changed involves watching for 'budget-inspector-goals' in changedNodes and invoking after 60 seconds (60000 milliseconds).
I am uploading images showing before and after a goal change.
Before goal change (after selecting category):

After YNAB updates after goal change:

Recommended Release Notes:

Hi @nconantj,
First off, welcome! I contributed a few comments on your PR that I hope will point you in the right direction / get this bad boy merged in. Let me know if there's anything that you're struggling with and we'll help out.

@nconantj, sorry if I came across a but full on up there. We're still keen to have this feature if you manage to get time to finish it off.
I'll go ahead and close this PR to keep our list of open PRs clean, but feel free to resubmit when/if you get the chance to finish this off!

@blargity, I appreciate all the suggestions and comments you made. I just haven't had a chance to get back to this and incorporate the changes.


Typo "@publication"→"@publication"

Bold with escape characters
https://docs.microsoft.com/sr-latn-RS/sql/relational-databases/replication/create-a-snapshot-for-a-merge-publication-with-parameterized-filters?view=sql-server-2014

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

Verified the updates.


Parser issues

Description
I found some potential parser issues. First, when we use this YAML:
1:
1

Shouldn't we get an error like:
Map keys must be unique at line 1, column 3
Implicit map keys need to be followed by map values at line 2, column 1

at least, these errors appear on websites like https://www.yamllint.com or https://jsonformatter.org/yaml-validator. However, when we parse the document using the library, it will not return any messages.
The second issue is related to the key-value section. When we use this YAML:
abc def

or this:
abc:
  def ghi

everything works fine. But when we use:
abc:
  def: ghi
  jkl mno

Websites show the following error: Implicit map keys need to be followed by map values at line 3, column 3, while the library parses the document without any problem.
Reproduction steps
Just like in the description.
Expected vs. actual results
Library should (probably) throw exceptions, but it doesn't throw anything.
Minimal code example
#include <fstream>

#include "node.hpp"

int
main()
{
  try {
    std::ifstream ifs("test.yaml");
    fkyaml::node yaml = fkyaml::node::deserialize(ifs);
  } catch (fkyaml::exception& e) {
    std::cout << e.what();
  }
}

Error messages
No response
Compiler and operating system
MSVC (v143, Windows 10)
Library version
develop (latest)
Validation

[X] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

@sndth
Thanks for filing the issue! I've confirmed the wrong behaviors.
Both of them seem to be due to a missing check for a following ":" mapping value indicator.
They should be treated as errors since at least the ":" mapping value indicator must appear after a mapping key to generate a valid mapping (mapping value can be omitted).
I'll try to fix it!

@sndth
The reported issues should be resolved by the pull request #450.
An appropriate error is now emitted against a YAML document like the ones shared above.
Could you confirm the fix with the develop HEAD?

Hello, thank you for your fix so much! Unfortunately, it only partially solved the issue. When we try to pass the following code to the parser:
abc:
  def ghi
  jkl: mno

it should throw an error like (https://jsonformatter.org/yaml-validator):
Error : bad indentation of a mapping entry at line 3, column 6:
      jkl: mno
         ^
Line : undefined  undefined

but it doesn't throw any problem.

@sndth
The reported issue should be resolved by the PR #451.
It's also fixed a related issue in detecting bad indentations for block sequence entries as well.
Could you confirm the fix again?

@sndth The reported issue should be resolved by the PR #451. It's also fixed a related issue in detecting bad indentations for block sequence entries as well. Could you confirm the fix again?

Hi! I can, fix works like a charm, thank you!


Zero COVID cases in Nebraska counties

When I take a look at the choropleth map for COVID cases, it shows zeros for all Nebraska counties:

It's clear that Nebraska as a state has COVID cases being reported:

But something weird is happening with Nebraska's counties:

I checked the API directly (via the R package) to ensure that this isn't a viz problem; the API also has no county case data for Blaine NE (it's just all zeros recently).
Even if this data bug is "real" all the way back to JHU CSSE (meaning, it's not in JHU CSSE because for some reason Nebraska actually stopped reporting county cases), we should find a way to handle this gracefully in the viz tool so that we:

color Nebraska as a state as a whole according to the state case count in the choropleth map, and somehow make it clear this is what we're doing the hover tip; or
stop reporting zeros for these counties and make it clear in the hover tip that this is a missing data problem.

Similarly for most of Utah, assuming it's the same problem there.
Rating Scale (1 is minor, 7 is severe): 6

how do we know which zero values are real and which ones are due to some data bug?

@sgratzl Finally getting around to this now ... when we synced about v3 on slack you mentioned this as an outstanding issue but this shouldn't hold up us in releasing v3 at all.  This is really a separate issue completely then the dashboard redesign.  So we should just leave this open revisit it with @krivard when she gets back from her week off (this week) but move on for now.
Recording thoughts below for later.
Checking the dashboard just now, we seem to be missing data for most counties in Utah (first screenshot). However Utah's own state dashboard (second screenshot) shows that there is still case activity being reported throughout the state. And I looked but I didn't Utah mentioned in the most recent weekly email from JHU (they send one to the forecasting community weekly). So again I don't know if this is just a JHU issue or an issue on our side or what.

JHU's README was updated on October 26 to say that Nebraska is only reporting state cases, not county cases. However, the emails from Jeremy suggest that they've been able to pull county cases from one of the CDC trackers instead. I'll look into this more and get back to you.

Re: Utah:
The JHU file has 37 entries for Utah. Of those, 11 are counties that have never reported anything other than 0:

FIPS
Lat
Long
Name

49003
41.52106798
-113.08328159999999
"Box Elder, Utah, US"

49009
40.88798265
-109.51210929999999
"Daggett, Utah, US"

49023
39.70208397
-112.78092450000001
"Juab, Utah, US"

49027
39.0729209
-113.1020328
"Millard, Utah, US"

49029
41.08830262
-111.5727723
"Morgan, Utah, US"

49031
38.33815254
-112.1249591
"Piute, Utah, US"

49033
41.63137678
-111.2445105
"Rich, Utah, US"

49039
39.37231946
-111.5758676
"Sanpete, Utah, US"

49041
38.74837146
-111.8050275
"Sevier, Utah, US"

49055
38.32335822
-110.9096801
"Wayne, Utah, US"

49057
41.27116049
-111.9145117
"Weber,Utah,US"

Of the remaining 26 entries, 6 are about named regions that have no FIPS code:

Lat
Long
Name

41.52106798
-113.08328159999999
"Bear River, Utah, US"

39.37231946
-111.5758676
"Central Utah, Utah, US"

38.99617072
-110.70139579999999
"Southeast Utah, Utah, US"

37.85447192
-111.4418764
"Southwest Utah, Utah, US"

40.12491499
-109.5174415
"TriCounty, Utah, US"

41.27116049
-111.9145117
"Weber-Morgan, Utah, US"

If there's something we should do about this, best open a new issue for it so it doesn't get lost.

Details on Nebraska:
County case data drops out in covidcast starting 2021-06-01 and ending 2021-09-24.
County case data never drops out in the JHU file.
The most recent update to county-level case incidence for reference date 2021-06-01 was November 16 at 10pm. It contains all zeroes for Nebraska counties.
Next step is to run the jhu indicator on staging to see what's going on, however that package hasn't been updated since Nov 1. It should have been updated throughout the month of November, with the most recent change occurring on the 29th.
Next steps:

[ ] Fix the deployment system
[ ] Actually deploy a new copy of the indicator to staging
[ ] Run JHU in staging to see if it still says Nebraska counties are all zeroes
[ ] Debug from there


Installation on local host with wamp issue

unzipped and uploaded files to localhost/mywebsitename/ and ran the installer.  Got to the part where all the login information is required for the admin backend and recieved the following fatal error:  Fatal error: Cannot use PH7\Framework\Mvc\Model\Engine\Db as Db because the name is already in use in C:\wamp\www\mywebsitename_protected\app\system\core\models\UserCoreModel.php on line 19
Deleted everything and changed the db name to something else and still get the error.  Any ideas?

@nootkan Hi ! Welcome and thanks for trying pH7CMS.
Here's a staring point...
https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki/How-to-ask-for-help
https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki
https://ph7cms.com/doc/
It would be some help if you'd give us more about what you are running on...
As we see the "C:" we can assume you are running from Windows with WAMP. First thing, I'd suggest you run the software from a Unix machine as we don't really support nothing on Windows. It can and may run on WAMP but that's mostly for doing test. You can't expect a real instance from running over this stack.
Also, if you ain't serving from the webroot then you'd need to change some part in the configuration file ( .htaccess ). It's well explained.

Thanks I've read through all the links provided. Sorry I thought that "C:\wamp\www" was more than enough to define my server.  Even though I got that error the install is working and so far I haven't had any issues with configuration or set up on the testing server.  I only wanted to see how it worked before installing on my linux server.  So far I like what I see and will start to tweak the look of the templates once I get all the bells and whistles sorted out.  Thanks for a great looking script!  And thanks for the quick reply and support!


HTTP to HTTPS redirect not working as expected with Docker, Nextcloud and port forwarding

Do you want to request a feature or report a bug?
Bug
What did you do?
In my router I have port 55123 -> 443 (local port) port forwarding. I access my Nextcloud like this:
https://MYDOMAIN:55123/
What did you expect to see?
The request:
https://MYDOMAIN:55123/
should be maintained to https, in my case Nextcloud does redirect to [PREFIX]/login so the result should be:
https://MYDOMAIN:55123/login
What did you see instead?
It redirects now to:
http://MYDOMAIN:55123/login
(same thing for many other redirections like when using token authentication etc...)
Output of traefik version: (What version of Traefik are you using?)
1.7.9

What is your environment & configuration (arguments, toml, provider, platform, ...)?
defaultEntryPoints = ["http", "https"]

[entryPoints]
      [entryPoints.http]
      address = ":80"
        [entryPoints.http.redirect]
        entryPoint = "https"

      [entryPoints.https]
      address = ":443"

        [entryPoints.https.tls]
        [[entryPoints.https.tls.certificates]]
            CertFile = "/certs/mycert.crt"
            KeyFile = "/certs/mycert.key"

    [docker]
    endpoint = "unix:///var/run/docker.sock"
    domain = "MYDOMAIN"
    watch = true
    exposedByDefault = false

      [docker.tls]
      insecureSkipVerify = true

(I use my self signed cert).
In the Nextcloud container from docker-compose.yml I have:
labels:
    - "traefik.enable=true"
    - "traefik.port=80"
    - "traefik.backend=nextcloud"
    - "traefik.docker.network=MYNET"
    - "traefik.frontend.rule=Host:MYDOMAIN"
    - "traefik.frontend.passHostHeader=true"
    - "traefik.frontend.headers.SSLProxyHeaders=X-Forwarded-Proto:https" # tried this to fix, no luck
    - "traefik.frontend.headers.referrerPolicy=no-referrer"
    - "traefik.frontend.headers.forceSTSHeader=true"
    - "traefik.frontend.headers.STSSeconds=31536000"
    - "traefik.frontend.headers.STSIncludeSubdomains=true"
    - "traefik.frontend.headers.customResponseHeaders=Front-End-Https:on"
    - "traefik.frontend.redirect.regex=https://(.*)/.well-known/(card|cal)dav"
    - "traefik.frontend.redirect.replacement=https://$$1/remote.php/dav/"
    - "traefik.frontend.redirect.permanent=true"

and in the Traefik container:
labels:
    - "traefik.enable=true"
    - "traefik.port=8282"
    - "traefik.backend=traefik"
    - "traefik.docker.network=MYNET"

I remember it was working before (a month ago before I updated the Docker images) so I don't know if it's due to Nextcloud or Traefik, but I see around that others have a similar issue with Traefik regarding http to https.
I hope someone can help me!
Thank you!

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI tells me this one is neither of them.
I encourage your to seek community support: join our Slack workspace and reach out to us on the #support channel.
Another option is to use Stack Overflow and tag your question traefik.
You can of course double check Traefik's documentation :sweat_smile:


Adds C-h predefined SHA1 hash search.

Adds matching for full or abbreviated SHA-1 hashes, as used by git.

@bruno- I was unable to make the test work, could you have a quick look why it's failing?

Hey @jbnicolai,
the new tests are failing. That's okay, I can probably look what's wrong before merging.
I see this search uses prefix + C-h.. the same as tmux-pain-control. In fact all of h, shift + h and C-h are "taken". Do we have any other option that does not clash with built-in or plugin key bindings? alt + h maybe?

@bruno- alt + h sounds good, let me update quickly.

@bruno- although, is there a reason tmux-pain-control uses both prefix + [hjll] and prefix + C-[hjkl]? The first seems sufficient, and if end-users want to change it they can. This would allow copycat to use prefix + C-h for hashes, which would be consistent with the other bindings.

Hey @jbnicolai,
I'll look into the tests and merge this.
Yea, there's a reason for additional/duplicate keybindings, but it's subtle. In short, it enables the user to constantly hold the ctrl key pressed while navigating across panes which is faster and less straining for the pinky finger.
Example: you're using C-a as a prefix and you have 5 vertical splits open. You wanna go from the leftmost one all the way to the right. With these additional keybindings you can:

hold down ctrl key the whole time (this is a win)
just press a + l 4 times in a row and the cursor will move to the rightmost pane

This would be more cumbersome if the additional keybindings weren't defined.

This was merged via 279db60 and tests are fixed in 52567df.
Thanks @jbnicolai!

Instead of having distinct key combinations for each thing.. perhaps the key combinations should be like vim-chords.
The advantage of that is you are essentially typing additional characters in a very systematic way. Its easy to remember. Further, each additional alphabetic key typed increases the parameter space available for mapping commands. So these kinds of clashes wont happen between multiple plugins


Fix building on musl.

These are some patches that make it possible to build hpx on musl.
Signed-off-by: brahmajit das<EMAIL_ADDRESS>Fixes #5946
Proposed Changes

EXEC_PAGESIZE is not defined under musl so including linux/param.h
where it should be defined. Header linux/param.h does not depend on
any libc and hence can use included on any linux system.
execinfo.h is only present on glibc and ulibc, but not on musl so
before defining HPX_HAVE_EXECINFO it's being checked whether we're on
a glibc or ulibc system
RTLD_DI_ORIGIN is not present on musl, hence the alternate
the solution is implemented if RTLD_DI_ORIGIN is undefined.

Any background context you want to provide?
hpx was failing to build with musl libc, these patches should fix them without affecting other libc systems
Checklist

[ ] I have added a new feature and have added tests to go along with it.
[ ] I have fixed a bug and have added a regression test.
[ ] I have added a test using random numbers; I have made sure it uses a seed, and that random numbers generated are valid inputs for the tests.

Can one of the admins verify this patch?

@hkaiser Would like to report that the tests pass when I ran them locally with these patches, both on musl and glibc

@hkaiser Looks like some of the tests failed, mainly the tests.unit2. I can there's a backtrace.

@hkaiser Looks like some of the tests failed, mainly the tests.unit2. I can there's a backtrace.

That failure is a known issue and unrelated to your PR. Feel free to ignore it.

bors merge

@listout Congratulations, your first PR to the HPX repository has just been merged! As a 'thank you' we offer a free STE||AR-Group t-shirt to all of our first-time contributors. If you are interested in receiving one, please get back to me directly so we can set up the delivery.

@hkaiser OMG that's so great. How should I contact you, can I send you a mail at hkaiser at cct dot lsu dot edu?

@hkaiser OMG that's so great. How should I contact you, can I send you a mail at hkaiser at cct dot lsu dot edu?

Yes, that will work.

@hkaiser if you receive an email from brahmajit.xyz at gmail dot com, that will be.


serving content to browser window (router / controller modules)

Router module
Should hook itself up to window events on loading and changing hash (since all routing is done via hash paths + query parameters).
Public methods:

[x] Register route (allow for :abc variables and * wildcards)

Controller module
Collection of callback methods for router, that handle preparing HTML code to display as content in the browser.
Public methods:

[ ] Blog post list (including per-tag / per-category view)
[ ] Blog post display
[ ] Page display

public methods for controllers are implemented as placeholders for now
needs #4 to work correctly


email notification

it's running fine for me, thank you.
Can an option be added to send the alerts via email please?

Bitcoinrate, Can you help put me in the right direction. I have been following updates here and I am trying to start from scratch to make this thing work. So far I have been unsuccessful

I just installed Python Windows version and then the required add ons and it works. I edited the files to include all Bittrex currencies. What is your issue? I'm not expert on this stuff but will help if I can

Bitcoinrate, there's a lot in the roadmap for this I have to get to before adding email but would be great if you could make a pull request for it. If I add it, I'd probably use something like SendGrid since they have pretty good API's.
adbitcoin, what is the problem you're facing?

Hi all. Regarding emails, if you're willing to use your own gmail account (its should work for other email account to) to send emails, you can do the following:

Add this to "secrets.json" file:
"gmail": {       "address_list": [<EMAIL_ADDRESS><EMAIL_ADDRESS>          "ETC..."       ],       "username"<EMAIL_ADDRESS>      "password": "GMAIL_PASSWORD"   }
Where "username" would be your email account's username (usually your account's email address), "password" would be your email account's password. and "address_list" is the list of recipients you'd like to send emails to

Add 'import smtplib' to your imports

Add the following function to your code:
'def send_email(subject, message):
from_address = secrets['gmail']['username']
to_address_list = secrets['gmail']['address_list']
login = secrets['gmail']['username']
password = secrets['gmail']['password']
smtp_server = 'smtp.gmail.com:587'
header = 'From: %s\n' % from_address
header += 'To: %s\n' % ','.join(to_address_list)
header += 'Subject: %s\n\n' % subject
message = header + message
server = smtplib.SMTP(smtp_server)
server.starttls()
server.login(login, password)
errors = server.sendmail(from_address, to_address_list, message)
server.quit()
return errors'
You can use this function to send emails with a desired subject and message

I hope this helps. If the author is okay with this strategy, I'll make a PR.

@JPStrydom Thanks for sharing your solution! Go for it


[BUG] Cross-organization: 'This project item doesn't belong to correct owner'

Describe the bug
Hi there, we're loving this action so far for automatically adding all Issues/PRs for our organization-owned repositories to our private organization beta projects dashboard.
We'd also love to be able to do this for a handful of repositories that our organization manages, but do not 'own' (they are hosted by other GitHub organizations).
I was hoping that the organization field of the YAML would allow for this, but the links to the dashboard do not seem to be going through successfully, with the relevant output of the action (which passes) being:
gh: This project item doesn't belong to correct owner

To Reproduce
Relevant YAML: https://github.com/NeurodataWithoutBorders/nwbinspector/blob/66aa6c995f9151a619aa347bc44f7a19a14a26c5/.github/workflows/add-to-dashboard.yml
The MY_GITHUB_TOKEN is setup with permissions and this same workflow works correctly whenever it is used in a repository that organization owns.
Full action output: https://github.com/NeurodataWithoutBorders/nwbinspector/runs/6133081630?check_suite_focus=true
Expected behavior
I had hoped it would add the issues/PRs from the external repo to our private organization dashboard. If this isn't supported by this action workflow, just let me know.
Workflow (please complete the following information):

OS: ubuntu-latest
App version: 1.2.1

@CodyCBakerPhD thank you very much for your feedback. Unfortunately, it is currently not supported by GitHub. Personally, I would love to support it as I have use cases for it as well. Currently, both issues and pull requests are tied to a user or organization and therefore it is not possible to reference them. If you are interested in a manual way, you can read this comment: https://github.com/leonsteinhaeuser/project-beta-automations/issues/40#issuecomment-1104824458

@leonsteinhaeuser OK, thanks for the fast response.

If you are interested in a manual way, you can read this comment: https://github.com/leonsteinhaeuser/project-beta-automations/issues/40#issuecomment-1104824458

Haha, yeah that is indeed what we've been using instead. Not the best, but it's all we have ATM. Maybe I'll bring it up on the Projects (beta) discussion board.


Fix broken json that keeps notebook from loading

Before: https://github.com/apache/beam/blob/master/examples/notebooks/beam-ml/dataframe_api_preprocessing.ipynb
After: https://github.com/apache/beam/blob/users/damccorm/notebook-fix-2/examples/notebooks/beam-ml/dataframe_api_preprocessing.ipynb

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @rszper @rezarokni

LGTM & thank you!


Allow multiple values for outboundHostname

There was no big interest in this feature so I'll close this issue. Feel free to reopen it if you think it would fit your use-case.


Scripts not loading

Issue Description:
My scripts i am making arent loading, they're not wrong because i check on the wiki and i am using MTRM to write them.
What happens:
I do the recipe, click ok, then i check with jei and the recipe doesnt work, it used to.
What you expected to happen:
I expect it to load the recipe.
Script used
[MineTweakerRecipeMaker.txt]
(https://github.com/jaredlll08/CraftTweaker/files/1472795/MineTweakerRecipeMaker.txt)
Minetweaker.log file
[minetweaker.log]
(https://github.com/jaredlll08/CraftTweaker/files/1472799/minetweaker.log)

Affected Versions (Do not use "latest"):

Minecraft:1.10.2
Forge:12.18.
Crafttweaker:<IP_ADDRESS>.2185

Your most recent log file where the issue was present:
[latest.log]
(https://github.com/jaredlll08/CraftTweaker/files/1472803/latest.log)

1.10.2 isn't supported
Your scripts are being loaded fine according to the log.

thats why i was confused

ok turns out the problem was with jei not showing it the crafting works, sorry for wasting your time


Bug bounty test - PLEASE DO NOT APPROVE. abwkoz

Bug bounty test - PLEASE DO NOT APPROVE. abwkoz

 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.


Keep generated go files in the git repo

Add generated go/proto files to git

Add make target make gogen to generate go/proto files
Generate *.capnp.go and structs.gen.go files in bazel and then copy to source directory in a make target.
For the case of structs.gen.go which is generated with a simple shell script, this setup is somewhat overcomplicated. Generating the *.capnp.go files does use bazel infrastructure to get the capnp tooling.
To keep things symmetric, both cases are handled the same.

Add CI check generated go/proto files
Detect uncommitted changes to generated go/proto files by cleaning and
regenerating the files.

Fixes https://github.com/scionproto/scion/issues/2822

This change is

I had to setup a workaround for a bug in misspell that created false positives in one of the generated capnp.go files. I've created a PR to fix it (https://github.com/client9/misspell/pull/157), but unfortunately it appears that the misspell maintainer is no longer around.


New WFS and GeoJSON layer option: projection

There is a new undocumented layer option for WFS and GeoJSON layers: "projection".
From PR #743:

Fixes #734
Adds projection option for wfs and geojson.
Simply set "projection":"EPSG:4326" to request features in another reference system and Origo will handle the transformation. The proj4Defs has to be configured in index.json unless it's EPSG:4326 or 3857.

Yupp, that's a hidden treasure.

Ok if I add a PR for this?

Absolutely!


Fix TokenSpanArray.hash

Currently falls back to CharSpanArray.hash, which fails.
Test failing: TestPandasMethods.test_not_hashable

The key requirement here is that the __equals__ methods of all our span types consider two spans to be equal if they cover the same character range of the same string. That notion of equality is the most intuitive I've been able to come up with, though I'm open to alternatives.
The implementations of __hash__ need to be consistent with the notion of equality implemented in __equals__, or Python and Pandas operations that rely on hash tables will behave strangely. As long as equality is defined as "begin, end and text are the same", the hash functions for TokenSpan, CharSpan, TokenSpanArray, and CharSpanArray all need to be based only on those three attributes.

N.B. #27  is also relevant to this issue.


[Docs-Bug]: In mobile the integration section hamburger button doesn't work

Describe the bug
For the sidebar to open

Browser info
firefox -version 108.0.1 (64-bit)
brave -version Beta 1.47.149
Additional information
No response

Thanks!


Register ILogger -> Logger in default services

See https://github.com/aspnet/Logging/pull/96

Omg this extension method is in Hosting?

@davidfowl yeah I had that discussion with @loudej, it's there 'cos the ANIs are conditional on it targeting ASPNET50, blah blah.

:shipit:

Merged in eba2808109f86b034466051d0abccf2d01cf81fa


SLAM Installation & ISO Do Not Run

I tried following the instructions here:
https://mangdang-minipupperdocs.readthedocs-hosted.com/en/latest/guide/SLAM.html.  I was able to set up the PC side.  The Raspberry Pi B4 will not run the ISO https://drive.google.com/file/d/11zeivhN-fyTMdf6iuhcVD-Ib6aKj7s_5/view?usp=sharing in the Google Drive site.  The Raspberry Pi reports newer software is required.

I updated the document( https://mangdang-minipupperdocs.readthedocs-hosted.com/en/latest/index.html )
Please download the below image
(64bit)v<IP_ADDRESS>20219.MiniPupper_V2_ROS&OpenCV_Ubuntu20.04.03.img
https://drive.google.com/drive/folders/12FDFbZzO61Euh8pJI9oCxN-eLVm5zjyi
and follow the below steps,
https://github.com/mangdangroboticsclub/minipupper_ros
Thanks!


Allow to change if EmbeddedChannel should handle close() and disconne…

…ct() different.
Motivation:
At the moment EmbeddedChannel always handle close() and disconnect() the same way which also means that ChannelOutboundHandler.disconnect(...) will never called. We should allow to specify if these are handle different or not to make the use of EmbeddedChannel more flexible.
Modifications:
Add 2 other constructors which allow to specify if disconnect / close are handled the same way or differently.
Result:
More flexible usage of EmbeddedChannel possible.

@nmittler @Scottmitch @trustin FYI

LGTM

Cherry-picked into 4.0 (951bacb0ca7bc41a8d19cf9c942247ec6e823452) and 4.1 (4d854cc1496ab3397cad543e0a0557efe1106f0c)

thanks @normanmaurer ... lgtm!


chore: import repository https://github.com/testingcicdorg/jx3-python-app-final2.git

this commit will trigger a pipeline to generate the CI/CD configuration which will create a second commit on this Pull Request before it auto merges

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@testingcicdonk8s: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
417ae85aafa23975aef81fdf1f4a9f21edb00f79
link
/test verify

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Processor definition for Motorola MC146805E2 microcontroller

This microcontroller shares an instruction set and architecture with the 6805 already supported but has a different memory organisation, which is reflected in this PR.
PR includes the correction introduced in #845 but it was easier to build on that than try to revert that change before creating the new commit. I can revert that commit in this PR if #845 is rejected.
Thanks!
Gareth

IMHO the SWI_VECTOR should be an artificial register added to the language.  The value can be set in the .pspec file to the correct value for the processor variant.  In the SWI instruction, the value of the SWI_VECTOR register would be used to go to the correct location.  That way, only one .slaspec/.sla file is needed.  An alternate would using the context with a bit to specify the variant, however if there are other processors with different SWI_VECTORs, then the context could get complicated.
  ...
  <context_data>
    <tracked_set space="RAM">
      <set name="SWI_VECTOR" val="0x3FFC"/>
    </tracked_set>
  </context_data>
  ...


Add presets for CLIP and fix some minor bugs

This PR:

Add tests for CLIPBackbone
Add conversion script for CLIP
Introduces 8 presets for CLIP from OpenAI and OpenCLIP repo
Fixes several dtype bugs in CLIP
Adds support for sublayer and submodel in init_kwargs in run_backbone_test

@divyashreepathihalli
Some results (from conversion script):

Preset
Modeling difference

clip_vit_base_patch16
0.009210587

clip_vit_base_patch32
0.0061130524

clip_vit_large_patch14
0.008178234

clip_vit_large_patch14_336
0.004854679

clip_vit_b_32_laion2b_s34b_b79k
0.02490139

clip_vit_h_14_laion2b_s32b_b79k
0.0014100075

clip_vit_g_14_laion2b_s12b_b42k
1.2397766e-05

clip_vit_bigg_14_laion2b_39b_b160k
1.04904175e-05

Preprocessing difference: 0.095298484

I forgot to register CLIP presets which caused the CI to fail. It should be fixed now.


perf: tweak up cache hit flow

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

v1.32.2
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


AuthorizationServerContextHolder.getContext() is null

DefaultOAuth2TokenContext tokenContext = DefaultOAuth2TokenContext.builder()
.registeredClient(registeredClient)
.authorizationServerContext(AuthorizationServerContextHolder.getContext())
.principal(authenticate)
.authorizationGrantType(AuthorizationGrantType.JWT_BEARER)
.authorizedScopes(scopes)
.tokenType(OAuth2TokenType.ACCESS_TOKEN)
.build();
OAuth2Token accessToken = tokenGenerator.generate(tokenContext);
AuthorizationServerContextHolder. getContext() is null. How can I obtain AuthorizationServerContext to create a jwt token

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements.


Hover effect on homepage images [style]:

What's the style idea?
We need to improve  home page images does not have any hover effect
please assign me this issue so i can work on this issue
Add screenshots
Add screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I guess it's not needed. in future if we want to add I will ping here

ok but I already resolve this feature on my device

so If you can again open this issue it's beneficial for me


Chore update typescript configuration

:tada: This PR is included in version 7.0.0-beta.13 :tada:
The release is available on:

v7.0.0-beta.13
GitHub release

Your semantic-release bot :package::rocket:


Cactus throws error on start

Just installed cactus on OpenSuSE 13.1 via "easy_install cactus". Running it (with any amount of command line parameters) yields the following:
$ cactus
Traceback (most recent call last):
  File "/usr/bin/cactus", line 9, in <module>
    load_entry_point('Cactus==3.3.0', 'console_scripts', 'cactus')()
TypeError: main() takes exactly 1 argument (0 given)

Fixed in 3.3.1 (which I just pushed to PyPi).
This was a pretty overlook on my part: our CLI tests ran the cli.py module directly, which didn't surface the fact that the changes I made in cli.py broke the entry_points defined in setup.py.
I've added appropriate tests to ensure this doesn't break again!
Thanks for the report.


Documentation

Hi, I changed three files and I thought I would try a pull request before I went any further. Let me know your thoughts on this stuff if any and whether I'm doing this Git thing right. Thanks!

Looks good to me, most of the things I noticed were really just nit-picky things, nothing substantial.
@dbrian56 do you have permissions to merge this PR or do you need a merge?

I'm pretty sure I don't have write access, so I think you would need to merge lest you guys give that permission to me.

+1 LGTM. I'll Merge.


Add SQL credentials output

added SQL credentials part of the output

Thanks Nirmal, we had this one in another update.


fix: removes legacy createElement in favor h

Problem
The @vue/composition-api package is now stable and createElement was replaced with h. The current workaround throws build errors on vite (especially when building in cloud services).
Open Issues

#504
#574

Refers to @marshallswain's comment here:

@philipimperato I don't believe so. I can do a quick patch release if somebody wants to update the code to only work with the latest @vue/composition-api. I think that's all that needs to happen at this point.

Proposed Solution:
This PR simply updates the FeathersVuexPagination component to use h and removes the legacy createElement function. A new release should mark the v1 version of the composition-api as required.
Thanks to the Feathers team! :heart:

@miguelrk thanks for doing this.  Any idea why the tests are failing with this error?
12:33:24 PM: src/FeathersVuexPagination.ts(2,3): error TS2614: Module '"../node_modules/@vue/composition-api/dist"' has no exported member 'h'. Did you mean to use 'import h from "../node_modules/@vue/composition-api/dist"' instead?

You can review the build log here if that helps: https://app.netlify.com/sites/feathers-vuex/deploys/618d6fc4590936000737b670

Of course 👍🏼.
Hadn't seen the tests failed. I believe it might be due to the version of the composition-api. I tried it locally with "@vue/composition-api": "^1.2.4" and it indeed worked. feathers-vuex is currently using "@vue/composition-api": "^0.6.1", by bad, I forgot to update the dependency here as well. Will do...

@marshallswain great! That was it

Awesome.  I'll shoot for a release later today.

Hey @marshallswain, sorry for the insistence, would you mind doing the quick release? 😁  I'd appreciate it, thanks again!

I'm finally getting to this, now.  :)

Which version of feathers-Vuex are you currently using? @miguelrk

I'm currently using "feathers-vuex": "^3.16.0". I'm already using dove but I'm still stuck with vue2. This PR makes it work for vite, which was really the only thing causing issue.

Ok. There’sa problem with the tests that I’ll need to figure out.
On November 16, 2021, GitHub @.***> wrote:

I'm currently using "feathers-vuex": "^3.16.0". I'm already using
dove but I'm still stuck with vue2. This PR makes it work for vite,
which was really the only thing causing issue.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/feathersjs-ecosystem/feathers-
vuex/pull/612#issuecomment-969991265>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AAA7OWJC7S4DUZO3VJ4RWCLUMIGUJANCNFSM5H3GFDUA>.

Sure thing, let me know if I can help out 👍🏼

@miguelrk The only error left is "no response from localhost:3030" which I believe is coming from the client/server integration tests.  It probably means that the package that handles HTTP request mocking is somehow broken.  I think I might move the tests to use feathers-memory instead of mocking feathers-rest.

@miguelrk why are you stuck on Vue 2 aside from feathers-vuex@4 not being stable?

Oh @rayfoss it's not really feathers related. It's because of Vuetify which I use for the UI (waiting for vue3 support). Feathers is running smooth in v5 (dove) already for a couple of months now 👍🏼

The version with this fixed isn't published, am I correct?


Power BI Performance Report Fails to Launch with Sensitivity Error

The Performance Reports Power BI report fails to launch with the sensitivity label error below:
The file's sensitivity label can't be verified. Try again later.

I'm using the latest version of SQLNexus (<IP_ADDRESS>)

Hello, I'm facing the same problem here, do we have a workaround or an ETA for the fix? Now I will try to run an older PBI file and when it was broken

I was able to run the file Performance Reports.pbit from this version https://github.com/microsoft/SqlNexus/releases/tag/<IP_ADDRESS>
sucessfully, but there are some errores on the dasbhoard, most likely due to the lack of the columns needed:
Memory page

CPU page


enum.IntFlag field error when the flag is zero or many field enabled.

Privileged issue

[X] I'm @tiangolo or he asked me directly to create an issue here.

Issue Content
For enum.Enum it works fine, but when the field is Flag or IntFlag, if the value is not single-only bit enabled (zero or many bits). Then it will raise error.
It just treat Flag as same as Enum. However, it should make all subset of bitwise-or be accepted.

By default, SQLAlchemy, which SQLModel relies on, cannot handle combination values of IntFlag.
Below is an example code:
from enum import IntFlag
from sqlmodel import Field, SQLModel, create_engine, Session, select
from typing import Optional

# 1. Define the IntFlag enum
class Permission(IntFlag):
    READ = 1
    WRITE = 2
    EXECUTE = 4

# 3. Define the SQLModel model
class User(SQLModel, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    name: str
    permissions: Permission

# 4. Create an in-memory database connection
engine = create_engine("sqlite:///:memory:", echo=True)

# 5. Create the table
SQLModel.metadata.create_all(engine)

# 6. Insert data
def create_user(name: str, permissions: Permission):
    with Session(engine) as session:
        user = User(name=name, permissions=permissions)
        session.add(user)
        session.commit()

# 7. Query data
def get_users_with_permission(permission: Permission):
    with Session(engine) as session:
        statement = select(User).where(User.permissions & permission == permission)
        return session.exec(statement).all()

# Test code

# Insert user data
create_user("Alice", Permission.READ | Permission.WRITE)
create_user("Bob", Permission.READ)
create_user("Charlie", Permission.EXECUTE)

# Query users with READ permission
users_with_read_permission = get_users_with_permission(Permission.READ)
for user in users_with_read_permission:
    print(f"User: {user.name}, Permissions: {user.permissions}")

# Query users with WRITE permission
users_with_write_permission = get_users_with_permission(Permission.WRITE)
for user in users_with_write_permission:
    print(f"User: {user.name}, Permissions: {user.permissions}")

When running the code, the following error occurs:
LookupError: '3' is not among the defined enum values. Enum name: permission. Possible values: READ, WRITE, EXECUTE

Upon investigating how SQLAlchemy handles enum types, particularly in the sqlalchemy/sql/sqltypes.py file, we find that the Enum type has a native_enum parameter, which specifies:
:param native_enum: Use the database's native ENUM type when available. Defaults to True. When False, uses VARCHAR + check constraint for all backends. When False, the VARCHAR length can be controlled with :paramref:.Enum.length; currently "length" is ignored if native_enum=True.

This means that by default, enums are mapped to strings (VARCHAR) in the database, and only the explicitly defined enum values are accepted (i.e., READ, WRITE, EXECUTE in the example above).
When trying to insert combined permissions (e.g., Permission.READ | Permission.WRITE, which equals 3), SQLAlchemy cannot find the corresponding value in the enum, leading to a KeyError, followed by a LookupError.
To resolve this issue, we need to use a TypeDecorator to customize the field type so that it can correctly handle combination values of IntFlag.
from sqlalchemy.types import TypeDecorator, Integer

class IntFlagType(TypeDecorator):
    impl = Integer

    def __init__(self, enum_class, *args, **kwargs):
        self.enum_class = enum_class
        super(IntFlagType, self).__init__(*args, **kwargs)

    def process_bind_param(self, value, dialect):
        if value is not None:
            return int(value)  # Convert Permission to an integer for storage
        else:
            return None

    def process_result_value(self, value, dialect):
        if value is not None:
            return self.enum_class(value)  # Convert the integer back to Permission
        else:
            return None

In the User model, we use the custom IntFlagType to define the permissions field:
from sqlalchemy import Column

class User(SQLModel, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    name: str
    permissions: Permission = Field(sa_column=Column(IntFlagType(Permission)))


Add directory-based file ownership strategy

Adds directory-based file ownership strategy. By adding a .codeowners file in a directory, any files in that directory and sub-directories will be owned by that team. This is a technology-agnostic approach that works with Ruby, JS, and everything else, greatly simplifying how to define ownership.
I tested this out in our company's application repository and it worked as expected.

@shageman @alexevanczuk Can y'all take a look at this? The README has more information on this new approach.

Hi @alexevanczuk.

When would this be used? With front-end packages (I'm assuming the intent is to use this new mapping implementation in the frontend), wouldn't we want JS package ownership? Or is this for front-end code that is not a package?
I could see this being used everywhere (frontend and backend). On the frontend, it would be used for packages that have multiple owners, which is a common scenario. The Gusto backend is moving towards fewer, larger packages, so it might move to a similar situation in which related code in a package is owned by multiple, related teams. Packwerk does allow for nested packages, so that could be an approach used there, but that is not possible with NPM packages. Also, I've heard some opinions against nested packages on the backend too.

How do you feel about the advantage of this over the owned_globs declaration in team YML files?
I vastly prefer to colocate the ownership in the filesystem rather than in some team config file somewhere else in the repository and is the primary reason why I'm much more in favor of directory-based ownership.

The other great argument for directory-based ownership (IMO), is that it is both language and package-technology agnostic. This would work in a C++, Perl, Python, or Rust codebase as well. It's similar to the package-based approach, but doesn't add our own concepts like a "metadata" object to an NPM package.json file which is not standard, for example.

Looks good, one more thing I forgot.
Could you increment the minor version? That way, once tests pass on main, the new gem will automatically be pushed to rubygems without any additional work.

@alexevanczuk Done!

@pbomb There was an issue with CI that I just fixed on main. Can you rebase or merge and push and then we should be good?

@alexevanczuk I merged main into this branch. I'm not sure what it's waiting on approval for?

The approval is since you're a first time contributor to this repo, it needs me to approve running CI (so if you were a bot you couldn't abuse CI to mine bitcoin for example). We should probably get this authz worked properly though so any Gustie has elevated permissions on rubyatscale.

@pbomb Once CI  and CD pass, you should be good to go!


Nothing to see..

hi,
After installing the module, i do not see anyting in the top_center area exept the default.pic
i do not get what you meen with this:
url
Video Streaming URL. You find it in Motion Eye in the Video Streaming Section under Usefull URLs by by clicking the Streaming URL link. It should look something like this: http://motioneye:8081 (probably an IP instead of hostname).
which file do you meen? i did not find anything
i tried to call with the link, but the browser said "cant get motioneye'
http://localhost:8088/motioneye
what do i wrong?

Same question here. How do i find the "video streaming section" and "streaming URL link"?