Got An Issue With SliverAppBar 'needsCompositing': is not true.

Is there an existing issue for this?

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

Steps to reproduce
I have implimanted SliverAppBar with CustomScrollView,in sometime(like once in 30)whenever i tried to navigate that page and tried to scroll i got ERROR:

══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during paint():
'package:flutter/src/material/flexible_space_bar.dart': Failed assertion: line 464 pos 12:
'needsCompositing': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

The relevant error-causing widget was:
  FlexibleSpaceBar

Expected results
Got the Expected result,the problem is i got error inside Debug console,UI works smoothly
Actual results
Got the Expected result,the problem is i got error inside Debug console,UI works smoothly
Code sample
Code

@override
  Widget build(BuildContext context) {
    return Consumer<ArticalProvider>(
      builder: (context, articalP, child) {
        return articalP.isLoading || articalP.articalData == null
            ? Scaffold(body: Center(child: CircularProgressIndicator()))
            : Builder(builder: (context) {
                final articalData = articalP.articalData!;
                final category = articalData.category;
                return Scaffold(
                    floatingActionButtonLocation:
                        FloatingActionButtonLocation.centerDocked,
                    floatingActionButton: _floatingButton(context, widget.id),
                    body: CustomScrollView(
                      controller: _scrollController,
                      physics: BouncingScrollPhysics(),
                      slivers: <Widget>[
                        SliverAppBar(
                          shadowColor: color00.withOpacity(.25),
                          pinned: true,
                          snap: false,
                          floating: false,
                          flexibleSpace: FlexibleSpaceBar(
                            background: MyCachedNetworkWidget(
                                imageUrl: articalData.thumbnailImage),
                          ),
                          expandedHeight: 308,
                          backgroundColor: primaryColor,
                          leading: IconButton(
                              onPressed: () {
                                Navigator.pop(context);
                              },
                              icon: Icon(Icons.arrow_back)),
                          title: Transform.translate(
                            offset: Offset(-20, 0),
                            child: Text(articalData.title, style: whiteBold18),
                          ),
                          actions: <Widget>[
                            Transform.translate(
                              offset: Offset(10, 0),
                              child: IconButton(
                                  onPressed: () {},
                                  icon: Icon(
                                    Icons.share_outlined,
                                    color: white,
                                  )),
                            ),
                            Consumer<BookmarkProvider>(
                              builder: (context, bookmarkP, child) =>
                                  IconButton(
                                      onPressed: () => Functionality.bookMark(
                                          context: context, id: widget.id),
                                      icon: Icon(
                                        bookmarkP.isBookmarked(widget.id)
                                            ? Icons.bookmark_outlined
                                            : Icons.bookmark_outline,
                                        color: white,
                                      )),
                            )
                          ],
                        ),
                        SliverList(
                            delegate: SliverChildListDelegate([
                          ListView(
                            shrinkWrap: true,
                            physics: NeverScrollableScrollPhysics(),
                            padding: EdgeInsets.zero,
                            children: [
                              Padding(
                                padding: const EdgeInsets.all(20)
                                    .copyWith(bottom: 0),
                                child: Column(
                                  children: [
                                    IntrinsicHeight(
                                      child: Row(
                                        children: [
                                          Container(
                                              width: vDividerSize,
                                              color: secColor),
                                          widthSpace10,
                                          Expanded(
                                            child: Text(articalData.title,
                                                style: blackSemiBold16),
                                          ),
                                        ],
                                      ),
                                    ),
                                    heightSpace5,
                                    Row(
                                      children: [
                                        MyCachedNetworkWidget(
                                          imageUrl: category.image,
                                          height: 2.15.h,
                                          width: 2.h,
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              horizontal: 5),
                                          child: Text(category.name,
                                              style: color94Medium14),
                                        ),
                                        Image.asset(clockIcon,
                                            height: IconSize.tiny),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              horizontal: 5),
                                          child: Text(
                                              formatTimeAgo(
                                                  articalData.createdAt),
                                              style: color94Medium14),
                                        ),
                                        Image.asset(viewIcon,
                                            height: IconSize.tiny),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              horizontal: 5),
                                          child: Text(
                                              '${articalData.viewCount} view',
                                              style: color94Medium14),
                                        ),
                                      ],
                                    ),
                                    heightSpace20,
                                    HtmlWidget(articalData.description),
                                    heightSpace20,
                                  ],
                                ),
                              ),
                              ..._relatedNews(articalP)
                            ],
                          )
                        ]))
                      ],
                    ));
              });
      },
    );
  }

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Log

══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during paint():
'package:flutter/src/material/flexible_space_bar.dart': Failed assertion: line 464 pos 12:
'needsCompositing': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

The relevant error-causing widget was:
  FlexibleSpaceBar
  FlexibleSpaceBar:file:///Users/ankitthummar/Desktop/fl_news_feed/lib/pages/home/artical_detail/image_artical.dart:62:42

When the exception was thrown, this was the stack:
#2      _RenderFlexibleSpaceHeaderOpacity.paint (package:flutter/src/material/flexible_space_bar.dart:464:12)
flexible_space_bar.dart:464
#3      RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3155:7)
object.dart:3155
#4      PaintingContext.paintChild (package:flutter/src/rendering/object.dart:252:13)
object.dart:252
#5      RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2875:15)
box.dart:2875
#6      RenderStack.paintStack (package:flutter/src/rendering/stack.dart:639:5)
stack.dart:639
#7      PaintingContext.pushClipRect.<anonymous closure> (package:flutter/src/rendering/object.dart:535:83)
object.dart:535
#8      ClipContext._clipAndPaint (package:flutter/src/painting/clip.dart:25:12)
clip.dart:25
#9      ClipContext.clipRectAndPaint (package:flutter/src/painting/clip.dart:53:5)
clip.dart:53
#10     PaintingContext.pushClipRect (package:flutter/src/rendering/object.dart:535:7)
object.dart:535
#11     RenderStack.paint (package:flutter/src/rendering/stack.dart:645:38)
stack.dart:645
#12     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3155:7)
object.dart:3155
#13     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:252:13)
object.dart:252
#14     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:129:13)
proxy_box.dart:129
#15     PaintingContext.pushClipRect.<anonymous closure> (package:flutter/src/rendering/object.dart:535:83)
object.dart:535
#16     ClipContext._clipAndPaint (package:flutter/src/painting/clip.dart:25:12)
clip.dart:25
#17     ClipContext.clipRectAndPaint (package:flutter/src/painting/clip.dart:53:5)
clip.dart:53
#18     PaintingContext.pushClipRect (package:flutter/src/rendering/object.dart:535:7)
object.dart:535
#19     RenderClipRect.paint (package:flutter/src/rendering/proxy_box.dart:1530:25)
proxy_box.dart:1530
#20     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3155:7)
object.dart:3155
#21     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:252:13)
object.dart:252
#22     _RenderLayoutBuilder.paint (package:flutter/src/widgets/layout_builder.dart:338:15)
layout_builder.dart:338
#23     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3155:7)
object.dart:3155
#24     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:252:13)
object.dart:252
#25     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:129:13)
proxy_box.dart:129
#26     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3155:7)
object.dart:3155
#27     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:252:13)
object.dart:252
#28     RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2875:15)
box.dart:2875

Flutter Doctor output
flutter doctor -v

[✓] Flutter (Channel stable, 3.13.2, on macOS 13.5.1 22G90 darwin-arm64, locale
    en-IN)
    • Flutter version 3.13.2 on channel stable at /Users/ankitthummar/Flutter
      Install/Flutter 3.13.2/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (5 weeks ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

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

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

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

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

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

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • 72B79D2F-D187-4C2F-B4B6-DB5E73BFA232 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.5.1 22G90 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 117.0.5938.92

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

• No issues found!
ankitthummar@192 ~ %

Hi @At738343. Please can you provide a minimal complete reproducible code sample that doesn’t include 3rd party plugins or complex production code (a single main.dart file)?
Thank you

@dam-ease sure,
import 'utils/global.dart' as global;
void main() async {
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]);
await Firebase.initializeApp();
SharedPreferences prefs = await SharedPreferences.getInstance();
global.token = prefs.getString('token');
global.hasSeenOnBoard = prefs.getBool("hasSeenOnBoard") ?? false;
runApp(MultiProvider(providers: [
ChangeNotifierProvider(create: () => BottomNavigationProvider()),
ChangeNotifierProvider(create: () => HelperProvider()),
ChangeNotifierProvider(create: () => HomeProvider()),
ChangeNotifierProvider(create: () => SearchProvider()),
ChangeNotifierProvider(create: () => BookmarkProvider()),
ChangeNotifierProvider(create: () => ArticalProvider()),
ChangeNotifierProvider(create: (_) => CommentProvider()),
], child: MyApp()));
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return Sizer(
builder: (context, orientation, deviceType) => AnnotatedRegion(
value: SystemUiOverlayStyle(statusBarBrightness: Brightness.dark),
child: MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
scaffoldBackgroundColor: scaffoldColor,
primarySwatch: createMaterialColor(primaryColor),
splashColor: transparent,
highlightColor: transparent,
iconTheme: IconThemeData(size: IconSize.regular),
),
initialRoute: '/SplashPage',
// initialRoute: '/BottomNavigation',
onGenerateRoute: (settings) {
final args = settings.arguments;
switch (settings.name) {
case '/SplashPage':
return PageTransition(
isIos: true,
child: SplashPage(),
type: PageTransitionType.rightToLeft,
);
case '/OnBoardingPage':
return PageTransition(
isIos: true,
child: const OnBoardingPage(),
type: PageTransitionType.rightToLeft,
);
etc...

i have used this plugin in my project
flutter_spinkit: ^5.2.0
page_transition: ^2.0.9
sizer: ^2.0.15
smooth_page_indicator: ^1.1.0
intl_phone_number_input: ^0.7.3+1
pinput: ^3.0.1
timer_count_down: ^2.2.2
provider: ^6.0.5
carousel_slider: ^4.2.1
shared_preferences: ^2.2.1
intl: ^0.18.1
cached_network_image: ^3.2.3
firebase_auth: ^4.9.0
firebase_core: ^2.15.1
google_sign_in: ^6.1.5
sign_in_with_apple: ^5.0.0
flutter_widget_from_html: ^0.10.5+3

Hi @At738343. Thanks for your response. The code sample you attached makes use of some 3rd party plugins. I tried coming up with one using a part of the code in the original comment that seems to cause this issue but can't seem to reproduce this on my end. Can you try ou this sample to see if this issue produces on your end? If not kindly adjust to your use case that produces the error.
Thank you.
Code Sample

import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  ScrollController _scrollController = ScrollController();
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
      body: CustomScrollView(
          controller: _scrollController,
          physics: const BouncingScrollPhysics(),
          slivers: <Widget>[
            SliverAppBar(
                pinned: true,
                snap: false,
                floating: false,
                flexibleSpace: FlexibleSpaceBar(
                    background: Image.asset("assets/images/img.png")),
                expandedHeight: 308,
                leading: IconButton(
                    onPressed: () {}, icon: const Icon(Icons.arrow_back)),
                title: Transform.translate(
                  offset: const Offset(-20, 0),
                  child: const Text("articalData.title",
                      style: TextStyle(color: Colors.white)),
                ),
                actions: <Widget>[
                  Transform.translate(
                    offset: const Offset(10, 0),
                    child: IconButton(
                        onPressed: () {},
                        icon: const Icon(
                          Icons.share_outlined,
                          color: Colors.white,
                        )),
                  )
                ])
          ]),
    );
  }
}

flutter doctor -v

[✓] Flutter (Channel stable, 3.13.5, on macOS 13.0 22A380 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.5 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (8 days ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

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

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

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

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

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

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 Pro (mobile)      • 6548B0D1-7674-4306-9852-198C465F1104 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 116.0.5845.187

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

• No issues found!

I have got the Solution,Tnx for ur Support @dam-ease

@At738343 can you share the solution?


html, head and body tags are unclosed.

bikeshed spec and bikeshed watch produce an HTML file with missing closing tags for <html>, <head> and <body>.
Given test.bs:
<pre class=metadata>
Title: Bug example.
Shortname: bug-example
Abstract: Bug Example
Status: ED
TR: https://example.com
URL: https://example.com
Level: None
Editor: Brad Triebwasser, Google Inc. https://www.google.com/<EMAIL_ADDRESS>w3cid 00000
Repository: w3c/example
Group: examplegroup
Logo: logo.svg
Favicon: logo.svg
Complain About: accidental-2119 yes, missing-example-ids yes
Markup Shorthands: css no, markdown yes
Assume Explicit For: yes
</pre>

After running bikeshed spec test.bs, the following test.html is generated: https://pastebin.com/LNrxSzcr
The resulting document doesn't have any </html>, </head> or </body> anywhere in the document.

Yup, HTML has a number of elements with omittable end tags, and Bikeshed intentionally omits most of them. (This was added to my serializer at the explicit request of the HTML editors, in fact!)
(I leave </p> in place just because the rules for when it's safe to omit them are more complex than I want to worry about.)

Thanks. For future reference for anyone else arriving here:
https://html.spec.whatwg.org/#the-body-element
Tag omission in text/html:
A body element's start tag can be omitted if the element is empty, or if the first thing inside the body element is not ASCII whitespace or a comment, except if the first thing inside the body element is a meta, noscript, link, script, style, or template element.
A body element's end tag can be omitted if the body element is not immediately followed by a comment.


How to style tabLabel?

I'm trying to style the tabLabel from this example, but placing a style on the  component doesn't do the trick. How might I go about doing this? Here's my code:
import React from 'react';
import {
  Text,
} from 'react-native';

import ScrollableTabView, {DefaultTabBar, } from 'react-native-scrollable-tab-view';

export default React.createClass({
  render() {
    return <ScrollableTabView
      style={{marginTop: 20, }}
      renderTabBar={() => <DefaultTabBar />}
    >
      <Text tabLabel='Tab #1' style={{color: 'red'}}>My</Text>
      <Text tabLabel='Tab #2'>favorite</Text>
      <Text tabLabel='Tab #3'>project</Text>
    </ScrollableTabView>;
  },
});

Nevermind I figured it out. You pass the activeTextColor and inactiveTextColor into the DefaultTabBar componenet. However, I still am unsure how to change the underline on the tab

Ah figured that one out too. You just supply an underlineStyle to the DefaultTabBar component


MODDCB-36 Implemented Service Point creation in Landing Library based…

Covers: MODDCB-36
Purpose
Th e main goal of this PR is implement creation of pickup service point in roles where it may not exist based on result of SPIKE MODDCB-28
Approach
Creating a pickup service point automatically before sending a request. When mod-dcb receives a request to create a DCB transaction, we also get information about Pickup service points. In this step, mod-dcb sends a post request to mod-inventory-storage of the Landing library and create the Pickup service point and after can create Page ILR using created service point ID
TODOS and Open Questions

[ ] Need to change API contract and add pickup service point information

Learning
Please review the SPIKE results in SPIKE_Report.pdf

@MagzhanArtykov , I dont see there is a test written for newly added servicePointImpl class. Can you pls check


Scroll position changes when other clients are editing

To Reproduce

Create a doc long enough to scroll
In one client place your cursor at the bottom of the screen and scroll to the top (common behavior when reading)
In another client type at the top of the doc
The scroll position in the first client will jump to the bottom

Screencast
From the y-prosemirror demo site:

I tracked it down to this line – could you enlighten in which circumstances this is supposed to trigger? It feels like it would be fine if remote edits never caused the local scroll state to change.
https://github.com/yjs/y-prosemirror/blob/52116dd0333fa722b060b75ed86fb81f361b9e9a/src/plugins/sync-plugin.js#L344-L346

I can't reproduce this issue in Chrome Version 87.0.4280.66 (Official Build) (64-bit).
The code you mentioned scrolls the window to the current editing position when a remote change happens IF the cursor is currently in view. This prevents weird scrolling behavior when a user is adding/removing a lot of content at the beginning of the document.

In which case the "if cursor is in view" logic must not be correct

Apparantly. But your comment doesn't help me to fix the problem. As said, I can't reproduce the issue using the description you gave me.

Some more debugging, when it reachesisDomSelectionInView the documentElement is actually just the html tag, so seems like it would be safe to guard that this isn't the case?

That is intended. Maybe the check fails because documentElement.clientHeight is the full height of the website? That is why it is important to specify which browser / which OS you are using...
In your environment, is that different from window.innerHeight? innerHeight might be more appropriate to use here.

That is why it is important to specify which browser / which OS you are using...

Totally agreed, that information wasn't requested in the template previously though and I thought it would be relatively clear in the gif that it's Chrome on macOS.


Fix various issues with formatting and typos

goreportcard.com now looks better.

Current coverage is 39.89% (diff: 0.00%)

Merging #424 into master will increase coverage by 0.03%

@@             master       #424   diff @@
==========================================
  Files           106        106
  Lines          5093       5093
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2030       2032     +2
+ Misses         2896       2895     -1
+ Partials        167        166     -1

Powered by Codecov. Last update f402b8f...ba89b07


Failed to deploy faster-whisper-large-v3 from modelscope

Describe the bug
Tried to deploy keepitsimple/faster-whisper-large-v3 from modelscope, it got stuck in analyzing status. The error message in gpustack.log is as below:
2024-12-12T14:52:27+08:00 - vox_box.downloader.downloaders - INFO - Retriving file lock
2024-12-12T14:52:34+08:00 - vox_box.downloader.downloaders - INFO - Retriving file lock
2024-12-12T14:52:35+08:00 - vox_box.downloader.downloaders - INFO - Retriving file lock
2024-12-12T14:52:36+08:00 - vox_box.downloader.downloaders - INFO - Retriving file lock
2024-12-12T14:52:37+08:00 - gpustack.scheduler.scheduler - ERROR - Failed to find candidate for model instance faster-whisper-large-v3-Wkd2C: ModelScopeDownloader.get_file_size() got an unexpected keyword argument 'file_path'
2024-12-12T14:52:37+08:00 - gpustack.scheduler.scheduler - ERROR - Failed to schedule model instance: cannot unpack non-iterable NoneType object

Environment

GPUStack version: v0.4.0
OS: MacOS

Verified in main version 3e7a7d7


⚠ Bofrost.at has degraded performance

In ddc2bbc, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1313 ms

Resolved: Bofrost.at performance has improved in 23749c7 after 28 minutes.


Expand collapse nodes

Hi, just discovering diagrams and looks interesting. Is there a way to expand or collapse child nodes when clicking on a port ?
This would be interesting for large diagrams.

Hello, are you referring to groups?

Hi, Not really groups i think. As i have large diagrams to make it more readable i was more thinking to have a behaviour like this:
https://observablehq.com/@d3/collapsible-tree

Hey, I'm afraid that something like that will need to be handled by you. At least for now.
You can easily do this by adding some kind of Children property to your custom nodes, whenever a link is added you populate that property. You can also add events to your custom node's widget so that when it's clicked, you stop showing all the nodes that are in Children (using some kind of IsVisible property for example).
This might be added to this library, but without Tree layouts and stuff, it wouldn't be that great.

Ok thanks for the info. I will try the suggested approach

Okay, let me know how it goes.
I'm working on tree diagrams too right now, and I might need this feature. If I do, I might end up adding it to the library directly.

Great to hear you are thinking about that!


Add The Checklist to react-native-onyx

Details
Coming from https://expensify.slack.com/archives/C01GTK53T8Q/p1696292810843059
Adding an amended version of the App checklist to react-native-onyx. I tried to pull out some irrelevant things.
We won't have the same enforcements that we have in App since we are not using the same GitHub actions, but this should be a decent reminder for now. The bar is currently very low for testing. And we had a couple of reverts.
Related Issues
❌
Automated Tests
❌
Linked PRs
❌

Not at the moment, but I can create one. I think @roryabraham has some plans to do "dynamic" checklists. So maybe whenever we figure that out we can try to mirror the changes to other repos. Might also not be totally "worth" doing if it's complex. I haven't had time to learn about the planned changes so would defer to @roryabraham on that one.


 I made it by mistake.
Sorry mate.


Fails to compile on target thumbv6m-none-eabi

cargo build --release --target thumbv6m-none-eabi
Compiling cty v0.2.1
Compiling memchr v2.3.3
Compiling cstr_core v0.2.2
error[E0432]: unresolved import alloc::sync
--> C:*****.cargo\registry\src\github.com-1ecc6299db9ec823\cstr_core-0.2.2\src\lib.rs:21:12
|
21 | use alloc::sync::Arc;
|            ^^^^ could not find sync in alloc
error: aborting due to previous error

You'll want to disable the arc feature on that target.


ReactOS Support

Is there any chance to support the ReactOS?
The ReactOS will be a good alternative to Windows if the newer dotNet will be available.

LOL... Never heard of ReactOS, have you been living under a rock?

We do not intend to support every single OS distro in the world, just a list of few.

No need! Just keep supporting Windows XP / Windows 2003 versions ;) ReactOS team will do the rest.

https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md not supported


[Suggestion] Legit-aa mr. Osiris man

Hello danielkrupinski a.k.a osiris dev (built like the rock) I would love legit aa. Some packet manipulation and angles should do the trick

no need since this is legit cheat

no need since this is legit cheat

?

no need legit aa lol, its useless + its blatant af

no need since this is legit cheat

?

? you too

Huh? The whole point of legit as is to gain an advantage while legit cheating without turning on rage antiaim

Huh? The whole point of legit as is to gain an advantage while legit cheating without turning on rage antiaim

it aint legit cz its snappy af lol

Huh? The whole point of legit as is to gain an advantage while legit cheating without turning on rage antiaim

it aint legit cz its snappy af lol

The only snappy legitAA i know is from ot3/otc3

He means snappy aimbot he needs to fix the smoothing

Oh yeah.


quick update spec_version:23

add right check for evm operating deeper's credit

Codecov Report

Merging #288 (2a49c82) into master (7688432) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #288   +/-   ##
=======================================
  Coverage   69.01%   69.01%
=======================================
  Files          59       59
  Lines       16738    16738
=======================================
  Hits        11552    11552
  Misses       5186     5186

Impacted Files
Coverage Δ

runtime/src/lib.rs
11.44% <ø> (ø)

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 7688432...2a49c82. Read the comment docs.


Reuse browser instance

Is there a way to reuse the browser instance?
At the moment Testcafe is opening a new browser instance for each fixture and this takes around 2 minutes. For the amount of fixture that I have, this is to much wasted time.
I saw this ticket https://github.com/DevExpress/testcafe/issues/1656 and then saw the Remote browsers and Test cafe Live modes but I don't think any of them help with this.

Using fixtures does not suppose that new browser instance will be started on each fixture.
You can check it by executing the following code:

for (let i = 0; i < 10; i++) {
    fixture `Fixture ${i}`
        .page('http://example.com');

    test(`${i}`, async t => {
        await t.click('h1');
    });
}

Could you please provide us with your working project and your test code? It will help us to research the issue efficiently. Please also specify the command you are using to run the tests.

Yeap, you are right.
I was confused because I noticed several browser instances but after looking at your example I noticed that those instances were per job in Jenkins instead of per fixture, which makes complete sense.
Sorry about the false alarm and thank you for the quick response and the great job here on Testcafe.


Create question/lecture association

@hurtfulthings you should flesh out this issue a bit more! Do the following:

Describe what this issue is about
Move to In Progress if this is In Progress or Backlog if we're going to do it soon
Assign yourself if you plan to do this
Assign it to this sprint if it should be done this sprint
Give a story point estimate
Is this associated with a user story? If so, assign it to the appropriate epic.


LaplaceDensity

Hello! Thank you for sharing this wonderful work
I wonder why the author used  alpha * (0.5 + 0.5 * sdf.sign() * torch.expm1(-sdf.abs() / beta)) instead of  psi = torch.where(sdf > 0, exp, 1 - exp) with  exp = 0.5 * torch.expm1(-sdf.abs() / beta).

Hi @WillKen ,can I you a question. Why the implementation here is torch.expm1? I think from the paper, it should be 1-exp?
I think alpha * (0.5 + 0.5 * sdf.sign() * (1 -  torch.expm1(-sdf.abs() / beta))) is consistent with eq 3? Thank you!

The author's code is correct. See eq2, s=-sdf. s<=0 means sdf>=0;

Thank you for your reply @WillKen. I noticed that, but I didn't really understand. Now it makes sense to me.


Reinstate "[#183708862] Use Ruby 3.1"

Wait until ruby in paas-bootstrap
Reinstates alphagov/paas-tech-docs#466

@kr8n3r Can you recall why we needed to wait for Ruby 3.1 to be present in paas-bootstrap?


update spatial observers and demo to use registry

Overview

Update the base spatial observer to honor the spatial awareness system instance passed in the constructor.
Remove the duplicate SpatialAwarenessSystem property from the WindowsMixedRealitySpatialMeshObserver.
Update the spatial awareness demo to retrieve the service instance from the registry,

Changes
This change builds upon #4099 and is related to #3545.

/azp run mrtk_pr

/azp run


Support for brazilian portuguese ?

I think there is only portuguese as SourceLanguageCode and not PT_BR 😢

Hi @Daavidaviid, the source languages don't differentiate between variants: the Portuguese ("pt") source language code supports translating from both variants of Portuguese ("pt-BR" and "pt-PT").


end of year update

final update of the year

I was not sure if the time got updated automatically , so I will log in later on and accept the changes.CheersSteve GaleOn 19 Dec 2024, at 08:24, danieljwarren @.***> wrote:
@danieljwarren requested changes on this pull request.
@windy54 - I've made a couple of suggestions to the post.
Each of them should then be possible to either commit directly, or add to a batch (and then commit)
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request
In content/news/2024-december/_index.md:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z

⬇ Suggested change
-date = 0:0:0Z
+date = 2024-12-18T00:00:00Z
Updated date to the expected format & date
In content/news/2024-december/_index.md:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z
+type = "posts"
+draft = true

⬇ Suggested change
-draft = true
Draft can be removed so the post will be seen when it goes live
In content/news/2024-december/_index.md:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z
+type = "posts"
+draft = true
++++
+We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.

⬇ Suggested change
-We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.
+We have finished the year off with a trebuchet event, Christmas Crafts and the last PI Jam of the year.
Spelling suggestion
In content/news/2024-december/_index.md:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z
+type = "posts"
+draft = true
++++
+We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.

+Unfortunately due to ill health we only had two entries for the trebuchet contest.
+
+The Christmas Craft event was well attended with the Laser Cutter out to good use.
+
+Some visitors are already askking about next years event.
⬇ Suggested change
-Some visitors are already askking about next years event.
+Some visitors are already asking about next years event.
Spelling suggestion
In content/news/2024-december/_index.md:

++++
+We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.

+Unfortunately due to ill health we only had two entries for the trebuchet contest.
+
+The Christmas Craft event was well attended with the Laser Cutter out to good use.
+
+Some visitors are already askking about next years event.
+
+The last PI Jam was held on a Monday evening with the bew AI Camera on display.
+
+We now have quite a collection of PI5's and PICO's for members to use.
+
+Look out for more events in 2025.
+
+{{< groupimg width="420" >}}
⬇ Suggested change
-{{< groupimg width="420" >}}
+{{< groupimg width="420" >}}
(Adding an empty line at the bottom to keep consistent with the style
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

i have made the edits and pushed to december24 branch
Steve
On Thu, 19 Dec 2024 at 08:24, danieljwarren @.***>
wrote:

@.**** requested changes on this pull request.
@windy54 https://github.com/windy54 - I've made a couple of suggestions
to the post.
Each of them should then be possible to either commit directly, or add to
a batch (and then commit)
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request
In content/news/2024-december/_index.md
https://github.com/leicesterhackspace/leicester-hackspace-web/pull/19#discussion_r1891319610
:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z

⬇ Suggested change
-date = 0:0:0Z
+date = 2024-12-18T00:00:00Z
Updated date to the expected format & date
In content/news/2024-december/_index.md
https://github.com/leicesterhackspace/leicester-hackspace-web/pull/19#discussion_r1891319980
:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z
+type = "posts"
+draft = true

⬇ Suggested change
-draft = true
Draft can be removed so the post will be seen when it goes live
In content/news/2024-december/_index.md
https://github.com/leicesterhackspace/leicester-hackspace-web/pull/19#discussion_r1891329283
:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z
+type = "posts"
+draft = true
++++
+We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.

⬇ Suggested change
-We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.
+We have finished the year off with a trebuchet event, Christmas Crafts and the last PI Jam of the year.
Spelling suggestion
In content/news/2024-december/_index.md
https://github.com/leicesterhackspace/leicester-hackspace-web/pull/19#discussion_r1891329481
:

@@ -0,0 +1,21 @@
++++
+title = 'December 2024'
+date = 0:0:0Z
+type = "posts"
+draft = true
++++
+We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.

+Unfortunately due to ill health we only had two entries for the trebuchet contest.
+
+The Christmas Craft event was well attended with the Laser Cutter out to good use.
+
+Some visitors are already askking about next years event.
⬇ Suggested change
-Some visitors are already askking about next years event.
+Some visitors are already asking about next years event.
Spelling suggestion
In content/news/2024-december/_index.md
https://github.com/leicesterhackspace/leicester-hackspace-web/pull/19#discussion_r1891330188
:

++++
+We have finished the year off with a trebuchet ecent, Christmas Crafts and the last PI Jam of the year.

+Unfortunately due to ill health we only had two entries for the trebuchet contest.
+
+The Christmas Craft event was well attended with the Laser Cutter out to good use.
+
+Some visitors are already askking about next years event.
+
+The last PI Jam was held on a Monday evening with the bew AI Camera on display.
+
+We now have quite a collection of PI5's and PICO's for members to use.
+
+Look out for more events in 2025.
+
+{{< groupimg width="420" >}}
⬇ Suggested change
-{{< groupimg width="420" >}}
+{{< groupimg width="420" >}}
(Adding an empty line at the bottom to keep consistent with the style
—
Reply to this email directly, view it on GitHub
https://github.com/leicesterhackspace/leicester-hackspace-web/pull/19#pullrequestreview-2513625143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABI2YS2YYUUDRJDDKOJKTUT2GJ7CTAVCNFSM6AAAAABT26Q4LWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMJTGYZDKMJUGM
.
You are receiving this because you were mentioned.Message ID:
<leicesterhackspace/leicester-hackspace-web/pull/19/review/2513625143@
github.com>


[rknn result error] rknn result cannot aligned to onnx result

I convert the rknn model from onnx model successfully, but during testing, the results from rknn cannot aligned to onnx. All the ops of my model follows https://github.com/rockchip-linux/rknn-toolkit2/blob/master/doc/RKNN-Toolkit2_OP_Support-1.6.0.md.

How could I aligned different format models results?

Hello friend, may I ask how you solved this problem


How to resolve circular dependencies?

I have a situation almost like here: to send request I need data from some stream, and that stream should be updated when request is completed. I.e., it's a circular dependency.
In RxJS this problem is recommended to solve either with intermediate Subject or with expand operator (which I don't understand for now – looks just like flatMap, what's the difference?)
Kefir does not have subjects, but it has pool. Pool does the trick, but in general this solution looks just like this: pool is subscribed to itself. The problem is that such pool after activation always remains active:

Doc says that pool never ends, but there is nothing about "never deactivates".
To deactivate such pool I should either terminate it at all, or unplug it from itself.
Both cases mean writing some code specially for this purpose – I can't just forget about this pool relying on deactivation of it's single consumer, defined somewhere far far away.
Let say I can't or don't want to write this special code.
So my questions are:

Is it ok in general that pool isn't deactivated in described situation? Active stream with no subscriptions looks strange.

Is there some "official" way of resolving circular dependencies in Kefir?
Should I really use pool and explicitly terminate / unplug it?
Or should I install kefir-bus package and implement Subject-like solution? Like this:

const inputBus = KefirBus()
const request$ = inputBus
  .sampledBy(...some signal...)
  .flatMap(...api call...)
  // just "tap into stream", not `observe`,
  // to don't cause activation before it's really needed
  .map(x => {
    inputBus.value(...)
    return x
  })

Or smth else?

Is it ok in general that pool isn't deactivated in described situation? Active stream with no subscriptions looks strange.

It might be OK if the resources that are left open as a result of the stream never getting deactivated don't cause a memory leak. That said, I feel like this is a bug, so I'll take a look at that.

Is there some "official" way of resolving circular dependencies in Kefir?

Not really; I'm currently using pool the way you do but experience some glitchy behavior that I think is unavoidable given Observable's sync nature, so my plan is to refactor the circular dependency to manage it a bit more manually. Using KefirBus may be another way of handling it, but it kind of depends on the desired behavior of the circular stream.


Deephunter 2.0 vs 1.0?

I'm quite confused about where I can find the code of the paper.
I see in the README that the original implementation was on top of AFL, and then version 2.0 is with tensorflow. However, did you measure the performance difference? Can I still have access to the original code that produced the results in the paper?

I'm not one of the authors of the paper.
I found the code of the paper (the tensorflow version) on BitBucket and cloned the repo to work on it. Later I found that the original code was no longer available so I created this backup repo for my own convenience. This is why you can see some dirty changes in some files.
I guess you need to contact the authors for the information you need.
Sorry that I cannot help you.

oh, thank you very much for your explanation, now it makes sense. It wasn't clear to me that you weren't an author of the paper.


Features Roadmap?

Hey @SlapBot,
I was wondering if you had some sort of Feature Roadmap that you could share. That would make it easier to be focusing on the tasks which can help move the project forward.
Out of my own experience with using Stephanie, here is a list of improvements/features that could do the project some good:

Standardize and unify error reporting: having specific error codes and useful descriptions.
Improve UX: the setup, together with the actual usage of Stephanie should get some focused love in order to make things smoother for the user.
Add GUI: At the moment it is all terminal based, we should definitely get started with implementing a GUI, moving us away from a simple script and getting closer to an actual application.
Improve adding modules: At the moment adding services require acquiring API keys for each of the needed module. We should make this process as painless as possible, guiding the user (probably after GUI).

What do you think?
/Nesh

Hello there, @Nesh108 ,
Totally, I have been thinking about putting a contributing guide for a couple of days, and it would make the job easier for everyone to track any kind of bugs, feature requests, platform issues and whatnot.
Your suggestions are pretty good! And I did try working on GUI layer using kivy so yes, all of them are plausible. I can put up a basic contribution guide for now but to ensure everyone stays on same page, we can go to details so that everyone can work efficiently on it, would also probably need to make different branches too at this point.
Let's get the discussion going here for now but later on we can move to https://reddit.com/r/StephanieAssistant to get more suggestions and stuffs.

Hey @SlapBot,
Sorry for the delay. I've been pretty busy with moving out.
Anyway, yeah, a contribution guide would be great for the project!
I will try to squeeze some time to think about the GUI for Stephanie. 😄
Probably dev stuff would be easier to follow here on GitHub and have more discussion-based topics on Reddit?

Oh yes, but discussing here wouldn't hurt either, but that subreddit can be used for casual discussions as an alternative.


Update diabetes_regression-ci.yml

Hey @Pradip2205 , could you clarify why commenting the two rows?


Align unit test cases with style guide

"Default property values" test case at https://github.com/softlayer/ember-style-guide/blob/master/ember-testing.md#naming-unit-tests

I am working this issue.


Add timestamp to logs

Summary:
Add timestamps to modsecurity logs
Output:
{
    "time": "30/Jul/2019:19:32:07 +0000",
    "resourceId": "/A/B/C",
    "operationName": "ApplicationGatewayFirewall",
    "category": "ApplicationGatewayFirewallLog",
    "properties": {
        "instanceId": "dummyRole_0",
        "clientIp": "<IP_ADDRESS>",
        "clientPort": "",
        "requestUri": "/",
        "ruleSetType": "OWASP_CRS",
        "ruleSetVersion": "3.0.0",
        "ruleId": "920350",
        "message": "Host header is a numeric IP address",
        "action": "Matched",
        "site": "Global",
        "details": {
            "message": "Warning. Pattern match \"^[\\d.:]+$\" at REQUEST_HEADERS:Host .... ",
            "data": "<IP_ADDRESS>",
            "file": "rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf",
            "line": "791"
        },
        "hostname": "<IP_ADDRESS>",
        "transactionId": "AcwcHcAX7cAcAcAcAcAcAcAc"
    }
}

Testing:
Tested locally by updating the modsecurity submodule in AppGW to this branch's latest commit

I think we could merge this pr, once pull into appgw, make sure to check the jarvis log and log file

@jshaker this PR is out-of-date. Please resolve the conflicts by rebasing your changes on top of the current waf_nginx branch and then issue a new one against waf_nginx (note our new branching scheme - https://github.com/microsoft/ModSecurity/pull/128 ). Let me know if you need any help with that.

Closing this PR. A new one will be created against the waf_nginx branch.


CVAT Annotation Communication Plugin

Does CVAT currently have a built-in communication plugin? If there is a communication plugin that can annotate and communicate within the platform, it will be

greatly helpful for the team to work together remotely

What do you mean when you speak "communication plugin"? CVAT has issues in review mode: https://opencv.github.io/cvat/docs/manual/advanced/review/


More shortcut functions in crate term

 Issue by derekdreery
Sunday Nov 02, 2014 at 20:49 GMT
For earlier discussion, see https://github.com/rust-lang/rust/issues/18548
This issue was labelled with:  in the Rust repository

Just wondering if there are plans to add some more shortcut functionality in the term crate.
I.e. currently there is fg and bg functions to change color, but no functions for clearing part of the screen, changing cursor location etc.
All the machinery is already there (for reading terminfo etc), just need to implement the functions.
I don't know if this 'core' enough for the main lib, but it's very simple (a few short functions like the fg and bg ones) and avoids having to link to libcurses etc. At the moment I implement the stuff I need as a separate custom Trait, but it feels like it belongs in the term traits.
Don't know windows so don't know how complex terminal stuff works there.

As stated in the earlier discussion, I'll be glad to cover the Windows side of things.

I am new to contributing to Rust and interested in filling in some of these holes as part of a small project to add a pretty progress indicator to the compiler: https://github.com/rust-lang/rust/issues/24335
I started a branch that implements cursor_up and delete_line for terminfo here: https://github.com/asolove/term/tree/more-shortcuts I am going to do some research and try to implement those for Windows as well.
I would appreciate any code review or advice as to whether these two functions would land by themselves, or only as part of a larger effort to add many more of the missing ones.

To implement cursor_up, use GetConsoleScreenBufferInfo to get the current position of the cursor and then SetConsoleCursorPosition to set its position above that. delete_line, which I assume simply blanks the current line can be implemented by using WriteConsoleOutput to write a rectangular region of spaces, using GetConsoleScreenBufferInfo to figure out the current line and width and then SetConsoleCursorPosition to reset the cursor position if needed.

If you just submit a PR with the new features implemented for terminfo only with documentation clearly stating what the function is expected to do, then I can easily fill in the Windows implementation afterwards.


Using iterator with fori_loop documentation

For #3567. Please let me know if I made a mistake while editing the documentation.

Thank you for helping improve the documentation. My feeling is that the point of not using an iterator deserves to be higher-up in the notebook, where we talk about pure functions. This is because iterators are bad not just in fori_loops, but in pretty much any JAX code that you want to jit, or in any control-flow primitive. Hence, I suggest you move this contents further up, and perhaps make the example independent of fori_loop. You can mention that this (and the rest of purity constraints) apply inside control-flow primitives.

@gnecula thank you for the suggestions! I have updated the description and examples. Please let me know if additional changes are required.


Produce an error when loading a mismatching calibration

If we use a calibration for a resolution other than that which it is intended, we'll get nonsense values. Ensure that that doesn't happen by requiring that load_camera_calibrations is passed the image resolution which will be used and then validating that against the value in the calibration file.

Apologies, I should have held fire before PRifying this; rebase incoming.

:shipit:


Admin-Token should not be stored in Cookie

Hi Jia Chen,
First, thanks for the great template. Regarding to the security part, the Admin-Token is stored in the Cookie and not marked as  http only and there's no XSRF check implemented in the template. This may caused XSRF attack.
My suggestion is to store the token in the localStorage and use Cookie to control the expiration of the localStorage token.
P.S. I knew that many people would say about XSS attack because js may read the token from localStorage. But since the token in the Cookie is not marked as http only, for this scenario, it's same. To eliminate XSS attck in the SPA application, vue already helped to sterilize the html output. Also we can use CSP (content security policy) to reduce the risk.
Thanks.

I don't think it is necessary to do this. Only through the front end can not prevent csrf.

CSRF can be prevented if the token not stored in Cookie.
Thanks.

Example: one application user receive an email containing some malicious link, the user click that link, in the page of that link, a post will be triggered to the application. e.g. sendMoneyTo<EMAIL_ADDRESS>since the user has already logon the application, and CSRF token is not implemented in the application(that's another option to solve the CSRF), the cookie will be carried with that malicious post and the post action will be success.
But if the access token (Admin-Token here) is not stored in the cookie, instead, instead, stored in the localStorage, and set as bearer token during the http calls. Even CSRF-Token is not implemented, the malicious post will not be success. Actually implement CSRF-Token is a little bit tricky in SPA.
Anyway, just FYI. You may close this issue if you don't think this is an issue.
Thanks for your time.

What you said is true, but the verification of this project is judged by the http token, so there is no problem you mentioned.
https://github.com/PanJiaChen/vue-element-admin/blob/8851a6806634a047de3e1f6ea368caceee07efe4/src/utils/request.js#L17

Agreed there won't be csrf if back-end implement properly not using Cookie for permission check.
Thanks for the reply and have a nice day!


ESLint fixes

This PR contains all the fixes (where correct and possible) to pass ESLint tests after #240.
Each commit fixes a file as suggested by @IvanGoncharov on #235

Thanks @LunaticMuch
I merged #240 and choose a different approach described here: https://github.com/IvanGoncharov/graphql-voyager/issues/235#issuecomment-1180171834
So I disabled all rules and enabled them individually; please see commit history.
I fixed all easy-to-fix errors as separate commits.
So now we are left only with errors related to incomplete type coverage:
https://github.com/IvanGoncharov/graphql-voyager/blob/181ef6ccf65ba867ddca9149a8d872e31aadd576/.eslintrc.yml#L29-L41


An error in dump_nyu_text_embeddings file

There are errors in this file VPD/depth/dump_nyu_text_embeddings  line 14,
from clip import FrozenCLIPEmbedderContext
There is no corresponding function FrozenCLIPEmbedderContext in the https://github.com/openai/CLIP.git
In stablediffusion github used FrozenCLIPTextEmbedder to realize encoder for text
So I want to know if there's an error in this code Thank you very much

Using the code dump_nyu_text_embeddings.py， The result would have a shape zeroshot_weights.shape=[27, 1, 768]， This is different from the nyu_class_embeddings.pth file shape [27, 768]

from clip import FrozenCLIPEmbedderContext
ImportError: cannot import name 'FrozenCLIPEmbedderContext' from 'clip' (c:\users\maker\src\clip\clip_init_.py)
Another mistake is that you can't import  FrozenCLIPEmbedderContext from clip

Hi, thanks for pointing out this. I have fixed the bug, could you try to rerun the script?


Add ability to set collapse mode in flexible space bar

similar to Android's  CollapsingToolbarLayout behavior, there could be 3 common modes for collapsing
off (none), pin, and parallax
current implementation does not provide such flexibility, and collapses in parallax
reference:
https://developer.android.com/reference/android/support/design/widget/CollapsingToolbarLayout.LayoutParams

I signed it!

I signed it!

cc @HansMuller and @willlarche for opinions on whether this is appropriate for the Material library.
The patch seems pretty reasonable; if Hans and Will are ok with it, we can do a quick round of review for the specifics.

Some minor tweaks, but generally looks good. Let me know when you've updated the PR for those changes and I'll take another look. Thanks!

@Hixie changes made, thanks for your feedback and review

Looks good! Just one nit and we can land it!

done

Thanks for your contribution!


path_provider When will android X be available???

path_provider When will android X be available???

@collinjackson @blasten

path_provider is already migrated to AndroidX. Make sure you are using the latest version of this plugin. Feel free to reopen if you encounter a specific issue.


Problem with sourceRoot when dealing with nested folder structure

Say that I have a project like this:
%project_root%
├─coffee
│  └─sub_folder
│  │    └─bar.coffee
│  └─foo.coffee
├─js
│  └─sub_folder
│  │    └─bar.js
│  └─foo.js
├─map
│  └─sub_folder
│  │    └─bar.js.map
│  └─foo.js.map

If an error was thrown in bar.coffee, the source path would be wrong. There're several cases (tested on Windows, project folder is on drive X:):

sourceRoot Value
Source path in error messages for foo.coffee
Source path in error messages for sub_folder/bar.coffee

Not set
%project_root%/map/foo.coffee
%project_root%/map/sub_folder/bar.coffee

/src
x:/src/foo.coffee
x:/src/sub_folder/bar.coffee

./src
%project_root%/map/src/foo.coffee
%project_root%/map/src/sub_folder/bar.coffee

../src
%project_root%/src/foo.coffee
%project_root%/map/src/sub_folder/bar.coffee

__dirname + /src
%project_root%/src/foo.coffee`
%project_root%/src/sub_folder/bar.coffee

As you can see, only hard-code the absolute path of %project_root% will give us the correct behavior. But it is not very useful since those paths may not be valid on another system.
I think a possible solution would be to resolve sourceRoot path relative to map root instead of each map file's location (introduced by #4), when the sourceRoot is a relative path.

I've hit this as well and it does seem like this is a problem. Requiring an absolute path in the sourceRoot is not workable if you want your production environment to report the appropriate file path. Is there no update for this?


Issue with k8s.io/ja/docs/home/

Problem:
View Reference links to https://kubernetes.io/ja/docs/reference.
But it is 404 Page not found.
Proposed Solution:
Translate to https://kubernetes.io/ja/docs/reference/ from https://kubernetes.io/docs/reference/

/language ja

I'll take this.

/assign

/close


Discussion: Rebuild Help Queue Architecture

[!Note]
I wrote a lot of words. In summary, we're trying to figure out the best way to approach a new Help Queue system. I'd specifically love to hear from @frozenfrank @ThanGerlek @19mdavenport, but everyone is encouraged to share their thoughts, whether or not they're a contributor yet.

Currently the help queue, while great, isn't flexible. We haven't quite figured out how to run it in a development environment, and its in PHP, meaning there's a whole new learning curve for CS 240 devs to make changes. Its been proposed that we rebuild the helpqueue with technologies familiar to CS 240 TAs and students.
Benefits we hope to get out of rewriting the Help Queue

More adaptable help queue
Tie ins with Autograder
New features

Link repo/submissions
Indicate to student who is helping them
Help Queue limit mechanisms

Easier onboarding for new TAs (familiar tech stack)
Better local development experience
Opportunity to add automated tests
Modern frontend framework capabilities

This raises some questions, most notably, how it should be set up. There's a couple proposals, and this issue is to provide a place for us to discuss how we think is best to do this. I'm already working on this, but a lot of it will depend on what we decide here.
Proposal 1: Help Queue as new Autograder feature
In this proposal, the help queue would just be another part of the Autograder. It would be built into the autograder front end and backend. We would put all code in one repo and run it one domain, one AWS instance, and one server process.
Pros

Unified database and API
Easy to pull student data from the Autograder
Simple deployment
Shared code

Cons

Seemingly separate systems (grading/helping) are tightly coupled
Help queue doesn't easily transfer in the future when Autograder gets replaced
HelpQueue and Autograder are codependent
Poor separation of concerns

Proposal 2: Help Queue as Autograder sibling
In this proposal, the help queue would be still on the same repo, and the backend could be on the same AWS instance (I'm not exactly sure how, maybe a different port for the help queue) but the HelpQueue and Autograder backends would run as different server objects, and the front ends would be located in the same folder, but loaded as separate components.
Pros

Unified database and API
Easy to pull student data from the Autograder
Shared Code
Not as tightly coupled as Proposal 1

Cons

Not a simple transfer when Autograder gets phased out eventually
Might need a reverse proxy
Potentially more complex deployment
Poor separation of concerns

Proposal 3: Help Queue as Independent service with Autograder "plugin"
In this proposal, the help queue would run on a separate subdomain, and in every regard be a separate application (including a separate repo) but we could build a "plugin" to make requests to the Autograder to get info from there.
Pros

Much cleaner separation of concerns
Help Queue survives easily when Autograder gets phased out

Cons

How is auth managed? Do they both do auth separately? or does one rely on the other?

Maybe they share JWT tokens? So signing in on CAS with one unlocks the other?

Potential for duplicate code
More work to get data from Autograder

Proposal X: Idk everything. Comment better ideas if you have them
I don't know everything. Throw your ideas below, or discuss the ones I listed already.

Honestly I think Proposal 1 would be the easiest to implement and maintain. The systems wouldn't have to be that tightly coupled, and if/when the project ever gets replaced, hopefully they won't have to replace the auto-grader, just adapt it. However, I am interesting in seeing what other people think.


docs(update-pagination): Pagination addition about the first position

Added more information about e.g. the first page of the pagination.
Based on the API Improvement Proposal Guidelines of Google: https://google.aip.dev/158#guidance

I'm not yet convinced 1 is the best start, it makes the math a bit more complex (in regard to a zero - 0 based paging system), more changes for screw ups.

Created an alternative proposal: https://github.com/pondevelopment/restful-api-guidelines/pull/37


linking -lmath

I am getting following errors probably because -lmath is not linked. how can i fix it?
[ 20%] Linking C executable denoise
CMakeFiles/denoise.dir/stftDenoise.c.o: In function make_hanning_window': stftDenoise.c:(.text+0x14c): undefined reference to cosf'
CMakeFiles/denoise.dir/stftDenoise.c.o: In function stftDenoise_adaptive_block': stftDenoise.c:(.text+0x1008): undefined reference to sqrtf'
CMakeFiles/denoise.dir/kiss_fft.c.o: In function kf_factor': kiss_fft.c:(.text+0x1574): undefined reference to sqrt'
kiss_fft.c:(.text+0x1580): undefined reference to floor' CMakeFiles/denoise.dir/kiss_fft.c.o: In function kiss_fft_alloc':
kiss_fft.c:(.text+0x1788): undefined reference to cos' kiss_fft.c:(.text+0x17b0): undefined reference to sin'
CMakeFiles/denoise.dir/kiss_fftr.c.o: In function kiss_fftr_alloc': kiss_fftr.c:(.text+0x1cc): undefined reference to cos'
kiss_fftr.c:(.text+0x1f4): undefined reference to `sin'
collect2: error: ld returned 1 exit status
CMakeFiles/denoise.dir/build.make:172: recipe for target 'denoise' failed
make[2]: *** [denoise] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/denoise.dir/all' failed
make[1]: *** [CMakeFiles/denoise.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

@cogmeta
in CMakeLists.txt add a line "target_link_libraries(denoise -lm)"

Thanks. it if fixed. Can you elaborate on the licence? can you please add the file if it Apache 2.0 or MIT? Thanks.

@cogmeta  the MIT LICENCE  file has been added, now.

Thanks.


Can you post an IPA?

Not setup for compiling an XCode project right now but can sign and test the app without it, any chance of an IPA being posted? Thanks!

Great, I'll set up a GitHub Action to automatically build the IPA. Thanks for your interest!

waiting for it 😁


Added undefined check in WSDL.processAttributes

Coverage remained the same at 94.486% when pulling 7473b23a007a148809e0928a6f089e06cb6eb2f0 on venkateshwarlu-bavandla:master into ac9cdfd8619a824cfc6ad7f4246de4e6bf38558d on vpulim:master.


Wrong answer if the coeficient of the variable is equal to the constant while generating algebra,

Bug Description

I have created pr for this issue https://github.com/lukew3/mathgenerator/pull/429

Hello @lukew3  I have fixed this issue please review and let me know if any issue with my changes.


discourse: 2.8.0.beta11 -> 2.9.0.beta1

Motivation for this change
new version
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Been running this in production for a few days now with no issue.

This is still working fine for me and there is a new version, so I'm going to merge this and open a PR for the new version. If there's other issues uncovered we can fix them on that one.


Receipt PDFs not being attached to "ticket confirmed" emails

Noticed through https://opencollective.slack.com/archives/C6JTTA4SK/p1606238962131200
We're not attaching PDF receipts to "ticket confirmed" emails (the one sent when ordering a ticket from an event).
Email template: templates/emails/ticket.confirmed.hbs

I will have a look at this today! Thanks for flagging.


Android Sample: advance to Mapsforge 0.6.0

Mapsforge 0.6.0

Multilingual maps
Android gestures total overhaul
API changes (fixed imports in Sample)
Various improvements and bug fixes

Thanks!
The pom.xml would need an update too, right?
(I'm still using the maven way to create the apk for snapshots etc)

Ups. Didn't see that you've fixed the pom too. Will merge :)

Gradle / Maven, AS / Eclipse, I always try to not forget one of them! :)

Changes Unknown when pulling 4e5060eb2b09992790666f15b9386065372fbff9 on devemux86:mapsforge into ** on graphhopper:master**.


Error in the Step 3: Pulling

Dear Amber users,
I have been using this tutorial to perform an umbrella sampling simulation of my system: drug molecule encapsulated into a carbon nanotube (CNT). My idea is to calculate the PMF (potential of mean force) relative to the releasing of the drug molecule from the cavity of the CNT model. I order to treat this system, I modified all inputs file presented in this tutorial. However, I got an error in the equilibration stage related to the reading of the COM_dist.RST file:
Here is my input file for the equilibration (Stage 3: Pulling):
Equilibrio2 100ps, 310K , NPT
&cntrl
imin=0,                                ! Molecular dynamics
ntx=5,                                 ! Positions read from a formatted with initial velocities
irest=1,                               ! Restart calculation
ntc=2,                                 ! SHAKE on for bonds with hydrogen
ntf=2,                                 ! No force evaluation for bonds with hydrogen
nstlim=50000,                          ! Number of MD steps
ntt=3,                                 ! Langevin thermostat
gamma_ln=1.0,                          ! Collision frequency for Langevin thermostat
temp0=310.0,                           ! Temperature
ntpr=1000,                             ! Print mdout every ntpr steps
ntwr=500000,                           ! Write a restart file every ntwr steps
ntwx=1000,                             ! Write to trajectory file every ntwx files
dt=0.002,                              ! Time step in ps
ig=-1,                                 ! Random seed for Langevin thermostat
ntb=2,                                 ! Constant pressure - NPT
ntp=1,                                 ! Isotropic pressure coupling
cut=10.0,                              ! Nonbonded cutoff in Ansgtroms
ioutfm=1,                              ! Write a binary -netcdf- trajectory
ntxo=2,                                ! Write binary restart files
nmropt=1,                              ! NMR restraints will be read
/
&wt type='DUMPFREQ', istep1=1000 /
&wt type='END', /
DISANG=COM_dist.RST
DUMPAVE=equil_dist.dat
LISTIN=POUT
LISTOUT=POUT
/
My COM_dist.RST file, where igr1 refers to the atoms of the drug molecule and the igr2 refers to the atoms of the CNT model, is presented:
&rst
iat=-1,-1,
r1=-99.0,
r2=0.0,
r3=0.0,
r4=99.0,
rk2=2.5,
rk3=2.5,
iresid=0,
fxyz=0,0,1,
outxyz=1,
igr1=1,2,3,4,5,6,7,8,9,10,11,
igr2=12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,
/
When I tried to run this equilibration stage both in CPU and GPU, I got the following error:
Error: Atom 3 in following group definition is greater than total # atoms 4096 6*******
I verified my input file, but I did not find the cause of this error. As explained in this tutorial, the igr1 and igr2 flags involve all the atoms of the systems (drug + CNT) in order to calculate the COG (center of geometry) of each structure.
It is worthy to mention that the drug molecule was placed at the center of geometry of the CNT model in the initial PDB structure used for this simulation. Also, the principal axis of the system was aligned with the z axis, since my ideia is to pull the drug molecule along the z axis.
Could anyone help me with this error?
Sincerely,
Eduardo.

Hi Eduardo, I'd recommend to post to the Amber mailing list: http://ambermd.org/MailingLists.php
I haven't had this error specifically. The first thing I would try is reducing the number of atoms in the igr2 mask. For example, just take heavy atoms, or else select 10 carbons from the top and bottom of the CNT.

Hi Eduardo, I'd recommend to post to the Amber mailing list: http://ambermd.org/MailingLists.php
I haven't had this error specifically. The first thing I would try is reducing the number of atoms in the igr2 mask. For example, just take heavy atoms, or else select 10 carbons from the top and bottom of the CNT.

Hi Callum Dickson! I'll post this topic to the Amber mailing list. Thank you for your suggestion.

Hi Callum Dickson! I'll post this topic to the Amber mailing list. Thank you for your suggestion.


expose more serpapi parameters

Thanks, @hwchase17 👍
I can modify the documentation, notebook, and tests (tests/integration_tests/test_serpapi.py) to show how params can be used. What do you think?

oh that would be awesome! ill merge this into master, and then if you want to make a pr off master that would be much appreciated @ilyazub !


Hover/Go to definition not working with type parameters in JSX

Example
type tab = {title: string}

@react.component
let make = (~tabs: array<tab>) => {
                       // ^ hover

}

Remove @react.component it works.
rescript: 10.1.2
LSP: latest-master

Which JSX version is this?

v3

Closing, because it started working again.


Rework locking

This is a respin on the locking work by Foxboron with a handful of fixes and polish by yours truly.
In particular - split patches, add commit messages, fixup locking bugs and document the locking involved. Due to the serious changes in couple of patches I've reset the author, keeping Foxboron as co-author.
Note: I'm not 100% sure why we need the build readlock, so it's left as XXX at the and of the series. Fixed, thanks

Could swear you mentioned it before - sorry for making you repeat yourself.
Updated the commit, adding your comprehensive explanation.

The comments are mainly discussion points. But they are sorta illustrative of the issue grabbing locks too early without checking if we need them.


Box File Access for Non-IBMers

In process -- files still being reviewed for applicability to all.

@joannhh reviewing files to determine what can be made public.
The team decided to host on GitHub itself as these are historical files and won't need updates.

@joannhh any updates? Thank you!

Created assets folder in the main repo. #67
@joannhh and @sforsyth089 to add files here and link from the main readme.

Still in process -- on target to upload the files by Friday.

@upkarlidder I have some files ready to upload, but I don't appear to have file upload access to the new assets folder you created...

Thank you @sforsyth089 and @joannhh for starting this work. Should we create a table in the assets readme explaining what each file is? That will help whoever comes to the assets folder for the first time. We should also add a link to the assets folder in the main project readme. I captured this idea in the original issue #54

Upkar will open a new issue to accommodate the last comment.


Expiration perf

Look up expired futures from in-memory Futures instead of queries to the db.

cc @jfkirk @dmichalowicz


Backend boilerplate

Maybe it makes sense to talk about the general structure on Thursday
This PR adds a basic backend structure. It implements:

Postgre as database, pgAdmin as database UI for development (well, its nice to have for now even though DataGrip exists)
Configured dockerfile and docker compose
Asynchronous and synchronous database connection (synchronous only for initial DB schema deployment)
DB schema is automatically deployed if not exist
Simple test endpoints
RobotType as a dummy example model class with

SQLAlchemy for ORM
All CRUD endpoints
CRUD operations

To-do's for later refactoring / improvements exist:

Documentation, comments
Properly store secrets/connection URL for database
Configurable settings class (had some problems with it, we should debug it)
Proper database migrations with Alembic, but would wait until our database schema is mostly implemented
Possibly certain ORM aspects can be done a bit more elegant / sleeker

Testing
OpenAPI specification is reachable at http://localhost:8000/docs

You may merge this one @janosbrodbeck
Thank you for your patience and the useful code :smile:


Right-click to upload/download files

I want to be able to download and upload files or folders by right-clicking into them.

This is now implemented by the right click commands on both files and directories in the explorer.


CIFS volume with domain user

I found this reddit thread with has a feature for using a domain account to create a CIFS volume in Portainer.
I can't seem to find the feature in our 2.16.2 version.
What is the correct way to do this? Or hasn't this been implemented yet?

@sieuwe
Thank you for the information.  I am going to further investigate.  I will update you as I learn more.
Thanks!

@sieuwe
I wanted to follow up on this.  I forwarded this to Product.  I have logged an internal request.  I do not yet have a timeline or release.
Thanks!

@tamarahenson Great to hear.
Do you have an update on this?

same question from me

Any update on this?
We are still in need of this feature.

Internal Ref: EE-5030


A feature request

You really did a good job! It would be so nice if the pixiv viewer is available at VS Code Extension Marketplace!
(I must be thinking of 🍑s... but VS Code is really a good app for "catching fishes." I can listen to NetEaseMusic, read the news/weather forecast/novel and play the 🦕 game.)

You've just put forward a good idea.😂

You've just put forward a good idea.😂

😂 So nice a idea, isn't it? I have been exploring VS Code for approximately 1 year. It is really a good "all-in-1 app."

You've just put forward a good idea.joy

So nice a idea, isn't it? I have been exploring VS Code for approximately 1 year. It is really a good "all-in-1 app."

Actually I am not an VS Code user, but I do hear about its power. Maybe I will try it one day.😆

You've just put forward a good idea.joy

So nice a idea, isn't it? I have been exploring VS Code for approximately 1 year. It is really a good "all-in-1 app."

Actually I am not an VS Code user, but I do hear about its power. Maybe I will try it one day.😆

(I should have mentioned you, but since it is not an emergency, I choose not to.)
(Word is awesome! It has a new built-in feature called “Editor,” which can check my English. I did not commit as many mistakes as I thought. 😂 If you would like to have a try, just install Office Mondo 2016 or Microsoft 365, and choose the “Office Insider” channel. Office Tool Plus is recommended.)
You should really have a try! I do not code very much, though. 😂
If you work with JS/TS/HTML/CSS, this might be a good choice. VS Code is written in TS, after all.
I use it to write Python programs (just some boring computations).
Jupyter Notebook (for Python) is supported.
Java is also OK. Since Visual Studio does not support Java, and I do not want to install a large IDE (such as IDEA), I choose VS Code. I think it looks prettier than Eclipse does.
I am not a programmer. VS Code is powerful enough for me, and its extension marketplace is so nice.
I read RSS subscriptions via VS Code every day. I listen to music, run DingTalk live streams in the background and mute it.  (I will go to school in a few days. I really miss the “golden days” spent at my cozy room!)
(Sorry for my poor English. Wait. Why must I speak English? Maybe because GitHub is an English website. 😂 That is not the key: I am using a PC where I have not set up a Chinese input method yet)

@septsea
It seems you have noticed where I am come from (or maybe not ? Otherwise I wouldn't have adequate comprehension to came across your first comment).
Firstly, thanks for so long a reply with useful suggestions~ And, I still want to point out that Catching Fish, this phrase to describe a student may be out of proportion (I do not resist using pop words though).
As you mentioned at the end, learning coding while practicing English, isn't is a great affair ? And people shouldn't mind others using their mother tongue, this is their own right (If you like it).
Thanks again for your advice and wish you progress in your studies.

@Crazy-White
hhhhhh
I do not really care about languages. Just feel free.
(I deliberately used the term catching fishes because I could not think of an English expression. Somewhat inappropriate. I do not use popular terms frequently.)
(I still have much to say and share, but it seems off the point.)
Thank you.


TextVisibility Doesn't Work

Text visibility doesn't work in XML with "app:isVisible" and programmatically "setTextViewVisibility(true)" when set layout_width="50dp" and layout_height="50dp". I understand text is not fit in view but you can add "setMarginBetweenGifAndText" properties. There is large gap between text and gif.

thank for making me this thing on notice


ffmpeg not found when build in Raspberry Pi 3 B+ Raspbian 10

System information

OS : Raspbian 10
Device : Rasberry Pi 3 B+
TensorFlow installed from source
TensorFlow version: 1.9
Python version: 3
Installed using : I followed the instruction from https://www.tensorflow.org/install/source_rpi

I followed the instruction from https://www.tensorflow.org/install/source_rpi   The commands are copy from the link as follows:
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
git checkout r1.9
CI_DOCKER_EXTRA_PARAMS="-e CI_BUILD_PYTHON=python3 -e CROSSTOOL_PYTHON_INCLUDE_PATH=/usr/include/python3.4"
    tensorflow/tools/ci_build/ci_build.sh PI-PYTHON3 \
    tensorflow/tools/ci_build/pi/build_raspberry_pi.sh
I got the following error.

Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ffmpeg' has no installation candidate
The command '/bin/sh -c /install/install_deb_packages.sh' returned a non-zero code: 100
ERROR: docker build failed. Dockerfile is at /home/pi/tensorflow/tensorflow/tools/ci_build/Dockerfile.pi-python3

I am getting the same error. I have tried it on Stretch and Buster on both version 3 and version 4 PIs without success.


285 readonly pending

card: https://app.zenhub.com/workspaces/team-moose-sprint-board-60d216175a2689000ec774d0/issues/gh/bcgov/cas-registration/285

Closing, finished in #478

Finished in a different pr


Legend for CO2 of biomass chart is not visible in report

This does not appear to be the case for me. It's curious that your chart does not have a breakdown of sectors; it suggests that your DB is old and lacking the latest chart settings. You might want to try grabbing a fresh DB dump from staging.

I beg your pardon, I was looking at the wrong chart. Nonetheless, the legend does now display on the biomass CO2 chart for me:


Using mediapipe library in flutter

Im doing a project that apply pose detection, and I comes to this library MediaPipe (Done By Google) where it mention it can applied in android.
But Im not sure how and whether flutter is able to apply MediaPipe library. As I cant find any information through the world wide web on applying MediaPipe on Flutter. Most of the result is about applying MediaPipe on android.
Does MediaPipe works on Flutter also?
Can someone give me an answer if you have come to this problem before...
Thanks a lot in advance for your time.

@newbie7991
Check this similar issue raised in google repo, https://github.com/google/mediapipe/issues/1796
Also check related issues in it, https://github.com/google/mediapipe/issues/17, https://github.com/google/mediapipe/issues/1046
Based on this comment, it doesn't seem to be implemented by the mediapipe team, which hopefully should answer your question, https://github.com/google/mediapipe/issues/1046#issuecomment-680991228
Closing from here, as this isn't related to Flutter framework itself.


PdfCallback : empty pages

First thank you eKoopmans for your excellent work.
I'm using pdf-callback branch to add page numbers into my pdf.
Everything's fine in the pdf up to 11 pages but, when it turns 12 pages, all pages are empty except my page numbers... :(

I'm using pdf-callback branch to add page numbers into my pdf.

If you are using my workaround, here is a solution:
I had the same bug and I just fixed it with this workaround:
Its important to save the pdf first and get afterwards the page number!
function myCallback(pdf) {
  //Optional: Save PDF
  //!IMPORTANT: First save the file, then get the page numbers! Otherwise you will get a blank page!
  pdf.save('my.pdf');

 //get the number of pages
 totalPages = pdf.putTotalPages().internal.getNumberOfPages(); //used as global variable
}

Hey @murcoder! In fact I've noticed that pdf.putTotalPages() is wiping the document blank, though that's a different issue (I believe) from what @MaNuGitH described.
For your issue, the (cleaner) solution is to just use pdf.internal.getNumberOfPages(). That should give you the pages without wiping!

Sorry to piggyback a question here. @eKoopmans When do plan to have the pdfCallback in master release?


Feature Idea: Keep sorting of type definition in sync with case statements

Often I find myself sorting bigger type definitions (Msg or Page) in order to group them by similarity.
It would be cool if the case statements could default to the same sorting.
I am aware that case statements can have a different structure because of "sub matches".
Meta: Is GitHub the right place to propose these ideas? @halohalospecial I did not find you in the elm-slack.

Hi!  I'm assuming you're talking about autocomplete for case expressions?  It will follow the order the type cases were defined.
For example,
type Msg =
  | NoOp
  | Msg1 String
  | Msg2 Int

will result to
case msg of
    NoOp ->
        ...
    Msg1 string ->
        ...
    Msg2 int ->
        ...

So you can sort at the type definition point instead.
Meta:  Yep, just submit ideas to this repo so I can keep track of them (and for discussions).  You can also leave messages in the Elm Slack (same username).

Hi,
yes I am, but there is currently no way to keep them synced if you add something, or did I miss that?
Not a killer feature, which might show that this package is already pretty awesome :)
I have seen there is some elm in this package, but it does not seem like much. Are most features implemented in JS? What would be good ways to contribute?

Hi, the core is in Elm (https://github.com/halohalospecial/atom-elmjutsu/blob/master/elm/Indexer.elm) and JS is for integration with the Atom API.


PowerShell devcontainer - F5 - AzureFunctionPSWorker

When trying to test a function locally, after hitting F5 I always get the following error: "Could not attach to process with CustomPipeName: AzureFuncionsPSWorker"

I was wondering if this was something that you have came across before?
Thanks

Running func host start doesn't generate the pop-up error but does have the same error messages in the output:
Failed to start a new language worker for runtime: powershell.

All I am doing is testing the basic hello world HTTPTrigger function.


Certificate generation doesn't work with Gandi v5 (new stable)

There is a new version of the gandi service available in beta (https://beta.gandi.net/), which may have introduced some breaking changes. For now, rancher-letsencrypt don't work with this new version, as it uses a separate DNS, and a separate API server.
I would be cool to have  "Gandi-v5" or "Gandi-Beta" as new domain validation method, in order to test this before v5 is promoted to stable.

+1

Gandi v5 have been promoted to stable.

New API documentation : http://doc.livedns.gandi.net/

Is someone maintain this repo ?

After few hours of searching in gandi lib xenolf/lego, I found this issue.
Apparently, this issue is fixed in at least https://github.com/xenolf/lego/releases/tag/v0.5.0 where we can found the correct Gandi Live DNS API endpoint.
So can you please update lego at least to version 5 ? Due to my change from OVH to Gandi, I am no longer able to use janeczku/rancher-letsencrypt... :cry:

Closing issue as the repository didn't see any change for 5+ years, and without any answer from the dev.


chore: removed eslint plugin react and dependency updates

Coverage remained the same at 92.373% when pulling 65b007f9cc7698c6c0021ec99bb4ac64aee4ba05 on linter into 47809c952af2a8a0148b476e8c038c4da8cc7f62 on master.


Reorder joins

addressed comments.  can you please merge?  @findepi

@rschlussel2 I am unable to merge there is a conflict, can you please solve it?
Why you are trying to merge it starburstdata:master and not prestodb:master?

Sorry this was supposed to be to the reorder-joins pr branch. i'll close this and reopen to the correct branch.


Registering remote ID

Say I have this workflow: my digital library wants to push via SWORD a given record towards an external repository. Such external repository would accept the deposit and give me back a handle that I then want to map to my local record (as soon as possible).
Is the pidstore the right tool for this task? Should I implement a dedicated provider that blindly take such externally provided handle and record its association with my local record ID?

Hmmm..... not sure what to answer here. PIDStore was mainly thought for registering persistent identifiers for objects and keep track of the state of the registration.
Also, you still need to add the identifier you're getting back from the service into the record metadata.
The handle is that a hdl.handle.net Handle or just some local identifier from the repository?

The handle is that a hdl.handle.net Handle or just some local identifier from the repository?

It's local identifier to HAL.

Yes, the PID store was about minting "internal" IDs, not about keeping track of "external" ones.  However a PID store containing external identifiers might be useful to replace the old bibupload workflow that was matching incoming records and deciding about things like "no, you cannot put this HAL ID to record1, because record2 already has it".  We could implement this in the harvesting logic, where the check would be done either via metadata search, or via PID store search.  I guess @kaplun is proposing the latter in case of "collaborating" third party repositories...


Create endpoint to retrieve all registrations for a login window and elective subject.

Database URL is needed to observe current DB Schema and Data


Improve file watcher in Python Sync SDK

#Description
Current solution didn't work well with in sync Python. If you're unsure whether a file has been created, you might end up waiting for a timeout to exit the loop.
New implementation uses polling, you can ask for events whenever you want and it will request envd to send all events (or only new ones). This should make it much better for users with sync Python SDK
Example of a problematic usage before and after:
Before
sbx = Sandbox()
watcher = sbx.files.watch("/home/user")
sbx.files.make_dir("test")
for event in watcher:
    print(event)
     # !!! if you don't exit, you would be stuck for the rest of the timeout (default 60 seconds)
    break
watcher.close()

After
sbx = Sandbox()
watcher = sbx.files.watch("/home/user")
sbx.files.make_dir("test")
events = watcher.get_events()
watcher.close()
for event in events:
    print(event)

Even worse case was if you don't know if anything will happen:
Before
sbx = Sandbox()
watcher = sbx.files.watch("/home/user")
if random.random() > 0.5:
    sbx.files.make_dir("test")
# There's 50% chance you will get stuck. The only workaround is to run in in separate thread and you kill it after a while (you aren't really sure when it's safe)
for event in watcher:
    print(event)
    #  !!! if you don't exit, you would be stuck for the rest of the timeout (default 60 seconds)
    break
watcher.close()

After
sbx = Sandbox()
watcher = sbx.files.watch("/home/user")
if random.random() > 0.5:
    sbx.files.make_dir("test")
events = watcher.get_events()
watcher.close()
for event in events:
    print(event)

Few notes:

Do we agree on the polling design?
Protobuf field should snake case
I'm thinking about how this interacts with the reconnect — the client watcher keeps around the offset + watcher id, so when you reconnect you effectively cannot reconnect to the watcher. Could be ok, just pointing this out

E2B-993: Fix unintuitive usage of files.watch method in the Python Sync SDK

A few notes to both SDKs:

Instead sbx.files.watch() maybe we should do sbx.files.watch_dir() to signal better that it's about watching the directory?

Instead of watcher.close(), let's do watcher.stop() because when thinking about it - you start watcher and then you stop it.


[FLINK-1952] [jobmanager] Rework and fix slot sharing scheduler

The latest commit "Add big not so mini cluster test for CC to provoke scheduler problem" is not going to be merged. It is solely for verifying that the scheduler now correctly handles jobs with iterations and higher parallelism and many TaskManagers.
You can start a 100 TaskManager cluster with that test setup in the commit and run connected components. (Give the VM 5GB heap space, then it works smoothly).

Sorry for the whitespace re-formatting. My IntelliJ settings got reverted somehow, so it started auto-reformatting code :-/

LGTM.

Thanks!
I'll address the comments, remove the accidentally added log4j.properties file and merge this.


add indexing maps for iree_linalg_ext.scatter's out operand

Addresses https://github.com/iree-org/iree/issues/17691, indexing maps weren't provided for output operands

Thanks! Can confirm that this helped with the crash I was seeing on https://github.com/iree-org/iree/issues/17691


Rethink 0-cost web distribution strategy

Requirements

Free
Global
Upload is automatable
Redirectable

http://cdwe-gordian.infinityfreeapp.com/?i=1
via infinityfree.net
hotmail / nam3!
5 GB diskspace - typical package is 22.7M
rando file extensions is ok.  Upload speed is AWFUL....

Experimentally there appears to be a max file upload size...?  Google suggests anywhere as small as 5MB

CTARFl&HO1XhX(2TI2am G name3 1st only bang https://stedfast-cases.000webhostapp.com/index2.html https://files.000webhost.com/