Speciality Genes page blank

Blank

I'm not sure if harry plans to have an overview here or whether we'll just have the list

let's just go with the list as we do in transcriptomics experiments.


Remove subOperations and fix link

See #188 #198
Signed-off-by: Alan Cha<EMAIL_ADDRESS>

@Alan-Cha Good to have that out of the way.


Type issues with context and auth when upgrading cli from 8.0.0 to 8.0.1

Describe the bug
We're getting a issue with typing when upgrading fusion-framework-cli from 8.0.0 to 8.0.1 and 8.1.0 when using the code from useRelatedContext in the cookbook.
The error goes away when manually downgrading the observable dependency from 8.1.0 to 8.0.3
Related to the same cli upgrade I also get some issues with fetching the access token from window.Fusion.modules.auth. See stacktrace below.
Environment

Windows
Node Version: v18.12.1

To Reproduce
Seems to be enough to just check the types in the cookbook/context in its current state as the cli version is already at 8.0.1
Expected behavior
No type error
Stacktrace
observable:
src/useRelatedContext.tsx:15:5 - error TS2322: Type 'ObservableStateReturnType<ContextItem<Record<string, unknown>>[] | undefined, unknown>' is not assignable to type 'ObservableStateReturnType<ContextItem[], unknown>'.
  Type 'ContextItem<Record<string, unknown>>[] | undefined' is not assignable to type 'ContextItem[]'.
    Type 'undefined' is not assignable to type 'ContextItem[]'.

15     return useObservableState(
       ~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  src/auth/getToken.ts:2
     1  src/useRelatedContext.tsx:15
Waiting for the debugger to disconnect...
error Command failed with exit code 2.

auth:
src/auth/getToken.ts:2:47 - error TS2339: Property 'auth' does not exist on type 'never'.

2     const token = await window.Fusion.modules.auth.acquireAccessToken({ scopes });                                                ~~~~

Found 1 error in src/auth/getToken.ts:2

Additional context
Add any other context about the problem here.

Looks like fusion-framework-react-app 4.1.2 -> 4.1.4 gives the same error.

Just realized that we're not really using this function so It's no longer relevant for us.

only type-hint bug, not affected by build or IDE, only when executing tsc -b for our part
quick an easy fix
Code was made as an example of how to resolve a related context based on a selected context.
This is not a feature exposed by the framework, since implementation will vary for each use case

only type-hint bug, not affected by build or IDE, only when executing tsc -b for our part
quick an easy fix
Code was made as an example of how to resolve a related context based on a selected context.
This is not a feature exposed by the framework, since implementation will vary for each use case


[BUG] Volume is shown in healthy state when attached node is deleted when restore is in progress

Describe the bug
Volume shows healthy even if attached node is deleted when restore was in progress.
Similar to https://github.com/longhorn/longhorn/issues/1355 and https://github.com/longhorn/longhorn/issues/1366
To Reproduce
Steps to reproduce the behavior:

Restore from a backup.
When restore is in progress, delete the attached node.
Volume stays in healthy state and shows 'restore in progress' forever.

Expected behavior
Volume should get faulted if attached node is deleted.
Environment:

Longhorn version: master-05-27-2020
Kubernetes version: v1.17.5
Node OS type and version: Ubuntu 18.04

Are there any differences between this issue and #1355? If NO, I think we can close this one.

This is similar case, here the change is only deletion of node. In #1355 node is powered down and in this one node is deleted.
This issue is created to track deletion case separately. If we want to close this, we can add this scenario in #1355 and close it.

I think node down and kube node deletion are the same for Longhorn. We can track this scenario in #1355 if you want to double-check it.

@khushboo-rancher can you add this case to #1355 ? As @shuo-wu said, power down and not coming back is very similar to removing a node in Longhorn's perspective. We can treat them as the same for now unless we found anything more later.

Closing this issue as this scenario is added in #1355


Fix failing spec for bundle plugin list

What was the end-user problem that led to this PR?
The problem was failure of Travis CI build. (refs: build for #6123)
What was your diagnosis of the problem?
Bundler::Plugin::Index#installed_plugins is keys of Hash,
and Hash is not ordered in prior to Ruby 1.9.
foo and bar plugins defined in spec are not always listed in specified order.
What is your fix for the problem, implemented in this PR?
My fix is to separate tests into for Ruby < 1.9 or not.
Why did you choose this fix out of the possible options?
I chose this fix because this makes code easy to remove if we stop building Ruby < 1.9 in Travis CI.

Thanks! @bundlerbot r+


fix: Update sa role to include apps/deployments

Closes https://github.com/weaveworks/weave-gitops/issues/1580
I am about to do a lot more with that Role, but this should be enough to unblock people for now.

@Callisto13 appreciate this isn't strictly related to your change, but why do we need full permissions on the flux objects for a read-only UI? This seems at odds with what is described in the superuser docs https://docs.gitops.weave.works/docs/next/gitops-dashboard#login-via-an-oidc-provider cc @luizbafilho


aggregates (first/last) on string values fail to return data if the time is lower-bounded before "2015-11-02"

This one has been a real pain to figure out:
I have some STRING values and some NUMERICAL (double) values in two different measurements generatedTag11_DISCRETE_EIGEN_STRING & generatedTag2_ANALOG_EIGEN_NUMERICAL
In their series "value" they have points written with exactly the same timestamps, but the values are strings in one case and doubles in the other. There is exactly the same number of points, the data is of the same duration.
The data is from "2016-01-01" to "2016-01-03"
For the string series I get data if I do this:
SELECT first(value) FROM "generatedTag20_DISCRETE_EIGEN_STRING" WHERE time >= '2015-11-02' AND time < '2016-01-04' GROUP BY time(600000ms) fill(none)

if i decrement the start by one day i get no data (i.e.)
SELECT first(value)  FROM "generatedTag20_DISCRETE_EIGEN_STRING" WHERE time >= '2015-11-01' AND time < '2016-01-04' GROUP BY time(600000ms) fill(none)

..NO DATA is returned..no date prior to this works, dates after and including '2015-11-02'  produce values.
Now for numerical data i get this:
SELECT first(value)  FROM "generatedTag2_ANALOG_EIGEN_NUMERICAL" WHERE time >= '2015-11-01' AND time < '2016-01-04' GROUP BY time(600000ms) fill(none)

SELECT first(value)  FROM "generatedTag2_ANALOG_EIGEN_NUMERICAL" WHERE time >= '2015-10-01' AND time < '2016-01-04' GROUP BY time(600000ms) fill(none)

etc all the way into the past I get values
numerical tags behave as expected
What this also means is if I have string data before this time, and I want to downsample, I can't :(
This also means that down sampling and store queries won't work for string data that operate on the entire DB; such as:
SELECT first(value) AS downsampled_7200000ms INTO testdb_downsampled."default".:MEASUREMENT FROM /.*_EIGEN_STRING/ WHERE time >=<PHONE_NUMBER>00ms AND time <<PHONE_NUMBER>000ms GROUP BY time(7200000ms)

where the time range exceeds the entire data on the db in order down sample the whole lot
Thanks!!

@ianlutzeigen can you try this query on your measurement with strings?
SELECT value FROM "generatedTag20_DISCRETE_EIGEN_STRING" WHERE time < '2015-11-02'

I have a feeling that you wrote float data to this measurement. The query engine attempts to determine which type it should use and cast values to that type. Each shard can have its own type data. It's possible you wrote floats to an earlier shard. When you set the time boundary to 2015-11-02 and above, it likely doesn't include the shard with a float for that field. When you do include a date lower than that, it includes the shard (but may not include any actual data if there was none written in that time period) and then it tries to cast all of the types to a float. Since strings can't be cast to a float, they get discarded and it appears like you have no data.
Removing any time boundaries will also allow you to see if you potentially have other data in their you didn't realize you had.

Hi, I am looking at this again.
There has never been any float data written to this measureme (unless of course I screwed up) its  all done programatically
Since the last post I have changed the schema, and the version .12.2 and its still present (albeit my measurement names have changed)
Now; I have got 2 databases, 1 that has loads different measurements, and one the only has 1 measurement (the measurement in question is one that is exhibiting the problem). The problem is on the database with loads of data, but not on the other, even though the data for the measurement in question is the same.
Now I go and load up the rest of the data into database 2, and the problem exhibits itself.
I have dumped all the writelines of this db to file, so you can replicate it. I am pretty sure you have something that will readthough a file full of writelines and dump into a database for your
This is what I mean:
192-168-1-1:projects ianlutz$ head testdat.writelines
METADATA,tag=egtests-b1 description="egtests-b1",type="",units="" 0
METADATA,tag=egtests-b1 description="egtests-b1",type="_EIGSTR",units="" 0
egtests-b1 status="OK",value_EIGSTR="duck curry muppet curry seven twoweeks happy twoweeks happy seven muppet"<PHONE_NUMBER>000
egtests-b1 status="OK",value_EIGSTR="muppet curry duck curry seven sad seven duck seven curry goat"<PHONE_NUMBER>000
the entire file is about 253m...
and queries:
SELECT first(value_EIGSTR),  first(status) FROM "egtestd-a1a"  WHERE time >= '2015-01-01' AND time < '2016-01-04' GROUP BY time(600000ms) fill(none)
(returns nothing, ie, the bug)
when cleanly we have data
SELECT * FROM "egtestd-a1a" ORDER BY ASC limit 10
(returns data instide the range
egtestd-a1a
time	status	value_EIGSTR
2016-01-01T00:00:00Z	"OK"	"UNKNOWN"
2016-01-01T00:00:10Z	"OK"	"UNKNOWN"
2016-01-01T00:00:20Z	"OK"	"TRANSITION
...
)
now to work out how to get this attachment to you...

nope 10mb limit, shall I share  on google drive ?


Ability to filter by user type on manage users page

Request from community member to be able to filter by user types on the manage users page

Closing in favour of https://github.com/CoderDojo/community-platform/issues/698 as it is more detailed. Essentially what I was asking for!


Add UnixSeqpacket and UnixSeqpacketListener

Same as #25, but rebased on current master.

This should probably be opened against the main rust repository. This crate is basically dead.

Ok, I'm going to give that a try.


Provision Watcher REST API Audit: Read Endpoints

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://wiki.edgexfoundry.org/display/FA/Contributor's+Guide
[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[X] Code style update (formatting, local variables)
[X] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Currently, provision watchers do not match the Swagger API, and that API behaves in strange ways, such as returning a status of Internal Server Error when Not Found would be more appropriate (GetProvisionWatcherByIdentifier).
Issue Number: Fixes #2410
What is the new behavior?
The API now behaves as a reasonable user would expect.
Does this PR introduce a breaking change?

[X] Yes
[ ] No

Black box tests need to be updated. I will push changes for those shortly.
Are there any specific instructions or things that should be known prior to reviewing?

Having run the blackbox tests, they pass. @cherrycl does that mean that there are unexamined cases in the blackbox tests? Specifically:
/v1/provisionwatcher/identifier/{key}/{value} when the provision watcher at the provided identifier does not exist

Codecov Report

Merging #2432 into master will increase coverage by 0.16%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2432      +/-   ##
==========================================
+ Coverage   37.62%   37.79%   +0.16%
==========================================
  Files         157      157
  Lines       12888    12831      -57
==========================================
  Hits         4849     4849
+ Misses       7777     7720      -57
  Partials      262      262

Impacted Files
Coverage Δ

internal/core/metadata/rest_provisionwatcher.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Feature request: Linear weighted Sharpe Ratio

Hi Robert
Its been a while since I have been in touch.
Just a quick hello to thank you for still updating the fabulous project with new features.
Keep up the good work!
Fig

Cheers @lefig! Good to hear from you.
Can you explain a bit more about what "linear weighted sharpe ratio" means, and the situations in which it is useful?
Best,
RObert


Scrolling in web stopped working in latest beta and dev

Steps to Reproduce
1.When mouse pointer is on top of a  GridView or SingleChildScrollView with a Column   its doesn't let scroll on Flutter Web Desktop. It does work on previos beta/dev releases.

Logs
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.0.1 20B29 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0-rc2)
[!] Xcode - develop for iOS and macOS (Xcode 12.2)
    ✗ Xcode requires additional components to be installed in order to run.
      Launch Xcode and install additional required components when prompted or run:
        sudo xcodebuild -runFirstLaunch
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.51.1)
[✓] Connected device (2 available)

I have the exact same problem, judging by user reviews, appeared recently.

so bad i have same problem

Same problem!!!

On the latest beta, Ctrl + Scroll just broke and Flutter no longer captures that shortcut correctly.
Individual onPointerSignal events are still captured. However, when used in conjunction with RawKeyboardListener for composing shortcuts, the browser takes control of the zoom instead of Flutter.
The previous version of beta supported capturing the shortcut.

Flutter Doctor
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.50.1)
[√] Connected device (4 available)

Hi @Bilonik
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Thank you

`import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
Image.network("https://picsum.photos/200/300"),
],
),
),
);
}
}
`

If the mouse pointer is on top of the image it will let you scroll.
flutter doctor -v
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.0.1 20B29 darwin-x64, locale en-US)
    • Flutter version 1.24.0-10.2.pre at /usr/local/Caskroom/flutter/latest/flutter
    • Framework revision 022b333a08 (6 days ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

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

[!] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    ✗ Xcode requires additional components to be installed in order to run.
      Launch Xcode and install additional required components when prompted or run:
        sudo xcodebuild -runFirstLaunch
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (2 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 87.0.4280.67

! Doctor found issues in 1 category.

Reproducible on master and beta channel on Web, iOS and Android. This eventually affect all platforms. Yes this might be caused by https://github.com/flutter/flutter/pull/70953.
Cc @Piinks @HansMuller

flutter doctor -v (master)
[✓] Flutter (Channel master, 1.24.0-8.0.pre.365, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.24.0-8.0.pre.365 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 2ceb371d21 (7 hours ago), 2020-11-24 17:18:06 -0800
    • Engine revision 6ed357c8b3
    • Dart version 2.12.0 (build 2.12.0-74.0.dev)

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

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

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 51.0.3
    • Dart plugin version 202.8070

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

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 86.0.4240.198

• No issues found!

flutter doctor -v (beta)
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.24.0-10.2.pre at /Users/pedromassango/dev/SDKs/flutter_beta
    • Framework revision 022b333a08 (7 days ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

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

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

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 51.0.3
    • Dart plugin version 202.8070

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

[✓] Connected device (3 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Web Server (web)            • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 86.0.4240.198

• No issues found!

@ReniDelonzek on latest master the bug is still there.
@pedromassangocode this was working on 1.23.0-18.1.pre

Appears to be unrelated to regression caused by https://github.com/flutter/flutter/pull/66039, the behavior reproduces before that change.
I checked out 1.23.0-18.1.pre to confirm that it was working then as described above, but still got the same behavior. @Bilonik can you confirm when you last experienced the desired behavior?

@Piinks trying to downgrade flutter to confirm, will try to use fvm to go further back.

While I was at it, I rolled all the way back to 1.20.4, same behavior. I believe this is expected based on the code sample that has been provided:
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SingleChildScrollView(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          children: <Widget>[
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
            Image.network("https://picsum.photos/200/300"),
          ],
        ),
      ),
    );
  }

The SingleChildScrollView takes on the same size as its child, so it would not be larger then the column itself. I believe this is why mouse scrolling outside of the column does not scroll in the sample, the mouse pointer is not currently on top of a scrollable in that case.

Hi, I have the same issue mouse scrolling if i have singlechildscrollview then listview or gridview inside. Mouse scrolling is only scrollable outside listview/gridview.
It happens since I upgrade flutter beta to the latest. Please help check 😢😢

Hi @mybotgb you may be referencing a separate issue that has been fixed (https://github.com/flutter/flutter/issues/70948). That refers specifically to nested scrollables and pointer scrolling. This issue as reported does not contain nested scrollables.
https://github.com/flutter/flutter/issues/70948 is currently fixed on the master channel. If your issue is persisting, please provide a code snippet that reproduces your bug and the output of flutter doctor -v

Hi @Piinks ,
Here is a new code snippet, i just confirmed it works on 1.23.0-18.1.pre but not in any new version.
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  TextEditingController _nameController = new TextEditingController();
  Widget _input(Icon icon, String hint, TextEditingController controller) {
    return Container(
      padding: EdgeInsets.only(left: 20, right: 20),
      child: TextField(
        // autofillHints: [autofil],
        controller: controller,
        style: TextStyle(fontSize: 20, color: Colors.black),
        decoration: InputDecoration(
            hintStyle: TextStyle(
                fontWeight: FontWeight.bold, fontSize: 20, color: Colors.black),
            hintText: hint,
            enabledBorder: OutlineInputBorder(
              borderRadius: BorderRadius.circular(30),
              borderSide: BorderSide(
                color: Color.fromRGBO(244, 213, 227, 1),
                width: 2,
              ),
            ),
            border: OutlineInputBorder(
              borderRadius: BorderRadius.circular(30),
              borderSide: BorderSide(
                color: Color.fromRGBO(227, 54, 56, 1),
                width: 3,
              ),
            ),
            prefixIcon: Padding(
              child: IconTheme(
                data: IconThemeData(
                  color: Color.fromRGBO(227, 54, 56, 1),
                ),
                child: icon,
              ),
              padding: EdgeInsets.only(left: 30, right: 10),
            )),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: Padding(
          padding: const EdgeInsets.only(bottom: 100),
          child: DecoratedBox(
            decoration: BoxDecoration(color: Colors.white),
            child: ClipRRect(
              borderRadius: BorderRadius.only(
                  topLeft: Radius.circular(40.0),
                  topRight: Radius.circular(40.0)),
              child: Container(
                child: ListView(
                  children: <Widget>[
                    Container(
                      child: Stack(
                        children: <Widget>[
                          Positioned(
                            left: 10,
                            top: 10,
                            child: IconButton(
                              onPressed: () {},
                              icon: Icon(
                                Icons.close,
                                size: 30.0,
                                color: Colors.pink,
                              ),
                            ),
                          )
                        ],
                      ),
                      height: 50,
                      width: 50,
                    ),
                    SingleChildScrollView(
                      child: Column(children: <Widget>[
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(
                              bottom: 20,
                              top: 60,
                            ),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(
                              bottom: 20,
                            ),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(
                              bottom: 20,
                            ),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        Container(
                          width: MediaQuery.of(context).size.width * .7,
                          child: Padding(
                            padding: EdgeInsets.only(bottom: 20),
                            child: _input(Icon(Icons.account_circle), "Nombre",
                                _nameController),
                          ),
                        ),
                        SizedBox(
                          height: 70,
                        ),
                      ]),
                    ),
                  ],
                ),
                height: MediaQuery.of(context).size.height / 1.1,
                width: MediaQuery.of(context).size.width,
                color: Colors.white,
              ),
            ),
          ),
        ));
  }
}

Hi @Bilonik, I have run your latest code sample on v1.23.0-18.1.pre and on the latest from master v1.24.0-8.0.pre and scrolling behavior is the same for both. I have no been able to reproduce your issue where the mouse scroll does not make the scroll view scroll.

The SingleChildScrollView takes on the same size as its child, so it would not be larger then the column itself. I believe this is why mouse scrolling outside of the column does not scroll in the sample, the mouse pointer is not currently on top of a scrollable in that case.

@Piinks can we have this information in the docs? It is really easy to misuse this widget that way and with this information in the docs we will avoid people complaining about this in the future.

Hi @mybotgb you may be referencing a separate issue that has been fixed (#70948). That refers specifically to nested scrollables and pointer scrolling. This issue as reported does not contain nested scrollables.
#70948 is currently fixed on the master channel. If your issue is persisting, please provide a code snippet that reproduces your bug and the output of flutter doctor -v

When fixed code will be available on beta channel. Thank you 🦾

@Piinks Confirmed it was fix in the latest master.
The issue is with 1.24.0-10.1.pre and 1.24.0-10.2.pre
Thanks

Thanks for confirming the fix @Bilonik. I am going to close this issue then. Thanks!


Updated parameterized test pattern

Pull Request
🤨 Rationale
Updates the parametrized test pattern to address a few shortcomings in the previous pattern:

Avoids a lot of duplicated boilerplate
Doesn't encourage an approach that results in eslint disables being used often (false positive of await used in a loop)
Prevents accidentally focusing a test and checking it in
Gives decent typing, may take run-time to see if it needs improvements

👩💻 Implementation
Exposed new parameterization helpers named parameterize and parameterizeNamedList and marked the existing method deprecated.
Created a tech debt task to track migrating to the new pattern: https://github.com/ni/nimble/issues/1551
🧪 Testing
Added some tests for the new helpers and migrated a couple of existing tests to the new pattern.
✅ Checklist

[x] I have updated the project documentation to reflect my changes or determined no changes are needed. Added detailed comments to the helper like the deprecated helper did.

@jattasNI I meant to reset you since I changed the pattern 😅
If you have any concerns I can address them in a follow-up


refactor: swap Button component

Checklist:

[ ] I have read and followed the contribution guidelines.
[ ] I have read and followed the how to open a pull request guide.
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

ToDo:

[ ] disable the buttons that has aria-disabled while aren't disabled, mostly the submit challenges buttons.
[ ] add the margin-top to the tool-panel, the best solution for now is to add Spacer.

The failing test is solved in the form PR, we can merge the form PR first to avoid repeating the work.

Can I work on this

@Amit-Morade, feel free to review it if you wish by comparing the buttons on this branch with production.

I'm wondering if it's possible that we could split this PR into multiple smaller parts, maybe we move the straight-forward swaps into one PR, and the more involved ones into others. That would be much easier to review, and shipping the changes would also be a little less risky.

It is possible, I haven't done it because if I wanted to revert the component's PRs, if they break production somehow, through as fewer PRs as possible, so I don't miss something, and the /learn acts weird when you build certain components, it has acted weirdly when I tried to migrate Container, Col, Row and Form Components, but it doesn't hurt to try if the review process is hard.

Sorry @huyenltnguyen, I can't currently commit to creating smaller PRs for the swapping, as I don't have the same time, I had when I started.
If you think the best way to make it less buggy is to make it smaller, feel free to close this and open small ones, don't worry about attribute as I never cared about being attributed.

Awesome, thank you for taking care of it.


Making connect ssh for host openstack infra work

Adding keypair on Provider level. And using this keypair for all the hosts in the provider for ssh.

Don't forget about the file upload field for the private key (can be done in a seperate PR). Thx!

@jrafanie CI weird failure http://paste.openstack.org/show/197514/, is it enough to capture the log output or you wanted something more?

@Ladas I have no idea, I don't see an error.  If there's an error, I typically, grab the failing test information, the PR number or master commit sha1 and the random seed used.  See https://github.com/ManageIQ/manageiq/issues/2317 as an example.

@jrafanie hm the error here was that it just timeouted on something

@Ladas I made some comments in the other PR before realizing it was based on this one.

@Fryguy yes I saw them, I think we can continue here

@jrafanie could you check the CI output?

@Ladas : job restarted

@martinpovolny Regarding using a file upload for the key - do you have any pointers as to how to accomplish that?  I'm running into difficulty as, per my understanding, we have to set the form encoding; however after checking the HTML source for the form, there is no form tag.
I guess I'm a bit confused as to how the form is actually processed... ?

@tzumainn @martinpovolny I think it's all via ajax, so you will need to do that using iframe on the background. But I would guess UI guys have already something usable there? Do you?

@h-kataria : can you, please, point @tzumainn to the file-upload ajax code that you mentioned on the call today, please?

@tzumainn I know we spoke on IRC about this but I figured I'd put it here as a point of reference.
You can find a few examples of a file-upload "ajax" type transaction in the following places:
miq_ae_customization_controller, which handles the Automate -> Customization -> Import/Export accordion. Take a look at app/views/miq_ae_customization/_dialog_import_export.haml and the accompanying javascript app/assets/javascripts/dialog_import_export.js.
miq_ae_tools_controller, which handles Automate -> Import/Export. This similarly uses app/views/miq_ae_tools/_import_export.haml and the javascript app/assets/javascripts/automate_import_export.js.
Finally, the report_controller, which handles Cloud Intelligence -> Reports -> Import/Export accordion, but only the widgets is currently being done in an ajax style. Again, take a look at app/views/report/_export_widgets.haml and the javascript app/assets/javascripts/widget_import_export.js

@eclarizio Yep!  It was very helpful; I have a first pass at the UI at https://github.com/ManageIQ/manageiq/pull/2549.  There are some flaws with the patch, I'm hoping someone might be able to give me some feedback?


testing issues integration

this is just a test :)

Testing comment from Stephen Hodgetts
;-)

looks like it is working now :)

too soon!

Stephen Hodgetts leaving another test comment <3


about ssim

Dear author：
In train.py, I see that psnr is used when verifying the dataset and the best psnr model is saved, but when judging whether it is the optimal model, I do not see the ssim. Is it the best psnr model saved and the ssim tested with the best psnr model.
I would appreciate a reply from the author.
Related code:
if best_metric['psnr'] < current_metric:
best_metric['psnr'] = current_metric
best_metric['iter'] = current_iter
model.save_best(best_metric)

We save the model with the highest PSNR.
The SSIM is tested with the best PSNR model.
If you find our repo helpful, please help us star it. ⭐
Thanks.


Improve local/ development setup

According to the current behavior,  the user needs to be logged in  to access the api docs on the local env. This pull request allows the user on local env to access the docs without logging in.

Allow admin login with username and password

When setting the api for local developement(or for just getting the feel of it)
We need some initial data like admin user, a project a feature etc.
This commit tries to address that issue by automating all that boring stuff
with the help of the fixtures.
To load the data on fresh database run the below command.
python manage.py loaddata  app/fixtures/inti_data.yaml

Admin user created by this fixture have the following credentials:
email<EMAIL_ADDRESS>password: test123

Fixes https://github.com/Flagsmith/flagsmith/issues/206

As discussed, ignore the above comment around the bash script. Let's just remove the user information from this yml file for now.

As discussed, ignore the above comment around the bash script. Let's just remove the user information from this yml file for now.

I think getting rid of the whole yaml file makes more sense, since lot of the other things depends on the user.

As discussed, ignore the above comment around the bash script. Let's just remove the user information from this yml file for now.

I think getting rid of the whole yaml file makes more sense, since lot of the other things depends on the user.

I think we could still have a data file that includes:
an Organisation
a Project
some (2?) Environments
some (3?) Features (which would then create the FeatureStates I think)
I don't think any of those would require the user. Although you'd then still need to add yourself to the Organisation I guess. Maybe it's not worth it 🤔 @dabeeeenster thoughts?

I think for now as long as it sets up some stuff you can hit with the rest api that's enough

I think for now as long as it sets up some stuff you can hit with the rest api that's enough

No, this yaml data load will not work over http.
it's python manage.py loaddata app/fixtures/inti_data.yaml

Sorry - I meant for local testing/dev etc it is fine if we don't have the user auth hooked up for now. If you still have e.g. an API env key etc its probably ok for now


Build Error: cannot import name UserString

Builds for the amara package are failing with this error:
Could not import extension readthedocs_ext.readthedocs (exception: cannot import name UserString)

Here's an example:
https://readthedocs.org/builds/amara/3036398/

UserString isn't defined in our project at all. Do your docs build locally?

I thought they did, but now that I check they don't anymore.
After testing it a bunch, I realize the issue has to do with six.moves.  I'm not sure why, but somehow one of our dependencies changes that.  It seems like it has to do with raven and/or haystack, but I'm not sure which.  At this point, I guess it's more on us than you and we should close this ticket.

FWIW this hack seems to fix things:
https://github.com/pculture/unisubs/commit/48d509e61f980d790ccb9e24615ba6f07a8fbc20


chore(java): Replace io.* in the benchmark with org.apache.fury

CI has been passed, please help to merge it.


:farmer: Flaky Download Model tests (FuelClient, UNIT_gz_src_TEST, UNIT_Interface_TEST)

Environment

OS Version: Ubuntu Focal 20.04
Source build?

Description

Expected behavior: FuelClient, UNIT_gz_src_TEST, and UNIT_Interface_TEST should not fail
Actual behavior: These test sometimes fail when downloading the models

Steps to reproduce

Run a build on https://build.osrfoundation.org/job/ignition_fuel-tools-ci-gz-fuel-tools8-focal-amd64/
See it fail if lucky.

Output
I see this PR made changes on gz_src_TEST.cc for model downloading tests.
Build 21:
FlueClient:
[Err] [FuelClient.cc:662] Failed to download model.
  Server: https://fuel.gazebosim.org
  Route: chapulina/models/test box/tip/test box.zip
  REST response code: 504

Build 20:
It passed (no errors dowloading any model)
Build 19:
FuelClient:
[Err] [FuelClient.cc:662] Failed to download model.
  Server: https://fuel.gazebosim.org
  Route: chapulina/models/test box/tip/test box.zip
  REST response code: 504

Build 18:
UNIT_Interface_TEST:
[Err] [FuelClient.cc:662] Failed to download model.
  Server: https://fuel.gazebosim.org
  Route: openrobotics/models/bus/1/bus.zip
  REST response code: 504

UNIT_gz_src_TEST
[Err] [FuelClient.cc:662] Failed to download model.
  Server: https://fuel.gazebosim.org
  Route: openroboticstest/models/backpack/tip/backpack.zip
  REST response code: 504
[Err] [FuelClient.cc:662] Failed to download model.
  Server: https://fuel.gazebosim.org
  Route: openroboticstest/models/teambase/tip/teambase.zip
  REST response code: 504

We need to update the Fuel server to use S3 as a download mechanism. Currently, a download can be affected by Fuel load.

#316 will help

We now have new gz_src_TEST.CollectionTest/DownloadCollectionTest test regressions in gz-fuel-tools8 focal
Reference build: https://build.osrfoundation.org/job/ignition_fuel-tools-ci-gz-fuel-tools8-focal-amd64/24/
CollectionTest/DownloadCollectionTest.AllItems log output:
/home/jenkins/workspace/ignition_fuel-tools-ci-gz-fuel-tools8-focal-amd64/ign-fuel-tools/src/gz_src_TEST.cc:398
Value of: common::isDirectory( common::joinPaths(this->testCachePath, "fuel.gazebosim.org", "openroboticstest", "models", "backpack", "2"))
  Actual: false
Expected: true

CollectionTest/DownloadCollectionTest.Models log output:
/home/jenkins/workspace/ignition_fuel-tools-ci-gz-fuel-tools8-focal-amd64/ign-fuel-tools/src/gz_src_TEST.cc:461
Value of: common::isDirectory( common::joinPaths(this->testCachePath, "fuel.gazebosim.org", "openroboticstest", "models", "backpack", "2"))
  Actual: false
Expected: true

@nkoenig do you think this could be a gz-common or fuel-tools problem?

Taking a close look at the issue, it seems the error is related to common::joinPaths.
We already have an issue for that one, so I'll link it here: https://github.com/gazebosim/gz-fuel-tools/issues/307
It might be failing because:

This test is probably failing because of https://github.com/gazebosim/gz-fuel-tools/issues/106 (reported 2 years ago).

Redirecting this issue to https://github.com/gazebosim/gz-fuel-tools/issues/340


[Bug] [Master] queue of taskExecutionContext is always null

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
We should set tenant's queue as default queue of taskExecutionContext, however, I can find where it's assigned. Then the queue setting of Spark, Flink, MR,... etc tasks is always ineffective.
ref: https://github.com/apache/dolphinscheduler/pull/14237#discussion_r1210370687
What you expected to happen
Assign the value of queue.
How to reproduce
Submit any types of task mentioned above.
Anything else
No response
Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

it will be very helpful if you have pictures about this problem

it will be very helpful if you have pictures about this problem

Hi, @yanglongsheng , in fact, yarn queue is deprecated in 3.x of DS, this problem is not a bug, I will create another issue/PR to clean up the coded and support yarn queue definition for Spark/Flink/etc... tasks.


containerView is not scrolling vertically.

full frame of child view is not visible how to make  child view scrollable. I have designed all desigen in storyboard and connected scroll view to containerView when i move to child view i am not able to see bottom component of child view and its not scrollable how can I fix this issue? please suggest

hi @anupamkgit  are you have solve this issue ? i have same problem with you also :) thank you

Anyone have solution? I too have same issue

I too have same issue

I just set the containerView equalWidth to the scrollview and it worked.

I just set the containerView equalWidth to the scrollview and it worked.

@anafinotti can you elaborate how to set containerView equalWidth to the scrollview?
also, @anupamkgit do you fixed this issue? I'm having the same problem.

Nevermind I got it working. I just create a scroll view in my child view.

What you can do is remove the top level view. and put container-view and on top of it collection view. so the hierarchy will be like container view and on top of it collection view.


Question about Toredo tunneling

Description
Hello I just am very curious and have a few questions about Toredo tunneling.

What provider are you using to give us IPv6 through GBDPI? (My ISP doesn't have native IPv6).

IPv6 is SOOOO helpful in circumventing and opening all blocked (censored) websites.
For example I was never able to open blocked HTTP websites but now with Toredo IPv6 I can (I was only able to open blocked HTTPS websites without Toredo).

It used to work before for quite a while and then it stopped working.. why?! But now it's working again fortunately.

Thanks very much, I appreciate your time and effort.

You mean Teredo?

What provider are you using to give us IPv6 through GBDPI? (My ISP doesn't have native IPv6).

GoodbyeDPI does not provide IPv6 access, it only modifies the packets over IPv6 too, as well as with IPv4. It does not use any external service and does not tunnel/proxy the traffic.

[Teredo]… used to work before for quite a while and then it stopped working.. why?! But now it's working again fortunately.

I don't know, you should check your Teredo configuration and server. GoodbyeDPI could not influence your IPv6 connectivity.

Oh.. I understand now ValdikSS :) Thanks very much!
@r4sas yes.. xD


Paste event on document not triggered in Polymer 2

Description
After adding an event listener on the 'paste' event to the document, the event is never triggered in Polymer 2. In 1.8.1, everything works as expected.
Live Demo
I only tested the jsbin on Chrome.
Working (v1.8.1): https://jsbin.com/kohojo/edit?html,console,output
Not working (v2.0.0-rc.3): https://jsbin.com/geyejeb/edit?html,console,output
Steps to Reproduce
Run each of the live demos. When loaded, focus the "Output" window, press "Alt + Print Screen" and "Ctrl + V" (on Windows) or "Shift + Ctrl + Cmd + 3" and "Cmd + V" (on Mac) to try to paste an image.
Alternatively, to test other browsers, I used the polymer-2-application and polymer-1-application with "polymer init". I didn't test on Safari 8, 9, and IE 11, but expect the same behavior.
Expected Results
I can get a paste event in Polymer 2, too.
Actual Results
No paste event is triggered in Polymer 2.
Browsers Affected

[x] Chrome
[x] Firefox
[x] Edge
[ ] Safari 9
[ ] Safari 8
[ ] IE 11

Versions

Polymer: v2.0.0-rc.3
webcomponents: v1.0.0-rc.5

Wow, looks like you stumbled onto a ShadowDOM v1 spec bug.
This demo only works in Chrome, but shows that the paste event is not set to bubble through ShadowDOM v1: https://jsbin.com/pobugig/edit?html,console,output
I'll bring this up with the spec team.

The problem is that the event is being captured by the shadowRoot, and was not emitted using {composed: true} so it doesn't cross the shadow-dom boundary.
I had the same issue when working with the Fullscreen API, and the fullscreenchange event didn't cross the dom boundary.
The reason you're seeing this now, is that this doesn't happen when using the polyfill, so you have to handle this differently for different browsers (eg. firefox vs chrome).
If you change
document.addEventListener('paste', this._onPaste.bind(this));

to
this.shadowRoot.addEventListener('paste', this._onPaste.bind(this));

you can see the event is being captured by the element.

Ah, looks like ClipboardEvent was excluded from being composed: true for a lack of use cases: https://github.com/w3c/webcomponents/issues/513#issuecomment-224468080
Seems like it should be easy to make a case for including them.

Thanks a lot for your feedback and the clarifications. Our use case is that we want to capture paste events on the global root element containing all other elements, so it doesn't matter which element is currently focused. jsilvermist's workaround works, if you only have one element (as in my original jsbin). However, if you have a hierarchy of elements, as in https://jsbin.com/mijehel/edit?html,console,output, I would have to capture paste events in all possible children.
Is there any other easy way to achieve, what we want?
azakus, could you please keep me updated on whether and when you think that ClipboardEvent can be included in being composed: true?

Shorter-term, probably the best approach would be to make a "ForwardClipboardEvents" mixin that listens for clipboard events on the shadowRoot and re-fires them on the shadowRoot's host, and apply that to your elements that contain inputs.
Unfortunately, the shadydom polyfill currently doesn't support shadowRoot.addEventListener, but we have a tracking bug to implement that here: https://github.com/webcomponents/shadydom/issues/82.
Until then, seems like a mixin could just do this.shadowRoot.querySelectorAll('input,[contenteditable]').forEach(el=>el.addEventListener(...)) for the events that needed forwarding.


GCC 14.2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Attempting to bring in GCC 14.2 here - not sure why so much changed as a result of the rerender - does this look correct?

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@conda-forge-admin rerender

@isuruf rerendering with conda-build 24.7.1 seems to have done something (old conda-smithy wasn't required, can rerender with latest if needed).

Would love to get this merged: the gcc 14.1 clang breakage is affecting my builds currently. Appreciate the work you do here: thanks!

Thanks

Thanks @isuruf and @apmorton !


Use ExtensionsManager.lookupExtensionSettingsById when verifying extension unique id

Description
The current method being used to permit handshake requests from extensions is failing because an extension with the unique id is not present in the map of initialized extensions. Since the handshake is the first request performed to initialize an extension, the extension will not be available in the map of initialized extensions. This PR consumes a new method defined in core to get extension settings by unique id which checks to see if the extension unique id is present in the list of extensions in extensions/extensions.yml
Associated PR in core: https://github.com/opensearch-project/OpenSearch/pull/7466

Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Bug fix
Issues Resolved
https://github.com/opensearch-project/security/issues/2747
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Curious what settings of extensions is security plugin interested in ?

@saratvemulapalli There are a couple of instances where security would like to "extend" the settings in extensions.yml similar to how ActionPlugin.getSettings() works for extending opensearch where plugins can add settings that would be placed in opensearch.yml. Is it right to treat extensions/extensions.yml as static settings for each installed extension and compare it to opensearch.yml
See this issue for 2 examples of settings that security would like to add and read from extensions.yml: https://github.com/opensearch-project/security/issues/2746

@saratvemulapalli There are a couple of instances where security would like to "extend" the settings in extensions.yml similar to how ActionPlugin.getSettings() works for extending opensearch where plugins can add settings that would be placed in opensearch.yml. Is it right to treat extensions/extensions.yml as static settings for each installed extension and compare it to opensearch.yml?
See this issue for 2 examples of settings that security would like to add and read from extensions.yml: #2746

Thanks @cwperks. It makes sense to read information. I have few questions on writing to extensions.yml, we can continue to converse on: https://github.com/opensearch-project/security/issues/2746

BWC tests are blocked on failing CI because 2.x branch needs this fix backported to it as well.  I will bypass these tests and merge if everything else passed so this change can be backported to unblock all branches.

Codecov Report

Merging #2749 (14f973c) into main (54d47ab) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##               main    #2749   +/-   ##
=========================================
  Coverage     61.36%   61.36%
- Complexity     3413     3414    +1
=========================================
  Files           272      272
  Lines         18850    18850
  Branches       3296     3296
=========================================
  Hits          11568    11568
  Misses         5684     5684
  Partials       1598     1598

Impacted Files
Coverage Δ

...rch/security/transport/SecurityRequestHandler.java
63.70% <0.00%> (ø)


requirements.txt has conflicting dependencies

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

pip install -r requirements.txt

Any log messages given by the failure

ERROR: Cannot install -r requirements.txt (line 1), flask==2.2.2 and werkzeug<2 and >=1 because these package versions have conflicting dependencies.
The user requested werkzeug<2 and >=1
flask 2.0.0 depends on Werkzeug>=2.0

Expected/desired behavior

Install dependencies without error. :)
This combination does work:
Werkzeug=2.2.2
Flask=2.2.2
Flask-session=0.4.0

OS and Version?

Win 11 Pro

Versions

21H2

Mention any other details that might be useful

Thanks! We'll be in touch soon.

@AndreaGlatthor thank you for providing the combination of dependencies that work!


Add Rust/Go SDK updates to post_install

Not sure if this is necessary but I see post_install steps to upgrade templates for python and js SDKs; does the new separate https://github.com/fermyon/spin-rust-sdk/ and https://github.com/fermyon/spin-go-sdk need the same?

@lann Yes, previously CI tagged rust/go on releases.


Track IntelliJ's misc.xml in Git

This now tracks:

javax.annotation.Nullable and Nonnull as default nullability annotations. (See https://youtrack.jetbrains.com/issue/IDEA-354115)
@ArchTest and @Provides annotations as entry points. (See https://youtrack.jetbrains.com/issue/IDEA-354114)

The rest seems to be required.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle merge this.

Can't merge a draft PR.

WARN: The milestone of this PR is 8.10 RC1, but the base branch version is 8.9


Send VSCode notifications via CLI

AFAIK currently sending notifications within VSCode is available only for extensions, via the API: https://code.visualstudio.com/api/extension-capabilities/common-capabilities#display-notifications
It'd be great if we could send notifications from anywhere into the currently open/active VSCode window via the CLI tool, say code --notify ....

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Isochrone along direction map of watershed

Hi everybody,
I am trying to generate a isochrone map starting from a map of the times to cross a single cell and a flow direction map. Basically, the final map has to provide, for each cell, the total time to reach the outlet of the watershed, which will be given by the sum of all the values in the cost map (i.e., the time map to cross a single cell) of the cells falling within the flow path provided by the flow direction.
To extract the path from a point to the outlet i can use TraceDownslopeFlowPath and then through RasterCalculator I can sum all the values of my cost map of the cells along the path. However, this procedure should be repeated for all the cells of my raster.
Is there a procedure to follow or a tool that i can use?
Best.
Giuseppe

Hi Giuseppe,
This section of the Github repo is intended for issues with the software and is not intended for general questions or discussion. Instead, please post your question to the Discussions section, or to the Google Groups email listserv. Thanks you.
Regards,
John

Dear John,
thank you so much for your quick reply and I am sorry for the issue. I just posted my question on both the Discussion section and the Google Groups email listserv.
Best.
Giuseppe


Gyros snap the ship to face north on loading into a world

Description
If you have an already assembled ship and log out and log back in, the gyro appears to snap to its "default position" which looks like north.
To Reproduce

build a ship with powered gyros onboard
log out
log in
see your ship spin around to north

Expected behavior
The ship should remain in the position it was in when logging out and back in. (maybe get the ship's facing direction when logging in and use that to direct the gyros?)
Versions

VS2 version: 1.20.1-forge-2.3.0-beta.5
Mekanism version: <IP_ADDRESS>

That's. . . Interesting bug. Will look into it, considering how gyro works o didn't even think it's possible  is it getting weird target rotation maybe?

its prolly not storing the rotation between reloads

It's not, but it's supposed to get it from ship itself


notification: Fix bad rendering of math formulas in push & desktop notifications.

Earlier, for the push & desktop notifications having latex math like "$$1 \oplus 0 = 1$$, the notification had the math included multiple times.
This PR fixes the incorrect behavior by replacing the KaTeX with the raw LaTeX source.

First commit: push notification
Seconf commit: desktop notification

Fixes #25289.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

lgtm, marked to merge once CI passes, thanks @prakhar1144!


document bug report: chainer.Link page has incorrect code.

https://docs.chainer.org/en/stable/reference/core/generated/chainer.Link.html?highlight=Link
there is an example:
 import chainer
import chainer.functions as F
from chainer import initializers
import numpy as np

class LinearLayer(chainer.Link):

    def __init__(self, n_in, n_out):
        super(LinearLayer, self).__init__()
        with self.init_scope():
            self.W = chainer.Parameter(
                (n_out, n_in), initializers.Normal())
            self.b = chainer.Parameter(
                (n_out,), initializers.Zero())

    def __call__(self, x):
        return F.linear(x, self.W, self.b)

but chainer.Parameter constructor function is define as :
class chainer.Parameter(initializer=None, shape=None, name=None)
note that the order of argument.
so if we omit the parameter keyword , this is incorrect code.

Thank you for reporting it. It has been fixed with #2814, but it's not been back-ported to v2 yet. I'll make a back-port PR of it. Thanks.


Chore/dashboard hide

Hide dashboard for prod and remove background box in stats section

If you are removing dashboard from the header, there is still the dashboard menu option for mobile

📝 Changed routes:

/admin
/admin/scan

(view full size)
(view full size)

…ents/AnnouncementCards
…rd/Components/DocLinks

(view full size)
(view full size)

…Components/MentorCard1
…Components/MentorCard3

(view full size)
(view full size)

And 25 other routes:

/api/announcements
/api/applications/[applicationId]
/api/applications
/api/members
/api/questions/[userId]/answered
/api/questions/[userId]/pending
/api/questions/faq
/api/questions
/api/questions/pending/[questionId]
/api/questions/pending
/api/scan
/api/scantypes
/api/userinfo
/api/users
/dashboard/Components/Sidebar
/dashboard/Components/SponsorChallenge
/dashboard/Components/SpotlightCard
/dashboard/Components/SpotlightCardScroll
/dashboard/hackerpack
/dashboard
/dashboard/scan-in
/dashboard/submit
/
/speakers
/sponsors

Commit ebd5583079e518fc6d8671349111fb185fc0b3cf (https://hackportal-hackutd-jldotcrbb-acmutd.vercel.app).


User story 3 - As a Report Compiler, I require a functionality to generate a city report including the following columns: City Name, Country, District, and Population, to compile detailed city-level data for analysis, decision-making, and reporting purposes within the organization

tasks to complete
Connect to the existing database.
Add function to retrieve data on population
Add function to retrieve data on countries
Add function to retrieve data on city name
Add function to retrieve data on Districts
Generate report

select
A. Name as cityname,
B. Name as countryname,
A. District,
A. Population
from city A
left join country B on A. CountryCode = B. Code


token-swap: Add offset curve and math

In order to properly do the single token conversion for the normal constant product curve and the new offset curve, we need to calculate a square root, since the total value of the pool goes up with the square root of the token amount.
This also contains a fix for calculating the value of deposits.  Before, we were getting the proportion of the deposit based on the amount currently stored in the swap, which is incorrect.  Now it's calculated based on how much the swap will have after the deposit.
This resurrects the PreciseNumber work used for weights in #574 and some of the work removed from https://github.com/solana-labs/solana-program-library/pull/508/commits/a8ef645b866063104869238abd387694fcd97179.  In the end, the Taylor series expansion being used for the power wasn't always the right option.  When some of the amount is close to 0, we can have huge relative swings when hanging out close to 0, which makes the base of our exponent too big to reliably calculate, so instead we're using a newtonian approximation.
Note that this depends on the changes in #934, so those are included in this PR as well.
PR has been rebased on #934 for easier reading.
@CriesofCarrots since you've looked at a bit of the math before, could you look through the changes at math.rs and specifically trading_tokens_to_pool_tokens in offset.rs and calculator.rs?

cargo-build-test and js-token-swap both pass locally

Merging on red -- tests pass locally


SQL query using nvarchar instead of char

Hello! I have a legacy table that has a column of CHAR(8) datatype. There is an index on this column which makes look-ups very fast even though it is a large table.
Here is a snippet of the model generated through inspectdb:
class OrderBuild(models.Model):
    ord_no = models.CharField(max_length=8)
    id = models.AutoField(db_column='ID', unique=True, primary_key=True)

    class Meta:
        managed = False
        db_table = 'imorders_sql'

I can query this model on the ord_no column like so:
order="12345678"
OrderBuild.objects.filter(ord_no=order)

This appears to work fine, however, I noticed it seemed to execute much slower than it should be.  I noticed that when using the SSMS Event Profiler to track that execution of the query, the filter parameter is declared as nvarchar(16).
declare @p1 int  set @p1=1  exec sp_prepexec @p1 output,N'@P1 nvarchar(16)',N'SELECT [imorders_sql].[ord_no], [imorders_sql].[item_no], [imorders_sql].[qty], [imorders_sql].[qty_per], [imorders_sql].[ID] FROM [imorders_sql] WHERE [imorders_sql].[ord_no] = @P1',N'12345678'  select @p1
Unfortunately, because the parameter is an nvarchar(16) rather than char(8), SQL Server cannot use an index seek to query the data and rather does an index scan which takes significantly longer in my case.
I can work around this problem by doing something like:
OrderBuild.objects.extra(
    where=('ord_no = CAST(%s as CHAR(8))',),
    params=(order,))

This forces the parameter to be converted to the correct datatype and SQL Server is able to use an Index Seek rather than scan making it execute much faster. However, this is not a great long-term solution because extra() may be deprecated by Django in the future.
I am wondering why it is using nvarchar(16) rather than char(8) and if there is any way besides extra() to force the query to parameterize with a char(8) datatype instead. Thanks!

we have the same issue and it's killing our production performance. We have too many tables with CustomUUIDField - char(32) as primary key and many foreign relationships.
Indexes not getting used appropriately is making us now write a huge migration.


Incompatibility with CX-Freeze and PyInstaller

As reported on StackOverflow, the latest Requests version dies on initialization in an app frozen app by CX-Freeze / PyInstaller.  But Requests version 2.11.1 works OK.
Expected Result
The current versions of Requests run without exception,  like version 2.11.1 does.
Actual Result
This exception occurred:
Traceback (most recent call last):
File "C:\PythonEnvs\CL\Client32\lib\site-packages\cx_Freeze\initscripts_startup_.py", line 14, in run
module.run()
File "C:\PythonEnvs\CL\Client32\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
exec(code, m.dict)
File "PythonSocketIoClient.py", line 5, in
File "C:\PythonEnvs\CL\Client32\lib\site-packages\socketIO_client_init_.py", line 14, in
from .transports import (
File "C:\PythonEnvs\CL\Client32\lib\site-packages\socketIO_client\transports.py", line 1, in
import requests
File "C:\PythonEnvs\CL\Client32\lib\site-packages\requests_init_.py", line 98, in
from . import packages
File "C:\PythonEnvs\CL\Client32\lib\site-packages\requests\packages.py", line 7, in
locals()[package] = import(package)
File "C:\PythonEnvs\CL\Client32\lib\site-packages\idna_init_.py", line 2, in
from .core import *
File "C:\PythonEnvs\CL\Client32\lib\site-packages\idna\core.py", line 1, in
from . import idnadata
ImportError: cannot import name 'idnadata'
Reproduction Steps
Run CX-Freeze (or PyInstaller) with the appropriate Requests version installed, to compare the results.
System Information
{
"chardet": {
"version": "3.0.4"
},
"cryptography": {
"version": ""
},
"idna": {
"version": "2.6"
},
"implementation": {
"name": "CPython",
"version": "3.6.4"
},
"platform": {
"release": "10",
"system": "Windows"
},
"pyOpenSSL": {
"openssl_version": "",
"version": null
},
"requests": {
"version": "2.18.4"
},
"system_ssl": {
"version": "100020bf"
},
"urllib3": {
"version": "1.22"
},
"using_pyopenssl": false
}

Hi @dcsoft4, this is either an issue with your local installation or PyInstaller. It can’t find resources for us a which are a requirement for modern versions of Requests. Ensure you have idna installed properly and see if that fixes the issue.
In the future, please route questions for assistance to StackOverflow with the python-requests tag. We’re happy to follow up over there. We try to keep the issue tracker solely for defects in Requests which this doesn’t appear to be. Thanks!

There are also numerous examples of other issues which are already closed and solved to research. Please always search closed issues before opening new ones.


invalid selector error when using $ syntax on numerical id

I'm getting an error when attempting to use a selector that starts with a number? At least that the only time I see the error. Non-numeric ids seem to all work fine...
Element works as expected when using element syntax:
this.layerImg = element(by.id('5508ce43a91b2'));
Works fine:
this.whatever = $('#someId');
But throws error when using $ syntax:
this.layerImg = $('#5508ce43a91b2');
I'm running Protractor 2.0 and Jasmine2.
The error:
- Failed: invalid selector: An invalid or illegal selector was specified
  (Session info: chrome=41.0.2272.104)
  (Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Mac OS X 10.10.2 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 20 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html
Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
System info: host: '13.local', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.2', java.version: '1.7.0_75'
*** Element info: {Using=css selector, value=#5508ce43a91b2}
Session ID: 2c222405e47f430b119e7716791c1db0
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/var/folders/39/2gckmzs959l7x2y1rn_cp9tc0000gn/T/.org.chromium.Chromium.k7tLXw}, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=41.0.2272.104, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, applicationCacheEnabled=false, takesScreenshot=true}]
        (Session info: chrome=41.0.2272.104)
        (Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Mac OS X 10.10.2 x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 20 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html
      Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
      System info: host: '13.local', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.2', java.version: '1.7.0_75'
      *** Element info: {Using=css selector, value=#5508ce43a91b2}
      Session ID: 2c222405e47f430b119e7716791c1db0
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/var/folders/39/2gckmzs959l7x2y1rn_cp9tc0000gn/T/.org.chromium.Chromium.k7tLXw}, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=41.0.2272.104, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, applicationCacheEnabled=false, takesScreenshot=true}]

Interesting! I see the same when I just try to use document.querySelector('#123') in the chrome dev tools console. See this SO post about it: http://stackoverflow.com/questions/20306204/using-queryselector-with-ids-that-are-numbers
Oddly, element(by.id('1abc')) works fine. So, you can use that as a workaround for the moment, or use the escaping listed in the link above.
I'm going to close this as, strangely, working as intended.

Ha! Thanks Julie...

Random addition to this in case anybody stumbles here.  It's the fundamental component of a CSS identifier that it NOT start with a number. https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier.  Somehow I think Chromium's document.querySelector() just started enforcing that...


GitHub PR #29 Squash, Clean

Plain text HTTP response for Acme challenge. Removed unnecessary rendering of HTML templates.
Whitespace fix & unit test response updated
Import cleanup
whitespace removed
Cleanup

🎉 🎉 Thank you @petercuret for your CONTRIBUTION from PR #29 ! 🎉 🎉
I'll be preparing this for a 1.x release shortly.

🎉🎉  You're  welcom! Thanks for the library, keep up the good work! 😁


Not correct a Docker Compose version for a new Project

New projects always have v2 of Docker Compose version, the app always skips a selected version.

Any update on this issue?


Moving help lint

The code added to check for leaks caused an impossible to solve circularity in the bootstrap from help.lint -> tools.destructors and then back to help.tips. You would have to change the order in which bootstrap/stage2.factor loads vocabs but then you would likely just cause more dependency cycles between other vocabs.
So if the mountain won't come to Muhammed, Muhammed has to come to the mountain. So I moved the help.lint vocabs to tools.help-lint. This fixes the bootstrap issues. Which I don't think is so bad because a help lint tool sounds (to me) as a better fit in tools  than help anyway.

I fixed this a little bit differently, by moving the TIP: from tools.destructors to help.tips, which fixes the cycle.
a33fc84de7fa5189e1ff1135736beed9753e33cc

Anyway, merged, thanks!!!

sounds good to me!


EndpointConventions and multiple IBus

Question: Is it still true that if one can't use the static EndpointConvention.Map method (because 1-n buses with of course different transports), one has to pass the bus-address around to send message by obtaining an ISendEndpoint form an ISendEndpointProvider?
It would be really helpful if one could attach EndpointConventions to the bus itself or when configuring a sendendpoint with (e.g.) IRabbitMqMessageSendTopologyConfigurator.
Alternatively, a EndpointConvention dependent could not only depend on message type, but on message type and transport?
Or did I overlook something because the documentation might not be completely updated after all? https://masstransit-project.com/MassTransit/usage/producing-messages.html#using-endpoint-conventions
Thank you very much, Axel.

Up front answer, there isn't going to be any work to enhance the EndpointConvention support now or in the near future. So if it doesn't work for you today, consider using another type of convention to resolve your endpoint address.
I'm only trying to set expectations, not saying there isn't a better way to do it.

Which type of convention to resolve an endpoint address could this be? Is there an already existing way to achieve this (setting target queue for a message type without the need to always explicitly call GetSendEndPoint)?

By other type, I meant your own code. There isn't anything in MassTransit tied to the bus to provide endpoint conventions.
I'm going to close this, but you're welcome to take the conversation to the Gitter chat room.


time: time.FixedZone used most of memory when trasfer json marshaled time data among servers in different time zone

What version of Go are you using (go version)?

$ go version
go version go1.15.3 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/test/.cache/go-build"
GOENV="/home/test/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/test/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/test/go"
GOPRIVATE=""
GOPROXY="https://goproxy.io,direct"
GOROOT="/usr/lib/golang"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build986830040=/tmp/go-build -gno-record-gcc-switches"

What did you do?
transfer struct data with json marshal betwen server and client, which includes three time fileds,
The special place is the server and cliet have differnt time zone.

What did you expect to see?
What did you see instead?
time.FixedZone uses most of the memory.
(pprof) top10
Showing nodes accounting for 10211.07MB, 99.46% of 10266.25MB total
Dropped 42 nodes (cum <= 51.33MB)
Showing top 10 nodes out of 33
flat  flat%   sum%        cum   cum%
4563.38MB 44.45% 44.45%  4563.38MB 44.45%  time.FixedZone (inline)

Thank you for raising this issue. Before we can proceed you will need to provide a small runnable go program that demonstrates the problem and someone else can use to reproduce the issue you are seeing.
Thank you

We have a filesystem service which written in go. there are some file meta information transferd between the fuse client and the meta server. we use json to marshal the struct. which include three time filed; beacue the time zone of client is different from the server. the client will create so many temporary objects named time.FixedZone when unmarshal the data. which leads to client OOM. so I think why we marshal time in uinx time(int64) and recreate the time with local time zone when unmarshal.

We have a filesystem service which written in go. there are some file meta information transferd between the fuse client and the meta server. we use json to marshal the struct. which include three time filed; beacue the time zone of client is different from the server. the client will create so many temporary objects named time.FixedZone when unmarshal the data. which leads to client OOM. so I think why we marshal time in uinx time(int64) and recreate the time with local time zone when unmarshal. PR #42577

Thank you for the explanation. I see in the PR you sent that the issue is related to json. Can you please write a sample program to demonstrate the problem.

Here is my code.
1. version1
Server: time zone is CST-8,
type InodeInfo struct {
    Inode      uint64     `json:"ino"`
    Mode       uint32     `json:"mode"`
    Nlink      uint32     `json:"nlink"`
    Size       uint64     `json:"sz"`
    Uid        uint32     `json:"uid"`
    Gid        uint32     `json:"gid"`
    Generation uint64     `json:"gen"`
    ModifyTime time.Time  `json:"mt"`
    CreateTime time.Time  `json:"ct"`
    AccessTime time.Time  `json:"at"`
    Target     []byte     `json:"tgt"`
    PInode     uint64     `json:"pino"`
}

data := json.Marshal(inode)

after marshal the data,we transfer it to client with tcp and unmarshal the data.
Client: time zone is UTC0,
inodeInfo := new(InodeInfo)
err := json.Unmarshal(data, inodeInfo)

because the client and the server have different time zone, the client will create so many tempory timezone objects when unmarshal the data, and they take up a lot of memory,the details are as follows:
(pprof) top10
Showing nodes accounting for 10211.07MB, 99.46% of 10266.25MB total
Dropped 42 nodes (cum <= 51.33MB)
Showing top 10 nodes out of 33
flat flat% sum% cum cum%
4563.38MB 44.45% 44.45% 4563.38MB 44.45% time.FixedZone (inline)

2.version2(fix)
At last. we change our struct in order to solve the proble.
Server: time zone is CST-8,
type InodeInfo struct {
    Inode      uint64     `json:"ino"`
    Mode       uint32     `json:"mode"`
    Nlink      uint32     `json:"nlink"`
    Size       uint64     `json:"sz"`
    Uid        uint32     `json:"uid"`
    Gid        uint32     `json:"gid"`
    Generation uint64     `json:"gen"`  // with second
    ModifyTime int64      `json:"mt"`   // with second
    CreateTime int64      `json:"ct"`   // witch second
    AccessTime int64      `json:"at"`
    Target     []byte     `json:"tgt"`
    PInode     uint64     `json:"pino"`
}

Client: time zone is UTC0,
inodeInfo := new(InodeInfo)
err := json.Unmarshal(data, inodeInfo)
ModifyTime := time.Unix(inodeInfo.ModifyTime, 0)
CreateTime := time.Unix(inodeInfo.CreateTime, 0)
AccessTime := time.Unix(inodeInfo.AccessTime, 0)

Here is my idea, why we not marshal the time filed with UnixNano(int64) and use the local time zone to recate the time filed when we unmarshal  the struct in standard package time. so I create this issue and a PR.

cc @mvdan
@gopherbot remove WaitingForInfo

I'm not sure I understand this issue. If you don't like that time.Time marshals and unmarshals to a format with a timezone, why don't you just marshal and unmarshal its UnixNano integer directly?
The change you proposed would break existing programs, so we definitely cannot do that.
There's always the option of trying to optimize the existing code without changing the API. For example, I see that the code does Parse(`"`+RFC3339+`"`, string(data)), which seems a bit wasteful - we probably make a copy of both the format and the incoming data, neither of which is truly necessary.

@mvdan,Thank you for your reply.Just like what you say,we marshal its UnixNano directly after analysis.but at the begging, we don't konw the temporary variable time.FixedZone would take up so much memory when we umarshal the data , which created by Parse function you mentioned.Maybe there are other better ways to optimize.I will close this issue.

I've closed this issue since @SpaceYang mentioned they would close it. Please reopen this issue if you believe the issue was closed in error.


command '..' permission denied

could you elaborate @VerinAntoine  ?

when $ .. the shell should have a unknown command instead of a permission denied


Unexpected behaviour for crosscheck with skylab

Describe the bug
When stacking more than about 10 sources, flarestack's results deviate from expectations as well as from the reference skylab results.
To Reproduce
Steps to reproduce the behavior:

Run 'flarestack/analyses/skylab_crosscheck/calculate_skylab_sensitivity.py'
Look at the produced plots

Expected behavior
The expected relation of sensitivity flux and number of stacked sources lies in between F proportional so sqrt(N) and F=const.
sens_nsources_gamma=2.0.pdf
sens_nsources_gamma=2.0_persource.pdf

Turned out it was a bug in the skylab script. No everything looks fine.
sens_nsources_gamma=2.0_persource.pdf


Move user_follow to separate file

Move user-following code from models/user.go to models/user_follow.go. Also add unit tests for models/user_follow.go.

LGTM

LGTM


Can't open https://styled-system.com/

Can't open https://styled-system.com/ ,report :ERR_SSL_VERSION_OR_CIPHER_MISMATCH

The URL should be working -- looks like you might have a network issue, but I'm really not sure, sorry...


Body size upload limits with HTTPS

I've got a production site running Laravel 5.3 which I'm trialling Caddy with on a staging server. There's a main image upload feature, where people can upload images of various sizes: 500Kb-75MB or so. This works great with NGINX, but is pulling funnies with Caddy.
Files < 400Kb or so upload just fine through Caddy, however, if I throw something > 1MB at it, Caddy just hangs. No errors reported that I can find. Caddy gets the SSL cert, serves all my 'regular' files just fine, but conks out on large uploads.
I'm using the stock download with no plugins.
PhpInfo is the same as the working live site, and reports:
post_max_size   100M
upload_max_filesize 100M
max_execution_time  300

so I'm pretty sure it's not a PHP issue. Any suggestions on how to fix the silent hanging?
1. What version of Caddy are you running (caddy -version)?
.93
2. What are you trying to do?
Upload largish image files
3. What is your entire Caddyfile?
'my staging website here' {
    tls 'my email address here'

    root /var/www/public

    log stdout
    errors stdout

    fastcgi / <IP_ADDRESS>:9000 php {
        index index.php
    }

    rewrite {
        to {path} {path}/ /index.php?{query}
    }
}

4. How did you run Caddy (give the full command and describe the execution environment)?
via Supervisor in a Docker container:
[program:caddy]
command=/usr/bin/caddy -conf="/etc/Caddyfile" -ca "https://acme-staging.api.letsencrypt.org/directory"
autorestart=true
stdout_events_enabled=true
stderr_events_enabled=true
redirect_stderr=true
stdout_logfile=/var/log/supervisor/caddy.log

5. What did you expect to see?
Files uploaded!
6. What did you see instead (give full error messages and/or log)?
I've got Charles Proxy monitoring the whole thing, and it just sits there waiting to hear back from Caddy. Caddy Log is normal
7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
Upload some large jpgs??

Hi @timothyallan, I'm about to set Caddy up and I'm curious why Supervisor is being used if you're running Caddy in a Docker container?

Oh, that's because I've got caddy and php7 running in the same container, plus a startup script that needs to do some housekeeping while they're all starting up.

Okay, after much more mucking around, this only happens on HTTPS connections. With HTTP I can upload any file size to my hearts content. I've got it on a Digital Ocean droplet currently, with a valid HTTPS cert from the cme-staging.api.letsencrypt.org CA.
Commenting out the HTTPS code, and using the following 'fixes' the mysterious hanging issue.
#'my staging website here'
<IP_ADDRESS>:80 {
  #  tls 'my email address here'

Still trying to get this going. HTTP works great, as soon as HTTPS is enabled, it dies on large file uploads. Here's a report from Charles Proxy, do any of the settings ring an alarm bell?
URL	https://staging.myrealurl.com/api/v1
Status	Sending request body…
Response Code	-
Protocol	HTTP/2.0
SSL	TLSv1.2 (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384)
Method	POST
Kept Alive	Yes
Content-Type	-
Client Address	/<IP_ADDRESS>
Remote Address	staging.myrealurl.com/my.real.ip.here
Connection
Connection	#969448758
Stream Id	59
Client Settings
SETTINGS_HEADER_TABLE_SIZE = 4096
SETTINGS_ENABLE_PUSH = 1
SETTINGS_MAX_CONCURRENT_STREAMS = 1000
SETTINGS_INITIAL_WINDOW_SIZE = 6291456
SETTINGS_MAX_FRAME_SIZE = 16384
SETTINGS_MAX_HEADER_LIST_SIZE = unlimited

Server Settings
SETTINGS_HEADER_TABLE_SIZE = 4096
SETTINGS_ENABLE_PUSH = 1
SETTINGS_MAX_CONCURRENT_STREAMS = 250
SETTINGS_INITIAL_WINDOW_SIZE = 65535
SETTINGS_MAX_FRAME_SIZE = 1048576
SETTINGS_MAX_HEADER_LIST_SIZE = 1048896

So, it would seem that while using the -ca "https://acme-staging.api.letsencrypt.org/directory" will give you a green lock icon, and will work perfectly fine uploading small files, it won't, for whatever reason, allow you to upload large files with .93. Once you stop using the staging/test LE cert, it appears that you can then upload large files.

Did you figure out the issue?

Nope, nobody else seemed to be having that issue, and I've blown too much time trying to get it going, so I'll just use nginx for now.

@timothyallan Try upgrading to 0.9.5 and see if that helps. We fixed some weird issues.