Map accessing with passed record generic type crashes on Android

Is there an existing issue for this?

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

Steps to reproduce
By executing this piece of code:
final LinkedHashMap<Type, String> map = LinkedHashMap<Type, String>();
void testPrint<T>() {
    print(map[T]);
}

testPrint<
(
  int legCount,
  int headCount,
)>();

Expected results
Return null for both Android & iOS.
Actual results
Throw this on Android:
The method '&' was called on null.
Receiver: null
Tried calling: &(0)

When the exception was thrown, this was the stack:
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
#1      _HashBase._hashPattern (dart:collection-patch/compact_hash.dart:186:37)
#2      _LinkedHashMapMixin._getValueOrData (dart:collection-patch/compact_hash.dart:580:39)
#3      _LinkedHashMapMixin.[] (dart:collection-patch/compact_hash.dart:602:13)

Return null on iOS
Code sample
Code sample

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.10.4, on macOS 13.4 22F66 darwin-arm64, locale zh-Hans-MY)
    • Flutter version 3.10.4 on channel stable at /Users/taboosun/fvm/versions/3.10.4
    ! Warning: `dart` on your path resolves to /Users/taboosun/Development/flutter/bin/cache/dart-sdk/bin/dart, which is not inside your current Flutter SDK checkout at /Users/taboosun/fvm/versions/3.10.4. Consider adding /Users/taboosun/fvm/versions/3.10.4/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 682aa387cf (7 days ago), 2023-06-05 18:04:56 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/taboosun/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/taboosun/Library/Android/sdk
    • Java binary at: /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.10121639/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/taboosun/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 74.0.4
    • Dart plugin version 231.9065

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9011.34/IntelliJ IDEA.app
    • 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

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

[✓] Connected device (6 available)
    • SM N986B (mobile)                   • adb-R5CR50H04AH-jJS6jr._adb-tls-connect._tcp. • android-arm64  • Android 13 (API 33)
    • sdk gphone64 arm64 (mobile)         • emulator-5554                                 • android-arm64  • Android 13 (API 33) (emulator)
    • 神的iPhone 14 Pro Max (mobile)        • 00008120-000E69D00E90C01E                     • ios            • iOS 16.5 20F66
    • iPhone SE (3rd generation) (mobile) • 4D7FC90E-3286-4272-B9D2-F4E3118FBAE5          • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                     • macos                                         • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)                        • chrome                                        • web-javascript • Google Chrome 114.0.5735.106
    ! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)

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

! Doctor found issues in 1 category.

Hi @TabooSun.
Looking at this issue, it seems the issue is best suited to report in dart-lang/sdk repo. Kindly report the issue in the designated repo. Thank you.


Using symengine backend as an alternative to sympy

[Not required, adding here as a free-firday ticket!)
symengine is a C++ implementation for SymPy library. For some of the mod file examples with Kinetic schemes / derivimplicit solvers, we have seen nmodl taking ~30seconds with call to sympy.
Using symengine might be a solution here? Note that there is also python wrapper to symengine.py.
This issue was motivated by the fact that we need libpython.so at runtime, see #315.

things to verify:

how is the developer support? Is it an alive project?
How are performances/accuracy vs sympy?
Is the user base large?

@cattabiani : you might be interested in SciPy 2016 talk. Basically, it’s library from sympy authors. We checked this when Liam initially started implementation but chose sympy because of simplicity and development efforts.

today I tried to install/use this library.
Problems:

almost all the documentation uses python or R bindings. On the cpp side I did not find anything more than the example in: https://symengine.org/design/design.html
gmp is a required library


destroy need to check if not null

when you do something like:
this.rotate.del();
sometimes this.rotate can be null
I think it should check for existence before try to delete anything like:
           if (this.rotate) this.rotate.del();
           if (this.touchStart) this.touchStart.del();
           if (this.multipointStart) this.multipointStart.del();
           if (this.multipointEnd) this.multipointEnd.del();
           if (this.pinch) this.pinch.del();
           if (this.swipe) this.swipe.del();
           if (this.tap) this.tap.del();
           if (this.doubleTap) this.doubleTap.del();
           if (this.longTap) this.longTap.del();
           if (this.singleTap) this.singleTap.del();
           if (this.pressMove) this.pressMove.del();
           if (this.touchMove) this.touchMove.del();
           if (this.touchEnd) this.touchEnd.del();
           if (this.touchCancel) this.touchCancel.del();

thanks . i just review the code. i found out that it had been checkek  :
https://github.com/AlloyTeam/AlloyFinger/blob/master/alloy_finger.js#L45

@kmdjs you are right I guess it my mistake I saw an error than happend when this.rotate was null but I cant replicate it.
thanks great library :) hope I know chinese


Cache resolution is slow

See original issue on GitLab
In GitLab by [Gitlab user @BenjaminSchubert] on Sep 8, 2019, 13:15
Summary
The new cache state resolution is too slow.
It is able of resolving the state of locally cached elements at the speed of roughly 7/s.
On a project with hundred/thousands of packages, this makes is unusable
Steps to reproduce

Take any reasonable sized project
Build everything
bst show... and wait

What is the current bug behavior?
This takes ages
What is the expected correct behavior?
This should be as fast as bst1 at least.

In GitLab by [Gitlab user @juergbi] on Sep 8, 2019, 15:45
buildbox-casd is not used for read-only access, so I don't expect it to be directly related to using buildbox-casd. I suspect it's related to the change to allow partial local CAS cache, which meant that bst show has to check the presence of each file blob before it can claim it's cached. This is required for buildbox-casd (as blob-based expiry cannot guarantee artifacts are always complete in the cache) as well as the pull-artifact-files: False option for remote execution.
As a first step we should add a performance test that covers this issue as the weekly performance reports haven't shown a significant regression for 'show once built'.
Using buildbox-casd to check the presence of whole directory trees instead of performing the check in Python should actually improve performance. buildbox-casd is written in C++ and it can use multiple CPU cores, at least if BuildStream can issue multiple requests in parallel.
It may also be useful to make the check optional for bst show. However, I suspect other commands are also slow because of this and it can't be optional for these commands, so I think we would need to optimize this even if we were to make the check optional for bst show.

In GitLab by [Gitlab user @BenjaminSchubert] on Sep 9, 2019, 10:45
changed the description

In GitLab by [Gitlab user @BenjaminSchubert] on Sep 9, 2019, 10:46

I suspect it's related to the change to allow partial local CAS cache

Oh that makes more sense indeed
That would also explain why it gets even slower with bigger artifacts.

It may also be useful to make the check optional for bst show

I don't think so, we often get whether it is cached or not, so it might become tricky. Or do it only when asked?

In GitLab by [Gitlab user @juergbi] on Sep 27, 2019, 08:28
assigned to [Gitlab user @juergbi]

In GitLab by [Gitlab user @juergbi] on Oct 15, 2019, 09:41
mentioned in merge request !1641

In GitLab by [Gitlab user @juergbi] on Oct 15, 2019, 09:45
mentioned in merge request !1642

In GitLab by [Gitlab user @juergbi] on Oct 17, 2019, 11:13
marked this issue as related to BuildGrid/buildbox/buildbox-casd#38

In GitLab by [Gitlab user @juergbi] on Oct 17, 2019, 12:54
https://gitlab.com/BuildStream/buildstream/merge_requests/1642 improves contains_directory() (used to resolve cache state) performance for directories with many files by factor 2.5 based on local tests. The Python overhead is avoided by letting buildbox-casd perform the action (via gRPC call). On my system this results in per file cost of about 4µs (mainly the cost of the utime() syscall) compared to about 10µs on master.
However, a gRPC call is obviously more expensive than a process-internal function call. Based on measurements on my system the overhead is about 150µs per call. There is one call per element/artifact.
This means that while this improves performance for artifacts with many files, it reduces performance if there are many artifacts with few files. The break-even point might be at about 25 files per artifact.
In our Debian-based benchmark, which is an extreme case with thousands of artifacts with a single file each, bst show (cached) slows down from 6.53s to 7.6s on my system. I also see a significant slowdown of the build time from 110s to 125s with 4 builders, which is likely caused by frequent gRPC connects and disconnects required due to gRPC calls in the main process while the scheduler is running.
The proper fix for the bst show slowdown, as I see it, is to batch these gRPC calls to reduce the per-artifact overhead while still taking advantage of the better per-file performance. Additionally, batching should also make it possible to use multi-threading in buildbox-casd to further improve performance on multi-core systems. However, batching doesn't fit well with the current update_state() architecture. It may be possible to support batching before https://gitlab.com/BuildStream/buildstream/issues/1054, however, it would probably be easier if we already had explicit, fine-grained state updates.
The fix for the build slowdown is less clear. A helper subprocess with a persistent gRPC connection to buildbox-casd could be an option.
We should also fix https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/38 to avoid buildbox-casd startup time becoming a significant bottleneck.
Do we want to hold off the MR until batching is implemented and the build slowdown is fixed as well or merge it mostly as is despite the performance regression in certain scenarios?

In GitLab by [Gitlab user @BenjaminSchubert] on Oct 17, 2019, 17:37
I'll have a go at doing a show on freedesktop-sdk and look at both versions and let you know. I'd lean towards merging it, but would just like to double check first :)

In GitLab by [Gitlab user @juergbi] on Oct 21, 2019, 13:13
mentioned in merge request !1645

In GitLab by [Gitlab user @BenjaminSchubert] on Oct 25, 2019, 13:41
I've tested this internally and have a few benchmarks. Performance improvements of !1642 is marginal
## MASTER

bst show nothing cached: 23.785, 23.604, 23.931
bst build: 115m
bst show all cached: 1m38, 1m39, 1m37

## 1642

bst show nothing cached: 23.401, 23.425, 22.8
bst build: 114m
bst show all cached: 1m34, 1m31, 1m35

In GitLab by [Gitlab user @BenjaminSchubert] on Nov 3, 2019, 20:41
Tested with freedesktop-sdk on sdk-image.bst on Ubuntu 19.04:
master

show uncached:

7.54
7.32
7.53

build:

real: 198m30
user 32m4
sys 12m46

show cached:

20.3
15.7
15.7

## 1642

bst show nothing cached: 4.30, 4.30, 4.23

build:

real: 198m09
user: 22m40
sys 13m29

show cached:

18.13
14.3
14.0

Let's get it in, in real scenarios it's better

In GitLab by [Gitlab user @BenjaminSchubert] on Jan 13, 2020, 17:48
mentioned in merge request !1739

In GitLab by [Gitlab user @BenjaminSchubert] on Jan 16, 2020, 18:49
closed via merge request !1739

In GitLab by [Gitlab user @BenjaminSchubert] on Jan 16, 2020, 18:49
mentioned in commit a5b2396539e1621eef75a035b12c1c4266b5c9fe

In GitLab by [Gitlab user @juergbi] on Mar 30, 2020, 09:52
mentioned in merge request !1837


Add flush_output to XDMF output

Per the discussion in https://www.allanswered.com/post/loqve/

Also https://fenicsproject.org/qa/3997/previewing-xdmf-file/

Complete as of commit de828cba4cbab57a2c06828171389e5319ddeb46


[#162793860] Prometheus exporter documentation fixes

What

Fix: the paas-metric-exporter is not displaying any metrics but pushes them to a StatsD-compatible server
Change the order that users should start the prometheus-exporter app first and then set it up in Prometheus
Fix type: supposed -> supported

How to review
Code review. I don't think a 2i review is needed as there is no new content.
Who can review
Anyone.

LGTM


Better load model support

This PR fixes a couple of bug triggered by the latest version of TVM when saving \ loading a model.
Additionally, it allows to easy load a model without having to specific the container type.

Codecov Report

Merging #401 (9f7c512) into main (b8ec670) will decrease coverage by 5.67%.
The diff coverage is 79.31%.

@@            Coverage Diff             @@
##             main     #401      +/-   ##
==========================================
- Coverage   90.88%   85.21%   -5.68%
==========================================
  Files          62       62
  Lines        3675     3699      +24
  Branches      707      707
==========================================
- Hits         3340     3152     -188
- Misses        177      392     +215
+ Partials      158      155       -3

Flag
Coverage Δ

unittests
85.21% <79.31%> (-5.62%)
:arrow_down:

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

Impacted Files
Coverage Δ

hummingbird/ml/_container.py
71.42% <0.00%> (-17.65%)
:arrow_down:

hummingbird/ml/_utils.py
83.84% <79.16%> (-4.84%)
:arrow_down:

hummingbird/ml/__init__.py
100.00% <100.00%> (ø)

...mmingbird/ml/operator_converters/sparkml/linear.py
42.85% <0.00%> (-57.15%)
:arrow_down:

...bird/ml/operator_converters/sparkml/discretizer.py
47.36% <0.00%> (-42.11%)
:arrow_down:

hummingbird/ml/convert.py
67.48% <0.00%> (-15.77%)
:arrow_down:

hummingbird/ml/_topology.py
70.07% <0.00%> (-14.79%)
:arrow_down:

hummingbird/ml/_parse.py
75.78% <0.00%> (-10.07%)
:arrow_down:

...ml/operator_converters/sparkml/vector_assembler.py
90.00% <0.00%> (-10.00%)
:arrow_down:

... and 3 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 b8ec670...9f7c512. Read the comment docs.


No HMR in weird symlink scenario

Vite Plugin Version
1.0.1
Laravel Version
10.44.0
Node Version
21.6.2
NPM Version
10.2.4
Operating System
Linux
OS Version
Ubuntu 20.04.6
Web browser and version
Safari Version 17.3 (196<IP_ADDRESS>.8)
Running in Sail?
No
Description
Certain symlinks break hmr file changes from being recognised. So far, I have only noticed pint.json but I presume it's other similar type config that Vite might recognise?
The weird thing here is that if I explicitly pass to the refresh option the refreshPaths array instead of true, but I remove "resources/lang/**" from that list, it works again.
Another possibly relevant point is that if I start npm run dev with a valid configuration/set of file then change them while it's running, the hmr file changes are still detected, so must be something at initial run.
FYI, the reason we had a pint.json symlink in the first place was to share Pint configuration across multiple projects.
Steps To Reproduce
https://github.com/legecha/vite-plugin-bug-report
See commits for examples of working and non-working states.

Very strange! Thanks for the repo - it helped me replicate the issue.
Regarding the resources/lang/** change - this directory doesn't exist by default, but I noticed that when I created the directory, the problem went away. I played around with this more and found that the issue only happens when a non-existing path inside the resources directory is added (e.g. resources/foo breaks it, app/foo doesn't). I don't think it's the resources directory specifically, just that the non-existing path shares a common parent with the app.css file being changed.
I also found that the symlink needs to be in the root directory of the project, but the file name doesn't seem to matter (e.g. a foo.bar symlink still triggers the issue).
We're using https://github.com/ElMassimo/vite-plugin-full-reload behind the scenes for the reload feature. After following the rabbit hole, the paths ultimately get passed to the add method on an instance of chokidar's FSWatcher that is instantiated by Vite. I've been able to replicate the issue by directly passing a non-existing path to Vite's chokidar instance so it doesn't seem to be anything specifically with vite-plugin-full-reload. I've also tried replicating the issue in a fresh Node project but can't seem to trigger it, even when instantiating chokidar with the same options that Vite uses.
I think the fix is to filter out non-existing refresh paths before passing them to vite-plugin-full-reload, as it's this plugin that's passing the potentially non-existing path.


Unit test for statHttp within Pelican Client

Added unit test for statHttp within Pelican client. Note: this should not be merged until #884 is completed since currently statHttp only works with topology. Therefore, I expect tests to fail and I will readdress them once that PR is merged and this function is working properly.

Note: the osdf:// stat test is currently a pelican url. This is waiting for #878 to be merged before fixing. Made issue #961 to do this


MR Auth: Release 1.1.0

This change updates the Mixed Reality Authentication package to 1.1.0 for release.

API change check
API changes are not detected in this pull request.


chore: bdd-spring-1575430620 to 0.0.1

chore: Promote bdd-spring-1575430620 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


docs: Adding useful info to Accounts, Notes and Transactions

In the Architecture section, I added

Accounts
Notes
Transactions

as the basic building blocks.
Please review if this captures everything correctly.

@hackaugusto @frisitano I would love to get your review, because you implemented those objects recently, right?


License?

Would you mind explicitly adding a license to this script? I realize this sounds like a ridiculous request, but lawyers are annoying. ;)

No problem, I've added the MIT license.

Thanks, much appreciated!


Replace custom client test code with mockery generated one

Description
This PR replaces the client mock structs we used with mockery generated ones.
In addition the gci make command was updated to not change imports for generated files.
How can this be tested?
Run unit tests and check if everything is still working.
Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6c05819) 64.81% compared to head (3271d8b) 65.07%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2376      +/-   ##
==========================================
+ Coverage   64.81%   65.07%   +0.26%
==========================================
  Files         244      243       -1
  Lines       15926    15866      -60
==========================================
+ Hits        10322    10325       +3
+ Misses       4843     4781      -62
+ Partials      761      760       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add form content & "currently introduced bills" feature

To the right of the map, we want to place some content:

Call to action - "if you are a professor, student group or business - click here to submit our form" and link the form
List of currently introduced bills (Matt to add)

@byron

https://docs.google.com/forms/d/1ls6KquC3h6AfPpVaRWSZFpFOgzVrGyc2yZhsqmsY6L0/edit

@byron I'm going to highlight the bills that are currently introduced in green in their respective data sheets.  I'll let you know when it's done.

Most likely I am not the person you mean.

Sorry. That was supposed to be directed to me - @bhinebaugh

@mvictor55 check if the form is editable by the public -  I'm able to make changes following that link.
I put in this link instead but not sure if that's the right way to fix it https://docs.google.com/forms/d/e/1FAIpQLSfhfGLP9Tjy9P49vyv-yk706pOISFH0ED8uImrlaqRRDBS8hg/viewform


[BUG] s.to: Could not find cache url

Describe the bug:
I can not download anymore from s.to, tested VOE and streamtape.
However aniworld.to works just fine.
Maybe s.to changed their logic regarding redirects?
Steps to Reproduce the bug:
./run.sh
Please select a download type:
   Anime
 > TV-show
   Quit

Please select the download mode:
 > Seasons
   Movies
   Quit

Please select a language:
 > German
   English
   GerSub
   Quit

Type in the name
example URL: https://aniworld.to/anime/stream/made-in-abyss/staffel-1
[made-in-abyss]
 > futurama

Please select a season:
 > All
   Custom
   Quit

Please select a provider:
 > VOE
   Streamtape
   Vidoza
   Quit

Expected behavior:
Should download like for aniworld.to.
Screenshots:
n/a
Logs:
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:1 with value:serie
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:2 with value:futurama
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:3 with value:Deutsch
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:4 with value:series
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:5 with value:0
2024-09-05 09:59:57 - DEBUG - src.constants - cli argument detected on position:6 with value:VOE
2024-09-05 09:59:57 - INFO - src.start_app - ------------- AnimeSerienScraper v01-10-00 started ------------
2024-09-05 09:59:57 - DEBUG - src.start_app - We have Read Permission
2024-09-05 09:59:57 - DEBUG - src.start_app - We have Write Permission
2024-09-05 09:59:57 - INFO - src.start_app - No Season override detected.
2024-09-05 09:59:57 - DEBUG - src.logic.collect_all_seasons_and_episodes - Entered get_season.
2024-09-05 09:59:57 - DEBUG - src.logic.collect_all_seasons_and_episodes - Site URL is: https://s.to/serie/stream/futurama/
2024-09-05 09:59:58 - DEBUG - src.logic.collect_all_seasons_and_episodes - Now leaving Function get_season
2024-09-05 09:59:58 - INFO - src.start_app - We have this many seasons: 9
2024-09-05 09:59:58 - DEBUG - src.logic.collect_all_seasons_and_episodes - Entered get_episodes
2024-09-05 09:59:59 - DEBUG - src.logic.collect_all_seasons_and_episodes - Now leaving Function get_episodes
2024-09-05 09:59:59 - INFO - src.start_app - Season 1 has 9 Episodes.
2024-09-05 09:59:59 - INFO - src.start_app - File name will be: output/serie/futurama_(1998)/Season 01/futurama - s01e01 - Deutsch.mp4
2024-09-05 09:59:59 - DEBUG - src.logic.downloader - File not downloaded. Downloading: output/serie/futurama_(1998)/Season 01/futurama - s01e01 - Deutsch.mp4
2024-09-05 09:59:59 - DEBUG - src.logic.language - Restructured language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'}
2024-09-05 09:59:59 - DEBUG - src.logic.language - Language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'}
2024-09-05 09:59:59 - DEBUG - src.logic.language - Given language: Deutsch
2024-09-05 09:59:59 - DEBUG - src.logic.search_for_links - Link to redirect is: https://s.to/redirect/14117896
2024-09-05 09:59:59 - DEBUG - src.start_app - Entered DDOS var check and starting new downloader.
2024-09-05 09:59:59 - DEBUG - src.logic.search_for_links - Enterd VOE to cache
2024-09-05 09:59:59 - INFO - src.logic.search_for_links - Found window.location.href. Redirecting...
2024-09-05 09:59:59 - DEBUG - src.logic.search_for_links - Enterd VOE to cache
2024-09-05 10:00:00 - ERROR - src.logic.search_for_links - Could not find cache url for VOE.
2024-09-05 10:00:00 - ERROR - src.start_app - Could not find cache url for VOE on 1, 1.
2024-09-05 10:00:00 - INFO - src.start_app - File name will be: output/serie/futurama_(1998)/Season 01/futurama - s01e02 - Deutsch.mp4
2024-09-05 10:00:00 - DEBUG - src.logic.downloader - File not downloaded. Downloading: output/serie/futurama_(1998)/Season 01/futurama - s01e02 - Deutsch.mp4
2024-09-05 10:00:00 - DEBUG - src.logic.language - Restructured language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'}
2024-09-05 10:00:00 - DEBUG - src.logic.language - Language mapping: {'German': '1', 'Deutsch': '1', 'Englische Sprache': '2', 'English': '2', 'Englisch': '2'}
2024-09-05 10:00:00 - DEBUG - src.logic.language - Given language: Deutsch
2024-09-05 10:00:00 - DEBUG - src.logic.search_for_links - Link to redirect is: https://s.to/redirect/14157340
2024-09-05 10:00:00 - DEBUG - src.start_app - Entered DDOS var check and starting new downloader.
2024-09-05 10:00:00 - DEBUG - src.logic.search_for_links - Enterd VOE to cache
2024-09-05 10:00:01 - INFO - src.logic.search_for_links - Found window.location.href. Redirecting...
2024-09-05 10:00:01 - DEBUG - src.logic.search_for_links - Enterd VOE to cache
2024-09-05 10:00:01 - ERROR - src.logic.search_for_links - Could not find cache url for VOE.
2024-09-05 10:00:01 - ERROR - src.start_app - Could not find cache url for VOE on 1, 2.
...

Additional Info:

Release: V-2.05
streamtape error: 2024-09-05 10:05:02 - WARNING - src.logic.search_for_links - HTTP Error 404: Not Found

I just tested streamtape but it works for me.
Can you give me your log for streamtape so i can see why its failing for you in the mean time?
@white-chestnut

@wolfswolke, you are right, streamtape works again for me, so no need to send any logs.
This morning streamtape was not working for as well for s.to and I got the follwing error:
2024-09-05 10:05:02 - WARNING - src.logic.search_for_links - HTTP Error 404: Not Found
But as I said, streamtape is working (again)
Thank you

I get this error on everything right now no video platform i select works

Starting scraper now...
←[1;94m2024-12-04 22:34:50 - INFO - src.start_app - ------------- AnimeSerienScraper v02-06 started ------------ ←[0m
←[1;94m2024-12-04 22:34:50 - INFO - src.start_app - Season Override detected. Override set to: 0 ←[0m
←[1;94m2024-12-04 22:34:51 - INFO - src.start_app - Season 0 has 0 Episodes. ←[0m
Done!
This is what i guett

I "fixed" it. I selected nothing in season selection and i selected Vidoza instead of VOE

ok no it didnt work I only want the movies and even if i select movies i cant download them

Yeah, so it seems that on the current main branch, VOE does not work for things uploaded recently, both on s.to and AniWorld.
While this is not a problem for things that also have Streamtape and Vidoza available, it is for these which only have unsupported hosts available otherwise. For example dan-da-dan on AniWorld is on VOE, Doodstream, Filemoon, and Luluvideo. And with VOE being the only one supported but not working, it's currently undownloadable.


feat: zngly & morphir website integration

Zngly/Morphir New Website Integration into Finos/Morphir
Zngly Work

The zngly repository built the new website for morphir
Zngly Website

Staging Work

The Forked Zngly Repository and Branch
The Live Staging Website  with the new proposed updates from zngly/morphir-1 to finos/morphir

Underlying changes

src folder now contains new structure

Docusaurs config for deployment set to finos/morphir. It should work on merge
cd morphir/website && npm run deploy once merged

Old readme replaced for new readme.
new static assets are added on top of the old assets

@mcleo-d @stephengoldbaum

@mcleo-d I can confirm the entire website directory has been replaced. More so it's the package.json which specifies dependencies. This has all been replaced with the new build.
If you are pulling from main upon the merge I would urge you do an npm install again to get the node modules up to date.
Afterwards you are free to run npm deploy. Double check the GitHub pages settings that it serves from the correct branch - gh-pages. This is the branch in which the command deploys to.

One more note, the docs directory remains unchanged apart from 3 files that were empty and caused build errors.

Hi @TheJuanAndOnly99 👋🏻


UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError: 'void net.midnightmc.zstd.ZstdCompressCtx.init()'
at net.midnightmc.zstd.ZstdCompressCtx.init(Native Method) ~[MidnightCore-1.0-all.jar:?]
at net.midnightmc.zstd.ZstdCompressCtx.(ZstdCompressCtx.java:28) ~[MidnightCore-1.0-all.jar:?]
at net.midnightmc.zstd.Zstd.compress(Zstd.java:786) ~[MidnightCore-1.0-all.jar:?]
at net.midnightmc.zstd.Zstd.compress(Zstd.java:775) ~[MidnightCore-1.0-all.jar:?]
at net.midnightmc.core.api.MapAPI.lambda$saveWorldToDB$1(MapAPI.java:120) ~[MidnightCore-1.0-all.jar:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper.jar:git-Paper-196]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [paper.jar:git-Paper-196]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [paper.jar:git-Paper-196]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
using gradle with relocate

@hswhsw610 similar problem on maven with shading #188 . Have you found a resolution?
I'm currently finding that renaming just the Native class from utils to anything else does the trick to avoid classpath pollution but I don't know why it works and it does not make a lot of sense to me.

I figured out the issue but I don't know what the proper solution is.
@hswhsw610 what happens is that when you shade/relocate/whatever this only affects the java bytecode. The native files which reference the java files do not get affected as the renaming utilities have no knowledge of them.

Yes, just relocating the classes does not affect the native part that has the old fqclass in the native function/method names.
I am also aware of the Hadoop issues with the conflicting jar.
Unfortunately I don’t have solution for any of the above issues. If somebody has any idea how we can improve I am open to suggestions.


Add /functions endpoint

We have added the /functions endpoint to the tng-gtk-sp because of the potential specific data the SP will have to add (which is different from the one the V&V will have to add). But this would leave a lot of repeated code on the ground, so we're moving the /functions endpoint here and providing an enrichment endpoint in each one of the SP and V&V.

closed via #115


ArgumentError: unknown keyword: truffle

Hi,
I'm using Truffle and the project is located inside /Users/zulh/hg/hg_blockchain inside my machine.
$ pwd
/Users/zulh/hg/hg_blockchain

$ ls
README.md          migrations         package.json       truffle.js
build              migrations_staging test               yarn.lock
contracts          node_modules       truffle-config.js

When I try create the contract variable, I got into this error:
> contract = Ethereum::Contract.create(name: "GoldToken", truffle: { paths: [ '/Users/zulh/hg/hg_blockchain' ] }, client: client, address: '0xf90bbfee4f57f05af68b9695ea430730a2b50e1d')
ArgumentError: unknown keyword: truffle
	from /Users/zulh/.rvm/gems/ruby-2.4.1/gems/ethereum.rb-2.1.8/lib/ethereum/contract.rb:28:in `create'
	from (irb):5
	from /Users/zulh/.rvm/rubies/ruby-2.4.1/bin/irb:11:in `<main>'

Any idea what's wrong here?

I have same issue

Can you try just providing an abi and see if it works?


Build Error

The build compilation reports that these libraries cannot be found, but I am certain the libraries are fully installed.
Use:
g++ -o renderglbplus.exe main.cpp stb/stb_image_write.h tinygltf/tiny_gltf.cc -lglut -lopengl32 -lglu32 -lpng -ljpeg -lm

Thanks for your help.

The project is non-functional, so I don't really see any point of running it. Though, have you ensured that you have installed GCC, etc correctly, perhaps you need to reinstall them? Not quite sure.


:build (:not native-compile) triggers Error: (void-variable native-comp-deferred-compilation-deny-list) on Emacs 27.2

Recently I decided to switch back to Emacs 27.2 for some stability. I have one custom recipe which have
:build (:not native-compile).
Sure, Emacs 27.2 doesn't have native compilation. But I think recipe with :build (:not native-compile)
should work too.
Below is straight-bug-report with straight-get-recipe version of org with extra :not native-compile
Test Case
(straight-bug-report
  :pre-bootstrap
  (message "before bootstrap")
  (message "multiple forms allowed")
  :post-bootstrap
  (message "after bootstrap")
  (message "multiple forms allowed")
  (straight-use-package
   '(org :type git :repo "https://code.orgmode.org/bzg/org-mode.git" :local-repo "org" :depth full :pre-build
         (straight-recipes-org-elpa--build)
         :build
         (:not autoloads :not native-compile)
         :files
         (:defaults "lisp/*.el"
                    ("etc/styles/" "etc/styles/*"))))
  (message "bye"))

Test run at: 2021-05-31 12:17:01
system-type: gnu/linux
straight-version: prerelease (HEAD -> develop, origin/develop) e46292d 2021-05-12
emacs-version: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-27

Output
before bootstrap
multiple forms allowed
Bootstrapping straight.el...
Bootstrapping straight.el...done
Rebuilding all packages due to build cache schema change
Looking for gnu-elpa-mirror recipe → Cloning melpa...
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for emacsmirror-mirror recipe → Cloning gnu-elpa-mirror...
Looking for emacsmirror-mirror recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning el-get...
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...
Building straight...done

Test run with version: prerelease (HEAD -> develop, origin/develop) e46292d 2021-05-12
after bootstrap
multiple forms allowed
Cloning org...

Would you mind testing this patch by running the following test case?:
Test Case
(straight-bug-report
  :user-dir "void-comp-deny.straight"
  :pre-bootstrap
  (setq straight-repository-user "progfolio" straight-repository-branch "fix/void-comp-deny-guard")
  :post-bootstrap
  (straight-use-package
   '(org :build
         (:not autoloads native-compile)))
  (require 'org)
  (org-version nil 'full 'message))

Test run at: 2021-05-31 08:27:27
system-type: gnu/linux
straight-version: prerelease (HEAD -> fix/void-comp-deny-guard, fork/fix/void-comp-deny-guard) cfb790e 2021-05-31
emacs-version: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2021-05-25

Output
Bootstrapping straight.el...
Bootstrapping straight.el...done
Rebuilding all packages due to build cache schema change
Looking for gnu-elpa-mirror recipe → Cloning melpa...
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for emacsmirror-mirror recipe → Cloning gnu-elpa-mirror...
Looking for emacsmirror-mirror recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning el-get...
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...
Building straight...done

Test run with version: prerelease (HEAD -> fix/void-comp-deny-guard, origin/fix/void-comp-deny-guard) cfb790e 2021-05-31
Cloning org...
Cloning org...done
Building org...

Multiple :nots won't harm anything, but they're not doing anything either.
(:not autoloads :not native-compile)

and
(:not autoloads native-compile)

are functionally equivalent.

Test Case
(straight-bug-report
  :user-dir "void-comp-deny.straight"
  :pre-bootstrap
  (setq straight-repository-user "progfolio" straight-repository-branch "fix/void-comp-deny-guard")
  :post-bootstrap
  (straight-use-package
   '(org :build
         (:not autoloads native-compile)))
  (require 'org)
  (org-version nil 'full 'message))

Test run at: 2021-05-31 22:45:40
system-type: gnu/linux
straight-version: prerelease (HEAD -> develop, origin/develop) e46292d 2021-05-12
emacs-version: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-27

Output
Bootstrapping straight.el...
Bootstrapping straight.el...done
Rebuilding all packages due to build cache schema change
Looking for gnu-elpa-mirror recipe → Cloning melpa...
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for emacsmirror-mirror recipe → Cloning gnu-elpa-mirror...
Looking for emacsmirror-mirror recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning el-get...
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...
Building straight...done

Test run with version: prerelease (HEAD -> fix/void-comp-deny-guard, origin/fix/void-comp-deny-guard) cfb790e 2021-05-31
Cloning org...
Cloning org...done
Building org...

Thanks for telling me this. I thought multi :not is necessary.

It looks like the patch is working fine. I've merged it into the "develop" branch.
You should be able to update via M-x straight-pull-package straight and then rebuilding straight.
Let me know if that works for you.
Thanks again for testing.

Yeah. It works fine for me now. Thanks.


Intro to state in Compose: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-using-state?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%3Fhl%3Den%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-using-state&hl=en#10
In which task and step of the codelab can this issue be found?
task - Intro to state in compose
step 11 - Display the tip amount
Describe the problem
Text is wrong:
In TipTimeScreen() composable function, call the toDoubleOrNull function on the amountInput variable, to convert the String to a Double:
Because, as is later shown by the codelab itself, the function needs to be called in the EditNumberField() function and not in the TipTimeScreen() function.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@andreaTurr
Thank you for reaching out to us.
This should be fixed now.


Added home button in the nav bar

Description

List out your changes
I have added a home button to go to the index.html in the nav bar. I have kept it consistent with the theme.
Link the Issue which this resolves
#80

How has this been tested?
I have ran it in my localhost .
Checklist

[x] I have followed the Contribution Guidelines.
[x] My changes do not edit/add any unrequired files.
[x] My changes are covered by tests.

@Praful932 done!

@Praful932 done!

@kanishka8276 There are still conflicts here.. Please resolve them

Ok!

@Praful932 done!

@kanishka8276 Have you tested it locally.
This is what we can see after deploying  here
Check once.

@maneprajakta  That's because layout.css is not committed which contained the styling for the top button.

@Praful932 @maneprajakta  Done!
Deployment looks fine now!

Yes, It is behind the master. But through upriver it's not updating . I tried many times.

I have updated my fork.  Now, what should I do?

@kanishka8276 You need to either rebase/merge with master from your fork, there's a lot of extra commits coming in..

@kanishka8276 You need to either rebase/merge with master from your fork, there's a lot of extra commits coming in..

Shall I make a new branch after pulling again from the fork and make changes.

@kanishka8276 You need to either rebase/merge with master from your fork, there's a lot of extra commits coming in..

Shall I make a PR from a new branch after pulling again from the fork and make changes.

That works, close the PR, and make a new branch from master

@Praful932  I have made another PR
#102
Please review it.
And it's a humble request please deploy it .
I haven't uploaded the ss but I think the code should work fine
I have edited the file in the browser itself because through git it was including all the extra commits as well, I used the git pull command after updating the fork. But it didn't work.


Russian numbers (ordinal)

read-string for ordinal russian digits fails, so removed it.
Added more ordinal numbers and expanded for different genders (masculine, neuter, feminine) in different cases (accusative, dative, nominative)

Thank you for the contribution!
Let's find out why read-string was an issue and merge this 🇷🇺

Dealt with the read-string problem. No need for the
(-)?
matching group, Russian very seldom has hyphens in ordinal numbers (pre-Revolution Russian had some I think).
Also, moved (пятнадцат) ahead of (пят) to avoid premature regex evaluation

Just saw that you changed the dir structure. Does that mean you cannot accept my PR?

Indeed, please rebase and let's merge it!


perf: improve performance of build_cellset_from_pandas_dataframe

Use dict(zip(keys, values)) instead of a for loop

Use itertuples to make each row until last column of the dataframe into a tuple

Efficiency Statistics (1000 iterations)

Larger dataframe:

Comparison in markdown tables:
Current (before commit/merge)

length: 1000 width: 3
length: 1000 width: 13
length: 5000 width: 3
length: 5000 width: 13
length: 15000 width: 3
length: 15000 width: 13

mean
0.0049
0.0179
0.0477
0.1101
0.1464
0.3459

std
0.0059
0.0079
0.0166
0.026
0.0308
0.0602

max
0.0472
0.0642
0.1056
0.2145
0.2607
0.6604

Suggested (after commit/merge)

length: 1000 width: 3
length: 1000 width: 13
length: 5000 width: 3
length: 5000 width: 13
length: 15000 width: 3
length: 15000 width: 13

mean
0.0016
0.0069
0.0157
0.0425
0.0473
0.1294

std
0.0036
0.0046
0.0053
0.0121
0.0123
0.0269

max
0.0167
0.0282
0.038
0.0934
0.094
0.2652

Nice work @Kevin-Dekker. Especially the larger TM1py implementations will benefit from this.
I think we may even want to create a minor release to PyPI after the merge.


Windows flicker for one frame in top-left corner

Windows have their initial position set to 0,0 (top-left) and they flicker there for a single frame before being laid out in their actual position.
You could imagine this being fixed in a couple ways:

Just draw the window way off-screen
Bifurcate the layout and render passes, then:
2.a) Go back and offset everything to the correct position on the first frame (it depends on the size of the window content)
2.b) Just skip drawing the window on the first frame.

so.. yeah.

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."


[fix][env]autoRecovery service use bookkeeper env and config

Motivation
bookkeeper autorecovery service should use bookkeeper's env and config file
Modifications
Make autorecovery service use bookkeeper's env and config file
Documentation

[x] doc-not-needed

though old behavior is not desired(using broker config for autorecovery service), shall this be considered a breaking change?

Yes, it's a breaking change.


can I ask a question how did contracts catalog files created？

can I ask a question how did contracts catalog files created？

https://docs.openzeppelin.com/


Success page for Near Shell login (#570)

@kcole16 @marcinbodnar this more a meta-common on https://github.com/near/near-wallet/issues/570 than this PR in particular:

I think we actually need to figure out root reasons for problems on Windows/Linux before patching away. Pretty sure it doesn't have to be smth big, e.g. in case of GitPod it was just wrong type of redirect: https://github.com/near/near-shell/pull/363
We can get both of best worlds if we provide a landing page in wallet (like done here), but also make a way for it to call back localhost (if port was opened successfully). We probably can just try loading 1x1 gif from certain URL or smth like that.

Basically need a bit more time to understand what's best way to integrate this into near-shell experience.

@vgrichina what is the root reason here, it's about this thread?
https://near-protocol.slack.com/archives/C012NUGRDQ9/p1588765049028700

@marcinbodnar

@vgrichina what is the root reason here, it's about this thread?
https://near-protocol.slack.com/archives/C012NUGRDQ9/p1588765049028700

root reason for the thread has been fixed here https://github.com/near/near-shell/pull/363 AFAIK
however we also have different issue where if somebody runs near-shell on remote machine – redirect after login won't work. I guess this change is for that case? However it will still need corresponding near-shell change.
Looks like we can merge this safely though and integrate with near-shell later.


[BUG]: When I use the chat knowledge, garbled characters occur

Configuration parameters for .env files

Configuration parameters for .env files

what's your llm, maybe https://db-gpt.readthedocs.io/en/latest/faq.html will help you

Thanks for the discussion, this issue will be closed later.


httpd error.log grows with php errors

/var/log/lighttpd/error.log grows with lots of php warnings and errors. This is bad for the SD-card and it cost performance (especially on my RPi zero). I got > 5M log file just from installing and playing some minutes with the web gui. Here are the top 15:
root@raspberrypi:~# cat /var/log/lighttpd/error.log | cut -d" " -f 4- | sort | uniq -c | sort -nr | head -n 15
   2823 FastCGI-stderr: PHP message: PHP Notice:  Undefined variable: lang in /var/www/jukebox/htdocs/ajax.loadControls.php on line 30
   2538 FastCGI-stderr: PHP Notice:  Undefined variable: lang in /var/www/jukebox/htdocs/ajax.loadControls.php on line 30
   1707 FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 41
   1707 FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 38
   1707 FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 35
   1707 FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 32
   1707 FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 29
   1695 FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 26
   1695 FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 23
   1151 FastCGI-stderr: PHP message: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/ajax.refresh_id.php on line 8
    943 FastCGI-stderr: PHP message: PHP Notice:  Undefined variable: lang in /var/www/jukebox/htdocs/ajax.loadControls.php on line 24
    846 FastCGI-stderr: PHP Warning:  file_get_contents(../settings/Latest_Played_File): failed to open stream: No such file or directory in /var/www/jukebox/htdocs/ajax.loadCover.php on line 8
    846 FastCGI-stderr: PHP Warning:  file_get_contents(../settings/Latest_Folder_Played): failed to open stream: No such file or directory in /var/www/jukebox/htdocs/ajax.loadCover.php on line 7
    846 FastCGI-stderr: PHP Notice:  Undefined variable: lang in /var/www/jukebox/htdocs/ajax.loadControls.php on line 24
    823 FastCGI-stderr: PHP message: PHP Notice:  Undefined offset: 1 in /var/www/jukebox/htdocs/inc.playerStatus.php on line 41

I eliminated some errors by simply checking variable state in some scripts. But I never coded PHP before and don't want to start ...
Note that my code is located in /var/www and it's running by user www-data - the same the httpd is running. I always had trouble with rights and ownerships of the files and don't see why another user (pi) should be involved. Giving all users sudo power should never be a solution IMO.
 What am I missing?

No, it is not only you. As long as code is not cleaned up, it is a workaround to switch PHP warnings off:
 cd /etc/php/7.0/fpm/conf.d/
 sudo touch 999-RPi-Jukebox-RFID.ini
 sudo sh -c 'echo "error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING;" >> 999-RPi-Jukebox-RFID.ini'
 sudo service php7.0-fpm restart

Hi @RogoTe
I am sure you know how long it takes to clean up code :) which is why I would like you to put this hack into the pull request which you offered for the caching in another thread. Thanks and: good work!


1.1 DOC added a dublicate music recognitioin tutorial

Signed-off-by: krishna katyal<EMAIL_ADDRESS>

Codecov Report

Merging #769 (5218ec4) into main (b147224) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #769   +/-   ##
=======================================
  Coverage   70.60%   70.60%
=======================================
  Files         168      168
  Lines        7672     7672
  Branches     1263     1263
=======================================
  Hits         5417     5417
  Misses       1882     1882
  Partials      373      373

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 b147224...5218ec4. Read the comment docs.

Note: for testing purposes only.

/lgtm
/approve


Track total memory allocation used by DataFusion plans

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When running DataFusion as part of a Rust program that has other substantial uses of memory (for example Buffers in IOx) we would like to know how much memory is allocated when running DataFusion plans so we can:

Allocate sufficient Memory to DataFusion / limit other users of memory
Start turning / working to limit memory usage by DataFusion (e.g. #587 )

Describe the solution you'd like
A counter (perhaps AtomicUsize tied to the ExecutionContext somehow) that tracks, across all DataFusion plans running in that context, how much memory has been allocated. This counter's value should be available both during the plan execution as well as after it has completed.
The counter should include:

Memory allocated in RecordBatches created by DataFusion operators
Memory used in intermediate buffers (e.g. HashTables, Sort buffers, etc) - should be "capacity" rather than "size" to reflect the heap usage of the program
Decremented when memory is deallocated

Initially, a counter that gets the major allocations of memory would be good.
Describe alternatives you've considered
Implement a per-operator allocation tracking scheme (perhaps based on metrics, see #866 and https://github.com/apache/arrow-datafusion/issues/679).
Per-operator tracking of memory is likely also valuable and is tracked by https://github.com/apache/arrow-datafusion/issues/899
Additional context
This is likely a pre-requisite for actually limiting memory usage for DataFusion plans as described in https://github.com/apache/arrow-datafusion/issues/587

I am happy to report this is now possible by using a memory pool (simply ask for how much space it has left)
https://docs.rs/datafusion/latest/datafusion/execution/memory_pool/trait.MemoryPool.html#tymethod.reserved
You can use https://docs.rs/datafusion/latest/datafusion/execution/memory_pool/struct.GreedyMemoryPool.html if you only want to track the memory


latched /map topic for running mapsaver async

Adding latched map topic so mapsaver can run asynchronously after the rosservice. Changing the README.md to remap /map to /map2d latched topic accordingly.

Thanks a lot for your contribution, looks good! I made some tiny changes to the Readme.


AttributeError: 'tuple' object has no attribute 'flatten'

Checklist

I have searched related issues but cannot get the expected help.
I have read the FAQ documentation but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
I'm trying to train a Mask-RCNN-r50 on a custom dataset of type COCODataset with 5 classes. The config file is very simple: the only differences from the base config mask_rcnn/mask_rcnn_r50_fpn_1x_coco.py  are the number of classes and the usage of a custom dataset . Even so, the train fails with an AttributeError.
Reproduction
Config file:
# base config
_base_ = ['/mmdetection/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.py']

# dataset settings
dataset_type = 'COCODataset'
data_root = 'data/coco/'
classes = ('a', 'b', 'c', 'f', 'e')
data = dict(
    samples_per_gpu=2,
    workers_per_gpu=2,
    train=dict(
        type='CocoDataset',
        ann_file=
        '/data/xxx/training_files/rotated_data/annotations/train.json',
        img_prefix=
        '/data/xxx/training_files/rotated_data/images/',
        classes=classes),
    val=dict(
        type='CocoDataset',
        ann_file=
        '/data/xxx/training_files/rotated_data/annotations/val.json',
        img_prefix=
        '/data/xxx/training_files/rotated_data/images/',
        classes=classes),
    test=dict(
        type='CocoDataset',
        ann_file=
        '/data/xxx/training_files/rotated_data/annotations/test.json',
        img_prefix=
        '/data/xxx/training_files/rotated_data/images/',
        classes=classes),
)

# model settings
n_classes = len(classes)
model = dict(
    roi_head=dict(
        bbox_head=[
            dict(
                type='Shared2FCBBoxHead',
                num_classes=n_classes),
            dict(
                type='Shared2FCBBoxHead',
                num_classes=n_classes),
            dict(
                type='Shared2FCBBoxHead',
                num_classes=n_classes)],
    mask_head=dict(num_classes=n_classes)))

work_dir = '/workspace/andrea/test_MMDet/logs/test'

What command or script did you run?

python /mmdetection/tools/train.py /workspace/andrea/test_MMDet/test.py

The only modifications I made to the config files were the use of a custom dataset, and the number of classes, as well as their labels.
I used a custom dataset  of type COCODataset.

Environment

The output of python /mmdetection/mmdet/utils/collect_env.py is

fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
sys.platform: linux
Python: 3.7.7 (default, May  7 2020, 21:25:33) [GCC 7.3.0]
CUDA available: True
GPU 0: Tesla V100-SXM2-32GB
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.1, V10.1.243
GCC: gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
PyTorch: 1.6.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.1 Product Build 20200208 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 10.1
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
  - CuDNN 7.6.3
  - Magma 2.5.2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0
OpenCV: 4.5.3
MMCV: 1.3.8
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMDetection: 2.16.0+HEAD

You may add addition that may be helpful for locating the problem, such as

I didn't have to install PyTorch. I'm running in a Docker container, and the Dockerfile starts with

ARG PYTORCH="1.6.0"
ARG CUDA="10.1"
ARG CUDNN="7"

FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"

Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)
echo $PATH
/opt/conda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
echo $LD_LIBRARY_PATH
/usr/local/nvidia/lib:/usr/local/nvidia/lib64
echo $PYTHONPATH

Error traceback
Traceback (most recent call last):
  File "/mmdetection/tools/train.py", line 194, in <module>
    main()
  File "/mmdetection/tools/train.py", line 190, in main
    meta=meta)
  File "/mmdetection/mmdet/apis/train.py", line 174, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 50, in train
    self.run_iter(data_batch, train_mode=True, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 30, in run_iter
    **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/parallel/data_parallel.py", line 67, in train_step
    return self.module.train_step(*inputs[0], **kwargs[0])
  File "/mmdetection/mmdet/models/detectors/base.py", line 238, in train_step
    losses = self(**data)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 97, in new_func
    return old_func(*args, **kwargs)
  File "/mmdetection/mmdet/models/detectors/base.py", line 172, in forward
    return self.forward_train(img, img_metas, **kwargs)
  File "/mmdetection/mmdet/models/detectors/two_stage.py", line 149, in forward_train
    **kwargs)
  File "/mmdetection/mmdet/models/roi_heads/standard_roi_head.py", line 105, in forward_train
    img_metas)
  File "/mmdetection/mmdet/models/roi_heads/standard_roi_head.py", line 134, in _bbox_forward_train
    bbox_results = self._bbox_forward(x, rois)
  File "/mmdetection/mmdet/models/roi_heads/standard_roi_head.py", line 124, in _bbox_forward
    cls_score, bbox_pred = self.bbox_head(bbox_feats)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/mmdetection/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py", line 162, in forward
    x = x.flatten(1)
AttributeError: 'tuple' object has no attribute 'flatten'

Bug fix
I don't know what's causing the issue, but it's interesting to note that at runtime, execution goes through the function convfc_bbox_head.py twice. The first time, no error is raised, since x is a regular torch.Tensor, but the second time x is a tuple of 2 tensors, and at this point the code exits with error.

Ok, my bad, the AttributeError was due to an error in the config file. For mask_rcnn on a custom dataset of type CocoDataset, this is the right way to set the number of classes:
model = dict(
    roi_head=dict(
        bbox_head=dict(num_classes=n_classes),
        mask_head=dict(num_classes=n_classes)))

Ok, my bad, the AttributeError was due to an error in the config file. For a mask_rcnn model on a custom dataset of type CocoDataset, this is the right way to set the number of classes:
model = dict(
    roi_head=dict(
        bbox_head=dict(num_classes=n_classes),
        mask_head=dict(num_classes=n_classes)))

I am getting the same issue. I did set the correct num_classes. Still, getting the same issue.
File "mmdetection/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py", line 169, in forward
x = x.flatten(1)
AttributeError: 'tuple' object has no attribute 'flatten'


export wal files when exporting shard data

Required for all non-trivial PRs

[x] Rebased/mergable
[ ] Tests pass
[x] CHANGELOG.md updated

Required only if applicable

[ ] Updated Docs
[x] Provide example syntax
[x] Update man page when modifying a command

Fixes #7115

So we do reference this tool from https://github.com/influxdata/docs.influxdata.com/blob/master/content/influxdb/v1.0/tools/influx_inspect.md
I made a change to the arguments, which could be considered a breaking change, but it's a tool.  Not sure how anyone feels about that.
Do we need a 1.1 docs so that I can update the page there with the new arguments and sample syntax?
//cc @rkuchan

@e-dard I refactored the cli into sub packages.  stubbed out test files so tests will run (mostly so I can get automatic feedback on build errors).  Normalized any arguments to the same argument names we use in our other cli programs.
Please take another pass when you get a chance.  Everything is fair game now if you spot something.
Thanks,
Cory

@e-dard @jwilder have a go at it again.  I think I have everything addressed.

@corylanou, just got to this, sorry about the delay.
For the docs, is everything that I need in the README? I'm going to be creating a 1.1 branch this week so I can port over those changes.

@rkuchan yes, the readme should be up to date and have what you need.  Ping me if you have questions.


word translation is not accurate

Sometimes it is very common to translate a word, we will use viw to select a word.
But its translation result is not accurate. Also, you get some special symbols that have no real meaning.
In Chinese, 你好 should correspond to Hello, which is not accurate as you can see from the picture in v mode.
But in V mode, this is accurate.

Oh, I'm sure that comes up from time to time too. I was going to investigate later.
I think the last byte is probably missing, since lua's string manipulation is basically one byte at a time.
Anyway, I'm going on a trip for a while starting tomorrow, so I'll be back for the rest of the story.

That's great, have fun. Wear a mask when you go out, the epidemic is too scary now.

Fixed on cc294cbc80497970a7065ce7c9bdc92a73645a6d


Update to go 1.18

Summary
Increment the go language version from 1.17 to 1.18
Problem Definition
Update to the latest version of go to receive the improvements outlined here: https://tip.golang.org/doc/go1.18
Proposal
Update the go mod and all workflow files to target 1.18 from the exsting 1.17 version of go.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

It would be really beneficial to M1 users if we upgraded to golang 1.8.2. 1.8.2 adds the required features to allow M1's to properly debug with delve and make function calls.


"Donation Webpage" button truncated

On "Donation Account Details", "Donation Webpage" button looks truncated when more than one transaction history created

-Verified this issue on dev app v1.7.5(300)


Prune should remove contents of root package directory when only subpackages are used

What version of dep are you using (dep version)?
v0.1.0-585-g34835a5
What dep command did you run?
dep init; dep ensure; dep prune.
I've set up a test repository with the results here: https://github.com/kevinburke/dep-test-bson
What did you expect to see?
I expected the vendor directory to have the following contents (and only the following contents)
vendor/gopkg.in/mgo.v2/bson/*
vendor/gopkg.in/mgo.v2/internal/json/*
What did you see instead?
I see all of the files and contents in the gopkg.in/mgo.v2 package as well:
$ ll vendor/gopkg.in/mgo.v2
total 1104
drwxr-xr-x  33 kevin  staff   1.1K Sep  1 13:27 .
drwxr-xr-x   3 kevin  staff   102B Sep  1 13:27 ..
-rw-r--r--   1 kevin  staff   1.0K Sep  1 13:27 .travis.yml
-rw-r--r--   1 kevin  staff   1.3K Sep  1 13:27 LICENSE
-rw-r--r--   1 kevin  staff    67B Sep  1 13:27 Makefile
-rw-r--r--   1 kevin  staff   136B Sep  1 13:27 README.md
-rw-r--r--   1 kevin  staff    12K Sep  1 13:27 auth.go
-rw-r--r--   1 kevin  staff    31K Sep  1 13:27 auth_test.go
drwxr-xr-x  12 kevin  staff   408B Sep  1 13:27 bson
-rw-r--r--   1 kevin  staff   9.8K Sep  1 13:27 bulk.go
-rw-r--r--   1 kevin  staff    14K Sep  1 13:27 bulk_test.go
-rw-r--r--   1 kevin  staff    19K Sep  1 13:27 cluster.go
-rw-r--r--   1 kevin  staff    54K Sep  1 13:27 cluster_test.go
-rw-r--r--   1 kevin  staff   1.2K Sep  1 13:27 doc.go
-rw-r--r--   1 kevin  staff   586B Sep  1 13:27 export_test.go
-rw-r--r--   1 kevin  staff    21K Sep  1 13:27 gridfs.go
-rw-r--r--   1 kevin  staff    16K Sep  1 13:27 gridfs_test.go
drwxr-xr-x   3 kevin  staff   102B Sep  1 13:27 internal
-rw-r--r--   1 kevin  staff   3.8K Sep  1 13:27 log.go
-rw-r--r--   1 kevin  staff   2.8K Sep  1 13:27 queue.go
-rw-r--r--   1 kevin  staff   2.7K Sep  1 13:27 queue_test.go
-rw-r--r--   1 kevin  staff    57B Sep  1 13:27 raceoff.go
-rw-r--r--   1 kevin  staff    55B Sep  1 13:27 raceon.go
-rw-r--r--   1 kevin  staff   224B Sep  1 13:27 saslimpl.go
-rw-r--r--   1 kevin  staff   194B Sep  1 13:27 saslstub.go
-rw-r--r--   1 kevin  staff    12K Sep  1 13:27 server.go
-rw-r--r--   1 kevin  staff   145K Sep  1 13:27 session.go
-rw-r--r--   1 kevin  staff   103K Sep  1 13:27 session_test.go
-rw-r--r--   1 kevin  staff    18K Sep  1 13:27 socket.go
-rw-r--r--   1 kevin  staff   3.4K Sep  1 13:27 stats.go
-rw-r--r--   1 kevin  staff   5.9K Sep  1 13:27 suite_test.go
-rw-r--r--   1 kevin  staff   218B Sep  1 13:27 syscall_test.go
-rw-r--r--   1 kevin  staff   181B Sep  1 13:27 syscall_windows_test.go

Previously, previously, previously

@kevinburke I am summarizing correctly that you were expecting the root package contents (e.g. gopkg.in/mgo.v2/stats.go) to be pruned because your code is only importing a subpackage?

@kevinburke Am summarizing correctly that you were expecting the root package contents (e.g. gopkg.in/mgo.v2/stats.go) to be pruned because your code is only importing a subpackage?

ohh interesting - yeah prune does need to empty out leading dirs that have to be there for structural purposes/because subdirs are required.

Carolyn - yes, that's correct
On Fri, Sep 1, 2017 at 13:41 sam boyer<EMAIL_ADDRESS>wrote:

ohh interesting - yeah prune does need to empty out leading dirs that have
to be there for structural purposes/because subdirs are required.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/dep/issues/1113#issuecomment-326679165, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOSI-aTv4LykxZh0Men1_mp9LclG0z_ks5seGvbgaJpZM4PKmZ4
.

--
--
Kevin Burke
925.271.7005 | kev.inburke.com

#1020 does this in the pruneUnusedPackages func.

@ibrasho Is there a test in that PR that demonstrates unused packages being pruned?

Not yet. It was in the original PR. I'm still working on completing #1020.

Since this is a separate issue... :grin:
Which files should be deleted in an "usused" package?
Currently, #1020 deletes all files (including symlinks) except those matching some patterns (legal files and such). Is this the correct behavior?
Pruning options will be definable per-project, so this should pose a small issue anyway.

@sdboyer I'm not sure about deleting symlinks tbh. If a package relies on symlinks for package name this could cause unexpected issues.

This also causes a poor interaction with Bazel. For example, I only need golang.org/x/crypto/ssh/terminal. But because golang.org/x/crypto/ssh has all of the Go files in it, Bazel generates a BUILD.bazel file for it, which then means that Bazel expects all of the dependencies for golang.org/x/crypto/ssh to be in my vendor directory, even though they're unnecessary.
More discussion here: https://github.com/bazelbuild/rules_go/issues/725

I would expect the following behavior for dep ensure:
After running this command, all files in vendor/... are there because they either have to be there because of

legal reasons (LICENSE files)
user choice (e.g. keep files named *.md)
removing this file causes the actual project to either not compile at all or to compile differently compared to the case where this file is present in the vendor folder

Everything else (go code or not) that is in the vendor folder, but does NOT influence the compilation of the actual project and is not there for the first 2 reasons is useless and must be removed from the vendor folder.
This would solve issues deciding what should be kept: optional dependencies (library A depends on library B in some cases, but the actual project doesn't use these parts of library A anyways), symlinks (if they are not present and the project still compiles the same way, they are not necessary), random other files (.travis.yml really doesn't need to be vendored...) and so on could be evaluated against these criteria, even automatically by looking at hashes of compilation units.

oh, this is fixed now.
@MarkusTeufelberger pruning behavior is now established. fixes are possible, of course, but they need to be in a new issue. (and I'm not actually sure if you're trying to propose a change to the v0.4.1 behavior here)

I'm not actually sure if you're trying to propose a change to the v0.4.1 behavior here

Neither am I, is it documented somewhere in detail?
https://github.com/golang/dep/issues/1580 for example sounds like it is not working as I would expect it to work (vendored testdata or vendored tests in general shouldn't be able to influence the outcome of a compilation).
"unused-packages indicates that files from directories that do not appear in the package import graph should be pruned." from https://golang.github.io/dep/docs/Gopkg.toml.html#prune sounds close, I guess I'm proposing an unused-files mode:
"unused-files indicates that all files that do not cause a change in the resulting package should be pruned."
I can of course open an issue, if that sounds like a reasonable proposal.

you linked to the docs we have so far. writing up a section to further explore pruning is a TODO.
that specific issue is a bit of an oddity, and is more of a bug than anything. however, it is not the case that we can necessarily assume testdata can be discarded - it is a terrible idea, but not disallowed to import from non-test Go code (and I've seen it in the wild in some protobuf library somewhere). so, we can't really treat the contents of those directories specially with respect to pruning rules.
how is what you're describing different from non-go?
(actually, yes, please open a new issue for this, and answer that question there 😊)

See #1614


Delete NuGet package cache on Mac OS X machines in CI

Just testing something in CI...

@dotnet-bot test OSX Build for CoreCLR  please

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test Windows_NT Build for Desktop  please


Direct endpoints for message handlers 404

I found these 3 endpoints returning 404s. (Did not check the other 2.)
/// Inbox.
case inbox = "https://i.instagram.com/api/v1/direct_v2/inbox/"
/// Recent recipients.
case recentRecipients = "https://i.instagram.com/api/v1/direct_share/recent_recipients/"
/// Ranked recipients.
case rankedRecipients = "https://i.instagram.com/api/v1/direct_v2/ranked_recipients/"

I'm getting an error too that seems linked to this issue.
failure(SwiftyInsta.GenericError.custom("https://i.instagram.com/api/v1/direct_v2/inbox/.\nInvalid response.\nProcessing handler returned `nil`.\n404"))
SwiftyInsta.PaginationParameters

This happen when I run the README example for Inbox.

Yep, I'm struggling to actually pinpoint the cause… it's the 404 status code that I genuinely do not understand, cause the endpoint is there.
Do you mind checking if everything works using Swiftagram?
Not trying to self promote (as I'm maintaining both repos), just trying to understand whether it's an "Instagram" problem (maybe some profiles not being able to access that endpoint all together), or a SwiftyInsta one, and I need more data points tbh.
@vlourme @joshuazmiller

@sbertix Do you have some example how to use Swiftagram? I tried to use it already but I didn’t understood everything (I’m pretty new to swift). If you have some example or code you’d like me to test, I’m ok!

Sure, please check out the Example project in the repo @vlourme

@sbertix I just tried to run the Followers example on the SE 2 simulator. It launch but when I login with correct credentials it crash :/

Any progression/news about this issue?

Sorry, I closed the other issue that seemed to be related to the same underlying problem and I forgot to update this. Apologies.
The body of the response returned by server is empty.
Working with Instagram APIs, I've learnt that this is generally related to authentication issues, and SwiftyInsta, as of right now, as a lot of those.
This would also explain why the same endpoints work perfectly in Swiftagram, as it uses improved authentication flow and cookie caching.
As I said many times now, I'm only maintaining critical issues that are fixable with SwiftyInsta's current architecture.
To solve this, it would literally mean rewrite it. And I've already done it. That's why we have Swiftagram.
I'm closing this issue.
If you require direct messaging functionality, I would suggest considering Swiftagram.
Otherwise, if somebody decides to work on authentication in the future, and thus fix this too, the can simply reopen this issue.

just tested these endpoints, works fine for me.
can you intercept your request and share data here?


Fix PUTting existing cached view

Problem was that when updating a cached view view_cache.last_update was still filled with a value from the old entry, whereas view_cache.refresh_after was set to a value in the future calculated from maxAge. This meant that when checking for staleCachedViews (based on the query SELECT * FROM view_cache WHERE last_update IS NULL OR ($now > refresh_after)) these entries were not going to be repaired until somewhere in the future (i.e. a broken cache for this period). They must be repaired immediately instead.
The fix sets view_cache.refresh_after to now when creating or updating the cache and simplifies the staleCachedViewscheck by stopping to look at last_update in the query.
#qz-3694 Done
#qz-3695 Done

@wemrysi Thanks! I have replied to your comment https://github.com/quasar-analytics/quasar/pull/3483#discussion_r170215512 & changed the comment in the code


decoupling request IDs for pre-connect api calls

Cant merge yet! Blocked by https://github.com/ecsact-dev/ecsact_rt_entt/pull/22 @Kelwan The new tests here need to run over there.

Unblocked with https://github.com/ecsact-dev/ecsact_runtime/pull/132


Couldn't upgrade 4.2.0 to 4.3.0 or install 4.3.0 after

Describe the bug
On upgrade from 4.2.0 to 4.3.0 the app was deleted with "couldn't restore from backup" When tried to install again, the following happened – https://paste.yunohost.org/raw/gasubuxiya
Context

Hardware: Debian VPS on Linode
YunoHost version: <IP_ADDRESS>
I have access to my server: Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes

If yes, please explain: modified delimiters for postfix in main.cf

Using, or trying to install package version/branch: 4.3.0, from standard UI catalogue
If upgrading, current package version: was 4.2.0, but uninstalled when upgrading

Expected behavior
Successful upgrade or install.

This is weird. Do you still experience the issue ?
Can you share the content of /etc/nginx/conf.d/ssowat.conf ?

Closing. Feel free to reopen this if you experience the issue again.


mistake in animation.rs example

In the following code you build the map twice first with build_and_initialize for me this caused problems in the at function of map_indexer.  So I remoeved the last let map definition and add map.clone() to the spawn command since it will complain of moved value. Now the at function does not always return zero.
    let map = Map::builder(
        uvec2(64, 64),
        asset_server.load("pixel_tiles_16.png"),
        vec2(16., 16.),
    )
    .build_and_initialize(|m| {
        // Initialize using a closure
        // Set all tiles in layer 0 to index 4
        for y in 0..m.size().y {
            for x in 0..m.size().y {
                m.set(x, y, ((x + y) % 4 + 1) as u32);
            }
        }
    });

    commands.spawn(MapBundleManaged {
        material: materials.add(map),
        ..default()
    });

    let map = Map::builder(
        uvec2(64, 64),
        asset_server.load("pixel_tiles_16.png"),
        vec2(16., 16.),
    )
    .build();

    let bundle = MapBundleManaged {
        material: materials.add(map),
        transform: Transform::default().with_translation(vec3(0., 0., 1.)),
        ..default()
    };

    commands.spawn(bundle).insert(AnimationLayer);

Hey @Mergpijp , I have trouble understanding / reproducing the problem. What exactly is going wrong? What function returns zero? It should work perfectly fine to create two maps as is, if you give me more details about what goes wrong for you I can try and fix it at the source, thanks in advance!

Hi, the function at of map indexer. what I did was not creating the two maps but just do
   let bundle = MapBundleManaged {         material: materials.add(map),         transform: Transform::default().with_translation(vec3(0., 0., 0.)),         ..default()     };
commands.spawn(bundle).insert(AnimationLayer);
why would you create two maps? I dont understand it. I will try with the new code of mine if it would work but it works with the adjusted code to.

Yeah i'm sure the adjusted code works, but it should also work to create multiple maps which may be desirable for some users.
Can you tell me more about your environment? Are you modifying the example in some way? For me the at function seems to work fine in animation.rs.

For layers use multiple maps or some custom shader logic. multiple maps can become slow if you end up drawing lots of overlapping quads for that, if you can, make most of them invisble for better performance.


Uncaught exception when running against standalone file

When running Bandit on setup.py (from its own directory) there is an uncaught exception:
(band)MacBook-Pro:bandit travismcpeak$ bandit -n 5 setup.py
Traceback (most recent call last):
File "/Users/travismcpeak/Documents/projects/bandit/band/bin/bandit", line 10, in
sys.exit(main())
File "/Users/travismcpeak/Documents/projects/bandit/band/lib/python2.7/site-packages/bandit/bandit.py", line 74, in main
b_mgr.run_scope(args.files)
File "/Users/travismcpeak/Documents/projects/bandit/band/lib/python2.7/site-packages/bandit/core/manager.py", line 134, in run_scope
self.b_rs, self.b_ts
File "/Users/travismcpeak/Documents/projects/bandit/band/lib/python2.7/site-packages/bandit/core/manager.py", line 170, in _execute_ast_visitor
fname, self.logger, self.b_conf, b_ma, b_rs, b_ts, self.debug
File "/Users/travismcpeak/Documents/projects/bandit/band/lib/python2.7/site-packages/bandit/core/node_visitor.py", line 60, in init
self.namespace = b_utils.get_module_qualname_from_path(fname)
File "/Users/travismcpeak/Documents/projects/bandit/band/lib/python2.7/site-packages/bandit/core/utils.py", line 134, in get_module_qualname_from_path
' Missing path or file name' % (path))
bandit.core.utils.InvalidModulePath: Invalid python file path: "setup.py" Missing path or file name
We should catch the exception and generate some sort of meaningful warning/log output based on it.

Bad import of bug from launchpad.  Closing..


Vue3 + Vite + Okta Vue, Redirecting path is going wrong in Dev Environment.

Related plugins

[X] plugin-vue

[ ] plugin-vue-jsx

Describe the bug
Hi,
I am working on developing an new application using Vue3 + Vite + Okta Vue and Codebuild.
After configuring everything. When I am running npm start I am able to open application in my local machine - Okta is generating Access Token.
But the problem is when I am deploy the app in dev codebuild then It is not generating Access Token. Even In the local storage access token is getting stored. Attaching respective screenshots for better understanding.

In the network tab, Auth url is redirecting in a loop continues. Here is screenshot.

I tried to console the Auth response. Here is the screenshot of it. You can see the version as well.

Hi @yyx990803,
To understand clearly the issue please kindly check this discussion # https://github.com/okta/okta-vue/issues/142
According to them their is some issue with the hosting architecture.
I have added my vite.config.js file and package.json file information in the issue above.
Note: Redirecting is working fine in Local Environment but It is not working in Dev Environment, Please check the above ticket conversation to understand it.
Reproduction
I am not giving any Reproduction since this is not my personal project.
Steps to reproduce
No response
System Info
I am using Mac OS,
Node version 20.9.0
Vite 5.2.7
Vue 3.4.21
For all the remaining version details please check the package.json file in the issue that I have raised with Okta Vue #https://github.com/okta/okta-vue/issues/142

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

@yyx990803 any help on this. I understood that Vite rollup is not able to import Okta Auth library @okta/okta-auth-js after the build. It is working fine when I try to run application in local.

This doesn't seems to be related to vite-plugin-vue, and there is no minimal reproduction. If you manage to get a minimal reproduction showing an issue in Vite, please share it there. If not, create a Discussion.

Hi @patak-dev,
Please have look that this issue https://github.com/vitejs/vite/issues/1315.
My issue actually related the above issue. I have followed the solution suggested by Evan. But it is not working.
I understood that this is not related to vite-plugin-vue. But I guess this is related to Vite. Since this is related to authentication library. I cannot manage to get a minimal reproduction showing an issue.


infoClick on multiple visible features/layers

The pull request is about a new infoclick feature allowing to browse between multiple features detected on map visible layers

Hi @enricofer,
thank you for the contribution!
I tested this briefly and it works well.
Could you please run npm run lint:fix once and commit the result.
Some more comments inline.
Greets Felix

Hi here I am, sorry for the noise and thank for your work.

I had a quick look, what is wrong with the test: The line https://github.com/wegue-oss/wegue/blob/master/tests/unit/specs/components/infoclick/InfoClickWin.spec.js#L88 and following need to be changed to
map.forEachFeatureAtPixel = () => {
  vm.features.push([feat, layer]);
};

so the mock still reflects the current code.

Hi @enricofer , do you see a chance that you push this forward? No fronts, this is not meant to put pressure on you. I know everybody has a lot to do. But this feature is too cool, to hang around here ;-) If you currently do not have time to push this forward, which is no problem, I'd happily take over here and finish this. Thanks for any feedback and your great work so far!

I apologize at that moment I didn't understand the meaning of the code and I forgot to update the PR


Chrisda to Master

Docs Build status updates of commit 78c1eb8:
:clock10: Full build: the average full build time is 17 min(s) 37 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 78c1eb8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/connect-to-exchange-online-protection-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/docs-conceptual/connect-to-scc-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


for_lane, for_platform blocks in configurations

A continuation of work on #6549
This reconciles the new configuration blocks (for_lane, for_platform) and their desire to be able to override configuration values, with the existing rules about "first assignment wins" for configurations.
It does this by having the new configuration blocks create a fresh configuration context every time you enter one. This way, each block gets a fresh application of the "first assignment wins" rule. As each block exits, any values set during the block are merged with any configuration context that was present at the time the block started. Thus, we can override values in these blocks, but only once, and still build a single comprehensive configuration!
This is supported with new push_values! and pop_values! methods on Configuration
If we like the solution, we can always add documentation as a follow-up.
/cc @maschall

@KrauseFx https://github.com/fastlane/docs/pull/256


[📑 Docs]: In AsyncAPI Specification docs, Should we format the keywords in a bulleted list?

What Dev Docs changes are you proposing?
In the Specification 2.3.0 the keywords "MUST", "MUST NOT" etc. are given: https://www.asyncapi.com/docs/specifications/v2.3.0

IMHO, We could format and restructure them in a better way by listing them. Something similar like this:

The current format looks a bit crowded. I think by formatting the keywords the user can have a better experience reading the docs.
We can even opt to remove double quotes if they aren't necessary? What do you guys think ?
Would love to hear everyone's views on this :)
Code of Conduct

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

Hi @pratik2315 I would love to work on this with you :)

Suree👍 Feel free to work on it !!

Hie all has this issue been assigned to anyone, I'm interested in working on this

Hie all has this issue been assigned to anyone, I'm interested in working on this

Sure you and @awantika10 can both work on it as a team but the issue is not approved as of now
@alequetzalli can you please see to it😅

Sure, Let's wait for her approval first😅

Hey all, I don't have time to look at PRs much until I finish the interviews on May 14. :)
Let's give @awantika10 a chance first since she asked to work on it first, but remember that in OSS anyone who comments and starts work on it first is free to assign themselves to a regular issue. <3


FileNotFoundError: [Errno 2] No such file or directory; BTW NO COMMENTS!!

Traceback (most recent call last):
File "create_dataset.py", line 28, in
data = json.load(open(DIR_DATA + f"Descriptions/ISIC_{num}"))
FileNotFoundError: [Errno 2] No such file or directory: 'f:\Anaconda\Skin-Cancer-Segmentation/Data/Descriptions/ISIC_0000240'
I set the values of i in line 25 in the create_dataset.py file from 1367-13786 into 240-14559.
And I have manually downloaded that dataset from the ISIC Archive;for the download_dataset.py seems to only download the descriptions and not the images and I left on all night.
My manually downloaded dataset was placed at the data folder of this file. The descriptions subfolder contain the .json files and the images subfolder contatin the .jpg files.
My directories:
F:\Anaconda\Skin-Cancer-Segmentation\Data
F:\Anaconda\Skin-Cancer-Segmentation\Data\Images
F:\Anaconda\Skin-Cancer-Segmentation\Data\Descriptions
The code:
import cv2
import numpy as np
import json
import os
import matplotlib.pyplot as plt
from Mask.config import Config
import Mask.utils as utils
import Mask.model as modellib
import Mask.visualize as visualize
from Mask.model import log
from Mask.magicwand import SelectionWindow
dir_path = os.path.dirname(os.path.realpath(file))
DIR_NUMPYDATA = dir_path + "/NumpyData/"
DIR_DATA = dir_path + "/Data/"
def get_mask(img, i):
selection = SelectionWindow('Selection Window', img, i, DIR_NUMPYDATA, 8)
selection.show()
for i in range(240, 14559):
num = str(i).zfill(7)
data = json.load(open(DIR_DATA + f"Descriptions\ISIC_{num}"))

if data["meta"]["clinical"]["benign_malignant"] is None:
    continue

if data["meta"]["clinical"]["benign_malignant"] != "malignant" and data["meta"]["clinical"]["benign_malignant"] != "benign":
    continue

img = cv2.imread(DIR_DATA + f"Images\ISIC_{num}.jpg")
img = cv2.resize(img, (128, 128))

get_mask(img, num)

with open(DIR_NUMPYDATA + f"ISIC_{num}_IMG.npy", "w") as f:
    np.save(DIR_NUMPYDATA + f"ISIC_{num}_IMG", img)

PLEASE HELP!

Hi Arlan2191,
Sorry for all that problems, right now I am working on another project that takes me the whole day.
Now I have fixed everything.
But unfortunately you have to download the dataset again, if you used my previous script.
Let me know if you have some problem.
Good Day!

Traceback (most recent call last):
File "main.py", line 127, in
mask, class_ids = dataset_train.load_mask(image_id)
File "main.py", line 83, in load_mask
mask = info["mask"].astype(np.uint8)
AttributeError: 'NoneType' object has no attribute 'astype'
Line 127
mask, class_ids = dataset_train.load_mask(image_id)
Line 83
mask = info["mask"].astype(np.uint8)
Is this a module I have to install? Do help trying to solve for about 2 hours now.. bit of a beginner :)

I think it's because some masks doesn't exist in the folder.
Update your main.py and test.py with the new one and try again python3 main.py it should works.

I did download the whole dataset but it seems that there is no segmentation folder

Try with python3 download_archive.py -s --no-images

Thanks for all the replies! Question though, is it possible like to do training by batch?

The Mask-RCNN architecture already do that, the problem is feed the data without run out of memory

It seems during running main.py it only uses up my memory (15.5 out 15.9) and the gpu of only 1% (NVIDIA GTX 1060) ... Because of such main.py ends up in failed allocation of [insert huge number here] bytes. Need help! So does it mean I need to change this part of the program?
`
class MolesConfig(Config):
'''
MolesConfig:
Contain the configuration for the dataset + those in Config
'''
NAME = "moles"
GPU_COUNT = 1 # put 2 or more if you are 1 or more gpu
IMAGES_PER_GPU = 5 # if you are a gpu you are choose how many image to process per gpu
NUM_CLASSES = 1 + 2  # background + (malignant , benign)
IMAGE_MIN_DIM = 128
IMAGE_MAX_DIM = 128
# hyperparameter
LEARNING_RATE = 0.001
STEPS_PER_EPOCH = 100
VALIDATION_STEPS = 5

`

It produces an error as shown below:
Traceback (most recent call last):
File "main.py", line 99, in
img = cv2.imread(path_data+"Images/"+filename+".jpg")
cv2.error: OpenCV(3.4.2) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:55: error: (-4:Insufficient memory) Failed to allocate 18289152 bytes in function 'cv::OutOfMemoryError'

I understood now the problem on the memory allocation. Thanks for the help! But still I need further assistance!
error: OpenCV(3.4.2) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4044: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
It appeared during epoch 1/30
And points at this line :
              mask = cv2.resize(mask, (128, 128))

Due to this, the training wouldn't proceed! Thanks in advance for your reply!

Try to change this part:
for filename in os.listdir(path_data+"Descriptions/"):
    data = json.load(open(path_data+"/Descriptions/"+filename))
    img = cv2.imread(path_data+"Images/"+filename+".jpg")
    img = cv2.resize(img, (128, 128))
    mask = cv2.imread(path_data+"Segmentation/"+filename+"_expert.png")
    mask = cv2.resize(mask, (128, 128))

    if not mask or not img:
        continue

With:
for filename in os.listdir(path_data+"Descriptions/"):
    data = json.load(open(path_data+"/Descriptions/"+filename))
    img = cv2.imread(path_data+"Images/"+filename+".jpg")
    if not img:
        continue
    img = cv2.resize(img, (128, 128))
    mask = cv2.imread(path_data+"Segmentation/"+filename+"_expert.png")
    if not mask:
        continue
    mask = cv2.resize(mask, (128, 128))

And for the memory allocation change for filename in os.listdir(path_data+"Descriptions/"): with for filename in os.listdir(path_data+"Descriptions/")[1000:]:

Thank you for the reply, but it seems another error occurred. It is a
Line <no. here> on the "mtrand.pyx" in mtrand.RandomState.choice
Value Error: a must be non-empty

And uhm also for comparison purposes in the future when it works, can I ask for a copy of trained model please. You have been really helpful and thank you for that!

Also, what version of python are you using?


Add GitHub Actions CI

Resolves #13.

Still need to figure out how to make it work both from a branch and pull request. Main issue is fetching tags, otherwise semver check (7dc1f6329e6ee7b1b1ec669534c87f658d98241f) will fail. Couldn't make it work using GitHub checkout action.

looks like this fails before tags and anything else, at the checkout step:

isn't it supposed to use a github actions/checkout@v4 instead of a manual git clone ...? see https://github.com/actions/checkout

isn't it supposed to use a github actions/checkout@v4 instead of a manual git clone ...? see https://github.com/actions/checkout

See my comment above, couldn't get fetching tags using checkout action and that made semver check to fail.
But now I couldn't get it work both from a branch and in a PR. Will get back to this and try to fix.