[Compile]: Could not determine the dependencies of task ':connectivity_plus:compileReleaseJavaWithJavac'.

Operating System
Windows 11
Plugin
connectivity_plus
Version
6.1.0
Flutter SDK
3.24.4
Compilation command
flutter run
Dart Dependencies
dependencies:
  hand_signature: ^3.0.2
  dio: ^5.4.0
  pdf: ^3.10.7
  file_picker: ^8.0.0+1
  flutter:
    sdk: flutter
  flutter_dotenv: ^5.1.0
  flutter_localization: ^0.2.0
  flutter_secure_storage: ^9.2.2
  go_router: ^13.0.1
  google_fonts: ^6.1.0
  image_picker: ^1.0.4
  intl: ^0.18.1
  json_annotation: ^4.8.1
  omni_datetime_picker: ^1.0.9
  path: ^1.8.3
  provider: ^6.1.1
  responsive_framework: ^1.1.1
  signature: ^5.4.0
  skeletonizer: ^1.0.1
  sqflite_sqlcipher: ^2.2.1
  open_file: ^3.3.2
  path_provider: ^2.1.2
  syncfusion_flutter_pdf: ^27.1.52
  firebase_core: ^3.1.1
  firebase_messaging: ^15.0.2
  unique_identifier: ^0.3.0
  gap: ^3.0.1
  mime: ^1.0.5
  intl_phone_field: ^3.2.0
  flutter_animate: ^4.5.0
  flutter_inset_box_shadow: ^1.0.8
  dotted_border: ^2.1.0
  uuid: ^4.3.3
  synchronized: ^3.1.0+1
  fs_shim: ^2.3.0+1
  path_provider_platform_interface: ^2.1.2
  dropdown_search: ^5.0.6
  http: ^1.2.1
  pretty_dio_logger: ^1.3.1
  flutter_local_notifications: ^17.2.3
  pretty_qr_code: ^3.3.0
  easy_pdf_viewer: ^1.0.8
  http_parser: ^4.0.2
  syncfusion_flutter_pdfviewer: ^27.1.52
  package_info_plus: ^8.0.0
  photo_view: ^0.15.0
  workmanager: ^0.5.2
  flutter_bcrypt: ^1.0.8
  encrypt: ^5.0.3
  internet_connection_checker_plus: ^2.4.1
  permission_handler: ^11.3.1
  firebase_crashlytics: ^4.0.2
  pin_code_fields: ^8.0.1
  flutter_timezone: ^2.0.1
  flutter_screenutil: ^5.9.3
  printing: ^5.7.2
  pdf_manipulator: ^0.5.9
  open_file_manager: ^1.0.2
  flutter_date_range_picker: ^0.1.1
  flutter_windowmanager: ^0.2.0
  ssl_pinning_plugin: ^2.0.0
  safe_device: ^1.1.8
  device_info_plus: ^10.1.2
  win32: ^5.5.5

dependency_overrides:
  intl: ^0.18.1

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^3.0.1
  json_serializable: ^6.7.1
  build_runner: ^2.4.7
  change_app_package_name: ^1.1.0

Native dependencies
No response
Compilation Error
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':connectivity_plus:compileReleaseJavaWithJavac'.
> Cannot query the value of this provider because it has no value available.

Flutter Doctor
[√] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.26100.2033], locale en-SG)
    • Flutter version 3.24.4 on channel stable at C:\VSC\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (2 weeks ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

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

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\Name\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:/Program Files/Java/jdk-<IP_ADDRESS>\bin\java
    • Java version Java(TM) SE Runtime Environment (build <IP_ADDRESS>+1-1)
    • All Android licenses accepted.

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

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

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] VS Code (version 1.95.2)
    • VS Code at C:\Users\Name\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.100.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5556 • android-x64    • Android 15 (API 35) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.26100.2033]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 130.0.6723.117
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 130.0.2849.68

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

! Doctor found issues in 1 category.

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

any news i have same problem :(

Have you checked https://github.com/fluttercommunity/plus_plugins/issues/3303 and https://github.com/fluttercommunity/plus_plugins/issues/3299 and can confirm that your project satisfies the requirements, especially Gradle plugin and wrapper versions?

Have you checked #3303 and #3299 and can confirm that your project satisfies the requirements, especially Gradle plugin and wrapper versions?

These issues shouldn't apply since I intentionally downgraded Android studio to a version before Ladybug to counter this problem. My gradle version in the distributionUrl was 7.6.

Alright then you had Gradle wrapper version lower than required by the plugin.
After changing to the required version the issue is gone now for you?

Pasting the same messaged I posted in #3299
I'll lock this conversation as it has been resolved. If you are still struggling with having your Android project to build, check the meta-ticket #3303 or look on Stack Overflow for solutions.
Gradle compilation issues and incompatibility of Flutter projects with Android Studio and JDK 21 are not a plus_plugins issue, rather, it should be resolved by the developer or reported to the Flutter team.


CVAT online communication plugin

Does CVAT have a built-in communication plugin? Sometimes, some urgent projects require online communication, so you don't need to log in to WeChat to switch back and forth. If you encounter problems on the annotation page, you can directly click on it for communication

Dublicate of #6510


Grammar syntax for imports/includes

Correct me if I'm wrong, but from what I see  there's no way to include grammar definitions from one file into another one.
My questions are following:

Is it indeed the case?
If yes, can we discuss introduction of such feature? I'm OK with participating if needed.

Hi @Schahen, are you referring to something like an import/include statement in the grammar itself?
E.g.,
include '../Arithmetic.ohm'

MyGrammar <: Arithmetic {
    ...
}

If so, then you are correct — it's not something we support today. But I'm definitely open to it if you have a proposal!

Hi @Schahen, are you referring to something like an import/include statement in the grammar itself?
E.g.,
include '../Arithmetic.ohm'

MyGrammar <: Arithmetic {
    ...
}

If so, then you are correct — it's not something we support today. But I'm definitely open to it if you have a proposal!

@pdubroy Following up on this, I think this would be a really useful feature but I feel it could be done in the ohm-cli.

Load the grammars from disk
For each match grammar
2a. Try and process imports
2b. Attempt to load defined (if any) imports from disk using relative path.
2c. If successful Substitute the contents of the loaded file in place of the import.
2c. If error Throw FileNotFound for import error
2e. Follow existing parsing flow.

With the above in mind, is ohm-js used to parse the ohm files when pre-building grammars using the cli? If you have a better approach, please let me know.
I'd be keen to potentially look at getting this working as it's exactly what I need.

Implemented the above, awaiting review on the linked #457

Any progress on this front? No way to generateBundles of a grammar that extends another. Or is there?

Any progress on this front? No way to generateBundles of a grammar that extends another. Or is there?

You can extend grammars but they have to be defined in the same file. For me, this was too restrictive. I have since put together a proposal PR but it was awaiting review for a while and I've had to close it due to lack of time on my end. Hopefully it can be picked up again later.
What you can do is write your own pre-processing to automatically search and replace includes... I've seen others using tools for this. Otherwise, you can use my fork which is currently used by my project Solve.

Noted. Thanks @LiamRiddell.

@marco3479 Can you share some details about your use case?
@LiamRiddell, I appreciate you submitting the PR and I apologize for letting it drop. I'd also like to hear a bit more about the specifics of your use case.
I would like to figure out how to best support this, but I had second thoughts about the solution I proposed. It complicates the API and language more than I'd like.

@pdubroy, I have a two grammars; B extends A. I was trying to keep the grammar definitions in their own .ohm files. When trying to generate the TS bundle for B, reasonably, it wouldn't recognize A (as was defined elsewhere). Adding the import syntax should fix this.
Honestly, the only minor bother regarding this is that I can't keep the grammars isolated, rather I have to define in a single .ohm file, and if I make updates to any of the grammars, I have to generate TS bundles for both simultaneously. Unless I'm missing something, it's not a deal-breaker.


Bluespace Crystals

About the PR
Draft
ToDo
eject from machines
Why / Balance
plain text.
Technical details
plain text.
Media
https://discord.com/channels/1202734573247795300/1236697829171527841/1279123932963668051
Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

add: Bluespace crystals.
tweak: Scrambler implant teleports you more then 3 tiles away and has no limit on uses.

Couldn't telecrystals do this in SS13?

scram implant having no limit is ass
instead make it's range wider, by wider i mean MUCH wider (like 50 tiles or anything)
because SCRAM should, really, make you SCRAM instead of teleporting you 1 tile away and doing fuckoff after wasting 2 charges

No. Telecrystals can be used to craft stan prod.

not the stun prod, the snatcher prod. what that would do is when you hit somebody, whatever they had in their active hand would go into your inactive hand

pretty sure bs crystals had to be mined

bluespace crystals buyable at cargo and in the uplink.
You cant buy uranium at cargo and you can buy scrambler in the uplink.
Also the only way of obtaining them in ss13 is by mining or costly printing.

you should make bluespace crystals buyable at cargo and in the uplink

uplink is good but cargo is not.
whatever he said :godmode:

uplink is good but cargo is not. whatever he said :godmode:

Whats the point of mining if you can just buy rare materials?

Whats the point of mining if you can just buy rare materials?

idk man, you do you, i replied to piras


ImportError: libopencv_imgproc.so

Hi,
After downgrading torch (and torchvision) version from 1.10 to 1.9, the import ffcv command raises ImportError:
File "/my_home/miniconda3/envs/test/lib/python3.9/site-packages/ffcv/libffcv.py", line 5, in <module>
    import ffcv._libffcv
ImportError: libopencv_imgproc.so.405: cannot open shared object file: No such file or directory

To reproduce:
conda create -y -n test python=3.9 cupy pkg-config compilers libjpeg-turbo opencv pytorch torchvision cudatoolkit=11.3 numba -c pytorch -c conda-forge
conda activate test
pip install ffcv

Running python and importing ffcv works fine at this point. But if we try to reinstall pytorch for 1.9 version with:
conda install pytorch==1.9.0 torchvision==0.10.0 cudatoolkit=11.3 -c pytorch -c conda-forge

the import ffcv command breaks. Reinstalling ffcv doesn't help.
Do you have an idea how to resolve this?
(installing 1.9 from the beginning works fine and doesn't break ffcv, but I guess that shouldn't be the preferred way of solving this issue)

Hi @eldarkurtic, have you been able to figure this out?
What do you mean by "installing 1.9 from the beginning works fine"? Which steps did you use?
Thanks!

Hi @matanat !
Unfortunately I haven't been able to resolve the issue, and gave up in the end.
"installing 1.9 from the beginning works fine": the only way I could get this up and running without the mentioned issues is by creating the entire conda environment from scratch with the 1.9 pytorch version. So, create a new fresh env, install the "correct" pytorch version and then pip install ffcv.

Hi @eldarkurtic , running conda install -c conda-forge opencv solved my same problem.

@giangnguyen2412 thanks a lot for the suggestion!


problem getting sender id

Hi, I have created my bot and it is working like a charm. I want to know the facebook ID of the person who is contacting my bot.
event.sender.id is returning ID of my facebook page. I need to know the ID in order to know the name of this person and some other info so that I am able to process his request.
Can u help plz.

Refer to, User Profile API
You need to send USER_ID as param to the API in order to get the user profile info.


No issue, just a thanks

Hey - per title, since there are no issues in this project tracker just letting you know I found this, tried it, works fine, and I thank you for your efforts :-)

❤


Fix #36

This fixes issue #36

Thanks @marktopper - I was trying to work out why this was occuring, as I had fixed it in the beta.
Then I realised this is for the current v2.0, so that makes sense. Thanks.


Resources on using Stackify Prefix?

I found it interesting that Prefix is listed here.
We use Stackify at work for APM+, and while it is good for application monitoring, I must confess I have never used it successfully for profiling. I tried, but the whole "edit this config file to configure which types you want to trace in detail" was very unsuccessful for me.
Traditionally, I have used:

https://memprofiler.com/ - .NET Memory Profiler for debugging WPF memory leaks, plus some tips and tricks I learned from Dr. WPF
RedGate ANTS Profiler - I love using their memory tree to find where a dangling reference isn't getting cleared up. Combined with Reflector it lets me see exactly why a third party lib is causing my application to leak memory, and I can submit bug reports to the third party saying "fix this line!"
JMeter for load testing to discover interactions not typically visible in a basic benchmark, such as IIS AppPool restarts due to running out of memory, which will coincide with responses/second dropping sharply indicating some major loading or garbage collection task is running

@sporty81 could you please say something more about profiling with Stackify? (it was added in #13)

Our two products, Prefix & Retrace are very much profilers. They are powered by the .NET CLR profiling APIs. They are a very different type of profiler than something like ANTS though.
We focus on profiling an entire web request or transaction to identify the performance of it and what application dependencies were used that could be impacting performance, among other things we do. Our products are used during dev, QA, and production for troubleshooting and monitoring. Our products are safe for production being the profiling is very lightweight.
More traditional profilers focus on line level or method level performance statistics. They are almost never used in production due to their high level of overhead.
Prefix is similar to Glimpse and the MiniProfiler.
Check out this article to learn more on the subject: List of .Net Profilers: 3 Different Types and Why You Need All of Them


open access information

Also placing in some super stub information.  Needs to be reviewed/torn apart by someone who knows more than I.

See comment in #4 - I suggest this has become obsolete. OK to close?

I'll close out this one but change #4 to the question as to whether Open Access should be included as well (as it contains the thread) and leave that open.


[Bug]: Miniscope creates absolute paths

What happened?
from Laurel Keyes on the NWB Slack:
Hello all,
I have a best practice violation as follows:
check_image_series_external_file_relative - 'ImageSeries' object at location '/acquisition/BehavCamImageSeries'
      Message: The external file '<ABSOLUTE_PATH_TO_FILE>/<SUBJECT_ID>/18_38_48/BehavCam_2/0.avi' is not a relative path. Please adjust the absolute path to be relative to the location of the NWBFile.

I am using the neuroconv converter for Miniscopes and it seems to be automatically creating the links to the behavioral video snippets that accompany each neural recording.  Is there an easy way to make these paths relative or do I need to update each one manually (I have about 30 per nwb file)?
Or, am I able to ignore them, since I ultimately plan to upload to dandiarchive and I will update the external file paths when I do.
Thanks for the guidance!
Steps to Reproduce
n.a.

Traceback
No response
Operating System
Windows
Python Executable
Conda
Python Version
3.8
Package Versions
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Have you ensured this bug was not already reported?

I think the fix here would be to add nwbfile_path as an arg of add_to_nwbfile and use the relative path of each external file wrt that path.

If it helps, I am working from the code base here: https://github.com/catalystneuro/tye-lab-to-nwb/tree/main/src/tye_lab_to_nwb/ast_ophys

hey! I think you can ignore this, since you'll upload this files to DANDI you can use dandi organize to update the file paths for you.
Assuming you have the NWB files that you want to upload in <dataset_id> folder with the dandiset.yaml file:
<dandiset_id>/
├── file1.nwb
├── file2.nwb
├── ...
├── file30.nwb
└── dandiset.yaml
From the terminal you can do:
cd <dataset_id>
dandi organize . --update-external-file-paths --files-mode=move --media-files-mode=copy


RFE: Option for alignment only?

Hello,
I am occasionally working on stackshot fusing tools, too. (https://github.com/mviereck/microscopy-tools)
It uses external tools for alignment, currently either vidstab (ffmpeg) or align-image-stack.
Could you provide an option to align images only, so I could use your focus-stack?
I would be happy with either ready aligned images or just a text file providing distortion values.

Sounds reasonable.
Probably easiest to add --align-only so that it works like --save-steps except saving only the alignment result images and stopping after that. The transformation matrix is a bit of internal implementation detail so I'd prefer not to have any external applications depend on it, as that would break compatibility with future improvements (e.g. if non-linear lens distortion correction would be added).

Thank you that you consider it!
I did a test run with --save-steps and got proper aligned results. But I would need to know where to clip the resulting aligned images. Currently they contain wrong content in 'lost' areas. Maybe the common area of all aligned images could be printed on stdout or stored in a log file?

The transformation matrix is a bit of internal implementation detail so I'd prefer not to have any external applications depend on it, as that would break compatibility with future improvements (e.g. if non-linear lens distortion correction would be added).

ok, I see. Describing lens distorting changes could become difficult.

would break compatibility with future improvements

It depends on the implementation. An extensible syntax could be defined. Example for a single line:
file=filename.jpg distortion.x=5 distortion.y=11 rotate=17 ... [further future parameters declared as stable or unstable]

I think for --align-only it would make sense to crop the saved images to the common area by default.

I added the option now, the cropped results are save as aligned_ORIGNAME, in the same format as the input images are.
The transformation matrix & color matching info are available from --verbose output:
aligned_frame-0014.jpg transform: [1.002 -0.001 -1.271; -0.000 1.007 -4.797]
aligned_frame-0014.jpg contrast map: C:1.004, X:0.031, X2:-0.187, Y:0.068, Y2:-0.105
aligned_frame-0014.jpg whitebalance: R:x1.004-0.1, G:x0.984+0.7, B:x0.961+0.8

The format for transform is standard 2x3 affine transform matrix.
The contrast match has average contrast and x, x², y, y² terms.
White balance has contrast and offset for each color channel.
I don't currently foresee changes to this format, but if e.g. lens distortion correction would be added it would probably cause an alignment based on only the transformation matrix to be sub-optimal, as generally all the parameters have some correlation and interdependence.

I added the option now, the cropped results are save as aligned_ORIGNAME, in the same format as the input images are.

Thank you very much!

The format for transform is standard 2x3 affine transform matrix.
The contrast match has average contrast and x, x², y, y² terms.
White balance has contrast and offset for each color channel.

Thanks for the insight, I'll look into this. Long time since I've calculated a matrix in school ...

are save as aligned_ORIGNAME

There is one issue that occurs with --align-only but not with --save-steps.
If using a relative path to the source images an invalid file name is created:
$ focus-stack ../../test4/magick/* --verbose --align-only
[...]
 0.109 [ 12/432] T2 Starting task: Save aligned_../../test4/magick/preview_0054.jpg

No error is printed although storing the file fails, focus-stack continues.
Using --save-steps instead stores the files in pwd as expected.

Thanks for noticing that, the relative path bug should be fixed now. One can also use --output=..../foo_ to set the path and prefix for output with --align_only.

One can also use --output=..../foo_ to set the path and prefix for output with --align_only

Great, that is useful!
Somehow the autocrop does not work anymore, cloned from git some minutes ago. It worked with a previous version some hours ago.

The automatic cropping currently crops relative to the reference frame, which is by default the middle one but can be set with --reference. This does leave a bit of the extrapolated edge on some of the images.
Cropping to the smallest frame instead could help, that may be a part of #2 also.

Cropping to the smallest frame instead could help

I'd say that is the correct behaviour to avoid artefacts.
However, currently no crop at all is applied. The resulting images always have the same size as their source.

It worked with a previous version some hours ago.

I am not sure about this anymore; maybe I've used images already cropped by other tools.

Is there a way to set the output file format, too? Say, setting the suffix to .tif?

Currently no separate way, but it uses the same format as the input image.

Currently no separate way, but it uses the same format as the input image.

Yes, I see this.
I have several sets of jpg source images, but would like to store them as tif to avoid loss of image quality. (Even quality 100% for jpg is said to loose a bit.)
Of course I can convert the images to tif myself before aligning them.
However, it would be nice if focus-stack could do this itself, so I would save same CPU power / time.

Yeah, currently the "focus-stack as alignment tool" is just quickly bolted on feature, not really very much thought of.
I don't have time to work on it myself.

Yeah, currently the "focus-stack as alignment tool" is just quickly bolted on feature, not really very much thought of.

It is a really great feature!
I quite appreciate that you have introduced it. Thank you very much!
Those details like "specify image output format" are just nitpicking where I suggest a possible improvement, but can live well with it "as is".


Merge 1.7.1

Travis fails on
Error: Access to API denied. Email to<EMAIL_ADDRESS>for access.

dropping documented support for .10 and .12?  sad. :(


[request/help] Release Logic

"release": {
  "Fearow": {"release_below_cp": 1200, "release_below_iv": 0.1, "keep_best_cp": 2, "logic": "or"}
}

The above will always keep the top two CP but keep everything beyond 1200 CP and .1 IV.
If instead you want to ONLY keep the top two CP for those beyond 1200 CP and .1 IV, there is currently (as far as I know) no means to do this. Something like the following:
"Fearow": {{"release_below_cp": 1200, "logic": "or", "release_below_iv": 0.1}, "logic": "and", "keep_best_cp": 2}
Thoughts on how to do this with the current setup?

I'm somewhat confused by the end of your question.
From what I understand you want:
Release CP < 1200 AND Release IV < 0.1 AND Keep best CP = 2
Does this not work?
{"release_below_cp": 1200, "release_below_iv": 0.1, "keep_best_cp": 2, "logic": "and"}

@RedViper9 no, that won't work as you're expecting. logic only impacts how release_below_cp and release_below_iv get calculated.
@mjmadsen this is a really odd use case. Unless there's some reason why you need 0 pokemon of a certain type unless they are over 1200, then just using "keep_best_cp": 2 alone should be sufficient for you, as you will always have the best two of a given type, whether they're over or under 1200.

I think this is a valid use case. Given the default box size is 250 and there are 145 catchable pokemons, it does not take long for "keep_best_cp": 2, "keep_best_iv":1 to fill up the box. It would be great release_below_cp and release_below_iv can kick in and do some gate keeping job.

@lhung exactly. Not to mention the hordes of pidgeys and the like I save for lucky egg evolves.


Geographic scope map incorrect for Amphibians of the Former USSR

The geographic scope map for this dataset page  "Amphibians of the Former USSR" appears to be incorrect.
https://www.gbif.org/dataset/e1c320f6-370e-4d5e-8253-9b5285a0775f

It seems to be a content issue. The westBoundingCoordinate and eastBoundingCoordinate should be swapped in the EML:
<westBoundingCoordinate>-178.717</westBoundingCoordinate>           <eastBoundingCoordinate>19.95</eastBoundingCoordinate>
Issue moved to: https://github.com/gbif/portal-feedback/issues/1484


build: Bump webpack version to 5.94.0

/retest

/retest

/retest

/retest

/retest

/retest

/retest

Just Azure failing, known issue there. Lets get this in - there are some CVEs on webpack.


The get channel

Expected Behavior
The  get the channel get me an error
Actual Behavior
Steps to Reproduce the Problem
1.get the bot start on
1.send to on Facebook so get type error create the channel
1.stop the bot so get me some error
Specifications

Platform: Windows
Version (can be found in package.json): 2.6.2
Node.js version (node -v):8.6.0

@RobCraftNet Ok, I know why this happens. I'll fix it in 10 minutes

ok

@RobCraftNet Fixed, try now

ok


Can pinpoint get QPS when enable sampling?

We can reduce the bandwidth usage by enable samping, however we also want to know the QPS of our application, average response time and error rate.
How about this, even though sampling is enabled, only the QPS data(strip trace data) reported, if current trace contains error report it always.

@jamee Very interesting ideas here, thanks for sharing them.
You can view the qps in the inspector page (TPS chart), which displays the qps independently of the sampling rate. (The average response time and error rate
With that out of the way, let's discuss sampling strategies.
The current sampling strategy is "head-based", meaning the root node makes the sampling decision and all the child nodes follow that decision. The advantage of this approach is that it's simple and efficient, but it comes with the limitation that sampling decisions cannot be made based on certain events that occurred down the pipeline.
In order to overcome this limitation, we could employ a "tail-based", or "event-based" (making up names here) strategies. The "tail-based" approach could leave the sampling decision to the leaf nodes (there could be multiples, whose decision should we follow?), and the event-based approach could react to an event (such as an error) and make the sampling decision accordingly.
There are however, concerns and problems we need to address before we can employ these approaches.
They require all holding traces in memory until it's span is finished, which will add a lot of overhead to the application. How would we know if a span is "finished", especially in the context of asynchronous calls? What if one leaf node decides not to sample (and throws away it's trace), but another decides to sample? How would the sampling decision made by an event generated by one leaf node share it's state with another leaf node (which might have already finished it's trace)?
The points you've brought up are excellent, and ultimately, we also believe it to be best to move away from our current sampling strategy to something more adaptive.
Would love to hear more ideas on this one.
Thanks again for sharing!


Add an OpenVDB example on how to write a fluid solver

This is supposed to be an example on how to build a fluid simulation using the tools that OpenVDB provides.

Wrong EasyCLA.


[blog] Adjust the latest MUI X blog post

This PR introduces some slight adjustments to the latest blog post about MUI X #39700 — primarily including:

Adding an open-graph card to the post
Adjusting images when possible (resolution, size, and backgrounds)
Copywriting tweaks here and there (some typos, slight rephrases, and capitalization adjustments)
Mentioning the name "MUI X" a bit more and fine-tuning the links 😬

👉 https://deploy-preview-40046--material-ui.netlify.app/blog/mui-x-end-v6-features/

The scrollbar on mobile on this page is fixed in #40057.


Why notify the desktop to be inactivate?

So, here is my question, I noticed the function rebuild_desktop_states in src/modules/xworkspaces.cpp sets active desktop to empty? Why that is case? Should not the workspace that is active always be active until it is not active?
  /**
   * Update active state of current desktops
   */
  void xworkspaces_module::rebuild_desktop_states() {
    for (auto&& v : m_viewports) {
      for (auto&& d : v->desktops) {
        if (d->index == m_current_desktop && d->state != desktop_state::ACTIVE) {
          d->state = desktop_state::ACTIVE;
        } else if (d->state == desktop_state::ACTIVE) {
          d->state = desktop_state::EMPTY; // why deactivate it?
        } else if (d->label) {
          continue;
        }

The state might be named badly but active is actually the state for focused workspaces.

Is it possible to have a current workspace? I have just switched to xmonad and I find it most useful.
Like this:
  /**
   * Update active state of current desktops
   */
  void xworkspaces_module::rebuild_desktop_states() {
    for (auto&& v : m_viewports) {
      for (auto&& d : v->desktops) {
        if (d->index == m_current_desktop) {
          d->state = desktop_state::ACTIVE;
        } else {
          d->state = desktop_state:EMPTY;
        }
   }

Closing, as this should be fixed by #587. Not sure why it didn't automatically close.


Creating release from git command line results in Release webhook not triggered

Gitea version (or commit ref):
1.13.1
Git version:
2.25.1
Operating system:
CentOS
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No

Description
Creating release from git command line, results in Release webhook not triggered, and also, different view in Releases tab.
So, If I create the Release from the Gitea UI, Release webhook is triggered correctly and one type of view is created.
But if I create Release using git tag (both annotated and lightweight), and then push to repo, Release webhook is not created and view of the release in Release tab is different.
...
Screenshots

I think you can just push a tag via git command line but that's not a release for Gitea .

I think you can just push a tag via git command line but that's not a release for Gitea .

As @lunny mentioned, you create tags via cli, but releases via GUI. If you'd like to create a release via CLI I recommend you take a look at our "tea" cli tool.


Missing directorys

After a fresh install,
npm install
the AuthManager and the Serializer Folder is missing in the adonis-mongorito folder

@NicoG11 I will give it a try, do you have a example repo? it will speed things up

sorry, i have no example repo.
What i think is, that you release version 0.2 or so and the new directory comes later and you forget to update to the new version?


Document data-selected-text-format="static"

I was looking into modifying the plugin's code to use static title text and I found that it already implemented, and can be used like so:
<select class="selectpicker" data-selected-text-format="static" data-title="Foo">

This is not mentioned on the examples page.
The listed values for selectedTextFormat are:

'values' | 'count' | 'count > #' (where # is an integer)`

Why doesn't this mention "static"? Is this an internal feature which I shouldn't be using? If not, it would be great it if wasn't hidden away in the code – please mention it on the examples page.

The documentation needs to be updated. See #987.


BUG: Paloma TWAP bot shows incorrect ETH balance

See the attached picture

User error. NO fix needed.


Add SSL support for MySQLi connector

As per merge request #7233 which adds SSL support for PDO MySQL, we will need to add support for MySQLi.
I will work on this issue.

Fixed in #7243

Merged.


Use 'src_modules' from elm-package.json for go to definition

I am already adding support for this in elm-oracle as well, so more in depth Go to Definition is on its way.

This issue is pretty old!  Has this feature made its way into elm-vim since this was filed?


Implement open source/Github collective signup

Part of #2872

Implement signup flow for collectives connected to open sources projects. This will require dealing with Github OAuth.
Questions

For the 'Request manual verification' button, what page does this go to or what does it do? @piamancini @Memo-Es

@sbinlondon it should go to the create collective flow for non open source projects with the tag 'open source' and the open source collective as the suggested host

Update:

As discussed in the call last week, I'm making a new Github component that breaks the form out of the 'pick a repo' bit and redirects instead to the new Create Collective Flow form

Mostly addressed in opencollective/opencollective-frontend#3530 and opencollective/opencollective-frontend#3605
Outstanding issues collected in #2945


Rename copy_without_render() check

Resolve #741 😸
cc @audreyr

One of the appveyor environments couldn't connect to GitHub 😠

Current coverage is 100% (diff: 100%)

Merging #802 into master will not change coverage

@@           master   #802   diff @@
====================================
  Files          15     15
  Lines         605    605
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits          605    605
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 4547940...93e80fb

👍

Thank you @michaeljoseph! 🍰


Can PR event be signed?

Lambda Fails to send pull_request event
[ERROR]	2020-03-09T22:52:41.834Z	e60bd394-1c51-5468-8ce5-8574d6b6a97e	CI bot raised an exception! %s
Traceback (most recent call last):
  File "/var/task/handler.py", line 57, in run_jenkins_lambda
    cibot.parse_webhook_data(event)
  File "/var/task/CIBot.py", line 199, in parse_webhook_data
    secret_sign = hmac.new(key=secret.encode('utf-8'), msg=data, digestmod=hashlib.sha1).hexdigest()
  File "/var/lang/lib/python3.7/hmac.py", line 153, in new
    return HMAC(key, msg, digestmod)
  File "/var/lang/lib/python3.7/hmac.py", line 93, in __init__
    self.update(msg)
  File "/var/lang/lib/python3.7/hmac.py", line 102, in update
    self.inner.update(msg)
TypeError: object supporting the buffer API required


Websocket API "Connection reset by peer"

OS: Ubuntu
GPMDP Version: 4.6.1-1
Issue Descriptions: I can't connect to the websocket API anymore. When I try to, it just gives me the "Connection reset by peer" error
Steps to Reproduce:
Run the following in python:
$ python
>>> import websocket
>>> websocket.create_connection("ws://localhost:5672")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_core.py", line 514, in create_connection
    websock.connect(url, **options)
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_core.py", line 226, in connect
    self.handshake_response = handshake(self.sock, *addrs, **options)
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_handshake.py", line 79, in handshake
    status, resp = _get_resp_headers(sock)
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_handshake.py", line 158, in _get_resp_headers
    status, resp_headers, status_message = read_headers(sock)
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_http.py", line 305, in read_headers
    line = recv_line(sock)
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_socket.py", line 123, in recv_line
    c = recv(sock, 1)
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_socket.py", line 102, in recv
    bytes_ = _recv()
  File "/home/aiguofer/.pyenv/versions/default2/local/lib/python2.7/site-packages/websocket/_socket.py", line 84, in _recv
    return sock.recv(bufsize)
socket.error: [Errno 104] Connection reset by peer

Figured out my problem.
I ran netstat -lntup | grep :5672 and found that the port was in use by process beam.smp. After googling, I found out that's part of RabbitMQ. I stopped and disabled the systemd unit for RabbitMQ (I can just use Docker whenever I need it for development). After that I restarted GPMDP and everything is good again :)


Sub-Gem class not working as expected

Existing (but not working):
Show
Class Gem
Class Chipped Gem, Flawed Gem, Standard Gem
CharacterLevel <= 50
Working (but not intuitive)
Show
Class Gem
Class Chipped, Flawed, Standard
CharacterLevel <= 50
We should either update item.filter and class.md with "Chipped" instead of "Chipped Gem"
Or
Update code to correctly match "Class Chipped Gem"

Also, do a ctrl+h for Gray to replace with Grey, there were over 10 hits on 0.2.

ideally the fix is the 2nd. "Chipped Gem" should be the one I want to work so it matches https://github.com/fabd/diablo2/blob/master/code/d2_113_data/ItemTypes.txt#L94. ill see if i can take a look at some of these issues this week.

Closing issue. Reopen if it is still an issue on the latest.


Scala Kinesis Enrich: add configuration option for directory for database downloads etc

At the moment it default to the directory from which Kinesis Enrich is started (may not be the directory which contains Kinesis Enrich), which is confusing.
https://groups.google.com/forum/#!topic/snowplow-user/RyjI8NL9djA

Should the MaxMind database configuration live in the ip_lookups configuration JSON?

No this should be an app-wide config of a working directory. It's Kinesis
pipeline specific and orthogonal to any specific enrichment.
A
On 1 Sep 2015 10:46 am, "Fred Blundun"<EMAIL_ADDRESS>wrote:

Should the MaxMind database configuration live in the ip_lookups
configuration JSON
https://github.com/snowplow/snowplow/blob/master/3-enrich/config/enrichments/ip_lookups.json
?
—
Reply to this email directly or view it on GitHub
https://github.com/snowplow/snowplow/issues/2009#issuecomment-136652434.

Migrated to https://github.com/snowplow/enrich/issues/164


save/forcesave does not update the ranks table right away

Steps to recreate:

Use y2!osu ranks
Use y2!osu save or y2!osu forcesave to save a certain user
Use y2!osu ranks again.

The rank table will be updated after Announcer updates, which may confuse users.

I'll work on a temporary solution by getting pp's directly after the new_user method.


Analyzer with --no-implicit-dynamic complains about anonymous function passed to Function

Consider the following code, where I have some function that takes a Function parameter and try to pass an anonymous function to it:
void foo(Function f) {}

Future<void> main() async {
  foo((e) {});
}

Running dartanalyzer --no-implicit-dynamic gives me an error:

error • Missing parameter type for 'e' at foo.dart:4:8 • strong_mode_implicit_dynamic_parameter

Okay, if I try to add a type with foo((Object e) {}); then I trigger the lint:

lint • Avoid annotating types for function expression parameters at foo.dart:4:8 • avoid_types_on_closure_parameters

so I can't win.
This is admittedly a nonsensical example, and foo should specify return and parameter types for its Function argument.  However, I encountered this when trying to pass an anonymous closure to Future<T>.catchError() which necessarily takes a Function. (Incidentally, I don't see explicit documentation in Future<T> nor in Future<T>.catchError that explains what signatures are allowed for onError.  The best I can find is "If test returns true, onError is called with the error and possibly stack trace".)
A workaround seems to be to use foo((dynamic e) {}); or to use a named function.

Dart VM version: 2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "linux_x64"

Adding this before the line with the error
// ignore: implicit_dynamic_parameter

or this somewhere in the file
// ignore_for_file: implicit_dynamic_parameter

is the workaround I use.

@zoechi is it just me, or did this stop working on the dev channel (dart 2.9.0-7.0.dev)?

What is this?
            errorWidget: (context, url, error) => SizedBox(
              width: double.infinity,
              height: double.infinity,
              child: DecoratedBox(
                decoration: BoxDecoration(
                  color: backgroundGreyDark,
                ),
              ),
            ),

I don't think there is anything for --no-implicit-dynamic to do differently here. In each example, there is an implicit dynamic type:

void foo(Function f) {}

Future<void> main() async {
  foo((e) {});
}

Using --no-implicit-dynamic implies that you want to be warned about your implicit dynamic here.

(foo as List).map((e) ...

since as List means as List<dynamic>, the parameter type for e is an implicit dynamic.
@shinriyo we'd have to see a complete example to see why error is missing a (more appropriate) type.


Fix typo in ConfigMap doc

@kelseyhightower I realized while writing OpenShift docs that there are a couple errors in the descriptors in the doc, PTAL

@thockin @johndmulhausen @davidopp looks like all of you have been active recently in the docs, let me know if there's someone better tag

@johndmulhausen how does one get a merge on a PR after 'Docs LGTM' is applied?

Shouldn't the key for SPECIAL_KEY_TYPE be special.how and not data-1 as well?

cc @janetkuo

Looks like this was moved.

This doc is moved to docs/user-guide/configmap/index.md and the changes in this PR are fixed in #289. Closing.

@johndmulhausen how does one get a merge on a PR after 'Docs LGTM' is applied?

I think the current process is +Tech Review LGTM and then someone will manually merge it.


Feature #2249 - add support for managed identity for SPO

Type

[ ] Bug Fix
[x] New Feature
[ ] Sample

Related Issues?
Fixes #2249
What is in this Pull Request ?
Add support to use Managed identity for SPO APIs besides Graph

@gautamdsheth I've checked the code and have done bugfixes to it. What I cannot get to work yet is that if you have multiple permissions set in your system identity token:

It will still only get an access token containing the scp for the first one you have configured for that source (i.e. Graph or SPO). Not for the other ones. I also cannot figure out how to request a specific scope. The .default trick also does not seem to work.


Allow async functions in Expr

Currently, expr() does not support async functions, while it easily could.

[ ] Add documentation
[ ] Release in a minor


I can’t set the first row of the data table to be selected. [Data Table by Single selection]

This function solves the problem (这个功能解决的问题)
I want to use Single selection of Data Table,
to set the first line of the result to be selected.
But it doesn't have this feature
Expected API (期望的 API)
I hope that there is a method which can set the row number of results for the default value。

use checked-row-keys prop
const checkedRowKeysRef = ref([0]);

use checked-row-keys prop
const checkedRowKeysRef = ref([0]);

Thank you for your reply


Settings Export/Import

I have 3 accounts in K9 and performed an export from an old device to a new device. Only one account (IMAP) worked afterwards. The two POP3 accounts did not work after import. I had to delete and recreate the accounts for the two POP3 mailboxes in order for them to work. I can provide the settings file (privately) if needed.

What version(s) of K-9 Mail were you using?
How did "did not work after import" manifest itself?
Please record a debug log while trying to import the settings. See https://github.com/k9mail/k-9/wiki/LoggingErrors

What version(s) of K-9 Mail were you using?
How did "did not work after import" manifest itself?
Please record a debug log while trying to import the settings. See https://github.com/k9mail/k-9/wiki/LoggingErrors

I was unable to receive messages on my pop3 accounts, while the imap
account worked fine. To try to reproduce this problem, I deleted all the
accounts, turned on debugging, then re-imported the same settings that I
had used previously. This time it did work. The only error I had was
related to my IMAP account, which doesn't use SSL (had to change the
configuration to make it work). I've attached the log file for review, but
I doubt it will be helpful. I'd be willing to uninstall K9 / reinstall if
you think that might make a difference. I have several devices at my
disposal, if you would like me to do a factory reset. The device I'm using
as my primary is a Nexus 6p running Android 6.0.1. Please let me know
if/how I can be of assistance.
On Fri, Jan 1, 2016 at 4:17 PM, cketti<EMAIL_ADDRESS>wrote:

What version(s) of K-9 Mail were you using?
How did "did not work after import" manifest itself?
Please record a debug log while trying to import the settings. See
https://github.com/k9mail/k-9/wiki/LoggingErrors
—
Reply to this email directly or view it on GitHub
https://github.com/k9mail/k-9/issues/990#issuecomment-168341124.

Maybe it was a typo in the password. Currently K-9 Mail doesn't notify the user of authentication errors. That issue is tracked in #879.
Since it seems to be working now I'm closing this issue.


Create Supurlative.Options tests

Add TestHelper class to aid in refactoring of existing tests in upcoming PRs
Add tests for Supurlative.Options (case, separator, absolute/relative)

Confirmed all tests pass.


System.UriFormatException on load (Mono)

Type (choose one): Bug
NLog version: Latest NuGet, 5.0.0-beta05
Platform: Mono 4.6.2
Current NLog config: None, this is crash during target registering.
In case of a BUG:

What is the current result?
Unhandled exception being thrown when registering a custom target.

What is the expected result?
Properly registering target with no exception.

Did you checked the Internal log?
I didn't as it's an error on client machine. I'm working on getting internal log from affected machine and will provide later on.

Please post full exception details (message, stacktrace, inner exceptions)

Exception: UnhandledExceptionHandler() One or more errors occurred.
StackTrace:
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00052] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.Threading.Tasks.Task.Wait () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
  at ArchiSteamFarm.Program.Main (System.String[] args) [0x0000d] in <8e2c5bf04c21476991605cd1e2f2f8aa>:0 Exception: UnhandledExceptionHandler() Invalid URI: The hostname could not be parsed.
StackTrace:
  at System.Uri.CreateThis (System.String uri, System.Boolean dontEscape, System.UriKind uriKind) [0x00090] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
  at System.Uri..ctor (System.String uriString) [0x00017] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
  at NLog.Config.ConfigurationItemFactory.BuildDefaultFactory () [0x00033] in <294b42a9e7eb4ed898baa93ed17d3c81>:0
  at NLog.Config.ConfigurationItemFactory.get_Default () [0x00007] in <294b42a9e7eb4ed898baa93ed17d3c81>:0
  at NLog.Targets.Target.Register (System.String name, System.Type targetType) [0x00000] in <294b42a9e7eb4ed898baa93ed17d3c81>:0
  at NLog.Targets.Target.Register[T] (System.String name) [0x0000b] in <294b42a9e7eb4ed898baa93ed17d3c81>:0
  at ArchiSteamFarm.Program+<Init>d__29.MoveNext () [0x00031] in <8e2c5bf04c21476991605cd1e2f2f8aa>:0

Are there any work arrounds?
Apart from trying/catching in my own code, I don't think so. This looks like internal NLog issue.

Is there a version in which it did worked?
This doesn't look like regression to me, so I don't know, but I hit this issue also a while ago, without reporting it back then. Perhaps it was here for the entire time. This looks like exactly the same issue to me.

Can you help us by writing an unit test?
I don't think so, I don't know what is the culprit of this bug yet.

Extra info:
This looks like Mono-only issue that is happening with some specific environment I'm not able to reproduce, I got a report from one of my users where I make use of NLog. This crash comes as soon as I hit Target.Register<SteamTarget>("Steam"). It's nice to note that my code in general works fine for all users, including me as a developer, but there is some affected machine on which this line hits the exception instead of passing through. I made sure that there are no calls to NLog prior to reaching that line, which you can see from the stacktrace, as target registering triggers NLog BuildDefaultFactory().
In case it'd be wanted to check how SteamTarget is defined, source code for that part is available here.
I'll try to update my issue with internal log once I get it. I'd provide it right away, but I'm unable to reproduce this bug and I have to rely on communication with the client of affected machine.

Are you sure this issue isn't in the custom Target?
We almost don't create Uris: https://github.com/NLog/NLog/search?l=C%23&p=3&q=Uri&utf8=✓

I am sure, previously the same sort of issue happened when my custom target didn't even exist - back then it was triggered the moment I was loading NLog configuration. The exception is raised somewhere in NLog.Config.ConfigurationItemFactory.BuildDefaultFactory(), and might be caused by lack of some environment properties required by Mono.
BTW, the crash seem to happen so early that even internal NLog log is not being generated. I made sure that it should be generated, and it is in my case, but it's not when NLog crashes that early.

Based on exception and your search (thanks a lot!), it looks like crash is happening here.

thanks!
so
    var assemblyLocation = Path.GetDirectoryName(new Uri(nlogAssembly.CodeBase).LocalPath);
Well unfortunately this code part gave a lot of issues a long time ago. I'm not keen on changing it, until absolute necessary.

In the worst case we can always catch System.UriFormatException and simply return the factory same as when the path would return null.

yes indeed :) Or Uri.TryParse

or uri.tryparse and fallback to something else. That would be at least full backwardscomp. :)

I'll send a PR in a moment. What is the real culprit doesn't really matter, the fact is that in some specific circumstance we can run into this bug, so it should be handled regardless of what is the reason for nlogAssembly.CodeBase to be invalid. Uri.TryParse sounds like a best option that wouldn't clutter the code as much as another catch clause.

This should be fixed in beta06. https://www.nuget.org/packages/NLog/5.0.0-beta06
Would be great if you could confirm!

One of affected users confirmed that indeed the fix worked and NLog crash does not pop up anymore 👍

Great ! :)


Error in test.js

Hi,
please excuse, the perhaps stupid question, but isn't that wrong:
https://github.com/openservicebrokerapi/osb-checker/blob/master/2.13/tests/test/test.js#L379
Why is this below bindings and not in provisions?

@jhiemer I think it should be bindings, and the url is not right then.

Hi @duglin @mattmcneeney , please assign it to me if nobody is willing to solve this problem, thanks!

Those tests seem to be related to deprovisioning.

Hi @mattmcneeney , IMO technically it works fine, but what confuses people is why we pass some configuration data of binding into deprovision test case. What do you think?

Ah I see, thanks. Yeah that is strange - especially because it's not even testing anything to do with bindings (it's not even testing the "Deleting a service instance that has a service binding" scenario). Can we just remove the bits to do with bindings? The actual test cases seem related to deprovisioning only.

Can you take a look at this PR #41 ? It's one proposed solution from my side.


RSS Podcast Feed Provider

This PR provides a work progress implementation for a RSS Podcast Feed Provider. Podcasts are not officially supported for now. The provider implements the Podcast feed as "Artist" and episodes as "Tracks".
Playback of online podcast media works. But currently no sophisticated media type detection or error handling mechanism are implemented. It is just enough for playing single episodes.
This work is unfinished, but feedback would be appreciated. "Tracks" are not shown when the "Artist" is selected. I currently don't know, what is going wrong.

Nice idea!
Lets wait with this PR until after 2.3 has been released and we start the beta period for 2.4, in which we have planned to add media type support for audiobooks and podcasts. Then this would fit in much better.
So I'll get back to you on this one within 2 weeks.

Sorry it got accidentally closed

Closed because fork will be recreated. Branch names has been changed and it was not easy to fix with my knowledge.


Pressure mb off by a factor of 10

In v 0.3.6 pressure was showing as 101.3 rather than 1013

Addressed in 0.3.7


What to Partition By for maximum performance in distance computation (lat/long)

This isn't a question more for asking some guidance.
I am creating a DataFrame by using spark.sql and ST_Point like this:
...
// here _c0 and _c1 are lat and long
val points = spark.sql("SELECT ST_Point(CAST(_c0 AS Decimal(24,20)), CAST(_c1 AS Decimal(24,20))) as pt FROM raw")
...

Then I compute a distance between rows in "points" using ST_Distance but I found that there is no performance gain even if I add more executors. So I am guessing points dataframe needs to have a partition. In this case what would be an ideal partition field?

@keeyong ST_Distance between columns is cross join. There is no way to optimize it. It has O(n^2) complexity

I see @jiayuasu. Is there a way to avoid this?

Add a predicate such as
select ST_Distance( A, B)
From df
Where ST_Distance(A,B) <= 10
This will trigger GeoSpark optimized inner join. But you need to make sure
in your case, you don’t need the full cross join results.
There is no way to optimize a cross join.
On Sat, Aug 11, 2018 at 10:25 keeyong<EMAIL_ADDRESS>wrote:

I see @jiayuasu https://github.com/jiayuasu. Is there a way to avoid
this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DataSystemsLab/GeoSpark/issues/259#issuecomment-412289866,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKcRAGbkly5vnlLAbXBt_ElaDpxB0gqdks5uPxOjgaJpZM4V4hUe
.

--

Jia Yu,
Ph.D. Student in Computer Science
Arizona State University http://www.asu.edu/
Reach me via Jia Yu's Homepage http://www.public.asu.edu/~jiayu2/ | GitHub
Repositories https://github.com/jiayuasu
Follow GeoSpark on Website http://datasystemslab.github.io/GeoSpark/ |
GitHub https://github.com/DataSystemsLab/GeoSpark | Twitter
https://twitter.com/GeoSpark_ASU

Thanks!


Can't install in Astronvim: fatal error

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
Entire project
Description
When I try to install mini.nvim to my Astronvim install, it won't clone the project when trying to install with Lazy
When I do Lazy install, the floating window pops up and it tries to install the plugin, where I get:
Neovim version
NVIM v0.10.0
Steps to reproduce

Add AstroNvim config to neovim
Include put the following in ~/.config/nvim/lua/plugins/user.lua, where all the user-added plugins go:

  {
    "echanovski/mini",
    version = false,
  },

Run Lazy install

Expected behavior
The plugin clones successfully and installs correctly
Actual behavior
Floating Lazy window shows:
  Failed (1)
    ○ mini
        Cloning into '/home/slack/.local/share/nvim/lazy/mini'...
        fatal: could not read Username for 'https://github.com': terminal prompts disabled

I have tried with both versions, I made sure there wasn't any mini folder or related already in my ~/.local/share/nvim/lazy/ folder.
I'm not getting this issue when I try to install other plugins, only mini, I can clone the folder directly into the lazy folder using the command line, but I'm not sure how to get lazy to recognize the plugin that's already there because when it's there and I include it in that user.lua file it tries to clone over it with the same error.
I'm happy to provide more info if there's anything that would be helpful in figuring this out..

Scratch all that. I'm such a doofus. Thought I had copied and pasted directly but apparently I misspelled the name. Closing this with my apologies.

Scratch all that. I'm such a doofus. Thought I had copied and pasted directly but apparently I misspelled the name. Closing this with my apologies.

No worries. I get that it is not the easiest to type and visually verify for people not from Eastern Europe :)

ETA: Not your call, but I really think Lazy.nvim should provide a much better error to indicate that there isn't any repo there, that it's a 404, because that error message is quite misleading

To be fair, my first assumption was that somebody mistyped the username (I thought it was maybe in Astronvim repo itself). could not read Username for 'https://github.com' can be better, of course, but at least it mentions username as the core of the issue.

See I thought it was for some reason trying to do something with my credentials stored, i.e. my username, it didn't occur to me that it was referring to the username of the repo. In hindsight that does seem like it makes more sense 😅


ar_tag_based_localizer: could not find file <aruco/aruco.hpp>

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
--- stderr: ar_tag_based_localizer
In file included from /home/xlk/autoware/src/universe/autoware.universe/localization/ar_tag_based_localizer/src/ar_tag_based_localizer_node.cpp:45:
/home/xlk/autoware/src/universe/autoware.universe/localization/ar_tag_based_localizer/include/ar_tag_based_localizer/ar_tag_based_localizer_core.hpp:54:10: fatal error: aruco/aruco.h: 没有那个文件或目录
54 | #include <aruco/aruco.h>
|          ^~~~~~~~~~~~~~~
compilation terminated.
Expected behavior
success
Actual behavior
error
Steps to reproduce
colcon build --symlink-install
Versions
No response
Possible causes
No response
Additional context
No response

Thanks for the report.
Is the aruco library installed in your environment?
If it has been installed, you should get the results shown in the following command.
$ dpkg -l | grep ros-humble-aruco
ii  ros-humble-aruco                                  5.0.0-1jammy.20230721.204844            amd64        The ARUCO Library has been developed by the Ava group of the Univeristy of Cordoba(Spain).

If not installed, try the following command in the autoware directory.
source /opt/ros/humble/setup.bash
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO

I hope this solves the problem.

@SakodaShintaro
Thank you very much!

May I ask if the planning module is considering introducing a pilot project for reinforcement learning？
Txs!

I'm glad you got it to work.

May I ask if the planning module is considering introducing a pilot project for reinforcement learning？

There is no particular one that can be introduced to you.
If you are able to make such a thing, even a simple one, please introduce it to us at https://github.com/orgs/autowarefoundation/discussions/categories/show-and-tell :+1:

rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
common_sensor_launch: Cannot locate rosdep definition for [nebula_sensor_driver]
nebula_sensor_driver?

Sorry I'm not familiar with that package.
As for everything I know about it
(1) rosdep update may help you
(2) nebula_sensor_driver is related to https://github.com/tier4/nebula.
The latest autoware.repos will load it.
https://github.com/autowarefoundation/autoware/blob/0e5ec3109c752b3cd92deaaad4c0b51b3b8d2cf1/autoware.repos#L78-L81

Thank you again.
Also, I am very familiar with the Apollo.auto algorithm. Do you think universe has any advantages over Apollo?

Sorry, I am aware of Apollo.auto, but I am not familiar enough with its contents to make a direct comparison.
One of the general advantages of autoware is its connection to peripheral software services.

AWSIM : open source simulator
web.auto : development and vehicle management tool as a paid service of TIER IV
fanfare : a reference of vehicle configurations that autoware can work

and so on.
We think that autoware is still lacking in many areas in terms of performance when viewed as a stand-alone software for autonomous mobility. We are constantly developing. (I myself am mainly in charge of developing the localization function)


build linux musl by default

while not entirely simple, there is a known path for compiling musl bins and i think we should be doing it by default - partially because it will help bring us to parity with folks looking to transition to dist
some examples:

https://github.com/cloudflare/wrangler-legacy/blob/master/.github/workflows/release.yml#L55
https://github.com/apollographql/rover/blob/27de7ed0ebb56943a1db37b7f22fb649b3e9d801/.circleci/config.yml#L308
https://github.com/rustwasm/wasm-pack/blob/master/.github/workflows/release.yml#L55

dupe of #75 ?


Add support for multiple Roccat devices.

Please add support for the following devices:
Device Names:

Roccat Skua FX (Per-key RGB Keyboard with configurable macro alt functions for keys)
Roccat Kova (Mouse with 2 LEDS with 7 configurable buttons (+EasyShift))
Roccat Horde Aimo (6 Zones RGB Keyboard with a programmable wheel)

Roccat Website: https://roccat.org/

Add the Roccat Burst Pro mouse to that list too :)


Serve MLflow models without a model signature

Hi, is model signature required for using the MLServer-MLflow runtime? Seems for models that don't have a signature defined in the MLmodel, MLServer will have a hard time converting the v2 protocol payload into the mlflow input as there isn't a default codec. What's the recommended approach here? Thanks!

Hey @deli816 ,
The simplest approach is probably to have a MLflow model signature saved within your MLflow model. Most of the time this can be done automatically by MLflow. From this signature, MLServer can infer how it should treat each of the input fields (e.g. as a dataframe, as a tensor, etc.).
If that's not present, you can also specify on each request and each input how should MLServer treat those. This is done through the Content Types extension of the V2 Inference Protocol.

Hey @deli816,
Since the question seems answered, I'll close this down. Feel free to reopen if you're still facing any issues though.


KeyError: 'return_weights'

Hi Xin,
When I gonna finetune the model, I got the error KeyError: 'return_weights'.
And I read the code of finetune.py, but I couldn't find return_weights is defined in the finetune_config.
Could you tell me how I can debug?
Thanks a lot.

I have deleted that parameter. Please pull the latest code.

Thanks, it works now!


[DOCS]

Issue Description
I was thinking of implementing a chart that describes the level system. It’ll give contributors an idea of how to contribute to LinksHub, especially if they struggle with proposing ideas.
Additional Context
No response
Screenshots or Examples (if applicable)
No response
Proposed Solution (optional)
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[x] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

@CBID2 are you working on it?

@CBID2 are you working on it?

Yeah. I just wanted your opinion on it first @rupali-codes

@CBID2 are you working on it?

Yeah. I just wanted your opinion on it first @rupali-codes

can u show me any examples how it actually looks like?

@CBID2 are you working on it?

Yeah. I just wanted your opinion on it first @rupali-codes

can u show me any examples how it actually looks like?

Something like this

@CBID2 are you working on it?

Yeah. I just wanted your opinion on it first @rupali-codes

can u show me any examples how it actually looks like?

Something like this

Ohh, gotcha, it looks fine to me :)


Invalid_payment_type_code

On credit card payment for Brazil i get this error. Note: I have credit card for Brazil active.
Other issue is that the IOF is not well calculated for eg. for a total amount of R$128 it show a message "Total to be Paid with IOF(0.38%) R$506". This is weird.

Hello, sorry for the delay.
Those issues are fixed :) all the fixes that were in develop branch just got tagged 2.1.0 in master so it shouldn't display that behaviour anymore.
If you need anything just yell for help.


Give a better example for std.regex.replaceAllInto

The current example for std.regex.replaceAllInto does a dup of the sink's data, thereby undermining the whole objective of the sink and of the *Into function i.e. to avoid extra allocations. The proposed patch provides an example which makes better use of the sink.

Overall - looks good.  Following e.g. this guide:
http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
Then git push -f to update this PR.
Speaking of branches and git - once this PR gets merged is going upstream to DLang/Phobos master. You can then drop your local branch safely. The next 2.070 release will incorporate the change, 2.069 is already going through betas and was branched away a few weeks ago.

I thought in general it was advisable not to rebase commits you have pushed? http://git-scm.com/book/en/v2/Git-Branching-Rebasing#The-Perils-of-Rebasing

That doesn't apply to PR branches, where rebasing is very common, because nobody is likely to base commits on them.

BTW – the fact that the unittests pass should indicate that the programming is correct, no?

The test could have easily missed one coma and be fine. Anyway I believe you are right, though other examples you posted could have hit zero thus w/o digging deep I assumed we needed that zero too.

Auto-merge toggled on


Support ActiveRecord 4.2

ConnectionAdapters::SQLite3Adapter::StatementPool#initialize now accepts four parameters.

FYI, the 2.1.0 version is out now.

Great, thanks for the heads-up.


vk setup Error

Hi,
$ pip install numpy
$ pip install VCF-kit
I finished this two comannd.
And then,
(py27) [username@twins2 ~]$ vk setup
Traceback (most recent call last):
File "/home/username/anaconda3/envs/py27/bin/vk", line 11, in
sys.exit(main())
File "/home/username/anaconda3/envs/py27/lib/python2.7/site-packages/vcfkit/vk.py", line 64, in main
check_output(["brew", "tap", "homebrew/science"])
File "/home/username/anaconda3/envs/py27/lib/python2.7/subprocess.py", line 212, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/home/username/anaconda3/envs/py27/lib/python2.7/subprocess.py", line 390, in init
errread, errwrite)
File "/home/username/anaconda3/envs/py27/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
What happened?

Do you have homebrew installed?


Please add snippet for Plugin and region comments

Please also update snippets for bevy 0.9 as needed and provide a list of prefixes for each snippet included in the Readme.
I'd love to see support for regions as follows
  "Rust Region": {
    "prefix": "region",
    "body": ["// region: --- $1", "\t ${0}", "// endregion: --- $1"],
    "description": "Region space"
  }

and Plugin as follows
pub struct ${1};
impl Plugin for ${1} {
    fn build(&self, app: &mut App) {
        app
            .${0}
    }
}

See this https://github.com/ryo33/vscode-bevy-snippet/blob/main/snippets/snippets.code-snippets
Cheers :)

I've added a plugin snippet, updated the readme and changed a few other things in #3.
Regions won't be added as they aren't specific to Bevy.
Thanks!

Cool 😎 Thanks


Changing Baseweb CSS include path in sample html

I changed the path from /assets/ to /src/ to match the current structure. On the demo / docs site: http://getbaseweb.com/getting-started/ you include a "Basic Template". I noticed the path in this doc would not match your new structure that does not include the /assets/ folder.

I'm not sure I want to define a path at all, now that you bring this up. I may go in and remove any path all together and just have it link directly to the related files. The reason is that this could change depending on anyone's specific dev environment and how they are using BaseWeb.
I'm going to leave this open until I settle on how I want this to work. I definitely need to find a way to make grabbing a copy of BaseWeb and using it easier.

Let me know if you'd like the company to host any assets, or if you want me to test anything.

On Dec 26, 2016, at 12:34 PM, Sebastian Nitu<EMAIL_ADDRESS>wrote:
I'm not sure I want to define a path at all, now that you bring this up. I may go in and remove any path all together and just have it link directly to the related files. The reason is that this could change depending on anyone's specific dev environment and how they are using BaseWeb.
I'm going to leave this open until I settle on how I want this to work. I definitely need to find a way to make grabbing a copy of BaseWeb and using it easier.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


User api keys don't work in 3.0

Link to reproduction
No response
Describe the Bug
In my users collection, i set
auth: {
  useAPIKey: true
}

I then was able to make an api key.
However, when I made a request with
Authorization: users API-KEY <key>

It still said access denied. My slug for the users collection is users. Maybe it's a 3.0 bug?
Also is there a way to disable auth on a collection entirely?
To Reproduce
Described before!
Payload Version
3.0-beta.20
Adapters and Plugins
No response

My bad seems to be working now! sorry for the churn


Add one-line installation instruction

I've done something in 34a1ea6. I don't want to hardcode the version in the README


Warning: Can't perform a React state update on an unmounted component.

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
in Scanner (at SceneView.tsx:132)

As stated in the error message did you remove all listener in a useEffect hook or in the componentWillUnmount function?
This errer usually happen when you have a setTimeout or a fetch/axios call to a remote resource and the response arrives after your component is unmounted.

https://dev.to/collegewap/react-prevent-state-updates-on-unmounted-components-2j4d


⚠ Samsung has degraded performance

In f4913e8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2061 ms

Resolved: Samsung performance has improved in bc7605b.


http://www.hivemq.com/demos/websocket-client/   dont work?

Hi,
the websocket client demo sample seem dont work, is it can work,or it have stop work and support.
http://www.hivemq.com/demos/websocket-client/

@iot-lorawan: Thanks for contacting us.
The demo works fine for me.
Can you elaborate what exactly doesn't work for you ?
Maybe there is an error in your browser javascript console that you can share.

Hi,
Thanks you for your quick respone, when click connect,the connectindcation is  always red,
my browser is

Hi @iot-lorawan,
The HiveMQ Websocket Demo works on Firefox.
Do you see any Javascript errors, when inspecting the page?
Regards,
Florian

Hi,
the firefox debug console indicate error as below,

I find the errors，the reason it cannot work is that some js scripts are not downloaded normally.Mabe you can modify some cdn js scripts like me,it will work again.
You will need refer my fork repo:
https://github.com/FansinZhao/hivemq-mqtt-web-client
or just use it,because i have make it into a docker image ,and pushed to docker hub.
Docker
docker run -itd --rm -p 80:80 fansin/hivemq-mqtt-web-client
then visit address http://localhost/, then, enjoy it.

I find the errors，the reason it cannot work is that some js scripts are not downloaded normally.Mabe you can modify some cdn js scripts like me,it will work again.
You will need refer my fork repo:
https://github.com/FansinZhao/hivemq-mqtt-web-client
or just use it,because i have make it into a docker image ,and pushed to docker hub.
Docker
docker run -itd --rm -p 80:80 fansin/hivemq-mqtt-web-client
then visit address http://localhost/, then, enjoy it.

Hi，
Thanks.

Hi，
Thanks.


refactor: make query parameters optional in fetchCoingecko function

Motivation
To add additional endpoints to the Coingecko API wrapper (for example supported_vs_currencies, we need to adapt function fetchCoingecko, to make the query parameters optionals and to make the return type use generics.
Changes

Change return type of fetchCoingecko to use generics.
Make queryParams optional.

Tests

For which use case do we need additional endpoints such as supported_vs_currencies?

For which use case do we need additional endpoints such as supported_vs_currencies?

I was planning on expanding the Currencies to show the balance, for example, EUR, CHF, or even the quasi-entire list available.

to show the balance, for example, EUR, CHF,

Are you doing that now or are you planing for the (not near) future?
If the first, sure, I'll review the PR.
If the latest, I suggest to review this PR later at that time when such modification is going to be required.

to show the balance, for example, EUR, CHF,

Are you doing that now or are you planing for the (not near) future?
If the first, sure, I'll review the PR. If the latest, I suggest to review this PR later at that time when such modification is going to be required.

I was doing it now eheh! It would have been among the next PRs (I split it in several, to go step-by-step).

Have you discussed with Artem, Mary and team about the integration of this?
Such questions like how do users select which currency they want to display? should this choice be saved and persisted within the backend canister? or is that just a frontfacing choice? should it be saved in the local storage etc?

Have you discussed with Artem, Mary and team about the integration of this?
Such questions like how do users select which currency they want to display? should this choice be saved and persisted within the backend canister? or is that just a frontfacing choice? should it be saved in the local storage etc?
If yes, maybe you can briefly explains me next week that way I understand how complex (or not) the feature is and can review the PRs accordingly.

For now, it would have been just a way to optionally have a different currency on functions such as
export const exchangeRateETHToUsd = async (): Promise<CoingeckoSimplePriceResponse | null> =>
  simplePrice({
    ids: 'ethereum',
    vs_currencies: 'usd'
  });

that would default to 'usd' if not given (so, exactly as current behavior). And then, at some point, add the front-end feature to choose it, like most of wallets do, and maybe persist it.

If not used, I rather like that we do not add unused options in the code base this to avoid complexity and prevent unexpected usages.

Closing this PR, awaiting the moment we will make the balance multi-currency.


[WIP] Fix the unit test for depthwise convolution

Description
Should fix https://github.com/apache/incubator-mxnet/issues/14052 .
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-label-bot add [Test, Python, Flaky, pr-work-in-progress]

Looks like the issue is still there and flaky. New MKL-DNN doesn't mitigate the problem. @pengzhao-intel @szha

Looked into the CI result, test_depthwise_convolution can pass now. The failures seem don't relate to test_depthwise_convolution. Please try to retrigger CI.

CI was triggered 3 times in this PR and test_depthwise_convolution failed twice in them:
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-gpu/detail/PR-14452/1/pipeline#step-178-log-2982
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-gpu/detail/PR-14452/3/pipeline/#step-156-log-2968
As the the second failure happened on python3: GPU Win, I suspect that the issue was not caused by MKL-DNN. Besides seems it's not the same issue descried in #14052  @mseth10 .

This seems like a new failure and needs to be investigated, it was not there when I raised the issue #14052 .
Are we done with MKLDNN fix? What about the other CI failures?

@DickJC123 Could you take a look at the CI failure on Windows GPU? This PR tries to re-enable the test for depthwise convolution.
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-gpu/detail/PR-14452/4/pipeline#step-178-log-2966
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-gpu/detail/PR-14452/4/pipeline/110#step-179-log-3000

Maybe @ptrendx can help too :)

@TaoLv Were you able to figure out the test failures here ?

@TaoLv Could you please provide an update on this PR? It's being idle for sometime now. Thanks!

@TaoLv any plan on this? Still on 0.20 or 1.0?

I see the issue is closed, please close if not required


🐛 Bug Report: Entities not removed from catalog when the repo is renamed and archived at the same time

📜 Description
Entities provided by the GithubEntityProvider are not being removed from the catalog if the repo is renamed just before it is archived.
👍 Expected behavior
The entity should be removed from the catalog.
👎 Actual Behavior with Screenshots
Entity remains in the catalog with the location pointing to the pre-rename repo.
👟 Reproduction steps

Append -retired to the name of a repo that has already been discovered by the GitHub entity provider
Immediately after renaming, archive the repo
Wait for the provider/processing loop to give it a chance to remove the entity
Check that the entity has not been removed

📃 Provide the context for the Bug.
We have a practice of appending -retired to the names of repos before archiving from when Github search didn't have a good way to filter out archived repositories.
We noticed that when an archive happened without the rename, the relevant entities would be removed from the catalog. Same if the the discovery/processing loop had reconciled a name change before archiving. But most of the time, we would have to do manual cleanup from the catalog because the rename and archive operations often happen at the same time.
🖥 Your Environment
Backstage version 1.17.5
@backstage/plugin-catalog-backend-module-github | 0.3.7
@backstage/plugin-catalog | 1.12.4
@backstage/plugin-catalog-common | 1.0.15
@backstage/plugin-catalog-backend | 1.12.4
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

@efenner-cambia out of curiosity, are the entities removed if you're only archiving without renaming?
If so, can you please share your config? it doesn't seem to work for us.
see https://github.com/backstage/backstage/issues/5239#issuecomment-1857978700

@wanisfahmyDE Yes, entities do seem to be removed if we archive without renaming. Config looks like this:
providers:
    github:
      providerId:
        host: ${GITHUB_HOST}
        organization: 'myorg'
        catalogPath: '/catalog-info.yml'

//packages/backend/src/plugins/catalog.ts
...
const builder = CatalogBuilder.create(env);
...
builder.addEntityProvider(
    GithubEntityProvider.fromConfig(env.config, {
        logger: env.logger,
        schedule: env.scheduler.createScheduledTaskRunner({
          frequency: { minutes: 75 },
          timeout: { minutes: 60 },
        }),
      },
    ),
  )
...
builder.setProcessingIntervalSeconds(1800);
...

We haven't tried to shift to event-based yet but it looks like you have something tied to events, so that could be contributing to the change in behavior. Or the validateLocationsExist: true since I could see that keeping the provider from updating correctly when a location goes from existing to not existing.

@efenner-cambia thanks for sharing the configs and the hint.
I tried switching validateLocationsExist but it didn't help :/
The events for archiving are both published by github and also subscribed to in Backstage, but beyond logging the event request, nothing else really happens on the catalog front.
I'll keep investigating.
Thanks <3

Oops, please re-open. Still seeing this issue

We will treat this as a duplicate of issue #21906 which is still open and resolve it there.

As a resolution to #21906, we will add support for additional event types including repository archived and renamed.
However, this will require the event support to be enabled for the provider to have an impact.
This issue here might describe an issue with the full refresh. On a first glance, I wouldn't expect it to happen. I didn't look into or reproduced it, though.
The full fresh will get all repositories and then filter archived ones. If there is a repo that was renamed and archived or even only archived, I would expect it not to show up in the resulting set of expected entities anymore. Everything not contained there is supposed to be cleaned up automatically as per general entity provider behavior.
I will re-open the issue for now.


[Feedback Request] What do you understand from the "What is Movex" Docs section?

Why
Movex is a new tool, using a set of ideas and principle that are a bit out of common – and because of that, I am constantly trying to see if newcomers are understanding what Movex is and does!
What
Please navigate to  https://www.movex.dev/docs/overview/introduction or read the paragrph below:

Movex is a "predictable state container for Javascript Apps", just like it's main inspiration – Redux, but built for applications where the state needs to be shared across multi-players or multi-peers in a network, just like a turn-based game, a chat application, or anything in between.

Does it make sense to you
What do you understand from it?
Do you have any suggestions for improving the message?

Closing this


flatten nested plugin config items

this builds upon PR #12 in that it extends the support to also cover
plugin configuration that is deeply nested:
config = {
  a = {
    b = 1,
    c = 2
  }
}

# => {
#      "config.a.b" => 1,
#      "config.a.c" => 2
#    }

Oh and thanks for the library! :grinning:


Rebrand: LoanShark Manager -> HuatAh!

Old product name: LoanShark Manager
New product name: HuatAh!

Pull Request Test Coverage Report for Build 331

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.815%

Totals

Change from base Build 330:
0.0%

Covered Lines:
1925

Relevant Lines:
2573

💛  - Coveralls


.Net 8 support

Given the impending end-of-life support of .net6 is there a plan to upgrade the package to support .net8?

Absolutely, can't give an exact time frame at this point though

Why is the core package not just netstandard.  Surely only LtiAdvantage.AspNetCore needs to depend on .netX directly

Would a PR be appreciated?

Gone ahead and created one

Thanks @hisuwh.
@srijken if you or someone else have a chance to look over this PR that would be amazing.

@srijken thanks for getting that in.
Would it be possible to get a version 2.0.0 release out for this, please?


Creating Dataframe from csv loses qnum precision

Here is an example%
 let a = DG.DataFrame.fromCsv(Id,Col1,Col2,Col3,Col4,Col5,Col6,
AAO239,0.001415,,,,0.00502,,
BHO269,<0.0009000,,,,,,
CSX801,<0.0009000,,,,,,
DQI713,,,0.002862,,,,
GHN729,,0.0008489,0.009932,2.84E-04,,>100.00,
KCF907,,0.001228,0.0048,,,34.43,
,,,,,,,
`);
grok.shell.addTableView(a);
a.toCsv();
`
After "grok.shell.addTableView" we could see that the "Col1" is shown as "0.00".
But if checked directly by:
a.columns.byName('Col1').get(0) > "0.001415"
After ".toCsv()" the result lose the qnum column (Col1) precision, and all the values look like "0.00"

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-15586

1.18.7


WFLY-9469 - Assumes in SPNEGOLoginModuleTestCase doen's make sense

Issue: https://issues.jboss.org/browse/JBEAP-8791
Upstream Issue: https://issues.jboss.org/browse/WFLY-9469

retest this please

retest this please

retest this please

Only the "Linux - elytron" tests are systematically failing. I'm trying a 3rd time, maybe this time, they will all pass.

retest this please

Have you verified that this passes on the IBM JDK (this is not part of our regular CI)?

@stuartwdouglas yes, I did:
$ java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build <IP_ADDRESS> - pxi3280sr5-20170905_01(SR5))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux x86-32 20170901_363591 (JIT enabled, AOT enabled)
J9VM - d56eb84
JIT  - tr.open_20170901_140853_d56eb84
OMR  - b033a01)
JCL - 20170823_01 based on Oracle jdk8u144-b01
$ javac -version
javac 1.8.0
$ which javac
/home/rpelisse/Repositories/redhat/issues/JBEAP-8791/ibm-java-i386-80/bin/javac
...
[INFO] WildFly Test Suite: Aggregator ..................... SUCCESS [  0.015 s]
[INFO] WildFly Test Suite: Integration (parent) ........... SUCCESS [  0.327 s]
[INFO] WildFly Test Suite: Integration - Web .............. SUCCESS [01:03 min]
[INFO] WildFly Test Suite: Integration - Smoke ............ SUCCESS [02:07 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:03 min
[INFO] Finished at: 2017-11-09T11:49:07+01:00
[INFO] Final Memory: 453M/829M
[INFO] ------------------------------------------------------------------------

For the sake of double checking, I also verify the test environnements, to be sure mvn did not somehow used an other JVM:
$ grep -e java.home connector/target/surefire-reports/*.xml
connector/target/surefire-reports/TEST-org.jboss.as.connector.annotations.repository.jandex.AnnotationsTestCase.xml:    <property name="java.home" value="/home/rpelisse/Repositories/redhat/issues/JBEAP-8791/ibm-java-i386-80/jre"/>
...

But that being said, it is only one IBM JVM and my system (Linux/Fedora). I am hoping some more wide spread testing will be done, down the road...


MIssing v2.15.0 release tag

Apparently there is no tag for v2.15.0 release. It might be confusing.
https://github.com/keras-team/keras/tags

Hi,
2.15 is part of tf-keras and can be found here https://github.com/keras-team/tf-keras/tree/v2.15.0
This is due to the migration process of Keras 3 from Keras-Core to Keras.
For Keras 2.15, you can refer the published wheels here on PyPi https://pypi.org/project/keras/2.15.0/#history.

Thanks,  I have created keras 2.15.0 release in https://github.com/keras-team/keras/releases/tag/v2.15.0.


Duplicate investigation_to_agency references for GEO submitted products

Checked for duplicates
Yes - I've already checked
🐛 Describe the bug
Duplicate references need to be removed:
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:context:agency:agency.nasa</lid_reference>
      <reference_type>context_to_associate</reference_type>
      <comment>investigation_to_agency</comment>
    </Internal_Reference>

Resolved per c20012308de674ef53e0c0a15f711e1b144b10b1


Request for addition of extension

Describe your suggested feature
Can you add rule34video site to the app as an extension, it is the e-hentai for video formats. Thank You!
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

If this is an issue with an extension, I should be opening an issue in the extensions repository.


This repository possibly violates our Terms of Service. Contact support if you believe this is a mistake

replit say : This repository possibly violates our Terms of Service. Contact support if you believe this is a mistake

Yeah, that's true. I can't do anything about that.


[FR]: mtree_spec should support $(locations) expansions

What is the current behavior?
Currently, there's no way to refer to generated files in tar(mtree=[]).
Describe the feature
Make this work;
tar(
    name = name,
    srcs = [":content"],
    mtree = [
        "#mtree",
        "{} uid=0 gid=0 mode=0755 time=0 type=file content=$(location :content)".format(path.lstrip("/")),
    ],
    **common_kwargs
)

Note that IIUC this is also necessary to be able to build tar from another repository:
This works when built in the main repository:
tar(
    name = "vite-config-tar",
    srcs = ["vite.config.js"], # just a source file
    mtree = [
        "app/vite.config.js uid=0 gid=0 mode=0755 type=file content=private/react_app/vite.config.js",
    ],
    visibility = ["//visibility:public"],
)

But fails when the target is built from another repository:
ERROR: /home/tos/.cache/bazel/_bazel_tos/9a3bb826a3e2f2e221c72da13796debf/external/dh_buildlib/private/react_app/BUILD.bazel:23:4: Tar external/dh_buildlib/private/react_app/vite-config-tar.tar failed: (Exit 1): bsdtar.sh failed: error executing command (from target @dh_buildlib//private/react_app:vite-config-tar) external/bsd_tar_linux_amd64/bsdtar.sh --create --file bazel-out/k8-fastbuild/bin/external/dh_buildlib/private/react_app/vite-config-tar.tar ... (remaining 1 argument skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
bsdtar: Error reading archive bazel-out/k8-fastbuild/bin/external/dh_buildlib/private/react_app/_vite-config-tar.mtree.txt: Can't open private/react_app/vite.config.js
bsdtar: Error exit delayed from previous errors.


chore(deps): :arrow_up: update dependency eslint-plugin-storybook to v0.8.0

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

eslint-plugin-storybook
0.7.0 -> 0.8.0

Release Notes

storybookjs/eslint-plugin-storybook (eslint-plugin-storybook)
v0.8.0
Compare Source
🚀 Enhancement

upgrades and stuff #150 (@ndelangen)

🐛 Bug Fix

fix release #151 (@ndelangen)

Authors: 1

Norbert de Langen (@ndelangen)

v0.7.0
Compare Source
🚀 Enhancement

Disable rule of hooks in stories files #149 (@ndelangen)

Authors: 1

Norbert de Langen (@ndelangen)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/esbuild
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   optional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/jest-preset-angular
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@nx/angular
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@nrwl/angular
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/esbuild
npm ERR!   peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@nx/angular
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@nrwl/angular
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-02-19T12_47_19_660Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-02-19T12_47_19_660Z-debug-0.log


Fix exception when incorrect date is encountered

Add a return SearchConstraintSearchSince when an invalid date is encountered, else it will throw an exception. Closes issue #562.

I don't know why I couldn't add issue 562 would be closed so it happens automatically (?)


Replicating NLL Results for PIXEL CNN

Could you please let me know, how can I replicate NLL results in the paper. For how many epochs should I train.
Could you please give me script to generate an image using the trained model?

Hey @anton-jeran

Could you please let me know, how can I replicate NLL results in the paper. For how many epochs should I train.

For training the models, take a look at [train.py](https://github.com/EugenHotaj/pytorch-generative/blob/master/train.py).
Which results are you trying to replicate? Generally, you should use the hyperparameters discussed in the paper. Here is the training script that I used for Binarized MNIST (note that this won't work for CIFAR10 and would have to be updated accordingly):
N_EPOCHS = 500

model = PixelCNN(in_channels=1,
                 out_channels=1,
                 residual_channels=16,
                 head_channels=32,
                 n_residual_blocks=15)

optimizer = optim.Adam(model.parameters(), lr=1e-3)
scheduler = lr_scheduler.MultiplicativeLR(optimizer, lr_lambda=lambda _: .999977)

def loss_fn(x, _, preds):
  batch_size = x.shape[0]
  x, preds = x.view((batch_size, -1)), preds.view((batch_size, -1))
  F.binary_cross_entropy_with_logits(preds, x).sum(dim=1).mean()

trainer = pg.trainer.Trainer(model=model,
                             loss_fn=loss_fn,
                             optimizer=optimizer,
                             train_loader=train_loader,
                             eval_loader=test_loader,
                             lr_scheduler=scheduler,
                             device=torch.device("cuda"))
trainer.interleaved_train_and_eval(N_EPOCHS)

Could you please give me script to generate an image using the trained model?

Once the model is trained you can generate images by calling model.sample().

Hey @anton-jeran,
I've now added reproduce functions to all models which encode the hyperparameters. You should be able to reproduce the results by simply calling that function.
A super simple way to do this is to just run python train.py --model pixel_cnn.