Unable to import from package folder (custom build)

Swiper Version: 6.4.15
Platform/Target and Browser Versions: Chrome, Linux (building a Gatsby site, using gatsby-starter-default).

What You Did
I am trying to use custom build of Swiper because I don't want the default blue color.
I followed instructions at https://swiperjs.com/swiper-api#using-build-script correctly, and got a package folder generated.
I pasted the package folder under src/components folder of my Gatsby project.
Now I am trying to import as follows:
import '../components/package/swiper-bundle.css';
// import { Swiper, SwiperSlide } from 'swiper/react';
import { Swiper, SwiperSlide } from '../components/package/react';
To reproduce the issue, write the imports as I've done in any example that you have.
Expected Behavior
Because the contents of generate package folder matches the contents of swiper folder inside node_modules, so swiper/react and ../components/package/react should work as same. But it is not happening.
Actual Behavior
I get this error when I comment the swiper/react import line, and use the other one.
amankapoor@amankapoor:~/aman/Custom Website/nm$ gatsby develop
success open and validate gatsby-configs - 0.026s
success load plugins - 0.558s
success onPreInit - 0.038s
success initialize cache - 0.007s
success copy gatsby files - 0.043s
success onPreBootstrap - 0.014s
success createSchemaCustomization - 0.011s
success Checking for changed pages - 0.003s
success source and transform nodes - 0.084s
success building schema - 0.480s
info Total nodes: 51, SitePage nodes: 1 (use --verbose for
success createPages - 0.007s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.103s
success update schema - 0.037s
success write out redirect data - 0.002s
success Build manifest and related icons - 0.171s
success onPostBootstrap - 0.179s
info bootstrap finished - 4.200s
success onPreExtractQueries - 0.002s
success extract queries from components - 0.706s
success write out requires - 0.012s
success run page queries - 0.048s - 2/2 41.66/s
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/NmStarRatingShim.jsx
  4:10  warning  'PlasmicNmStarRatingShim' is defined but never
used  no-unused-vars

warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/ReactSlick.jsx
  14:13  warning  The href attribute is required for an anchor
to be keyboard accessible. Provide a valid, navigable address as
 the href value. If you cannot provide an href, but still need
the element to resemble a link, use a button and change it with
appropriate styles. Learn more: https://github.com/evcohen/eslin
t-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md
jsx-a11y/anchor-is-valid
  15:15  warning  img elements must have an alt prop, either
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/SwiperDemo.jsx
   1:17  warning  'useState' is defined but never used

no-unused-vars
  27:20  warning  img elements must have an alt prop, either
with meaningful text, or an empty string for decorative images
jsx-a11y/alt-text
  28:20  warning  img elements must have an alt prop, either
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/breakpoint
s/setBreakpoint.js
  11:20  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  11:35  warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/events-emi
tter.js
  64:40  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  64:71  warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom Websi
te/nm/src/components/package/esm/components/core/events/index.js
   59:45   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
   59:64   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
   59:64   warning  Unexpected mix of '||' and '&&'
no-mixed-operators
   59:106  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  113:45   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/events/onT
ouchMove.js
  53:34   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  53:79   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  53:79   warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  53:105  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  58:39   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  58:84   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  58:84   warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/grab-curso
r/setGrabCursor.js
  3:60  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  3:91  warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/grab-curso
r/unsetGrabCursor.js
  4:28  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  4:59  warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/slide/slid
eTo.js
  100:11  warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  100:46  warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  100:46  warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/update/upd
ateProgress.js
   8:44  warning  Unexpected mix of '&&' and '||'
no-mixed-operators
   8:77  warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  34:66  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  34:91  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  44:20  warning  Unexpected mix of '&&' and '||'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/update/upd
ateSize.js
  20:19  warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  20:44  warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  20:44  warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/update/upd
ateSlides.js
  136:37  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  136:66  warning  Unexpected mix of '||' and '&&'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/components/core/update/upd
ateSlidesProgress.js
   4:22   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
   4:40   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  24:38   warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  24:63   warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  27:40   warning  Unexpected mix of '&&' and '||'
no-mixed-operators
  27:73   warning  Unexpected mix of '&&' and '||'
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/react/virtual.js
  4:61  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  4:86  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/components/package/esm/utils/get-support.js
  8:40  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
  8:64  warning  Unexpected mix of '||' and '&&'
no-mixed-operators
warn ESLintError:
/home/amankapoor/aman/Custom
Website/nm/src/pages/index.js
   2:10  warning  'Link' is defined but never used
no-unused-vars
   4:8   warning  'Image' is defined but never used
no-unused-vars
   5:8   warning  'SEO' is defined but never used
no-unused-vars
  11:8   warning  'CenterMode' is defined but never used

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/components/core/core-class.js
    6:1   error    Import in body of module; reorder to top  import/first
    7:1   error    Import in body of module; reorder to top  import/first
    8:1   error    Import in body of module; reorder to top  import/first
    9:1   error    Import in body of module; reorder to top  import/first
   10:1   error    Import in body of module; reorder to top  import/first
   11:1   error    Import in body of module; reorder to top  import/first
   12:1   error    Import in body of module; reorder to top  import/first
   13:1   error    Import in body of module; reorder to top  import/first
   14:1   error    Import in body of module; reorder to top  import/first
   15:1   error    Import in body of module; reorder to top  import/first
   16:1   error    Import in body of module; reorder to top  import/first
   17:1   error    Import in body of module; reorder to top  import/first
   18:1   error    Import in body of module; reorder to top  import/first
   19:1   error    Import in body of module; reorder to top  import/first
   20:1   error    Import in body of module; reorder to top  import/first
   21:1   error    Import in body of module; reorder to top  import/first
   22:1   error    Import in body of module; reorder to top  import/first
   23:1   error    Import in body of module; reorder to top  import/first
   24:1   error    Import in body of module; reorder to top  import/first
   25:1   error    Import in body of module; reorder to top  import/first
   26:1   error    Import in body of module; reorder to top  import/first
   27:1   error    Import in body of module; reorder to top  import/first
  371:43  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
  371:76  warning  Unexpected mix of '||' and '&&'           no-mixed-operators

✖ 24 problems (22 errors, 2 warnings)
  22 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/components/core/core-class.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/components/lazy/lazy.js
    1:23  warning  '_extends' is a function                  no-func-assign
    3:1   error    Import in body of module; reorder to top  import/first
    4:1   error    Import in body of module; reorder to top  import/first
    5:1   error    Import in body of module; reorder to top  import/first
   34:73  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
   34:83  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
  139:29  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
  139:58  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
  250:54  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
  250:99  warning  Unexpected mix of '||' and '&&'           no-mixed-operators

✖ 10 problems (3 errors, 7 warnings)
  3 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/components/lazy/lazy.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/components/navigation/navigation.js
  1:23  warning  '_extends' is a function                  no-func-assign
  3:1   error    Import in body of module; reorder to top  import/first
  4:1   error    Import in body of module; reorder to top  import/first

✖ 3 problems (2 errors, 1 warning)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/components/navigation/navigation.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/components/pagination/pagination.js
    1:23  warning  '_extends' is a function                     no-func-assign
    3:1   error    Import in body of module; reorder to top     import/first
    4:1   error    Import in body of module; reorder to top     import/first
  191:80  warning  Unexpected string concatenation of literals  no-useless-concat
  191:88  warning  Unexpected string concatenation of literals  no-useless-concat

✖ 5 problems (2 errors, 3 warnings)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/components/pagination/pagination.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/components/thumbs/thumbs.js
    1:23  warning  '_extends' is a function                  no-func-assign
    3:1   error    Import in body of module; reorder to top  import/first
    4:1   error    Import in body of module; reorder to top  import/first
  134:34  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
  134:65  warning  Unexpected mix of '||' and '&&'           no-mixed-operators

✖ 5 problems (2 errors, 3 warnings)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/components/thumbs/thumbs.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/modules/observer/observer.js
  1:23  warning  '_extends' is a function                  no-func-assign
  3:1   error    Import in body of module; reorder to top  import/first
  4:1   error    Import in body of module; reorder to top  import/first

✖ 3 problems (2 errors, 1 warning)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/modules/observer/observer.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/react/swiper-slide.js
  1:23  warning  '_extends' is a function                  no-func-assign
  5:1   error    Import in body of module; reorder to top  import/first
  6:1   error    Import in body of module; reorder to top  import/first
  7:1   error    Import in body of module; reorder to top  import/first

✖ 4 problems (3 errors, 1 warning)
  3 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/react/swiper-slide.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/react/swiper.js
    1:23  warning  '_extends' is a function                  no-func-assign
    5:1   error    Import in body of module; reorder to top  import/first
    6:1   error    Import in body of module; reorder to top  import/first
    7:1   error    Import in body of module; reorder to top  import/first
    8:1   error    Import in body of module; reorder to top  import/first
    9:1   error    Import in body of module; reorder to top  import/first
   10:1   error    Import in body of module; reorder to top  import/first
   11:1   error    Import in body of module; reorder to top  import/first
   12:1   error    Import in body of module; reorder to top  import/first
   13:1   error    Import in body of module; reorder to top  import/first
   14:1   error    Import in body of module; reorder to top  import/first
  151:28  warning  Unexpected mix of '||' and '&&'           no-mixed-operators
  151:49  warning  Unexpected mix of '||' and '&&'           no-mixed-operators

✖ 13 problems (10 errors, 3 warnings)
  10 errors and 0 warnings potentially fixable with the `--fix` option.

File: src/components/package/esm/react/swiper.js

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

/home/amankapoor/aman/Custom Website/nm/src/components/package/esm/react/use-isomorphic-layout-effect.js
  6:10  error  React Hook "useLayoutEffect" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?  react-hooks/rules-of-hooks

✖ 1 problem (1 error, 0 warnings)

File: src/components/package/esm/react/use-isomorphic-layout-effect.js

failed Building development bundle - 9.741s

I'm further importing the following import SwiperCore, { Navigation, Pagination, Thumbs, Lazy } from 'swiper/core'; and will change it in similar way. It also shows similar errors.
Am I doing anything wrong?
If I only use the css file, then swiper overrides themecolor in my generated css with scss files available inside node_modules/swiper, and that's why I am trying to import everything from package folder.

You can't really use it like this. Use Swiper from NPM modules and you can configure Blue colour with CSS variable --swiper-theme-color

Ohh, thanks!


Correction for raw affiliation MINTEQ International, Inc.

Correction needed for raw affiliation MINTEQ International, Inc.
raw_affiliation_name: MINTEQ International, Inc.
new_rors:
previous_rors: 04kb0nk47
works_examples: W1528072541;W1518509284;W4235546728
contact: 581e6ba0eb7a46e58637a6997be8ca0b:b5c075429c3f64 @ air.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Split up load.py

Only moves/renames in this PR, to start shrinking load.py. Plenty more needs to happen; this is just a start on https://github.com/hammerlab/cohorts/issues/37.
@arahuja

👍


fix: delegations with less than the minimum share removed

Amount less than 1stake remains in the share, delegation is removed.

Is this cherry-pick commit from cosmos sdk git ??


fix: No hosted dependencies found in [project directory] of type: direct-main.

Description

arce@ArcedeiMac ~ % very_good create flutter_app the_ninth_art --desc "My new Flutter app" --org "top.arce.theninthart"
✓ Generated 303 file(s) (8.0s)
✓ Running "flutter pub get" in .  (3.6s)
✓ Running "dart fix --apply" in ./the_ninth_art (6.1s)

Created a Very Good App! 🦄
  • To get started refer to the_ninth_art/README.md
  • Your project code is in the_ninth_art

+----------------------------------------------------+
| Looking for more features?                         |
| We have an enterprise-grade solution for companies |
| called Very Good Start.                            |
|                                                    |
| For more info visit:                               |
| https://verygood.ventures/solution/very-good-start |
+----------------------------------------------------+

Update available! 0.22.2 → 0.23.1
Changelog: https://github.com/verygoodopensource/very_good_cli/releases/tag/v0.23.1
Run very_good update to update
arce@ArcedeiMac ~ % cd the_ninth_art
arce@ArcedeiMac the_ninth_art % very_good packages check licenses
No hosted dependencies found in /Users/arce/the_ninth_art of type: direct-main.

Update available! 0.22.2 → 0.23.1
Changelog: https://github.com/verygoodopensource/very_good_cli/releases/tag/v0.23.1
Run very_good update to update
arce@ArcedeiMac the_ninth_art % very_good packages get
✓ Running "flutter pub get" in .  (1.4s)

Update available! 0.22.2 → 0.23.1
Changelog: https://github.com/verygoodopensource/very_good_cli/releases/tag/v0.23.1
Run very_good update to update
arce@ArcedeiMac the_ninth_art % very_good packages check licenses
No hosted dependencies found in /Users/arce/the_ninth_art of type: direct-main.

Update available! 0.22.2 → 0.23.1
Changelog: https://github.com/verygoodopensource/very_good_cli/releases/tag/v0.23.1
Run very_good update to update

Steps To Reproduce
very_good create flutter_app the_ninth_art --desc "My new Flutter app" --org "top.arce.theninthart" \
very_good packages check licenses

Expected Behavior
check licenses command execute.
Additional Context
No response

I was unable to reproduce by doing:
very_good create flutter_app the_ninth_art --desc "My new Flutter app" --org "top.arce.theninthart" \
cd the_ninth_art
very_good packages check licenses

I got:
✓ Retrieved 3 licenses from 3 packages of type: MIT (2) and BSD-3-Clause (1). (0.8s)

The pubspec.yaml of the created project looks like:
name: the_ninth_art
description: My new Flutter app
version: 1.0.0+1
publish_to: none

environment:
  sdk: ^3.5.0

dependencies:
  bloc: ^8.1.4
  flutter:
    sdk: flutter
  flutter_bloc: ^8.1.6
  flutter_localizations:
    sdk: flutter
  intl: ^0.19.0

dev_dependencies:
  bloc_test: ^9.1.7
  flutter_test:
    sdk: flutter
  mocktail: ^1.0.4
  very_good_analysis: ^6.0.0

flutter:
  uses-material-design: true
  generate: true

I was using Very Good Cli 0.23.1.

arce@ArcedeiMac StudioProjects % fvm flutter --version
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (10 days ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3

arce@ArcedeiMac StudioProjects % very_good create flutter_app the_ninth_art --desc "My new Flutter app" --org "top.arce.theninthart"
✓ Generated 303 file(s) (6.8s)
✓ Running "flutter pub get" in .  (40.5s)
✓ Running "dart fix --apply" in ./the_ninth_art (8.5s)

Created a Very Good App! 🦄
  • To get started refer to the_ninth_art/README.md
  • Your project code is in the_ninth_art

+----------------------------------------------------+
| Looking for more features?                         |
| We have an enterprise-grade solution for companies |
| called Very Good Start.                            |
|                                                    |
| For more info visit:                               |
| https://verygood.ventures/solution/very-good-start |
+----------------------------------------------------+
arce@ArcedeiMac StudioProjects % cd the_ninth_art
arce@ArcedeiMac the_ninth_art % very_good packages check licenses
No hosted dependencies found in /Users/arce/StudioProjects/the_ninth_art of type: direct-main.
arce@ArcedeiMac the_ninth_art % fvm flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 13.6.4 22G513 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.4)
[✓] Connected device (1 available)
[✓] Network resources

• No issues found!

arce@ArcedeiMac the_ninth_art % ls
README.md		build			l10n.yaml		pubspec.lock		web
analysis_options.yaml	coverage_badge.svg	lib			pubspec.yaml		windows
android			ios			macos			test

I guess the reason for this problem is that the pubspec file is not found. I use fvm to manage my own flutter version, which should not affect the cli.

arce@ArcedeiMac the_ninth_art % flutter --version
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (10 days ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3
arce@ArcedeiMac the_ninth_art % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 13.6.4 22G513 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.4)
[✓] Connected device (1 available)
[✓] Network resources

• No issues found!

I guess the reason for this problem is that the pubspec file is not found. I use fvm to manage my own flutter version, which should not affect the cli.

You have to run the command at the same directory level where your pubspec is. Using fvm should not affect.

Going forward, from the information you're given I can't do much. Can you write some new reproductive steps over? What is the content of your pubspec?


Deprecated version of HorizontalPodAutoscaler still used in logzio-k8s-telemetry-kube-state-metrics

Hi @ralongit,
The current version of kube-state-metrics included in the logzio-k8s-telemetry Helm Chart is v2.5.0, which is outdated and relies on the deprecated autoscaling/v2beta2 API. This version is supported only up to Kubernetes v1.23.
While attempting to address this issue locally by modifying the values.yaml file, I realized that the kube-state-metrics version is defined on your side, in the Chart.yaml file of the Helm Chart itself. To keep pace with the latest developments and maintain compatibility with newer Kubernetes versions, I kindly request an update to the kube-state-metrics version within the logzio-k8s-telemetry Helm Chart.
To complete this update, I recommend checking the kube-state-metrics GitHub repository at "https://github.com/kubernetes/kube-state-metrics" and integrating the latest version into the Helm Chart. Versions from v2.8.2 and up use the new autoscaling/v2 API.
Best regards,
Aleksa Popov

Hi there, we are also facing this issue, since kubernates stopped support for versions <1.26

Hi @Aleksaa98 and @nsinfoPRO,
This should be fixed in the newly published chart versions(logzio-monitoring v3.0.0 & logzio-telemetry v2.0.0).


Added new file

Text repetition N number of times
Type of change

[ ] Added new project
[ ] Bug fix
[ ] New features
[ ] Enhanced documentation

Changes proposed in this pull request

Project name :

Short description :

Checklist

[ ] The code is Python 3 compatible
[ ] I have added relevant comments in my file to make code understandable
[ ] I have added my project in a folder which includes all the necessary files

Spam


After leaving thank you and comment im see error page?!

I pressed the thank you button on the torrent detailed page and leaving comment. After that, I clicked the link to the homepage and I see this picture bellowe. How it fix?

Thanks

fyi, you just need to follow the update info in readme

Hi, thanks for answering and quick response and fix problem. But now there's a problem with row 58.
Is there that's get_date((int) $added, the problem?


47 create population files preprocessing script!

I'm so sorry for the delay, but here it is!
I'll clarify more in the documentation, but the main things added were:
create_population_files.py- similar to the run_echo_air.py, this is the file that is run
pop_control_file_template.py-  an empty template
create_pop_files.py- can run this to create a copy of the template
census.py- used to process
pop_control_file.py- reads the population control file.
Currently, the control file only takes in the file paths, a name, and an option for verbose, but I can definitely add more! There aren't many comments with everything so I can definitely go through and add more comments as well!

I believe I've added the changes necessary as mentioned in the email! I noticed that we currently have it so that if the batch name in the control file is not a string, it should be considered invalid, but I think it is always read in as a string. Do we want it so that if the batch name has any numbers or special characters it's invalid, or something along the lines? I can adjust this to fit! Please let me know if there's anything else I can edit as well!

I believe I've added the changes necessary as mentioned in the email! I noticed that we currently have it so that if the batch name in the control file is not a string, it should be considered invalid, but I think it is always read in as a string. Do we want it so that if the batch name has any numbers or special characters it's invalid, or something along the lines? I can adjust this to fit! Please let me know if there's anything else I can edit as well!


API v1 monitoring.json Profile Parameters no longer contain health.threshold.*

I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Monitor
Traffic Ops

Current behavior:

The /api/1.3/cdns/{name}/configs/monitoring.json and /api/2.0/cdns/{name}/configs/monitoring.json return Profiles with Health Threshold parameters structured differently than ATC 4.1.1 and before had them in. What they look like at 473d9c2422:
          "health_threshold": {
            "availableBandwidthInKbps": {
              "Comparator": ">",
              "Val": 1750000
            },
            "loadavg": {
              "Comparator": "<",
              "Val": 25
            },
            "queryTime": {
              "Comparator": "<",
              "Val": 1000
            }

Expected behavior:

The /api/1.3/cdns/{name}/configs/monitoring.json and /api/2.0/cdns/{name}/configs/monitoring.json should use the same format as previous releases used:
https://github.com/apache/trafficcontrol/blob/473d9c242247618f17ac64a2b4e53e7e14fdc7ed/docs/source/api/v2/cdns_name_configs_monitoring.rst#L197-L199
Minimal reproduction of the problem with instructions:

GET /api/1.3/cdns/{name}/configs/monitoring.json
Notice the Health Threshold Paramters are not in the expected format given above.

Anything else:

This issue first appeared at 44d79af799 (#4774).

Attached:

A monitoring.json from RELEASE-4.1.1onitoring-4.1.1.json.txt
A monitoring.json from master at 473d9c2422

Adding major label since this prevents Traffic Monitor from offlining caches whose available bandwidth does not meet health.threshold.availableBandwidthInKbps.


2.1.0 is not using dependencies anymore which breaks functionality

hi
i updated from 2.0.6 -> 2.1.0 and the plugin is not working anymore b/c you got rid of the dependencies and moved everything to the devDependencies which does not install the required packages :(
[storybook] ✘ [ERROR] Could not resolve "@storybook/icons"
[storybook]
[storybook]     node_modules/@etchteam/storybook-addon-css-variables-theme/dist/manager.js:4:21:
[storybook]       4 │ var _icons = require("@storybook/icons");
[storybook]         ╵                      ~~~~~~~~~~~~~~~~~~
[storybook]
[storybook]   You can mark the path "@storybook/icons" as external to exclude it from the bundle, which will remove this error. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time.
[storybook]
[storybook] Error: Build failed with 1 error:
[storybook] node_modules/@etchteam/storybook-addon-css-variables-theme/dist/manager.js:4:21: ERROR: Could not resolve "@storybook/icons"

Since v7 storybook are advising addon authors to move to devDependencies, are you using v7 yet?
I haven't seen this error in testing yet but the storybook docs don't make it clear specifically which packages are "Globalized" so it's also possible @storybook/icons isn't one of them and it'll need to go back into the dependencies like you suggest.

yes, I'm using v7
"@etchteam/storybook-addon-css-variables-theme": "2.1.0",
"@storybook/addon-essentials": "7.6.18",
"@storybook/addon-links": "7.6.18",
"@storybook/addon-queryparams": "7.0.1",
"@storybook/addon-viewport": "7.6.18",
"@storybook/blocks": "7.6.18",
"@storybook/html": "7.6.18",
"@storybook/html-webpack5": "7.6.18",

I got most of the storybook modules in my package.json as well but not the icons and that's where the error comes from

I haven't seen this error in testing yet but the storybook docs don't make it clear specifically which packages are "Globalized" so it's also possible @storybook/icons isn't one of them and it'll need to go back into the dependencies like you suggest.

do you refer to this part in the docs? https://storybook.js.org/docs/addons/addon-migration-guide#react-peer-dependency-is-no-longer-required
it also says:

This assumes your addon uses tsup for bundling. If your addon was built with an older version of the Addon Kit that uses Babel for bundling, you must first switch to tsup. For guidance, explore these older changes implemented in the Addon Kit repository.

so maybe it's because you are still using babel atm

It was this globalized packages text that I linked https://github.com/storybookjs/addon-kit?tab=readme-ov-file#globalized-packages

Storybook provides a predefined set of packages that are available in the manager UI and the preview UI. In the final bundle of your addon, these packages should not be included. Instead, the imports should stay in place, allowing Storybook to replace those imports with the actual packages during the Storybook build process.

I did manage to uncover the specific list of globalized packages, there's a separate one for manager and preview:

@storybook/manager/globals = "react" | "react-dom" | "@storybook/components" | "@storybook/channels" | "@storybook/core-events" | "@storybook/core-events/manager-errors" | "@storybook/router" | "@storybook/theming" | "@storybook/icons" | "@storybook/manager-api" | "@storybook/client-logger" | "@storybook/types"
@storybook/preview/globals = "@storybook/global" | "@storybook/channels" | "@storybook/client-logger" | "@storybook/core-events" | "@storybook/core-events/preview-errors" | "@storybook/preview-api" | "@storybook/types"

"@storybook/icons" is included there in the manager/globals.
Investigating more it probably is down to a difference between how the two bundlers work – tsup externals won't try to bundle the code into the end package but Babel probably will(?), might explain why it works in some cases and not others.
Ideally, we don't want to be requiring separate versions of global dependencies that Storybook now expects to provide itself. So, I will have a go at moving to the same tsup config as the addon kit now uses to accomplish that.
Thanks for the feedback and sorry for messing up the installation 🙈

Damn, I got a reproduction up using v7 and can see the same. It looks like Storybook added this package in v8 so it wouldn't be part of the globals until v8.
I think we'll need to bring icons back as a dependency in the v2 line and then release v3 with it removed.

I think releasing the v8 stuff as your v3 would make sense so others don't get the breaking changes via auto-update b/c they have ^2.0.9 in their package.json


Custom Nginx Configuration for keep-alive connections

Hey! I have an issue with NPM and Create Train Map minecraft mod.
That mod starts webserver on port 3876 that show map of create mod trains. Anyway, for it to work properly, it setups several keep-alive connections to do Server-Sent Events for updates to train positions, etc. When run directly through port it works perfectly, but if it is behind NPM it has a weird quirk: first packet of data is missing. So map is empty until something updates and new chunk of data is sent out from server to map.
There are no errors, not any other issues. Only difference I can see between direct connection and behind NPM is difference in headers response headers:
Direct:
Connection: keep-alive
Content-Type: text/event-stream; charset=UTF-8
Transfer-Encoding: chunked

Behind NPN:
Content-Type: text/event-stream; charset=UTF-8
Date: Wed, 27 Sep 2023 20:41:02 GMT
Server: nginx

Is it something I can fix with custom config?

I am having trouble using Server Sent Events as well. Behind NPM, it just doesn't work properly. The entire event list is sent in one go rather than each event being sent individually.
I suspect there is some config we can change but no one has said anything yet...

Exact, same issue with ai services behind (like ollama)
Streaming response need to have correct header Transfer-Encoding: chunked , in order to be real time for consumer app
NPM remove this header.


Bug: Resin emoji in the Daily Check-in message doesn't work

In the /resin message, the emoji displays properly. In the Daily Check-in, it displays as :resin:.
I tried to do light digging into why this might be, I can say that it's not due to the fact that two different resin emoji ids are being used for the two message types (why is that, btw?); I use the functional one in place of the broken one and it still remained broken.
My only thought at the moment, and that I've not yet investigated, is that it may have to do with a message that was in response to a user interaction vs. a message sent unprompted.

I'm actually surprised that it worked in the slash command for you. I was too lazy to make it work for others. As far as I know I believe the bots need to be in the server with the emotes to use it. And since your bot isn't in my server, it shouldn't work, but it did.
As for why there are two different ids, probably just an oversight on my part as I have access to many resin emotes.
I can look into this issue when I have time, if you don't figure it out before me.


fix static and exclude

replaces #45 and fixes #35 #36
#75 - fix exclude routes

relies on static route having "static" in the name, will fail to exclude if you name your static route but I think that is fine/acceptable?

I think this PR is ok to #36 and #75, but it would be nice if there are some related tests could be added. And, my understanding of #35, is talking about blueprint scoped swagger. I'm going to ask for more detail about that issue.

@ahopkins I'm adding test cases now and I found some problem related to unexpected behavior of static files. I think this PR already fix it. Please merge it if you are available.


GCS: gcsf not included in Dockerfile

Describe the bug
When I prepare a Dockerfile with vetiver.prepare_docker for a Board in a google cloud storage bucket the package the vetiver_requirements.txt is missing the package gcsfs. Therefore the Run step is not successfull. Adding gcsfs manualy in the vetiver_requirements.txt resolves it.
To Reproduce
Prepare Script:
import vetiver
import pins
board = pins.board_gcs('deployed_model', allow_pickle_read=True)
vetiver.prepare_docker(board, "deployed_model_test", path="cloud_run/rest_api/app")
In console:
sudo docker build -t model.
sudo docker run model
Expected behavior
Include gcsfs in vetiver_requirements.txt after running vetiver.prepare_docker(board, "nk_churn_test", path="cloud_run/rest_api/app")
Screenshots

Desktop:

OS: Linux Ubuntu
Version 22

Hi there @MartinBaumga, thank you so much for this report!
It looks like this is happening since vetiver is unaware of the backend pins is connecting to, so it is not tracking the requirements necessary to authenticate.
Looking at the equivalent's of these packages in the R language, pins-r side has a required_pkgs method for boards, then vetiver-r aggregates those with the modeling requirements when people run vetiver_prepare_docker().
I'll open up an issue in pins-python, so we can coordinate how to fix this!

Fixed in #166, to be released in v0.2.1!


Make period_start_date editable

Overview
The field period_start_date on ApiLimits was set to auto_add_now.
This makes the field read-only, and hides it in the Django admin. In
order to make the field editable in the admin, it has been updated to
use timezome.now as a default and forbid null values instead of using
auto_add_now.
Connects #1427
Demo

Testing Instructions

Run ./scripts/update and ./scripts/server
Navigate to the Django admin and add a new API limit. Ensure the period_start_date is set appropriately.
Update the ApiLimit.period_start_date and confirm it's updated as expected.
View the history for the limit and confirm that the period_start_date changes were tracked.

Checklist

[x] fixup! commits have been squashed
[ ] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Thanks for reviewing!


Hiding basic SBT imports

I've experienced this problem when working with inputKeys.
I would like to avoid namespace clashes with basic SBT classes.

I've tried to reproduce this issue in this commit 2269f4ef2e9eff9c3193a1b0111f30b20321c5d2 but my test case does not produce the error you describe.
Could you update that test case to make it fail or point me to a project which has the issue?

Sorry, I don't have time now to investigate this.

Can't reproduce


Feature request: garbage collection metrics

According to https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/performance the 2 performance counters to monitor for issues related to garbage collection are:

% Time in GC
# Total committed Bytes

Is it possible to expose those 2 performance counters through the wmi exporter?

From the linked document alone it's not obvious these metrics exist in WMI. In fact, the document doesnt mention WMI at all, but of "Event tracing for Windows". I've no idea if that is yet another metrics system for Windows.
Could you confirm the metrics are indeed available over WMI? If not, I am not sure the feature request fits with the current scope of this collector.

I think this would be the class Win32_PerfRawData_NETFramework_NETCLRMemory (there are a whole bunch of related classes, just replace Memory with Data, Networking, Exceptions, Interop, Jit, Loading, LocksAndThreads, Remoting or Security) . Implementing this would probably be similar to the per-process metrics being done in #79, in the sense that we'll need to do some filtering to avoid exposing thousands of metrics. But clearly useful, especially as a companion to the IIS collector for all the people running IIS-based .NET code.

This was fixed in #128


Add Statewide Parcels update to AGOL Pallet

Still waiting on testing...

@steveoh Would you mind taking a look at this when you get a minute?

You're going to have to explain this one to me but I will accept it so it will run tomorrow.

I'm happy to give you the run down on this anytime.


Add kubeless images to mitigate their security issues

Description
Changes proposed in this pull request:

as in title

No longer valid


KAFKA-3121: Refactor KStream Aggregate to be Lambda-able.

Ping @ymatsuda for review.

@ymatsuda Any further comments?

lgtm

@guozhangwang Seems the KStreamAggregateTest doesn't currently build?

@ewencp My bad, added a new commit fixing unit tests.

LGTM


Prl 3014 changes non molestation

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Closing this as no longer required creat ed new pr with lates chnages


Login

User story

As a user
I need a way to log in with my Siemens account
So that I can access my current work state

Acceptance criteria

After entering my username and the correct password  and click on the login button I can log in
If the password is wrong I receive an error

I would like to start doing this task this week with react if you all agree.
although the UI is not yet designed and the industry partner has not given the API.
but there is so much to do with the login page.
creating a simple login form using bootstrap and handling events on the input fields and login submit button.
making components reusable, proper validation rules (using Joi library)  for the fields, and displaying validation errors.
then in the next weeks, when the UI and API are ready and we can simply change the UI and send the data to the server.


Make an ARM call to site/sourcecontrols/search

When finishing functions-action, make a request to site/sourcecontrols/search

I don't think this is the actions responsibility to call that endpoint.
This should be done at the clients level, especially that the action won't have sufficient permissions to do the call


Exclude missing fields in serialized output

Add marshmallow feature of excluding missing fields in serialized output.

Thanks, you are right, need to add RLock for thread safety.
Yeah, this is so "interesting" :)

@sergray Please take a look at last version, I added RLock and made some other changes. It looks really weird :)

I'm going to merge it tomorrow.


Yatin: Watch keto[\W_]+GT[\W_]+\d{15}

Yatin requests the watch of the watch_keyword keto[\W_]+GT[\W_]+\d{15}. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by tripleee in Charcoal HQ

keto[\W_]+GT[\W_]+\d{15} has been seen in 1 true positive, 0 false positives, and 0 NAAs.


[C++] Const message header can not be printed

If I understand correctly, Issue addresed this problem for message bodies but not for headers.

Headers are generated as composite types which can have calls to non-const methods. It may be possible to special case this so generic method like getting a Json escaped string can add const when not dealing with groups or var data. It is not likely to be done unless the development was sponsored or coming under commercial support.


Required "install"

When I import with_total_count, I am required to add strawberry_django_extras.jwt.refresh_token.apps.RefreshTokenConfig to my INSTALLED_APPS in settings.py.
If all I'm using is pagination, I shouldn't need JWT refresh stuff.

This shouldn't be the case. Could you provide the output of the exception you get if you do not add strawberry_django_extras.jwt.refresh_token.apps.RefreshTokenConfig to your INSTALLED_APPS. ?

Thanks, haven't had a chance to test this out, but I'll give it a go again and loop back if necessary.


Support of original translations

Required work

[x] Convert all English strings to support language text file lookup
[x] Add configuration setting for language

Add original language text files:

[x] English - SLES-02993 / SLUS-01161
[x] Italian - SLES-02996
[ ] German - SLES-12995
[x] French - SLES-02994
[ ] Spanish - SLES-02997

i didn't knew how they would do translation for the game so i had a look.
looks like a lot of stuff is hardcoded in the PS-exe.
things like damage and replay stuff are only available there.
that means we will need to hardcode it too and just use preprocessor switch to choose the language.
I found some translation in FRONTEND.BIN but look like the format change between 1.0 and 1.1 PAL
Mine is Fr SLES-02994, It start with Player 2, Player 1 (yes in that order because), then some district names, then mission name or mission strings
what i found weird is that those are also in the PS-exe and it's not used at all in src_rebuild

Hi,
I just recently found this project and it's pretty impressive.
Since I own the SLES-02995/12995 v1.0 (GERMAN) version, I started to translate the texts based on the Strings I found in the locations described above.
I could directly translate most of them, but some of them I couldn't find in the original files so I used an "as close as" possible translation.
Where could I commit those two files for review - if interested?

Hi,
I just recently found this project and it's pretty impressive.
Since I own the SLES-02995/12995 v1.0 (GERMAN) version, I started to translate the texts based on the Strings I found in the locations described above.
I could directly translate most of them, but some of them I couldn't find in the original files so I used an "as close as" possible translation.
Where could I commit those two files for review - if interested?

Hey! @Jordem
Yes - you can make a pull request with the added translation files. I'll check and accept it.

Sadly, I have no clue about GitHub at all or pull requests.
I uploaded the two files packed in a ZIP file here:
https://ufile.io/azjg6o8k

Added with 6.0a alpha


python312Packages.google-cloud-bigquery-logging: 1.4.4 -> 1.4.5

Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-bigquery-logging-v1.4.5/packages/google-cloud-bigquery-logging/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 333306 run on x86_64-linux 1

4 packages built:

python311Packages.google-cloud-bigquery-logging
python311Packages.google-cloud-bigquery-logging.dist
python312Packages.google-cloud-bigquery-logging
python312Packages.google-cloud-bigquery-logging.dist


[Impeller] Render bug canvas.drawImageRect when src param is bigger than image

Steps to reproduce
Download a jpg image and put it in pubspec.yaml as an asset. This sample uses free image from https://www.pexels.com/photo/clear-glass-cup-filled-with-chocolate-cream-1684880/ in Medium size.
Then run the code sample with and without impeller. When the "Rect src" parameter for canvas.drawImageRect is bigger than the actual image a stretched image bug appears with impeller. But not with Skia.
The screenshots are from Android. The same happens on iOS.
Expected results
Should draw the image without "stretched" render bug.

Actual results
Draws the image with "stretched" render bug.

Code sample
Code sample
import 'dart:async';

import 'package:flutter/material.dart';
import 'dart:ui' as ui;
import 'package:flutter/services.dart';

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

class MainApp extends StatefulWidget {
  const MainApp({super.key});

  @override
  State<MainApp> createState() => _MainAppState();
}

class _MainAppState extends State<MainApp> {
  ui.Image? loadedImage;

  @override
  void initState() {
    super.initState();

    //load image
    _loadImage();
  }

  Future<void> _loadImage() async {
    String imagePath = 'assets/chocolate-cream.jpg';
    loadedImage = await _loadImageFromAssets(imagePath);
    setState(() {});
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: _getBody(),
      ),
    );
  }

  Widget _getBody() {
    if (loadedImage == null) {
      return const Center(
        child: Text('Loading ...'),
      );
    } else {
      return CustomPaint(
        painter: MyCustomPainter(loadedImage: loadedImage!),
        child: Container(),
      );
    }
  }
}

class MyCustomPainter extends CustomPainter {
  final ui.Image loadedImage;

  MyCustomPainter({super.repaint, required this.loadedImage});

  @override
  void paint(Canvas canvas, Size size) {
    //get the center of the screen
    ui.Offset centerOffset = Offset(size.width / 2.0, size.height / 2.0);

    //store original imageSize
    Size imageSize =
        Size(loadedImage.width.toDouble(), loadedImage.height.toDouble());

    //The Rect src is intentionally bigger than image dimensions.
    //This causes the render bug on impeller.
    Rect src =
        Rect.fromLTWH(0, 0, imageSize.width * 1.3, imageSize.height * 1.3);

    //this 200x200 rect should fit on most screens.
    Rect dst = Rect.fromCenter(center: centerOffset, width: 200, height: 200);

    canvas.drawImageRect(loadedImage, src, dst, Paint());
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return true;
  }
}

Future<ui.Image?> _loadImageFromAssets(String path) async {
  try {
    final ByteData data = await rootBundle.load(path);

    final List<int> bytes = data.buffer.asUint8List();
    final Completer<ui.Image> completer = Completer();
    ui.decodeImageFromList(Uint8List.fromList(bytes), (image) {
      completer.complete(image);
    });

    return completer.future;
  } catch (e) {
    // If asset loading fails, return null
    return null;
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22631.4317], locale en-SI)
    • Flutter version 3.24.3 on channel stable at C:\Users\Rok\Flutter SDK\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Rok\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 21.0.3+-12282718-b509.11)

[✓] VS Code (version 1.94.2)
    • VS Code at C:\Users\Rok\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.98.0

[✓] Connected device (4 available)
    • Pixel 8 (mobile)  • 37261FDJH00C99 • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows        • windows-x64    • Microsoft Windows [Version 10.0.22631.4317]
    • Chrome (web)      • chrome         • web-javascript • Google Chrome 129.0.6668.103
    • Edge (web)        • edge           • web-javascript • Microsoft Edge 125.0.2535.85

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

! Doctor found issues in 1 category.

Thanks for the report @rokarnus
Can you switch to latest master and re-run your scenario ?
I did the same and observed that with and without impeller, the image is rendered properly. See below:
First is with impeller, other is without it.

Thanks for the report @rokarnus Can you switch to latest master and re-run your scenario ? I did the same and observed that with and without impeller, the image is rendered properly. See below: First is with impeller, other is without it.

 Se my original image, how it should look.

Thanks for the update. Revisiting the image dimensions and looking at them again, I see what you are saying and reporting.
Stable : 3.24.3
Master : 3.27.0-1.0.pre.120


Cannot import tensorflow in python

I get the following error when I try to import tensorflow in  python
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named tensorflow
Python Version:-
Python 2.7.10 (default, Jul 30 2016, 19:40:32)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Tensor Flow Version :-
Name: tensorflow
Version: 1.0.1
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /usr/local/lib/python2.7/site-packages
Requires: wheel, protobuf, numpy, six, mock
Protobuf
Name: protobuf
Version: 3.2.0
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author<EMAIL_ADDRESS>Author-email<EMAIL_ADDRESS>License: New BSD License
Location: /usr/local/lib/python2.7/site-packages
Requires: setuptools, six
Numpy
Name: numpy
Version: 1.12.1
Summary: NumPy: array processing for numbers, strings, records, and objects.
Home-page: http://www.numpy.org
Author: NumPy Developers
Author-email<EMAIL_ADDRESS>License: BSD
Location: /usr/local/lib/python2.7/site-packages
Requires:
working on MAC sierra . Please let me know what could be the issue.

Some common issues are mentioned at the end of our installation guide:
https://www.tensorflow.org/install/install_mac#common_installation_problems
I am pretty certain that this is not a bug in TF, it is an issue in your setup.
Therefore, I recommend asking in StackOverflow if the installation guide does not help resolving your problem.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Move the stx balance on the address page someplace more sane than the bottom of the page

Slack context: https://hiropbc.slack.com/archives/C03TU42NL05/p1712346183794029
https://explorer.hiro.so/address/ST28J248D46PDZJCDJXCY6MHNQSX00V5GFSVDWVN8?chain=testnet
The stx balance should not be at the bottom of the page on mobile! It's hidden!
We can merge it into the summary section, or at the very least order it underneath the summary section on mobile

Figma mock up here: https://www.figma.com/file/31q1g27k69z1yXb6r6vrRD/Stacks-Explorer-Working-File?type=design&node-id=6982%3A73158&mode=design&t=DzLn1h2kJkEzHYXr-1

I'll close this one since we'll think about a better way to display information with the redesign


classgraph 4.8.104 (was 4.8.90)

Updates io.github.classgraph:classgraph from 4.8.90 to 4.8.104.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.classgraph", artifactId = "classgraph" } ]

labels: library-update, semver-patch

Superseded by #187.


Implement tesh-timeout and tesh-long-running

Fixes #24

A few minor suggestions posted as inline comments. Gimme +1 / -1 on them, and I'll polish them in, update tests, etc.

I don't fully understand the usecase for tesh-timeout-expected. Couldn't I just set a very long timeout and effectively have the same outcome? Why do I need an extra directive?

I don't fully understand the usecase for tesh-timeout-expected. Couldn't I just set a very long timeout and effectively have the same outcome? Why do I need an extra directive?

If you set a long timeout, the command will eventually timeout and fail.
If you run a long-running process that never exists (for example in my use case, devenv up), you want to kill the program eventually.
I need to look if we can inspect the output after timeout happens and make sure that only the final command can timeout.

Maybe tesh-long-running instead of tesh-timeout-expected?

Renamed to tesh-long-running and implemented logic to expect only the last command to timeout. Now the output is compared even when it timeouts.
Also added --no-debug flag to be able to manually test this one.
Tests still fail for some reason :(

Tests still fail for some reason :(

I'll try to take a look at the tests tonight.

I pushed addition of timeout and long-running examples to README. Further fixes are needed though:

fail output no longer contains the command that was executed (hence test_fail test fails)
something changed in tesh-ps1 that makes the prompt example in README.md to fail, and test_prompt as well
by default, when tesh-long-running is set, I would set tesh-timeout to 1, to make the UX a bit nicer (not have to wait 30 seconds)

That would be surprising behavior, what if your command takes 10s to run? I think whoever is running those tests can set the timeout to lower if they get annoyed by the long running times.

@domenkozar: what's the status on this one? How can I help getting it ready for merge?

@blueracer should award me a superman hero badge here

@blueracer-io should award me a superman hero badge here

You don't get an award for removing the 30sec slowdown you introduced in a recent PR, lol :P

Fail for me locally with:
➜  tesh git:(88385da) tesh README.md
📄 Checking README.md
Traceback (most recent call last):
  File "/nix/store/mvlayd2cp4lpgwfsmbdhva7ssa3h9vwn-python3.10-poetry2nix-env-scripts/bin/.tesh-wrapped", line 13, in <module>
    sys.exit(tesh())
  File "/nix/store/pwzxy20l2sqc9lh7abrdik6vbxpyrn6v-python3-3.10.4-env/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/nix/store/pwzxy20l2sqc9lh7abrdik6vbxpyrn6v-python3-3.10.4-env/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/nix/store/pwzxy20l2sqc9lh7abrdik6vbxpyrn6v-python3-3.10.4-env/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/nix/store/pwzxy20l2sqc9lh7abrdik6vbxpyrn6v-python3-3.10.4-env/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/zupo/work/tesh/src/tesh/__init__.py", line 46, in tesh
    sessions = extract(f)
  File "/Users/zupo/work/tesh/src/tesh/extract.py", line 80, in extract
    raise RuntimeError("Hit end-of-file prematurely. Syntax error?")
RuntimeError: Hit end-of-file prematurely. Syntax error?

This is the culprit: https://github.com/OceanSprint/tesh/pull/30/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L205

@domenkozar: OK, got it to work in CI and my MacBook. Can you try if it work on your local pls?

Works for me


added support to use other pygments styles, falback to solarized

This feature enables httpie to choose which builtin Pygments' style will be loaded for output coloring. Fallback to solarized though.
Example:
http --style monokai GET api.example.com/path

or ...
http -s monokai GET api.example.com/path

Regards

Sorry, wrong issue number.


No spell checker :-(

It would be nice to have a spell checker integrated into the app. Kind of important with an e-mail client. See: https://www.npmjs.com/package/electron-spellchecker

Thanks for the advice :) I'll have a look see if it's possible to integrate the tools in.

Hi. That's great but do you plan to add other languages or only US English?

Hi. That's great but do you plan to add other languages or only US English?

Other languages can be supported. This is just a quick add for the request. Need to think how to configure the language, maybe in settings. The spellchecker can automatically detect the type in language and switch on the fly, but setting the default language has much better result.
What language do you need to support? I'd like to get a list.

Cool, thanks. I think having the option would greatly benefit the software. I write mainly in UK English and sometimes in Greek, but I'm sure you will find people who write with different languages.

Spell checker suggestions from context menu did not work for me. I fixed it in my fork. See last commit in following branch:
https://github.com/doki-nordic/freelook/commits/spell-check-menu-fix


Allow option for using system tar

Some of our machines barf all over modes when the node implementation is used.
We've successfully used https://github.com/jbalogh/freight/tree/tar for a bit. Probably safe as an option --with-system-tar or whatever.

@SlexAxton do you know what's happened to @jbalogh's fork? Did this get merged in or did the project move?

^ https://github.com/jbalogh/freight-server/tree/tar

Ah. We moved to npm enterprise, so he probably deleted it. I'll see if I can't trace something back, it's not a huge change.


Add Metal pippenger benchmarks and improve the bench utils

Add Metal pippenger benchmarks and improve the bench utils
Description
This PR adds MSM benchmarks for the Metal parallel pippenger algorithm so every improvement can be measured and compared with other implementations.
Also implements standard distribution sampling for UnsignedInteger, FieldElement and ShortWeierstrassProjectivePoint<BLS12381Curve> via the rand crate so it's easier to add benchmarks.
Type of change

New feature

Codecov Report

:exclamation: No coverage uploaded for pull request base (metal-pippenger@a8bb9a2). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             metal-pippenger     #386   +/-   ##
==================================================
  Coverage                   ?   96.16%
==================================================
  Files                      ?      100
  Lines                      ?    12964
  Branches                   ?        0
==================================================
  Hits                       ?    12467
  Misses                     ?      497
  Partials                   ?        0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Random maybe troublesome. And this is tale. We can re open it later, but it seems useful


IE should prefer bound props over static props other than class

A follow on from: https://github.com/vuejs/vue/pull/1639
There are more attributes other than title which IE has issues with. (id, lang, language,dir, etc)
e.g: http://codepen.io/anon/pen/yYxBPy
In this PR, we feature detect binding syntax issues, if the current browser does have this issue, we check every prop for a bound alternative, (:, v-bind:, *.sync, *.once) and if present, use the bound prop over a static prop.
class is ignored. Buy ignoring it the behavior matches other browsers (bound classes get passed down to component root element)

hasAttribute now used and indeed there is no need to check for .once or .sync


graphql api returns 500 http codes on unknown types

Hey there,
query foobar($foobar: Foobar!){
  foobar(foobar: $foobar){
    foobar
  }
}

Calling this query on an environment that has no Foobar type defined results in a 500 http response like in this screenshot.
Is it normal? Shouldn't it be a 400 response?

Yes.  I think there are a few cases where the http response codes aren't being properly set.  Care to submit a pull request?

I'll try to find some time for this one! Not sure when :/

@massimilianobraglia be a great time to get a PR merged in.  Thanks.

I'll try to solve this issue. @oojacoboo any suggestions about the test case?

@sebcar I think an example like the one mentioned should be sufficient here.  There are a few other cases as well, where GQL syntax results in a 500.  I'm not sure of all these cases though.  GraphQLite uses Webonyx's GQL parser under the hood.  I don't think we'll be able to wrap that in a try/catch either, unless there is a specific Exception being thrown for these parsing errors.

I can't find a way in the test case to get the execution result for CannotMapTypeException

@sebcar If there is an exception being thrown, why would there be a result?  Presumably, execution was halted before there was a result.

@oojacoboo that is true. I was trying to use the HttpCodeDeciderTest


Learning Query Interface

HI,
Am learning your query interface.  Wondering if you (or someone) can help me achieve the following with a query:
"For each of the last 3 games Tom Brady played in show his passing yards (as individual totals for each game, not summed)"
I can get the value summed over 3 games but not as individual totals per game (without doing 3 queries at least).
Thanks.

Sure, shouldn't be difficult.
Can you show what you've tried?

Yeap...  The code below gets the total passing yards for each week, but I cant figure out how to return 3 separate objects, one for each game with the passing yards (granted I'm only about 3 days into messing around with this stuff!).
Thx
q = nfldb.Query(self.Db)
q.game(season_year=2015, week=14, season_type='Regular')
q.player(full_name="Tom Brady")
q.play_player(passing_yds__gt=0)
for x in q.sort('passing_yds').as_aggregate():
    print x.player, x.passing_yds
'''

I think your problem is with this line:
for x in q.sort('passing_yds').as_aggregate():

You are aggregating all of the data that is in the query when you do that.
This was actually tougher than I would have guessed.  Here's one way to do it:
import nfldb
db = nfldb.connect()
q = nfldb.Query(db)
q.game(season_year=2015, season_type='Regular')
q.sort([('start_time', 'asc')])
q.player(full_name='Tom Brady')
for game in q.as_games()[-3:]:
    passing_yards = 0
    for pp in game.play_players:
        if pp.player.full_name == 'Tom Brady':
            passing_yards += pp.passing_yds
    print game, passing_yards
```bash
Regular 2015 week 12 on 11/29 at 07:30PM, NE (24) at DEN (30) 280
Regular 2015 week 13 on 12/06 at 03:25PM, PHI (35) at NE (28) 312
Regular 2015 week 14 on 12/13 at 07:30PM, NE (27) at HOU (6) 226

@burntsushi might be along shortly to give the elegant way to do this.

Thanks for the help... Much appreciated.
Yeah, for me this is the kind of operation I'll be doing regularly.  I want to do some short term projections based on trend lines so I need to get this kind of information out frequently so an optimal solution would be ideal.
I'll do some measurements to see how it performs.
Thanks again.

The query API cannot express "give me three distinct aggregate totals over three distinct sets of criteria." You need to run multiple queries. Actually, this really isn't a limit of the query API either, it's a limitation on what you can express to SQL. Aggregates impact the select query, so if you want to aggregate over different sets of criteria, you need to express that using multiple select queries.

"For each of the last 3 games Tom Brady played in show his passing yards (as individual totals for each game, not summed)"

The correct answer is to run three queries that select Tom Brady in each of the three games you're interested in.
The way to make this "fast" is to do aggregates for multiple players at a time. For example:
import nfldb

db = nfldb.connect()
q = nfldb.Query(db).game(season_year=2015, season_type='Regular', week=1)
for p in q.as_aggregate():
    print p

That should output the aggregate totals of every player in week 1 of this season. If you want to limit it to a certain subset of players, then you can do q.player(player_id=ids), where ids is a list of player ids that you're interested in.
In most cases, doing multiple queries will be faster than summing up statistics in Python.

Thanks.  This is very handy info!
Love the work!!

I was working on something similar just last week. It's basically the same approach as ochawkeye, using multiple queries, but looping on the week number, rather than by games.
import nfldb
db = nfldb.connect()
for i in range (1,15):
    q = nfldb.Query(db)
    q.game(season_year=2015, season_type='Regular', week=i)
    q.player(full_name='Tom Brady')
    for p in q.sort('passing_yds').as_aggregate():
        print p.player, p.passing_yds

Not the most efficient approach, but it's straightforward to implement.

Hi. Just to give an alternative solution, this is relatively easy to accomplish using just SQL.
SELECT
  week,
  sum(passing_yds) yards
FROM play_player
JOIN game   USING (gsis_id)
JOIN player USING (player_id)
WHERE season_year = 2015
AND   season_type = 'Regular'
AND   player.full_name = 'Tom Brady'
GROUP BY game, week
ORDER BY week DESC
LIMIT 3

Result:
 week | yards
------+-------
   15 |   267
   14 |   226
   13 |   312
(3 rows)


Not selecting propper support

Extracted the image for CKT so i could auto farm the lotto. its completly ignoring wavers with it for some reason. works fine otherwise.
https://youtu.be/bG5VaiypOR0
https://cdn.discordapp.com/attachments/634018469532139521/755118492960817232/Screenshot_20200914-133102_FateGrand_Automata.jpg
https://cdn.discordapp.com/attachments/634018469532139521/755118493200023623/Screenshot_20200914-133112_Gallery.jpg

You haven't specified your phone model, which is required by the template.
How did you create the CE image? It seems incorrect. There is some part on the right which shouldn't be there.
Also, you can set event CE filters in FGO itself and set the preferred CE in FGA to Any by clicking on Event Bonus Filter in the top right of the support selection, disable No Event Bonus Available, then scroll down and Hide everything but C.K.T.

Oh and your video also doesn't have `Debug Mode´ activated as specified in the bug template.

@reconman I think this is just a case of not reading Troubleshooting Guide. They didn't make FGO full screen before taking image of CKT


Initial implementation of SearchFilter

Summary of Changes
This PR created a SearchFilter component and subcomponents, and introduces some component modifications in preparation for introducing filtering. However the component will not yet be exposed -- the UI will remain the same when this is merged. Changes include:
SearchPanel

Modified SearchPanel to be a stateless functional component, as it's purpose is to layout its children accordingly. It now takes any number of children and lays them out in a column.

SearchPage

Modified the use of SearchPanel on SearchPage according to the changes made to SearchPanel.

SearchFilter

Created a re-useable CheckBoxItem that takes checkbox type input props and utilizes props.children for customizing what is rendered in the label.
Created a SearchFilter component. It currently takes checkBoxFilterSections -- an array of objects containing the json information to render the given UI -- and onFilterChange -- to be executed when a checkbox is toggled. The  work in this PR only lays out the component. TODOs have been left in the code in places where we will have to complete functionality.  The UI when this is exposed:

Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide
[ ] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Codecov Report

Merging #260 into feature/search_v2 will increase coverage by 3.36%.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##           feature/search_v2     #260      +/-   ##
=====================================================
+ Coverage              70.83%   74.19%   +3.36%
=====================================================
  Files                    128       24     -104
  Lines                   3329     1054    -2275
  Branches                 411       87     -324
=====================================================
- Hits                    2358      782    -1576
+ Misses                   939      245     -694
+ Partials                  32       27       -5

Impacted Files
Coverage Δ

...ication/static/js/components/common/Tabs/index.tsx

...ndsen_application/static/js/ducks/search/api/v0.ts

...ication/static/js/components/common/Flag/index.tsx

...ts/common/ResourceListItem/TableListItem/index.tsx

...sen_application/static/js/ducks/allTags/reducer.ts

...tatic/js/components/common/ScrollTracker/index.tsx

...pplication/static/js/ducks/popularTables/api/v0.ts

...static/js/components/common/ResourceList/index.tsx

...tic/js/components/common/ResourceList/constants.ts

...tatic/js/components/common/PopularTables/index.tsx

... and 91 more

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 03ceb3b...8228339. Read the comment docs.


LookupError: unknown encoding: cp65001

.\floss.exe -h

Traceback (most recent call last):
  File "floss\main.py", line 1247, in <module>
  File "floss\main.py", line 1097, in main
  File "optparse.py", line 1400, in parse_args
  File "optparse.py", line 1444, in _process_args
  File "optparse.py", line 1551, in _process_short_opts
  File "optparse.py", line 789, in process
  File "optparse.py", line 811, in take_action
  File "optparse.py", line 1670, in print_help
LookupError: unknown encoding: cp65001
[19144] Failed to execute script main

The standalone executable is not working in any console on my Windows system.
I tried to change the output encoding in PowerShell, but I still get the same error message.
[Console]::OutputEncoding = [System.Text.Encoding]::Default
Is there a workaround or can you fix it with your next release?
Thank you!

good catch! we'll fix this in our next release.
i think we need to port over this logic from capa that's relevant on py3.8+:
https://github.com/fireeye/capa/blob/94485285f379bc22ba9a9601988d0b3563884fc0/capa/main.py#L707-L712


Display execution time in log

@FreHu Did you mean request execution time ? #20 (rightmost figure in the log)

it must be accessible to users
users will typically not have access to the infrastructure that hosts the application

ah yes. you're right

or well, it would be very nice, and its not secret/sensitive information

But how ? Some part of error message ? Kind of 'message_ex [459ms]" ?
P.S. by the way we I think we need to improve messages text. All those shortcuts look strange inside sci ... just a side thought


support no_std

A user asked a question on the forum https://forum.dfinity.org/t/about-iot-using-dfinity/14518
Is it currently possible to compile ic-agent with no_std flag?

You need an operating system to have a network socket. We are not about to implement a network card driver for ic-agent. IoT devices typically have an androidlike operating system.

no one is talking about implementing network card drivers here ;p
could you link the "IoT androidlike OS" you're referring to?
I can't think of a straightforward way to install ic-agent on something like RPi Pico. I guess the first thing I'd try is to install ZephyrOS and then try to somehow add ic-agent to the mix, although I'd still have to bridge C++ and Rust. I'm not sure if/how Zephyr would be able to expose the network socket from C++ to Rust ic-agent.
Perhaps it would be a good idea to put network stuff behind feature flags? Then flag with pub all functions that generate (or interpret) the content of network requests. What do you think?
Another option would be to split ic-agent into

ic-agent-core - cryptography, generation/interpretation of network requests/responses
ic-agent-network-wrapper-what-a-great-name = ic-agent-core + hyper-rustls + async


Respond to PR feedback.

As title.

Ping @DrTodd13 resolves comments on https://github.com/numba/numba/pull/3719, thanks.


I already wrote a reference but I keep getting reminders to do so

Subject: I already wrote a reference but I keep getting reminders to do so
Description:
Probably wrote the reference not by clicking on the link in the e-mail but rather by going to the persons profile and clicking "write a reference"
Results:
Hey there! After staying with Charlotte (https://couchers.org/user/charlotte_27) I wrote a reference for her but I keep getting E-Mails, that I should do so (again) - do you know what causing the issue? All the best :)
Backend version: develop-b3cee755
Frontend version: d5976f07e36d2b578615fff0b4c9b964e1d4352a
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Page: https://couchers.org/user/charlotte_27
User: jfk (10300)

dupe #3530


Commit changes the colors of gamebook fork moves based on default logic

https://github.com/lichess-org/lila/commit/024b8cbb1644093a0df8bdc8d3d199f85d0ee285
This commit colors green the first variation in a fork and red all of the others. This has to be handled by Extended Interactive Lesson.

fixed in 2.1.44

Reopening because the arrow colors are changed, too.

fixed in v2.1.51


Text instead of Bitmaps

Hi,
thanks so much for your library. It really helps me out.
I will create a dart board with it to show the hit quotas for the different targets around the board. However, as you see in the Screenshots, I need to show numbers instead of bitmap icons around the chart. Could you add a simple feature to add texts instead of bitmaps?
Thanks a lot,
Niko

Hi. I don't maintain this library anymore.


Allow submission edits on closed forms

Address case 21 of https://github.com/getodk/central-backend/issues/469#issuecomment-1184672088
TODO:

[x] confirm if !drafts check is required (it is)
[x] add a test demonstrating it's necessity

Funny that this looked like it was going to be the hard part to me. I do think that's it!

Add new test cases for drafts(??)

Is there still a question around that or is the (??) stale?
I'd personally find it easier to review all of the state-related changes together once it's ready so my preference would be to squash this into one commit and cherry-pick it onto whatever branch closes the original issue. That'd be a good thing to check in with @matthew-white about.

Is there still a question around that or is the (??) stale?

?? is stale :slightly_smiling_face:
Those tests also pass on master - it's currently an untested path.  If it's helpful, I can open a separate PR to merge them first.

Great! Makes sense to me to keep them here as you have them. As I see it, the change makes it into more of a noteworthy path. But again, pulling in @matthew-white since that touches on process for final review.

I'm realizing that a version of this issue is also present for the REST API endpoint to edit a submission (not just the OpenRosa endpoint):
https://github.com/getodk/central-backend/blob/fe1c0b78e53479285a244ec3d4b704b808af3bef/lib/resources/submissions.js#L209-L216
I'm guessing that addressing that would entail a similar change to what you've already done in this PR. What do you think about making that change to both the OpenRosa and REST APIs as part of this PR? At that point, I think it'd probably make sense to merge this PR on its own, unless @alxndrsn ends up finding it easier to put everything related to #469 in a single PR.

I'm realizing that a version of this issue is also present for the REST API endpoint to edit a submission (not just the OpenRosa endpoint)

I'll file a separate issue about this.


Do a research

Do a research on existing iOS (and Android if possible wallets).
Points of interest:

Batch send. Whether wallets have this feature, and if yes, how is it implemented UX wise? I assume, for every target address & amount there should be an option to scan it via QR.
Multisig. I'm not aware how wallets usually implement multisig so it is user-friendly. I know only Electrum (desktop wallet)  supports multisig, but I never tried it.  Multisig is super important for security reasons, and doent necessary involves several people. It's usually one person but with several keys (od devices), which he uses to sign the send transaction. So security leaks on one devices doesnt compromise security. Multisig is a corner stone in wallet being made by CasaHODL, see Lopp talk from "Building on Bitcoin"

I feel those are most important features for next releases, and it would be nice to know how other mobile wallets handling it to adopt best practices. If they don't - well, bad for them.

Copay has an excellent multisig workflow that’s very user friendly. Available on mobile desktop operating systems. No Segwit though.

Thank's @maxtannahill will look into Copay on iOS.


Get started with Document Intelligence: Uri stream data no longer up to date

In the article, "Get Started with Document Intelligence" the code for the pre-built invoice seems to have a versioning issue.
The code provided in the tutorial:
Uri invoiceUri = new Uri ("GITHUB_URL"); Operation operation = await client.AnalyzeDocumentAsync(WaitUntil.Completed, "prebuilt-invoice", invoiceUri); AnalyzeResult result = operation.Value;
The code that has proven to work:
Uri invoiceUri = new Uri("GITHUB_URL"); Operation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, "prebuilt-invoice", invoiceUri);  AnalyzeDocumentOperation result = (AnalyzeDocumentOperation)operation;
This code should be updated to the latest version.

@Cash96
Thanks for sharing the feedback. Since this channel is for driving improvements towards Docs, could you please provide the URL of the specific documentation that your feedback is applicable to? That way, we can make sure your feedback is addressed by the right team.

@Cash96
We are going to close this thread. if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


validate healthcheck params in daemon side

Signed-off-by: allencloud<EMAIL_ADDRESS>fixes #30202
validate user input healthcheck parameters via API in the daemon side.
- What I did

validate healthcheck in daemon side
add a test for api testing invalid healthcheck parameters
add missing --health-retries validation in client side

- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@cpuguy83 there is question for you here :)

Hi @cpuguy83 @LK4D4
Thanks for the review. Currently I updated this PR with modifying the validation from 0 to 1s. And in additional, I added more specific details in docs swagger.yml and update api 1.24, since healthcheck is introduced in docker 1.12.x and api 1.24. PTAL, thanks 😄

LGTM


XL results separated by data files.

From Z:
Finish in next release.

Not necessary. The filename is in every line of the .tsv files.


UIINREACH-55: Manage contribution updates

Purpose

Added tooltip to the Initiate contribution button id the configuration is not valid
Added loading indication when the contribution in progress
Added Refresh button for the contribution statistics

Screenshots

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-inn-reach/job/PR-218/1/

yarn run v1.22.18
$ eslint ./ && stylelint "src/**/*.css"
/home/jenkins/workspace/folio-org_ui-inn-reach_PR-218/project/src/settings/components/ManageContribution/components/Footer/Footer.test.js
57:57  error  Missing whitespace after semicolon  semi-spacing
57:58  error  Unnecessary semicolon               no-extra-semi
✖ 2 problems (2 errors, 0 warnings)
2 errors and 0 warnings potentially fixable with the --fix option.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


IIS Express Issue

I like to use IIS Express during development as I deploy to IIS. However, that is always a little tricky with multi-tenant. SaaSKit resolves differently -- and I resolve using a DB -- so the host entries are stored there just differing ports, not with a subdomain.
With Finbuckle, I assume I need to modify the hosts file and perhaps do something with project properties. Do you have an example of what you've done?
Thanks.

I did manage to get it working for one tenant, when I try to navigate to the other, I get:
HTTP Error 400. The request hostname is invalid.

hi again @pkavan
IIS Express is very tricky to get working using subdomains. I've used the host strategy successfully in IIS deployments, but always had trouble with IIS Express in development. I use macOS mainly though so it isn't a problem I run into. I don't think its Finbuckle.MultiTenant specific though.
Taken from here:
Find this file: .vs\config\applicationHost.config
and edit it like so (using whatever port and tenant subdomains you want to work):
<bindings>
   <binding protocol="http" bindingInformation="*:5252:localhost" />
   <binding protocol="http" bindingInformation="*:5252:tenant1.localhost" />
   <binding protocol="http" bindingInformation="*:5252:tenant2.localhost" />
   ... etc
</bindings>

If you are using IIS Express 10 I think you can use a wildcard that covers all cases:
<binding protocol="http" bindingInformation="*:5252:*.localhost" />

@pkavan Hi, did you ever have success getting this to work with IIS Express?

Sorry, I have been busy with other projects and then a week and a half of a much needed vacation -- so I am just getting back to this today. I will let you know how it goes.

I use macOS mainly though so it isn't a problem I run into.

How did you configured this on a mac?
Thanks

@vdecristofaro
on Mac you can edit your /etc/Hosts file and add entries for your local hosts files to have your subdomains point to your loopback address. This link explains how to do it:
https://www.imore.com/how-edit-your-macs-hosts-file-and-why-you-would-want
After 127.0.01 localhost you can have lines like:
<IP_ADDRESS>    tenant1.localhost
<IP_ADDRESS>    tenant2.localhost


[EN] Feedback for: /web/tools/chrome-devtools/?hl=en

With experiments turned on, and 'Layers panel' enabled, whenever I have a breakpoint in my javascript my CPU usage goes up so much that my machine overheats, hits 100 deg. C and powers off.

That's pretty crazy! But here's not the right place to file a bug about the DevTools themselves. Please refile your bug at https://crbug.com/new.


vdirsyncer: 0.10.0 -> 0.11.0

Motivation for this change
package update
Things done

[x] Tested using sandboxing
Built on platform(s)

[x] NixOS

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

LGTM. Care to add the thing I annotated?

@matthiasbeyer @FRidh what about this new version?
khal, which depends on vdirsyncer, won't build (see #15625) but I guess this shouldn't prevent this PR from being merged.


feat(radar): add recent AI squad findings

Adds to the Tech Radar some conclusions reached by the AI Innovation Squad.
(Radar change is in db2993bcce91047ba01dc6bae95022f87be45260)

Merging!


Can't build example using esp-idf v4.1

Prerequisites

[x] I have written a descriptive issue title
[x] I have verified that I am using the latest version of esp32-wifi-manager
[x] I have searched open and closed issues to ensure it has not already been reported

Description
I'm facing the same issue similar #103 when working with ESP-IDF 4.1 on platformio.
 error: unknown type name 'esp_event_handler_instance_t'; did you mean 'esp_event_handler_t'?
Is there anyway to get around this build error while still using the 4.1 version?
Steps to Reproduce

install platformio extention on vscode
create a new project for esp32 using the esp-idf framework
create a components folder under the root of the project and copy the wifi-manager into it (tried master and other tags)
build

System Configuration

Debian 10 x64
vscode
platformio

Hello,
This is normal, this code only compile with 4.2 and up as per the requirements:
https://github.com/tonyp7/esp32-wifi-manager#requirements

Are you considering to support a stable release in the future? because v4.2 is only pre-release beta now contrary to v4.1 which will be supported until February 2023.

Definitely not. 4.2 should hit RC stage fairly soon and the master tree is already in 4.3. There’s no point holding back the codebase at this stage.


Where can I download the latest firmware?

Where can I download the latest firmware?
I use raspberry pi 3b+ and  pi 3b

Check out the Github releases tab of the repository


TiCDC changefeed stucks "Can't create more than max_prepared_stmt_count statements (current value: 16382)"

What did you do?

create changefeed for MySQL sink
run workload

sysbench --db-driver=mysql --mysql-host=upstream-tidb.cdc-testbed-tps-1651903-1-86 --mysql-port=4000 --mysql-user=root --mysql-db=workload --tables=100 --table-size=500000 --create_secondary=off --time=3600 --threads=100 oltp_update_non_index prepare
sysbench --db-driver=mysql --mysql-host=upstream-tidb.cdc-testbed-tps-1651903-1-86 --mysql-port=4000 --mysql-user=root --mysql-db=workload --tables=100 --table-size=500000 --create_secondary=off --time=3600 --threads=100 oltp_update_non_index run

What did you expect to see?
PITR changefeed should advance normal
What did you see instead?
PITR changefeed stucks.

In cdc log, we can see MySQL txn error: Error 1461 (42000): Can't create more than max_prepared_stmt_count statements (current value: 16382)
[2023/02/26 10:16:37.314 +00:00] [ERROR] [mysql.go:184] ["execute DMLs failed"] [error="[CDC:ErrReachMaxTry]reach maximu
m try: 8, error: [CDC:ErrMySQLTxnError]MySQL txn error: Error 1461 (42000): Can't create more than max_prepared_stmt_cou
nt statements (current value: 16382): [CDC:ErrMySQLTxnError]MySQL txn error: Error 1461 (42000): Can't create more than
max_prepared_stmt_count statements (current value: 16382)"] [errorVerbose="[CDC:ErrReachMaxTry]reach maximum try: 8, err
or: [CDC:ErrMySQLTxnError]MySQL txn error: Error 1461 (42000): Can't create more than max_prepared_stmt_count statements
 (current value: 16382): [CDC:ErrMySQLTxnError]MySQL txn error: Error 1461 (42000): Can't create more than max_prepared_
stmt_count statements (current value: 16382)\[ngithub.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/errors@v0.11.5-0](http://ngithub.com/pingcap/errors.AddStack/n/tgithub.com/pingcap/errors@v0.11.5-0).
20221009092201-b66cddb77c32/errors.go:174\[ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\tgithub.com/pingcap/e](http://ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs/n/tgithub.com/pingcap/e)
rrors@v0.11.5-0.20221009092201-b66cddb77c32/normalize.go:164\[ngithub.com/pingcap/tiflow/pkg/retry.run\n\tgithub.com/ping](http://ngithub.com/pingcap/tiflow/pkg/retry.run/n/tgithub.com/ping)
cap/tiflow/pkg/retry/retry_with_opt.go:69\[ngithub.com/pingcap/tiflow/pkg/retry.Do\n\tgithub.com/pingcap/tiflow/pkg/retry](http://ngithub.com/pingcap/tiflow/pkg/retry.Do/n/tgithub.com/pingcap/tiflow/pkg/retry)
/retry_with_opt.go:34\[ngithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries\n\tgit](http://ngithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql.(*mysqlBackend).execDMLWithMaxRetries/n/tgit)
[hub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql/mysql.go:582\ngithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql](http://hub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql/mysql.go:582/ngithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql).(*m
ysqlBackend).Flush\n\[tgithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql/mysql.go:182\ngithub.com/pingcap/tiflow/cdc/s](http://tgithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/mysql/mysql.go:182/ngithub.com/pingcap/tiflow/cdc/s)
ink/dmlsink/txn.(*worker).doFlush\n\[tgithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/worker.go:214\ngithub.com/pingcap/ti](http://tgithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/worker.go:214/ngithub.com/pingcap/ti)
flow/cdc/sink/dmlsink/txn.(*worker).runBackgroundLoop.func1\n\[tgithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/worker.go](http://tgithub.com/pingcap/tiflow/cdc/sink/dmlsink/txn/worker.go):
163\nruntime.goexit\n\truntime/asm_amd64.s:1598"]

Versions of the cluster
CDC version:
[2023/02/26 10:06:56.361 +00:00] [INFO] [version.go:47] ["Welcome to Change Data Capture (CDC)"] [release-version=v6.7.0
-alpha] [git-hash=00bfd0d0580d59977adf91ea9c1e237f787d0b6c] [git-branch=heads/refs/tags/v6.7.0-alpha] [utc-build-time="2
023-02-25 11:32:40"] [go-version="go version go1.20.1 linux/amd64"] [failpoint-build=false]

/severity major

/found automation

/assign @dbsid


'Unmaintained. Please do not use anymore.'

Self explanatory. Huge issue as this is a big part of certain fringe subcultures.

 I'll use whatever fringe code I want to!

lol... On a serious note, I can't maintain it anymore and the biggest issue is documentation for getting the setup to work just right to avoid running MineCloud successfully (especially since software (dependencies) have updated and the codebase has not kept up with that due to inactivity). If anyone is interested in maintaining it, I'd be happy to open a discussion about how to work around it, or they can create a fork :P


Feature: configurable password question

Rancher Versions:
Server: 1.2.2
I think it would be nice to have a configurable length and possibly composition of the password question.  This could possibly be done with more types i.e.
password16   = 16 character length password uses all characters
password16alphanum = 16 character length password uses only alphanumeric characters
password32   = 32 character length password uses all characters
password32alphanum = 32 character length password uses only alphanumeric characters

and then you specify that as your 'type'
type: password32alphanum

or by specifying more fields before the type:
passwordlength: 32
passwordchars: alphanum
type: password

or even one where you pass in an array of chars, but they seems a bit overboard for the moment.  Feel free to just close this issue if it's out of scope

just going nutty with it, how about give the user a dropdown caret which let's them choose some of this stuff themselves right beside the generate button.  Just throwing ideas out there, feel free to ignore this and concentrate on more important stuff.  I tend to generate my passwords anyhow as it is not the right length or has characters I'm suspicious about breaking things (postgres in particular I think does not like rancher generated passwords )

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.