PermissionError: The process cannot access the file because it is being used by another process

When downloading an album or playlist, this error is thrown out at random.
It has appeared on many different albums and at different times.
System OS
Windows
Python Version
3.10
Install Source
pip / PyPi
Install version / commit hash
v3.9.1
Expected Behavior vs Actual Behavior
Expected:
Song is downloaded
Actual:
Error is thrown
Steps to reproduce

Download any song/album/playlist.

Traceback
Traceback (most recent call last):
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\downloader.py", line 258, in download_song
    downloaded_file_path.unlink()
  File "C:\Program Files\Python310\lib\pathlib.py", line 1204, in unlink
    self._accessor.unlink(self)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'spotdl-temp\\thqVSPJL38Y.webm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\console\__init__.py", line 75, in console_entry_point
    downloader.resume_download_from_tracking_file(tracking_file)
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\downloader.py", line 110, in resume_download_from_tracking_file
    self._download_asynchronously(song_list)
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\downloader.py", line 115, in _download_asynchronously
    self.loop.run_until_complete(asyncio.gather(*tasks))
  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
    return future.result()
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\downloader.py", line 124, in _pool_download
    return await self.download_song(song_obj)
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\downloader.py", line 263, in download_song
    display_progress_tracker.notify_error(e, tb)
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\progress_ui_handler.py", line 269, in notify_error
    self.update(message="Error " + self.status)
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\progress_ui_handler.py", line 289, in update
    self.parent._rich_progress_bar.start_task(self.task_id)
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\rich\progress.py", line 722, in start_task    task = self._tasks[task_id]
KeyError: 249

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\Scripts\spotdl.exe\__main__.py", line 7, in <module>
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\console\__init__.py", line 57, in console_entry_point
    with DownloadManager(args_dict) as downloader:
  File "C:\Users\finnb_wn3i83p\AppData\Roaming\Python\Python310\site-packages\spotdl\download\downloader.py", line 60, in __exit__
    shutil.rmtree(temp_folder)
  File "C:\Program Files\Python310\lib\shutil.py", line 739, in rmtree
    return _rmtree_unsafe(path, onerror)
  File "C:\Program Files\Python310\lib\shutil.py", line 617, in _rmtree_unsafe
    onerror(os.unlink, fullname, sys.exc_info())
  File "C:\Program Files\Python310\lib\shutil.py", line 615, in _rmtree_unsafe
    os.unlink(fullname)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'spotdl-temp\\9G8XjPyQk8c.webm'

Other details
Python version: 3.10

Well the exception is pretty self descriptive. Maybe some other application is accessing the file, or you 2 instances of spotdl are running at the same time.
I personally saw it few times, but it's really hard to reproduce it (it's random at least in my case) so I can't really debug it.


[FEATURE REQ] Add unit testing for Azure AD samples

Is your feature request related to a problem? Please describe.
This is described as a complete example.
learn.microsft.com

For a complete sample demonstrating this scenario, see spring-cloud-azure-starter-active-directory sample: aad-resource-server.

however there is an aspect missing, unit testing. When using  @WebMvcTest we discover that the AadResourceServerWebSecurityConfigurerAdapter needs a properties bean AadResourceServerProperties that doesn't seem to be initialized with the slim context.
Describe the solution you'd like
I would like a set of simple tests using @WebMvcTest that would exercise the mappings using the spring security test mechanisms of @WithMockUser, @WithUserDetails, and/or @WithSecurityContext
Describe alternatives you've considered
I am trying to write these now.
I also have a full integration version which exposes a random port and uses the TestRestTemplate to make a call with a custom SecurityContextRepository, however we should be able to easily apply the slim @WebMvcTest context as well.
Additional context
IMHO the appropriate approach to testing is a critical part of a complete example.
Information Checklist

[x] Description Added
[x] Expected solution specified

Thanks @arranbartish that is exactly what I was looking for.
Do you have sample code of how you setup the Integration tests? I am currently stuck at this point.

I do.
I'll fork and PR back. The integration test was really a last resort for me. It would be better if we could get @WebMvcTest to work.


FIx a couple spelling errors

'suprise' -> 'surprise'

Note this is not yet the final repository and will be wiped.

For now, I'll submit your patch to the vim-dev ml

Included as patch 7.4.683

:)

@brammool  why not using github PR system? this would be very well for developers who want to contribe via github

I'm not sure but vim-dev want to make history of changes as straight line, i guess. Maybe it is similar to https://github.com/golang/go is so.


Issues with homebridge in Raspberry Pi.

Hi, I'm having some issues with homebridge installed in RPI.
I have installed homebridge in Raspberry PI 2 model B with this configuration:
pi@raspi ~ $ uname -a
Linux raspi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
pi@raspi ~ $ node -v
v5.3.0
pi@raspi ~ $ npm -v
2.14.7
First issue is related to accessories. I have all my accessories duplicated in Eve app.
Sometimes one of the duplicated accessory works fine, other is inaccessible.
Another issue I am having is that often my accessories are not available.
I tried deactivating keychain from my iPhone 6S  icloud account, deleting files from /home/pi/.homebridge/persist/, deleting homebridge from Eve app, but always issues come back.
I also tried changing my homebridge username.
Could someone help me with this issues?
Thanks in advance!

Could you check your config.json. I think that's where the issue is. Could you post the file?

Thanks so much matthijs2704.
Made a new config.json more lighter, with only 3 accessories and seems to be working like a charm!
I'm going to add new accessories one by one and testing before add the next.
Regards!

If you change the device name or type in the config.json you could possible get a duplicate (and/or old) device in your application.


port to .net standard 2.0 + addind .net core sample

Dear Nathan,
Thank you very much for your work.
I don't know if you still maintain this project, but I have ported it to .Net Standard 2.0 and added a .Net Core sample.
I don't know how to update the associated nuget package as I don't know how nugget works.
Let me know if you still maintain it or how I can upgrade the associated nugget package myself (if possible).
Best regards,
Christophe

Thanks Christophe!
I will review the PR in the next couple days.
Glad to see this moving to .net core. :)

Merged this into a new feature branch.
I've also linked this work to a new project to update the library overall and release a simplified 2.0.0 version.
Thanks for the contribution!

If you have chance, I'd value feedback on PR #8.
It incorporates your changes and sample code. The code has been published to Nuget as an "alpha.1" package.


Add support for Rails 6.0.0.beta1

Motivation and Context
I want to try Rails 6.0.0.beta1, but the gem cucumber-rails doesn't support it, so I added the support.
How Has This Been Tested?
Rails 6.0.0.beta1 was added to Appraisal, so the whole test suite will run with it in CI.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Hi @kotovalexarian,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

Merged. Thanks for your contribution!


DefaultRepository CreateAsync uses Newtonsoft JsonConvert.SerializeObject in TryLogDebugDetails which causes problems on some items.

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
When in debug mode TryLogDebugDetails in CreateAsync fails with
Self referencing loop detected for property 'Root' with type 'System.Text.Json.Nodes.JsonValuePrimitive`1[System.Text.Json.JsonElement]'. Path 'Messages[7].ToolCalls[0].Function.Arguments'.

error. If LogLevel is raised to 'Information' that error does not occur.
To Reproduce

Replace default serializer with System.Text.Json.
Try to CreateAsync item that works fine when not in debug mode

Expected behavior

Either attempt to serialise and swallow exceptions
Or set  Newtonsoft JsonConvert.SerializeObject to ignore self reference errors
Or use the same serialiser as used for TItem

Actual behavior
Unhandled exception
Environment summary
SDK Version: 8.0.303
OS Version (e.g. Windows, Linux, MacOSX): Windows 11
Additional context
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CheckForCircularReference(JsonWriter writer, Object value, JsonProperty property, JsonContract contract, JsonContainerContract containerContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)
at Microsoft.Azure.CosmosRepository.DefaultRepository1.TryLogDebugDetails(ILogger logger, Func1 getMessage)
at Microsoft.Azure.CosmosRepository.DefaultRepository1.<CreateAsync>d__7.MoveNext()    at System.Threading.Tasks.ValueTask1.get_Result()

What does the code look like, could you share a small project that only includes the code that reproduces the bug? That's usually the best approach for addressing these types of concerns.

You're of course correct that it wouldn't happen in production. However it's a bit annoying having to bump up debug level during development.
Attached is a small repro sample with chopped down models. Effectively it's a one of OpenAI response messages that causes the problem.
bug-repro.zip

@cardgeny In your example, it is not the serialiser that is the problem but the model you are saving to the database, it is the model that contains the properties that have references to themselves. In this case, it would actually be possible to solve this problem by using ReferenceLoopHandling.Ignore in settings of serializer in CreateAsync and UpdateAsync.
@IEvangelist What do you think about that?

@mateuszkumpf Sure, it is the data that causes the serialiser to crash. At the same time the item is created in cosmos db just fine. I mean what harm would it be to use it with ReferenceLoopHandling.Ignore option as it doesn't handle such cases anyway?

@mateuszkumpf Sure, it is the data that causes the serialiser to crash. At the same time the item is created in cosmos db just fine. I mean what harm would it be to use it with ReferenceLoopHandling.Ignore option as it doesn't handle such cases anyway?

I'm fine with that, as long as it's isolated to that call.


Add CLI command completion

AWS : https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html
Terraform : https://www.terraform.io/docs/commands/index.html#shell-tab-completion

Please make the issue a bit more clear, I might want to take it up but I lack a clear understanding of the issue itself

Hello @Tusar6701 and thanks a lot for your interest 👍
The goal of this issue is to provide completion inside the container for both AWS and Terraform CLI, meaning you get command arguments auto-completion in the shell.
Is it clearer one put that way ?

Yeah, it's clearer, let me check if I can do something about it

@Tusar6701 Awesome 👍


fixed random int function

Hi, thanks for this cool lib! I tried to use .Date() function, but it always returns the same number, but underlying function is randIntRange. I checked godoc of rand package, and noticed that real randomise with rand.Seed()

Thanks for using the package hope its helped you out.
If you want to make sure you get a random number at the beginning of your application run gofakeit.Seed(0)


Tested with Ruby 2 and Rails 4

I'm currently using this in production with a Rails 4.1 app on Ruby 2.1.
Secrets are encrypted and decrypted perfectly.

Looks like this project is dead 💀


ui-leaflet analog for bindLabel functionality?

I am porting a map project over to ui-leaflet from "vanilla" leaflet.  I have come too far to turn back now.  I cannot for the life of me figure out how one is supposed to modify marker labels.
In this case, I am trying to change the marker labels so that they are mouseOver popups with custom styling:
OLD CODE
https://pastebin.com/1jCWzPND
The above code is switching on a string type name for the marker items to determine what styling is going to go on them.
NEW CODE
Init Map
https://pastebin.com/T6vXRgRj
Get Points
https://pastebin.com/T3KN9qTf
In this new project using ui-leaflet, I am getting json data from a database and setting the title, lat lng and so forth, as well as the group (by name).
How do I set the label in the way that the bindLabel call above did?

I have worked around this in the following way:
    leafletData.getMap().then(function(map){         map.on("layeradd", function(layer){             if(layer.layer.dragging){//Its a marker                 layer.layer.bindTooltip(layer.layer.options.PointName,{                     direction: 'bottom',                     offset: L.point(0, 15)                 })             }         });     });
This gets the Leaflet map object, then iterates through the layers (this includes L.Markers which are derived from L.Layer).  For each Marker (by checking the existence of the "dragging" property, I call bindTooltip, give it the text and options.


Using getfqdn versus gethostname

Possibly a personal preference, but I think most who would be using this in multiple environments would actually need to the fqdn returned, rather than just the short hostname.

undefined method `getfqdn' for Socket:Class


fix: Adding conditions on app setttings config - avm/res/web/site

Description
Updated

API Version for sites 2022-09-01 -> 2023-01-01
PSRule Updates
WAF Updates
API Version for hybridConnectionNamespaces/relays 2022-9-01 -> 2023-01-01
private-endpoint: 0.4.0 -> 0.4.1
ReadMEs Appropriately Updated

Pipeline Reference

Pipeline

Type of Change

[ ] Update to CI Environment or utlities (Non-module effecting changes)
[x] Azure Verified Module updates:

[x] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[x] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] Breaking changes and I have bumped the MAJOR version in version.json.
[ ] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] I have run Set-AVMModule locally to generate the supporting module files.
[ ] My corresponding pipelines / checks run clean and green without any errors or warnings

Hi @JFolberth Thanks for submitting a PR. Can you please complete the description with some context around the change, why, what it addresses/improves.
Also, would it be possible for you to run our validation pipeline for these module changes and add a status badge to the PR description? You can find instructions for doing this here: https://azure.github.io/Azure-Verified-Modules/contributing/bicep/bicep-contribution-flow/#1-setup-your-azure-test-environment.

@tsc-buddy  will do. I have also been updating the APIs and PSRule tests as noticed in the pipeline it was giving recommendations.

@tsc-buddy  I think this is ready for review....Everything is passing but fail on avm publish

@AlexanderSehr is there anything need from me to get this change committed?

@AlexanderSehr  I am going to close this and nuke my main, repull and properly set this up via branching as learned a lot from the first time doing this :) Weren't that many changes to the specific module.

@AlexanderSehr I am going to close this and nuke my main, repull and properly set this up via branching as learned a lot from the first time doing this :) Weren't that many changes to the specific module.

Happy to have a session some time to show you ways to avoid the nuke 😉


Update grid to use calc

Grid now uses calc to work out widths like 33.333%
Added a --12-col: 100%  so you don't have to override width if you're trying to do some flex manipulations

I like the use of calc 👍.

Added a --12-col: 100% so you don't have to override width if you're trying to do some flex manipulations

I may not be understanding it properly but immediately after reading this it felt wrong to me because you should never be overriding any of the Grid styles as that means you're not using a Layout Module correctly as they must always be completely independent i.e. their styles overriden by something other than a Grid modifier.

I probably should have been clearer by flex manipulation I meant our modifiers.  For example our modifier l-grid--space-between doesn't work, because it requires the widths to be auto.

Ah ok. So does this mean if we're building a responsive UI and at mobile where everything is linear we'll always need to apply:

    …

To make the grid item be 100% width of it's parent?

We may have to, because this is totally valid to have widths on a couple of cells but want them split at either end:

        …

        …

so we can't really reset the width on the modifier like this:
.l-grid--space-between .l-grid {
    width: auto;
}

as that would break the example above.
But is not ideal always having to chuck the --12-col on either

OK. LGTM.

If there's a logged issue could you close it when this goes in? Cheers.


Clicking cancel on application authorize shows successful page instead of something else

Description
Tested on try.gitea.io
To reproduce I created an empty repository.
I attempted to push using https on with git for windows version 2.43.0.windows.1
As shown in the screenshots below a new browser window opens and it asks me, the user, if I want to authorize the application to push to remote.
if I click cancel it will open a new page saying authorization was successful even though I declined.
Although the application was actually not authorized it's confusing and a fix would be nice
Gitea Version
1.22.0+dev-1088-g34290a00c
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
Unknown, whatever is on try.gitea
Operating System
Unknown, whatever is on try.gitea
How are you running Gitea?
Unknown, whatever is on try.gitea
Database
None

The "cancel" button is just a simple link: Cancel , to your http://127.0.01:54187
So I guess "a new page saying authorization was successful even though I declined." is an incorrect message shown by your oauth app, not directly related to Gitea? In this case, Gitea didn't do authorize, it just redirects.

Oh really, sorry!
It honestly didn't cross my mind that this was not related to something outside of gitea.
So it's the app git for windows is using I assume. I'll dig deeper. I'll probably close this issue in a few hours once I turn on my pc to find out more about this

I was able to find what kind of application git for Windows is using and I found their Github. I'm sure they will be able to help me out given your response was that Gitea is basically just redirecting to whatever is running on my local host and I'm pretty sure it's their application.

I could swear sometimes when the page opens gitea automatically redirects me to that locahost without me clicking accept I don't think that's a git credentials manager issue but I can't repro consistently. Will keep this closed.


Refresh the auto-complete data

Is there a way to refresh the entire data?
I am updating css of the populated fields as the user enters the key, but it seems that the values are cached by it so the css is not changed at all.
How do I do it so that on each enter the library populates entire thing with new set of data?

I'm sure if you update the source of your autocomplete data, it will refresh the autocomplete list as well.


File Error

When I run the code I get an error that says
Error: ENOENT: no such file or directory, scandir '/app/db/migrations'
I have the files set in the code so I don't know why I'm getting this error.
I'm hosting the bot for someone on glitch.

Is their any stack trace?

They seem to have solved this, based on their messages on Discord. The issue ended up being that they hadn't moved the db folder over (they had a bit of a non-standard setup).


FlutterErrorDetail return null on release mode

I'm using this code to catch errors in my flutter application and it works perfectly in debug mode but in release mode FlutterErrorDetails is null and I cant see what caused the error.
This is the code that I use:
runZonedGuarded(() {
    WidgetsFlutterBinding.ensureInitialized();

    FlutterError.onError = (FlutterErrorDetails details) {
        MyApp.sendBug(details);
        MyApp.bugSentTime = DateTime.now();
    };

    runApp(MyApp());
  }, (error, stackTrace) {
      FlutterErrorDetails details = FlutterErrorDetails(exception: error, stack: stackTrace);
      MyApp.sendBug(details);
      MyApp.bugSentTime = DateTime.now();
    FirebaseCrashlytics.instance.recordError(error, stackTrace);
  });

Steps to Reproduce
Create any flutter UI bug
Expected results:
2020 01:47:40 GMT+0100 (Central European Standard Time) {
       mode: 'debug',
       os: 'android',
       model: 'SM-N770F',
       brand: 'samsung',
       osVersion: '29',
       buildNumber: '1',
       buildVersion: '1.0.0',
       username: 'Emad',
       error: '══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞═════════════════\n' +
         'The following assertion was thrown resolving an image codec:\n' +
         'Unable to load asset: assets/images/1.png\n' +
         'When the exception was thrown, this was the stack:\n' +
         .....
}

Actual results:
2020 17:00:40 GMT+0100 (Central European Standard Time) {
       mode: 'release',
       os: 'android',
       model: 'SM-N770F',
       brand: 'samsung',
       osVersion: '29',
       buildNumber: '1',
       buildVersion: '1.0.0',
       username: 'Emad',
       error: ''
}

Logs

[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2.2 20D80 darwin-x64, locale en-US)
    • Flutter version 1.22.6 at /Users/emad/flutter
    • Framework revision 9b2d32b605 (7 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

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

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

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

@Emad403
This behavior occurs when you use FirebaseCrashlytics only ? or without it as well ?

@darshankawar  I'm getting the same result without firebase.

@Emad403
Can you provide a complete minimal reproducible code sample (without Firebase) that we can simply copy paste and run to verify this issue ?

This should work
`main() async {
runZonedGuarded(() {
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent, // transparent status bar
systemNavigationBarColor: Colors.white, // navigation bar color
statusBarIconBrightness: Brightness.dark, // status bar icons' color
systemNavigationBarIconBrightness: Brightness.dark, //
));
FlutterError.onError = (FlutterErrorDetails details) {
    print(detail.toString());
};

runApp(MyApp());

}, (error, stackTrace) {
print('runZonedGuarded: Caught error in my root zone.');
FlutterErrorDetails details = FlutterErrorDetails(exception: error, stack: stackTrace);
print(detail.toString());
});
}`
`
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
// TODO: implement build
return CachedNetworkImage(
imageUrl: 'egomet.net/-',
imageBuilder: (context, imageProvider) => Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(30)),
//border: Border.all(color: homeList[index].connectionColor, width: 2),
image: DecorationImage(
image: imageProvider,
fit: BoxFit.cover,
//colorFilter: ColorFilter.mode(Colors.red, BlendMode.colorBurn),
),
),
),
);
}
}
`

flutter doctor -v
[✓] Flutter (Channel master, 2.1.0-13.0.pre.103, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.1.0-13.0.pre.103 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 0cbe597540 (6 hours ago), 2021-03-15 16:28:02 -0700
    • Engine revision 20375cebcf
    • Dart version 2.13.0 (build 2.13.0-137.0.dev)

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.4 19E2269
      darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.82

! Doctor found issues in 1 category.

FlutterErrorDetails has reduced functionality in release mode in order to save code size.
The exception and stack fields of FlutterErrorDetails should be populated in release mode.

@jason-simmons sorry for late response
so how can I get the error that triggered the exception?


[staging & production] Absent custom tooltip for 'Duplicate' icon on project overview

Steps

Go to a project
Hover over the icons on the top-right hand side of the screen.
There should be three icons that give tooltips: Add/Remove from Dashboard, Watch/Unwatch, Duplicate

Expected
I expect that all three tooltips would look the same and be consistent with other tooltips on the site: black background with white text.
Actual
Add/Remove from Dashboard and Watch/Unwatch both have the expected tooltip:

Duplicate, however, does not show the custom tooltip. Instead, a default tooltip is displayed after hovering for a while:

Maybe there is a tooltip class or formatting missing here or something?

This is a regression of something that happened during the Webpack/CommonJS sprint. The first two are bound to Knockout contexts, so they work through that mechanism. The last is being done with a separate function that @sloria did. I'm not sure what broke it, but if someone was refactoring anything low down (base.mako, navbar.mako, or the JS related to those), that may have done it.


match

Component
Forge
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
None
Describe the bug
forge test --match testAccessModifiers
forge test -mt testAccessModifiers is not working
error: unexpected argument '--match' found

I use only
forge test --match-contract AccessModifiersTest --match-test testAccessModifiers

You need to --, not - (single dashes). Also, --match has also been deprecated


License should be added.

License including LICENCE.md should be added Choose a licence.
TheAlgorithms/Python selected the MIT variant.

+1 here, I just made a few hittest mathematical functions and would like to contribute but realized that every single source file in the repository doesn't have a Copyright comment, and the repo is missing a license.
Definitely MIT would be normal choice.

Should I take up this issue? @yanglbme

yes @walter-ind

I have added the license. Please review my PR.
On Fri, 25 Oct 2019, 11:45 Yang Libin<EMAIL_ADDRESS>wrote:

yes @walter-ind https://github.com/walter-ind
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TheAlgorithms/C-Plus-Plus/issues/199?email_source=notifications&email_token=AMP6TI6CCBXBHC6GGRTHT7DQQKFHDA5CNFSM4HPS53Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECHJZMQ#issuecomment-546217138,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMP6TI5RRZT7TGDOABPVZUDQQKFHDANCNFSM4HPS53YQ
.


CLI unit testing

Unit tests for some CLI commands. Be sure to clean up any generated files after testing

#70 adds more commands


Handle proposals type other than Text Proposal

The current UI only works for Text Proposal. Have to add more fields for other types of proposals

@rachelhox Hey team! Can you please add your planning poker estimates with ZenHub


Some tweaks r.e. JsonIgnore

Some random changes:

Our serializer was doing a rather lazy check for an attribute that contains the literal "JsonIgnore", I've replaced this with the more explicit check on the type
I noticed we didn't have any tests to tests that JsonIgnore was being properly respected, so I've added some
Some unit tests were using Newtonsoft.Json.JsonIgnore rather than Speckle.Newtonsoft.Json.JsonIgnore... I think we need to put our foot down and say that all Base objects needs to be using Speckle.Newtonsoft rather than having some loosy goosy flexiblity.
I noticed some dictionaries in the BaseObjectSerializer that could very easily be pre-sized, so I did that

My only question is: what is dragging in newtonsoft?  Can look at that later.


Fix typo in ClientOpts option description

The description of the password option in ClientOpts has a typo. It says conection instead of connection. This ticket is to update the description to say connection.

Fixed in #2056


ci: use sidecar versions from the build.env

The sidecar images in minikube deployment will be fetched from build.env and used/validated accordingly.
Testing ( with all versions set):
validating sidecar controller configuration

Testing without a sidecar version set:
validating sidecar controller configuration
CSI_RESIZER_VERSION version is empty, make sure build.env has set this sidecar version

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

This is supposed to be overridden from the build.env, if we start updating sidecar is both places it's a double work. We should stick to updating it in only one place.

Yeah, however its is possible to use this scripts/minikube.sh locally  , where the version update make sense.
As we keep the versions in the script its indeed better to keep the latest versions in place. Also sidecar updates are not going to happen very frequently.. Mostly once with a kube release.

See sourcing can be used, but my point is simple, if we keep versions, keep latest versions in place, and if we dont want to maintain the versions separately in this file,  there is no point to keep the very old versions out there. Also sourcing make the dependency to build.env , if thats the case we dont even need mention of these versions here in this file.

So, locally it works, however in CI, the build.env path is different... any thoughts  here @ceph/ceph-csi-contributors

So, locally it works, however in CI, the build.env path is different... any thoughts here @ceph/ceph-csi-contributors

source build.env like below?
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
# shellcheck source=build.env
source "${SCRIPT_DIR}/../build.env"

So, locally it works, however in CI, the build.env path is different... any thoughts here @ceph/ceph-csi-contributors

source build.env like below?
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
# shellcheck source=build.env
source "${SCRIPT_DIR}/../build.env"

I knew this existed some where but was not able to fetch it .. Thanks.. should be good now. :+1:

The PR description and commit message suggest that this is for deploying (by Helm or deploy/ yaml files). However this is for CI only?
Maybe it would be good to validate that the deployment files actually have the same versions of the sidecars as listed in build.env. Currently the versions in build.env may be different in charts/ and deploy/.

I will keep this PR for CI.. Updated commit and PR description.

@nixpanic kept this PR for CI only and updated. ptal.. thanks.

@nixpanic @Madhu-1 all comments are addressed. ptal .. thanks.

@nixpanic @Madhu-1 comments are addressed. ptal. thanks.

/retest ci/centos/mini-e2e-helm/k8s-1.21

@Madhu-1 @nixpanic ptal. thanks.

/retest ci/centos/mini-e2e-helm/k8s-1.22

@Rakshith-R @yati1998 ptal.. thanks

/retest ci/centos/mini-e2e-helm/k8s-1.22

@Madhu-1 ptal.. thanks.

/retest ci/centos/mini-e2e/k8s-1.23

/retest ci/centos/mini-e2e/k8s-1.23

@Mergifyio rebase

@Mergifyio rebase

@Mergifyio refresh

@Mergifyio rebase


How can I customize this theme for different pages instead of a single-page website withe scroll?

Academic is designed to be mostly a single page theme and tries to keep everything fairly minimal and simple.
You can add your own custom page by creating a markdown file directly in /content/. For example, copy /content/post/getting-started.md to /content/getting-started.md. Your new page can then be viewed at http://localhost:1313/getting-started/. Refer to Academic's documentation for how to link your new page from the nav bar.
Note that all custom pages default to using the same template as that used for Posts. If you want something else, then you will need to write your own Hugo layout for Academic - refer to the Hugo Docs and Forum for help with this.


What do you think about the new API for version 2.0.0

I'm working on a new API in version 2 and so far I came to this. What do you think about it? Is it readable? What can we add or change?
Note: The old API (media.to.large) is still there and you'll have no problems using it, but probably in version 3 it will be removed.

@morajabi I love this API 😄 Making the definitions as verbose as possible will make it much easier for junior devs to get up and running with this. I remember defining media queries as being a pain point when I started out

@tylerreckart Finally, It is released now and you can use it!


Fix issue that without terminal the AUTHORS.md file was emptied

No review needed.

coverage: 26.405%. remained the same
when pulling 34f9f7005ce775c3beb7eb6c083a538ce344940f on andy/fix-authors-git-command
into c74617b544436edc248e0c476ac2fd3a365ce345 on master.


Use codeowners instead of maintainers

Inspired by cpython https://github.com/python/cpython/blob/master/.github/CODEOWNERS, I added github's codeowners file https://help.github.com/en/articles/about-code-owners.
Using this file unlocks some nice automation (like automatic review pings) and removes the issue of "oh, we forgot to update the maintainers file"!

this is brilliant!


alsa-mixer build broken

Issue description
This has apparently been the case for three days, according to hydra: https://hydra.nixos.org/build/63775150
Steps to reproduce
Attempt to install, but also failing on hydra.

Probably glibc upgrade fallout...

This also breaks xmonad

@NickHu sorry, closing my issue.
@mdorman please rename this issue to include c2hs in the title, as that's the piece causing this issue. this seems to be the place to look for a solution: https://github.com/haskell/c2hs/issues/192

https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD

On ia64, powerpc64le, x86-32, and x86-64, the math library now implements 128-bit floating point [...]

#31498 has my local fix, in case it helps someone get unblocked.


Minor update to tests after new DPPL update

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1188

Relevant Lines:
1466

💛  - Coveralls


Properly encode resource names with unicode characters.

We observed that filenames with non-ascii characters are properly saved to swift and stored in the database, but when trying to construct the url, the _path method's call to quote() results in KeyErrors if the argument is a string containing non-ascii. This encodes the name with utf-8 so we always pass "bytes" to quote().

Coverage increased (+0.04%) to 97.826% when pulling b1baf181e7e41969bfda6758fa2ed1837c1d214f on Roadmaster:encode-unicode-names into e2618ea1266f5f0a7368081ff1c33cf1b0117f0b on blacktorn:master.

Coverage increased (+0.04%) to 97.826% when pulling b1baf181e7e41969bfda6758fa2ed1837c1d214f on Roadmaster:encode-unicode-names into e2618ea1266f5f0a7368081ff1c33cf1b0117f0b on blacktorn:master.

Coverage increased (+0.04%) to 97.826% when pulling b1baf181e7e41969bfda6758fa2ed1837c1d214f on Roadmaster:encode-unicode-names into e2618ea1266f5f0a7368081ff1c33cf1b0117f0b on blacktorn:master.

Coverage increased (+0.04%) to 97.826% when pulling b1baf181e7e41969bfda6758fa2ed1837c1d214f on Roadmaster:encode-unicode-names into e2618ea1266f5f0a7368081ff1c33cf1b0117f0b on blacktorn:master.

Coverage increased (+0.04%) to 97.826% when pulling b1baf181e7e41969bfda6758fa2ed1837c1d214f on Roadmaster:encode-unicode-names into e2618ea1266f5f0a7368081ff1c33cf1b0117f0b on blacktorn:master.

Coverage increased (+0.04%) to 97.826% when pulling b1baf181e7e41969bfda6758fa2ed1837c1d214f on Roadmaster:encode-unicode-names into e2618ea1266f5f0a7368081ff1c33cf1b0117f0b on blacktorn:master.


Added the min_checkpoint_frequency option to the create changefeed docs

Fixes DOC-5443 & DOC-5445, DOC-5682
Added the min_checkpoint_frequency option to the CREATE CHANGEFEED docs for v22.1 & v22.2.

This change is

@miretskiy Would you mind reviewing this? And helping me refine the technical detail here?

@andf-crl I took you off review for this, I'm just going to look at a few more additions after a meeting discussion. Will add you again when it's ready! Thanks

Hey @miretskiy, I added a slight clarification on the resume and duplicates, let me know if this is sufficient/correct? Thanks!


Problem with include leaflet-layer-tree-control

I'm trying to include leaflet-layer-tree-control.

I would like to make the grouped layer collapse. in my research i found that Problem the plugin leaflet-layer-tree-control does it perfectly

I want to know if i can contruct the layer tree in the config.js file

sorry, I'm not sure about that plugin as I've never used it. Bootleaf includes http://leafletjs.com/reference-1.0.2.html#control-layers-option by default, so that would be the preferred option since it's been tested


Currently uses a version of handlebars that contains a critical vulnerability

There is a failed pull request open here to update the version of handlebars from 4.5.3 to 4.7.7 and requires merging as currently the 4.5.3 version of handlebars contains a critical vulnerability;
https://github.com/advisories/GHSA-f2jv-r9rf-7988

This is purposeful as newer versions of request and configstore aren't compatilble with old node versions and Bower is in maintenance mode: we don't break backward compatibility. I determined that these vulnerabilities aren't important enough to subject new breaking-release. The preferred upgrade method for someone who really cares about security is to migrate to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/


Deploy web service known bug

There is a known bug in New-AmlWebService where it creates a new copy of the experiment and a new web service every time it is called. The fix is being worked on in the Studio API.

When can we expect production ready version of powershell?

this issue is fixed. add an -update flag to New-AmlWebService and it will update the existing web service instead.


Set sleep time between pipelines

Add sleep_time as part of batch_options.

As well as the above comments, the test added actually fails:
https://travis-ci.org/frictionlessdata/goodtables/jobs/116277552

I am currently trying to figure out why the tests executed locally fail differently than these. Please ignore what I'm doing.

This has been included in the feature\include_datatable_errors_in_report and thus will be closed.


Add timeouts to calls to upstream services

Use the http.DefaultClient to talk to things, rather than more than one
client.
This means that the connections to the Need API, Content API and
Performance Platform will all be using the same http.Client instance.
Previously, the Performance Platform was using the DefaultClient, and a
separate instance was being used to talk to the other two.
Change the timeout to be 2 seconds for a response from upstream, rather
than the default of 30 seconds.

Not entirely sure about this change. I think adding timeouts is 👍 but perhaps it should be defined at an application level, and passed in to where it is needed?


Add new available model versions

Hello @AAlvAAro,
Thank you for providing this valuable resource. How do you plan to incorporate new model versions in the future? I briefly reviewed it and noticed that additional coding would be required for someone wanting to use Claude v2.1.
Happy to help
--
Pierre

Hi @Grandvizir,
To add the new Claude 2.1 version a new payload builder for that version would be required: just like https://github.com/AAlvAAro/ruby-amazon-bedrock/blob/main/lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb. If the model version is already in place feel free to open a PR with those changes and I'll review it. Thanks!


TermLike: Remove externalizeFreshVariables

Any numeral suffix of a variable name is used to initialize the internal counter. That makes it impossible to have a variable name collision during unparsing, so externalizeFreshVariables is no longer needed.

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock

@ana-pantilie This should fix the bug you were seeing, where variable names were unparsed inconsistently in an error message.


Anchor links

If the URL has anchor links, the browser is not scrolling automatically to that particular element.
Resolves:
https://jira.corp.adobe.com/browse/MWPW-131971
https://jira.corp.adobe.com/browse/MWPW-133331
Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/suhjain/blade-runner-2049s-oscar-winning-texturing-workflow-at-framestore#the-solar-farm
After: https://anchorlinks--milo--suhjainadobe.hlx.page/drafts/suhjain/blade-runner-2049s-oscar-winning-texturing-workflow-at-framestore#the-solar-farm

Closing to check some changes of the load eventListener.

@mokimo and @aishwaryamathuria : Could you please review it again.

@chrischrischris : The modal flickering is resolved. Please review again.

On safari, it scrolls past the anchor title

@chrischrischris : Could you please let me know when is it not working? For me it is scrolling down before the title only.

Probably out of scope for this, but should a Header that's inside a tab that's not currently displayed activate that tab and scroll to it?

@suhjainadobe  Just an FYI, I tested this page w/ a recently added block marquee-anchors which has some anchor link similarities. I don't see any issues w/ compatibility.
Here's the test page https://anchorlinks--milo--suhjainadobe.hlx.page/drafts/rparrish/marquee-nav#how-to-block

@suhjainadobe Just an FYI, I tested this page w/ a recently added block marquee-anchors which has some anchor link similarities. I don't see any issues w/ compatibility.

@ryanmparrish : Here too I could see the issue intermittently. It was scrolling past the title in Safari.

Probably out of scope for this, but should a Header that's inside a tab that's not currently displayed activate that tab and scroll to it?

If the header is not present in the active tab, then the page will not scroll down and activate the tab. We yet are not supporting this feature.

@chrischrischris , @ryanmparrish : I have made some changes in the style.css file which accommodates the default scrolling in Safari. It also resolved MWPW-133331.


Add sample for baremetal deployment

Add dataplane sample for deployment with baremetal provisioning. We will kustomize and use this in the jobs.

recheck

recheck

recheck

recheck


Import of burp XML fails at do_clean

Bug description
If the XML report contains empty <issue> items like: <issueBackground> or <remediationDetail> or  <issueDetail> then import (via web upload) fails with the message below (console logs)
Deployment method (select with an X)

[ ] Kubernetes
[x ] Docker
[ ] setup.bash / legacy-setup.bash

Screenshots

Console logs
Internal Server Error: /product/3/import_scan_results
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "./dojo/product/views.py", line 382, in import_scan_results_prod
    return import_scan_results(request, pid=pid)
  File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "./dojo/engagement/views.py", line 519, in import_scan_results
    parser = import_parser_factory(file, t)
  File "./dojo/tools/factory.py", line 53, in import_parser_factory
    parser = BurpXmlParser(file, test)
  File "./dojo/tools/burp/parser.py", line 47, in __init__
    self.items = [data for data in self.get_items(tree, test)]
  File "./dojo/tools/burp/parser.py", line 82, in get_items
    item = get_item(node, test)
  File "./dojo/tools/burp/parser.py", line 273, in get_item
    background = do_clean(item_node.findall('issueBackground'))
  File "./dojo/tools/burp/parser.py", line 148, in do_clean
    myreturn += x.text
TypeError: cannot concatenate 'str' and 'NoneType' objects

Hi @wheelq we can't investigate without a sample scan. Please feel free to reopen if you can provide.

@wheelq are those issues generated by burp itself or extensions or manually modified ? This happens because those fields are mandatory .

@wheelq are those issues generated by burp itself or extensions or manually modified ? This happens because those fields are mandatory .

I have extracted all the findings and it turns out the fileds were missing because of the extensions generating those reports.
How come those fields are mandatory? There are some findings which do not require any content/explanation in those fields. .
But yes, this is the case here. Would be nice having more explicit error rather than a complete failure ;)


Uncaught SyntaxError: Unexpected reserved word when Transpiling

My index.html is this.
<script src="traceur.js"></script>
  <script src="view1/view1.js"></script>
  <script src="view2/view2.js"></script>
  <script src="components/version/version.js"></script>
  <script src="components/version/version-directive.js"></script>
  <script src="components/version/interpolate-filter.js"></script>
  <script>
    $traceurRuntime.options.experimental = true;
    new traceur.WebPageTranscoder(document.location.href).run();
  </script>

My app.js is this
'use strict';

// Declare app level module which depends on views, and components
angular.module('myApp', [
  'ngRoute',
  'myApp.view1',
  'myApp.view2',
  'myApp.version'
]).
config(['$routeProvider', function($routeProvider) {
  $routeProvider.otherwise({redirectTo: '/view1'});
}]);
export var test = 'es6!';

I may be missing something but this does not transpile ?
Uncaught SyntaxError: Unexpected reserved word

Use some backticks so that folks can read your example =) https://help.github.com/articles/markdown-basics/#multiple-lines

@mohanr export is only allowed in Module. Based on the information you provided it is not clear how you import app.js?

@mohanr, which version are you using?  I just landed a change to WebPageTranscoder.
Which line and file is the error reported on?   Is this error in the chrome devtools console?

<EMAIL_ADDRESS>@arv I just added one line 'export var test = 'es6!';' to check. Everything else is the older style.

I have changed it like this now. But I see the same error.
app.js
'use strict';

// Declare app level module which depends on views, and components
angular.module('myApp', [
  'ngRoute',
  'myApp.view1',
  'myApp.view2',
  'myApp.version'
]).
config(['$routeProvider', function($routeProvider) {
  $routeProvider.otherwise({redirectTo: '/view1'});
}]);
import {test} from './module';
console.log(test);

module.js
export var test = 'es6!';

Your app.js is not loaded by your index.html so there is no way for us to help you.
My guess is that app.js is not going through traceur at all.
It only makes sense to use the WebPageTranscoder if you set type="module" on your <script> tags.

  <script src="bower_components/angular/angular.js"></script>
  <script src="bower_components/angular-route/angular-route.js"></script>
  <script type="module" src="app.js"></script>
  <script src="traceur.js"></script>
  <script type="module" src="view1/view1.js"></script>
  <script type="module" ="view2/view2.js"></script>
  <script src="components/version/version.js"></script>
  <script src="components/version/version-directive.js"></script>
  <script src="components/version/interpolate-filter.js"></script>

I am loading app.js.
Should it be like this ?

It is not clear to me what is going on here?
One thing to keep in mind is that script[type=module] is async (and we do not enforce the order) so if there are dependencies between those scripts you will run into trouble.

This looks like a bug in the (poorly tested) web transcoder related to recent changes in eg BrowserTraceurLoader.


Bump TEFCA Viewer chart version

PULL REQUEST
Summary
Bump TEFCA Viewer chart version to 0.4.0.
Related Issue
Fixes #
Additional Information
Anything else the review team should know?

This PR is now obsolete, there have been multiple version pushed since then.


update the go-tools version

updated to go-tools v.0.7.0
Signed-off-by: Felipe Schulz<EMAIL_ADDRESS>

@felipeschulz this LGTM if you can just add the DCO signoff, please.

I tried, but the DCO refuse my email on sign-off. I will try again. Do you want i update the docker-tools too (v.0.1.0 to v.0.2.0) ?


Experimental support for AsyncSequence on Firestore snapshot listeners

This PR adds support for using Swift's AsyncSequence to listen to changes on Firestore collections and documents.
Here is how to use it:
Listening to updates on a single document
let doc = Firestore.firestore().collection("fruits").document("1uxSAlCvYWmfrXN7rn2s")
for try await fruit in doc.snapshotSequence(Fruit.self) {
  print(fruit.name)
}

Listening to updates on a collection
let collection = Firestore.firestore().collection("fruits")
for try await fruits in collection.snapshotSequence(Fruit.self) {
  print(fruits.count)
}

See Example/FirestoreSample/FirestoreSample/Views/FavouriteFruitsAsyncSequenceView.swift and Example/FirestoreSample/FirestoreSample/Views/FavouriteFruitView.swift for more complete examples how to use this.

It could also make sense to have a similar abstraction for a document rather than a query.

It could also make sense to have a similar abstraction for a document rather than a query.

Good point. Added!

Looks likes you might have had an out of date auth-swift branch. It's been rebased a few times.

Please close, merge, or comment. We plan to close stale PRs on November 28, 2023.

I'd like to land this in Q4. Will rebase on the latest auth-swift branch.


UnicodeDecodeError error while running doc samples

Environment details:

MacOS Mojave
Python 3.8.2

libs:
eventsourcing             8.2.3
SQLAlchemy                1.3.18
SQLAlchemy-Utils          0.36.6
mysql-connector-python    8.0.20
mysqlclient               1.4.6

while running the exact samples from the docs, except changing the DB connection line to:
os.environ['DB_URI'] = "mysql+mysqlconnector://root:<mypass>@localhost/mytest"
it fails on the line:
    # Aggregate now exists in repository.
    assert world.id in app.repository

with the error:
Error closing cursor
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
    self.dialect.do_execute(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute
    cursor.execute(statement, parameters)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 272, in execute
    self._handle_result(result)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 163, in _handle_result
    self._handle_resultset()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 654, in _handle_resultset
    self._rows = self._cnx.get_rows()[0]
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 318, in get_rows
    else self._cmysql.fetch_row()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 0: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1369, in _safe_close_cursor
    cursor.close()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 402, in close
    self._cnx.handle_unread_result()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 712, in handle_unread_result
    raise errors.InternalError("Unread result found")
mysql.connector.errors.InternalError: Unread result found
Traceback (most recent call last):
  File "/<path-to-my-file>/eventsourcing_test.py", line 60, in <module>
    assert world.id in app.repository
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eventsourcing/infrastructure/eventsourcedrepository.py", line 79, in __contains__
    return self.get_entity(entity_id) is not None
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eventsourcing/infrastructure/eventsourcedrepository.py", line 144, in get_entity
    return self.get_and_project_events(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eventsourcing/infrastructure/eventsourcedrepository.py", line 200, in get_and_project_events
    return self.project_events(initial_state, domain_events)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eventsourcing/infrastructure/eventsourcedrepository.py", line 217, in project_events
    return reduce(self._mutator_func, domain_events, initial_state)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eventsourcing/infrastructure/base.py", line 203, in get_items
    records = self.get_records(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eventsourcing/infrastructure/sqlalchemy/manager.py", line 205, in get_records
    results = list(query.all())
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3341, in all
    return list(self)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3503, in __iter__
    return self._execute_and_instances(context)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3528, in _execute_and_instances
    result = conn.execute(querycontext.statement, self._params)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1014, in execute
    return meth(self, multiparams, params)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1127, in _execute_clauseelement
    ret = self._execute_context(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1317, in _execute_context
    self._handle_dbapi_exception(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1515, in _handle_dbapi_exception
    util.raise_(exc_info[1], with_traceback=exc_info[2])
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 178, in raise_
    raise exception
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
    self.dialect.do_execute(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute
    cursor.execute(statement, parameters)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 272, in execute
    self._handle_result(result)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 163, in _handle_result
    self._handle_resultset()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 654, in _handle_resultset
    self._rows = self._cnx.get_rows()[0]
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 318, in get_rows
    else self._cmysql.fetch_row()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 0: invalid continuation byte

I think there's a problem with that driver. Try a different one, perhaps one of the drivers recommended in the docs, such as pymysql-connector-python-rf and PyMySQL?
https://eventsourcing.readthedocs.io/en/stable/topics/infrastructure.html#mysql
Please let me know if you get it to work?

@johnbywater
thanks for the helpful link.
eventually, I ended up with the following libs:
eventsourcing             8.2.3
PyMySQL                   0.9.3
SQLAlchemy                1.3.18
SQLAlchemy-Utils          0.36.6

(I've uninstalled the mysql-connector-python & mysqlclient libs)


Allow for sources without years

I'm just about finished with adding a couple IPM tables to PUDL but it's hard to work them into update_datastore.py. I had to add a list of None to the variable pc.data_years to finally make it work. As discussed, the system needs to be overhauled somewhat and made a bit more flexible for adding new sources that aren't available as annual files.

Will integrate this into an object-oriented rewrite of the datastore subpackage in #182.

Closing this and rolling it into the general re-write of  #182.


Update contribs (#311)

Signed-off-by: Tihomir Surdilovic<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
Please specify parts this PR updates:

[ ] Specification
[ ] Schema
[ ] Examples
[ ] Extensions
[ ] Roadmap
[ ] Use Cases
[x ] Community
[ ] TCK
[ ] Other

What this PR does / why we need it:
Special notes for reviewers:
Additional information (if needed):

https://docs.direktiv.io/docs/examples/solving-math-expressions.html


Frequent Locations (Covid19)

Feature Request
Would it be possible to expose the Frequent Locations log?  We are interested in getting the data that is available via the Frequent Locations page, like so:
https://www.bewebsmart.com/ipod-ipad-iphone/frequent-locations/
Motivation Behind Feature

Hi.  My name is Abigail.  I have a MS Biomedical Informatics, and am working with HL7, Synthea, and various hospitals and other groups on Covid19 response.
One of the hot topics in bioinformatics right now is contact matching, which is the CDC methodology of tracing R0.  We commonly call this "Patient 0" and "Patient 1" and so forth.
The exemplar of contact matching is probably the story of Typhoid Mary, who was a short-order line cook who managed to infect a large number of people.  Investigators traced the histories of patients during a typhoid outbreak, and found a common location at a popular dinner.  From there, they were able to identify Mary, and put a stop to the epidemic.
Turns out, your iPhone can trace your frequent locations.  This, in turn, can help identify hotspots and in testing.  We would like to get access to this data for in-app matching to hotspots and quarantine zones; patient routing; notifications to get tested, and so forth.
It takes 18 months to develop subsequent rounds of vaccines and put them through Phase III Clinical Trials.  The hospital administrators and epidemiologists who I am in contact with are preparing for 18 to 24 months of Covid19 response.  Even if it takes a month or three to implement, that would be 15 to 21 months we could put it in use.
There are people who will be accessing these functionalities directly from the iOS SDK.  But it would be a boon to have them available in Cordova also.
Feature Description
navigator.geolocation.getFrequentLocations()

For a truly awesome implementation, if the locations could be returned using the following data schema, that would be ideal.  FHIR was approved as an approved interoperability protocol last week by Health and Human Services.
https://www.hl7.org/fhir/location.html

Apple does have APIs documented so it appears possible to do this, but I'm not sure if it gives you the exact data as shown in the Frequent Locations settings screen, but you may receive the most recent entry given the quote:

When you start the visits location service, a recently cached value may be reported to your delegate immediately

Android does have a similar feature but I don't think Android has any equivalent APIs to receive this information.
I did a quick google search, and found this plugin which already has this feature implemented. I cannot vouch if it actually works or not, but a quick inspection of the source code appears to match the current apple documentation. So in your use case, you might be able to get started immediately with the help of this plugin.
Unfortunately, I don't have easy access to apple hardware to work on this myself.

Thank you for the lead!  Will give it a try when I'm compiling the cordova pipeline next!

Closing as stale.


java-microprofile: deprecate stack

Checklist:

[x ] Read the Code of Conduct and Contributing Guidelines.

[ x] Followed the commit message guidelines.

[ x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[ x] Updated the stack version in stack.yaml

Deprecate the Java Microprofile Stack

Update stack description to show deprecation
Mark stack as deprecated in stack.yaml
Indicate deprecation in Readme

Related Issues:
Fixes #751

@Kamran64  - This one is good to go when you get a change.  Thanks!


HTTPS

Concerns of pasting into "some website" would be reduced if it was at least served over HTTPS.
Please consider doing that if possible.

https://help.github.com/articles/securing-your-github-pages-site-with-https/

@Julix91 Done! Thanks!

(Still doesn't resolve the whole "you have no idea that this website isn't saving your code into a database somewhere behind the scenes" problem but I think this is the best that we can do)


Add: Euronews Greek

Channel Name
Euronews Greek
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
FR
Subdivision (optional)
No response
City (optional)
Lyon
Broadcast Area
s/GR
Languages
ell
Categories (optional)
news
NSFW
FALSE
Launched (optional)
1993-01-01
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://gr.euronews.com/
Logo
https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Euronews_2016_logo.svg/1024px-Euronews_2016_logo.svg.png
Notes
No response

Already in the database: https://iptv-org.github.io/?q=Euronews Greek


Add cosine similarity native UDF example to RAPIDS UDF docs

#2226 missed updating the catalog of example UDFs, and this PR corrects that oversight.

build


OLM 0.16.1 More than one Head for channel when using opm --semver-skippatch

Bug Report
The operator-registry project added the ability to add operator bundles to a catalog index image DAG using semantic versioning rather than the CSV replaces option.
Although this works and the graph looks correct, it appears that OLM is still looking for the replaces value.
What did you do?

Installed OCP 4.6 nightly build 9/17/2020 which has OLM 0.16.1.
Enabled debug on catalog-operator
Created a catalog index image with the following operator bundle taxonomy using the command:

opm registry add --mode semver-skippatch

Package
Version
Channel
replaces
olm.skipRange
olm.package

testoperatora
1.0.0
v1.0
none
none
none

testoperatora
1.0.1
v1.0
none
<1.0.1
none

testoperatorb
4.0.0
v4.0
none
none
testoperatora: <1.3.0

testoperatorb
4.0.1
v4.0
none
<4.0.1
testoperatora: <1.3.0

Created the catalog source

cat <<EOF | oc apply -f -
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: depcatalogs
  namespace: openshift-marketplace
spec:
  displayName: "depcatalogs-semver-dep-nowork Operators"
  image: docker.io/cdjohnson/depcatalogs@sha256:78d736b0d3c3d288d3000eea0c1640441031357f77ed4215f78e661aabc108ae
  publisher: IBM
  sourceType: grpc
EOF

Create namespace deptest
Create a own-namespace operator group

cat <<EOF | oc apply -f -
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
  name: operatorgroup
spec:
  targetNamespaces:
  - deptest
EOF

Create a subscription for operator b that has a dependency on A via the dependency.yaml

cat <<EOF | oc apply -f -
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  name: testoperatorb
spec:
  source: depcatalogs
  sourceNamespace: openshift-marketplace

  channel: v4.0
  installPlanApproval: Automatic
  name: testoperatorb
  startingCSV: testoperatorb.v4.0.0
EOF

What did you expect to see?
I expected both operators A and B to be installed.
What did you see instead? Under which circumstances?
Operator B failed to install.
Debug log shows:
time="2020-09-19T20:47:15Z" level=debug msg="resolving sources" id=fuCpC namespace=deptest
time="2020-09-19T20:47:15Z" level=debug msg="checking if subscriptions need update" id=fuCpC namespace=deptest
time="2020-09-19T20:47:15Z" level=debug msg="checking for existing installplan" channel=v4.0 id=fuCpC namespace=deptest pkg=testoperatorb source=depcatalogs sub=testoperatorb
time="2020-09-19T20:47:15Z" level=debug msg="resolving subscriptions in namespace" id=fuCpC namespace=deptest
E0919 20:47:15.544438       1 queueinformer_operator.go:290] sync "deptest" failed: found more than one head for channel
I0919 20:47:15.544560       1 event.go:278] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"deptest", UID:"260c9530-4bf0-4c6c-af3c-02ec5c9df79d", APIVersion:"v1", ResourceVersion:"3609624", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' found more than one head for channel

The source code seems to indicate that replaces is needed:
https://github.com/operator-framework/operator-lifecycle-manager/blob/master/pkg/controller/registry/resolver/resolver.go#L549-L560
Environment

operator-lifecycle-manager version:
0.16.1

Kubernetes version information:
Client Version: 4.6.0-0.nightly-2020-09-15-112431
Server Version: 4.6.0-0.nightly-2020-09-17-073141
Kubernetes Version: v1.19.0+b4ffb45

Kubernetes cluster kind:
OCP on aws

Possible Solution
Continue to add replaces to the CSVs.
Here is a catalog index image that is the same as the previous, but has replaces specified in addition to using opm registry add --mode semver-skippatch.  This works fine.  Both Operator A and B are installed

Package
Version
Channel
replaces
olm.skipRange
olm.package

testoperatora
1.0.0
v1.0
none
none
none

testoperatora
1.0.1
v1.0
1.0.0
<1.0.1
none

testoperatorb
4.0.0
v4.0
none
none
testoperatora: <1.3.0

testoperatorb
4.0.1
v4.0
4.0.0
<4.0.1
testoperatora: <1.3.0

This is the catalog index image:
docker.io/cdjohnson/depcatalogs@sha256:7fbe51329cbaaee3882d72195f7471d964a2c61bd5d3fa164df6a64ee324cfa0
Additional context
Add any other context about the problem here.

OCP Bugzilla Cross-Reference
https://bugzilla.redhat.com/show_bug.cgi?id=1881220

Looks like this is a bug in operator-registry:
https://github.com/operator-framework/operator-registry/pull/483

@benluddy  I've been trying to test this out with opm 1.15.3 which should have this fixed in it.
However, I'm seeing a problem where the LAST entry in a channel isn't showing the replaces show up, which results in the same error.
Here is the channel-entry table:
--channel-entry--
1|v1.1-eus|testoperatora|testoperatora.v1.1.1|2|1
2|v1.1-eus|testoperatora|testoperatora.v1.1.0||2
3|v1.0|testoperatora|testoperatora.v1.0.1|4|1
4|v1.0|testoperatora|testoperatora.v1.0.0||2
5|v1.2|testoperatora|testoperatora.v1.2.0||1
6|v4.1-eus|testoperatorb|testoperatorb.v4.1.1||1
7|v4.1-eus|testoperatorb|testoperatorb.v4.1.0||2
8|v4.1-eus|testoperatorb|testoperatorb.v4.1.1|7|2
9|v4.0|testoperatorb|testoperatorb.v4.0.1|10|1
10|v4.0|testoperatorb|testoperatorb.v4.0.0||2

It shows 4.1.1 replaces 4.1.0
Yet ListBundles shows:
grpcurl -plaintext localhost:50051 api.Registry/ListBundles | jq '{name: .csvName, version: .version, replaces: .replaces, skipRange: .skipRange, channelName: .channelName}' | jq -s -c 'sort_by(.name)[]'
{"name":"testoperatora.v1.0.0","version":"1.0.0","replaces":null,"skipRange":null,"channelName":"v1.0"}
{"name":"testoperatora.v1.0.1","version":"1.0.1","replaces":"testoperatora.v1.0.0","skipRange":"<1.0.1","channelName":"v1.0"}
{"name":"testoperatora.v1.1.0","version":"1.1.0","replaces":null,"skipRange":"<1.1.0","channelName":"v1.1-eus"}
{"name":"testoperatora.v1.1.1","version":"1.1.1","replaces":"testoperatora.v1.1.0","skipRange":"<1.1.1","channelName":"v1.1-eus"}
{"name":"testoperatora.v1.2.0","version":"1.2.0","replaces":null,"skipRange":"<1.2.0","channelName":"v1.2"}
{"name":"testoperatorb.v4.0.0","version":"4.0.0","replaces":null,"skipRange":null,"channelName":"v4.0"}
{"name":"testoperatorb.v4.0.1","version":"4.0.1","replaces":"testoperatorb.v4.0.0","skipRange":"<4.0.1","channelName":"v4.0"}
{"name":"testoperatorb.v4.1.0","version":"4.1.0","replaces":null,"skipRange":"<4.1.0","channelName":"v4.1-eus"}
{"name":"testoperatorb.v4.1.1","version":"4.1.1","replaces":null,"skipRange":"<4.1.1","channelName":"v4.1-eus"}

replaces is null for v4.1.1
So, it looks like its partially fixed.  With this catalog, testoperatora works, but testoperatorb fails with the  original error.
Here's an example catalogsource:
docker.io/cdjohnson/depcatalogs@sha256:cbda9451ab3021cde905c910b1a4df946c9414c75f8a21147d8d431b32325b9f

@benluddy  I've been trying to test this out with opm 1.15.3 which should have this fixed in it.
However, I'm seeing a problem where the LAST entry in a channel isn't showing the replaces show up, which results in the same error.
Here is the channel-entry table:
--channel-entry--
1|v1.1-eus|testoperatora|testoperatora.v1.1.1|2|1
2|v1.1-eus|testoperatora|testoperatora.v1.1.0||2
3|v1.0|testoperatora|testoperatora.v1.0.1|4|1
4|v1.0|testoperatora|testoperatora.v1.0.0||2
5|v1.2|testoperatora|testoperatora.v1.2.0||1
6|v4.1-eus|testoperatorb|testoperatorb.v4.1.1||1
7|v4.1-eus|testoperatorb|testoperatorb.v4.1.0||2
8|v4.1-eus|testoperatorb|testoperatorb.v4.1.1|7|2
9|v4.0|testoperatorb|testoperatorb.v4.0.1|10|1
10|v4.0|testoperatorb|testoperatorb.v4.0.0||2

It shows 4.1.1 replaces 4.1.0
Yet ListBundles shows:
grpcurl -plaintext localhost:50051 api.Registry/ListBundles | jq '{name: .csvName, version: .version, replaces: .replaces, skipRange: .skipRange, channelName: .channelName}' | jq -s -c 'sort_by(.name)[]'
{"name":"testoperatora.v1.0.0","version":"1.0.0","replaces":null,"skipRange":null,"channelName":"v1.0"}
{"name":"testoperatora.v1.0.1","version":"1.0.1","replaces":"testoperatora.v1.0.0","skipRange":"<1.0.1","channelName":"v1.0"}
{"name":"testoperatora.v1.1.0","version":"1.1.0","replaces":null,"skipRange":"<1.1.0","channelName":"v1.1-eus"}
{"name":"testoperatora.v1.1.1","version":"1.1.1","replaces":"testoperatora.v1.1.0","skipRange":"<1.1.1","channelName":"v1.1-eus"}
{"name":"testoperatora.v1.2.0","version":"1.2.0","replaces":null,"skipRange":"<1.2.0","channelName":"v1.2"}
{"name":"testoperatorb.v4.0.0","version":"4.0.0","replaces":null,"skipRange":null,"channelName":"v4.0"}
{"name":"testoperatorb.v4.0.1","version":"4.0.1","replaces":"testoperatorb.v4.0.0","skipRange":"<4.0.1","channelName":"v4.0"}
{"name":"testoperatorb.v4.1.0","version":"4.1.0","replaces":null,"skipRange":"<4.1.0","channelName":"v4.1-eus"}
{"name":"testoperatorb.v4.1.1","version":"4.1.1","replaces":null,"skipRange":"<4.1.1","channelName":"v4.1-eus"}

replaces is null for v4.1.1
So, it looks like its partially fixed.  With this catalog, testoperatora works, but testoperatorb fails with the  original error.
Here's an example catalogsource:
docker.io/cdjohnson/depcatalogs@sha256:cbda9451ab3021cde905c910b1a4df946c9414c75f8a21147d8d431b32325b9f

In skippatch mode, the generated update edges are "skips" rather than "replaces" edges. Based on the contents of channel_entry, the ListBundles output looks correct if you include "skips" in your jq query:
{"packageName":"testoperatorb","csvName":"testoperatorb.v4.1.1","channelName":"v4.1-eus","replaces":null,"skips":["testoperatorb.v4.1.0"]}

I failed to reproduce the resolution error using your latest index image. Are there other CatalogSources or Subscriptions on your cluster that could explain it?

I think this is resolved.  It looks like semver-skippatch isn't going to work for us because it doesn't handle cross-channel via skipRange.  I think the problem I had here was related to trying to use the OpenShift registry which may have been an old version.  The upstream image worked as designed.


ERROR: Received illegal bin number 37458 from getBin call. ERROR: Unable to add record to tree.

Dear all,
When I ran bedtools intersect -a bug.bed -b bug.bed it always gave me the error liking the title. I really do not know why, hope your help. (version v2.27.1)
The bug.bed file likes following
1	613726905	613727702
Best
Zhuqing

Dear all,
When intersecting with the -sorted option, bedtools can handle the files.
Best
Zhuqing

It would be nice to at least have a more meaningful error message, so you know you have to have the input sorted and use the corresponding flag.

Agreed - we will address this and other messages soon.


understanding permission handler in flutter apps

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community memebers to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
Topic Suggestion
Enter topic suggestion here...
Pre-submission advice
By following all our pre-submission advice and reviewing our Resources folder, you will maximise your chances of your topic being approved.
We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner.
Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published (subject to vary depending on volume and/or backlog of articles).
Be sure to visit our Resources Page for tools, resources, and example articles that will help you propose and write a successful article.
Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
Proposal Submission
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific.
Use keyword research to improve your article's SEO.
Proposed article introduction
In a typical permission request popup/dialog in android, there is always an option to switch off the app accessing the requested permissions.
This mechanism by using which user can turn off access of required permissions for particular application creates confusion among people who are new to android & flutter. Especially when they try to do similar activity with Flutter apps. There is no option to switch off the access for any permission.
So, what will happen if a user tries to revoke permission from flutter apps? Will it create issues in android or not? This article attempts to answer these questions.
In this article we are going to see how Flutter asks permissions from user and also learn how to implement the logic to avoid crashes when user revokes the permissions.
For example, if the article is based on machine learning, use the following: [Machine learning] Introduction to Machine Learning.
If the article is based on developing an Android application, use the following: [Android] Developing Apps using Android.
ONLY viable topics to pick from:

API
Artificial Intelligence
Blockchain
Containers
Edge Computing
Languages
Machine Learning
Networking
Node.js
Security

Key takeaways

adding permission requests to a flutter app.
how the flutter engine manages permissions.
what use cases are best for custom permission handlers.

Article quality
This article will explain flutter's permissions model in detail, teaching you how to make custom handlers. will show the work flow for both iOS and Google Play store permission systems will show use cases for custom handlers. covers Android custom permissions at a very low level, although not required knowledge!
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

There are some significant readability challenges in your description that raise concerns over how much review/editing would be required from our peer review team. We don't provide editing services and recommend that students leverage online editing services (there are both free and paid services that you can explore), or try engaging with the community or other peers in your network to have them review prior to submitting a revised proposal. Thank you.


Add missing period to sentance

This PR is mainly a test to see what the CI does with a forked PR and e2e tets.

Codecov Report

Merging #412 into e2e-coverage will decrease coverage by 2.78%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           e2e-coverage    #412      +/-   ##
===============================================
- Coverage          8.08%    5.3%   -2.79%
===============================================
  Files               322     322
  Lines             16560   15456    -1104
  Branches           5037    4655     -382
===============================================
- Hits               1339     820     -519
+ Misses            13133   12495     -638
- Partials           2088    2141      +53

Flag
Coverage Δ

#end_to_end_tests
100% <ø> (+94.31%)
:arrow_up:

#unit_tests
5.3% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

lib/public/containers/ActivePublicHeader.js
0% <0%> (-50%)
:arrow_down:

lib/manager/util/deployment.js
0% <0%> (-50%)
:arrow_down:

lib/gtfs/actions/filter.js
0% <0%> (-44.83%)
:arrow_down:

lib/common/containers/App.js
0% <0%> (-44.58%)
:arrow_down:

lib/common/containers/CurrentStatusMessage.js
0% <0%> (-42.86%)
:arrow_down:

lib/public/containers/ActivePublicLandingPage.js
0% <0%> (-40%)
:arrow_down:

lib/common/containers/ActiveSidebarNavItem.js
0% <0%> (-37.5%)
:arrow_down:

lib/common/components/StatusMessage.js
0% <0%> (-36.85%)
:arrow_down:

lib/public/components/PublicLandingPage.js
0% <0%> (-36.37%)
:arrow_down:

lib/alerts/actions/visibilityFilter.js
0% <0%> (-36.37%)
:arrow_down:

... and 221 more

Continue to review full report at Codecov.

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

Closing this PR as it's been verified that CI builds can pass and don't have the secure environment variables made available to PRs from forks.


Pulling doesn't know what newton's 3rd law is.

Description
You can abuse pulling to recover from being spaced, as you can magically induce a force on what you're pulling using the Move Pulled Object action without any reaction force. In short: Pull a locker or something in space to be able to steer around like a ship if you know how.

demo
https://user-images.githubusercontent.com/21104932/140015318-4938b679-b439-4132-85be-346a472d8830.mp4

Should have a weightless check on either the puller or the pullable (or both?) and we should probably also look at a cooldown on the ctrl-rightclick behavior itself (maybe via do_after?)

More content, for after this gets removed
https://user-images.githubusercontent.com/21104932/140019384-e1cbdd75-31ee-4321-96e4-08eeeb066918.mp4

Primary problem I had with this was that setting up an AME while weightless is already painful, so I decided pulling had to work while weightless.
As it is, hint to a good solution may be in the title - apply an equal and opposite force to the player (puller) while weightless?

That's what Newton's third law is, @20kdc


Suggesting a new wiki page for using the 'OrgBook' Component - for the examples wiki page.

I'd like to propose adding an example to your existing CHEFS Wiki article.
The unity team has created a template for how to extract the organization number from the the "Business Name Search Component" component, A.K.A. the "orgbook".
Here is the JSON file for our sample form.
This solution is elegant and non-obvious. It would be helpful to the broader community.

Existing Business name search example form has been added to https://github.com/bcgov/common-hosted-form-service-techdocs/blob/main/docs/Components/Examples.md.


Autotools rework

This PR updates the autotool stack to the most recent versions (the old ones are still available for now, tho one should consider them deprecated). It also reworks our config.sub patch to match the one that was upstreamed by @ArsenArsen (pending approval from the upstream maintainer). While I was working on that, we handle autoreconf and friends differently, courtesy of @mintsuki for pointing that out. As I want the basework in asap, most packages will be converted to the new autotools stack in a future PR. As this PR touches the gcc patch, I'm holding off on upgrading the toolchain until this PR is in, but it's on the TODO list!
The following tools have been touched by this PR:

host-autoconf-v2.71, tool added;
host-automake-v1.16, tool added;
host-libtool, updated from version 2.4.6 to 2.4.7 and reworked the patch;
cross-binutils, reworked the way we regenerate it;
All the gcc tools, made the patch work with the new config.sub, updated the regenerate steps, updated autotools stack.

also (I didn't see this before), we should drop any hunks that touch config.sub in favor of just replacing config.sub outright from a single source (it's far cleaner that way)

I will be working on that after this is merged, checking all ports and working through them if needed.

I think we reached a consensus here. Can this be approved and merged? It's blocking me upgrading the toolchain.

I recall no such consensus, use your best judgement and feel free to merge

Let me ask that differently, apart from your concerns about gcc/binutils and autotools versions, can you (and anyone else for that matter) approve of the rest of this PR?


net-mgmt/telegraf: add influxdb2 config parameter support

Since Telegraf 1.9.2 and Influxdb2, it's possible to manage each endpoint's Telegraf configuration centrally in the Influxdb2 web UI.
By specifying the --config "https://influxdb_endpoint/api/v2/telegrafs/random_uuid" parameter at telegraf's startup, it will pull the configuration defined in the Influxdb2 Web UI instead of the local telegraf.conf
This PR adds support for that feature.

How does telegraf react if there is a telegraf.conf too?

It ignores it as far as I know.
If it fails to get the configuration from the influxdb endpoint it errors out with the following message:
Error getting HTTP config. Retry 0 of 3 in 10s. Status=401
it then retries 3 times, errors out with the message below and restarts itself:
E! [telegraf] Error running agent: Error loading config file https://influxdb.home.arpa/api/v2/telegrafs/0869cdc4c2647000: Retry 3 of 3 failed to retrieve remote config: 401 Unauthorized

Note that for this to work it's necessary to set an environment variable (INFLUX_TOKEN) system wide.
I added it to /usr/local/opnsense/service/conf/configd.conf in the [environment] section.
I don't know if it's possible to set environment variables through the UI. Any ideas?

security concerns, no further feedback received.