istio-cni with multus failures in ambient mode

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
I have a working dualstack cluster, that works pretty well in ambient mode with istio-cni and primary cni as Calico.
The moment I installed multus, istio-cni breaks in the cluster.
Below are the istio-cni logs.
2024-08-17T05:06:30.145438Z     error   cni-agent       failed adding pod echo-server-6889c4fbd-jhzlt to ipset %!s(*string=0xc00028e208) with ip <IP_ADDRESS>, error was failed to add IP 1
<IP_ADDRESS> to ipset istio-inpod-probes-v4: exist
2024-08-17T05:06:30.145481Z     error   cni-agent       failed to add pod to ipset: default/echo-server-6889c4fbd-jhzlt failed to add IP <IP_ADDRESS> to ipset istio-inpod-probes-v4: exist
2024-08-17T05:06:30.145486Z     error   cni-agent       failed to handle add event: failed to add IP <IP_ADDRESS> to ipset istio-inpod-probes-v4: exist        ns=default name=echo-server-
6889c4fbd-jhzlt
2024-08-17T05:06:30.145650Z     error   cni-plugin      istio-cni cmdAdd failed to signal node Istio CNI agent: unable to push CNI event (status code 500): failed to add IP <IP_ADDRESS> t
o ipset istio-inpod-probes-v4: exist    pod=default/echo-server-6889c4fbd-jhzlt
2024-08-17T05:06:30.145692Z     error   cni-plugin      istio-cni cmdAdd error: unable to push CNI event (status code 500): failed to add IP <IP_ADDRESS> to ipset istio-inpod-probes-v4: e
xist

Below are the logs from pod description
Normal   Scheduled               2m37s  default-scheduler  Successfully assigned default/echo-server-6889c4fbd-jhzlt to neohv1vm-m1
  Normal   AddedInterface          2m36s  multus             Add eth0 [<IP_ADDRESS>/32 2001:470:ee86:442c:82b2:7f7d:b372:a1e8/128] from k8s-pod-network
  Warning  FailedCreatePodSandBox  2m36s  kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "e0e0cbc689907360c496070bf807cb8f371ea86d919524d63fd299d11be988d4": plugin type="istio-cni" name="istio-cni" failed (add): unable to push CNI event (status code 500): exit status 1
exit status 1

Below are the logs from multus.
2024-08-17T13:06:29+08:00 [error] [default/echo-server-6889c4fbd-jhzlt/9d374f5f-87db-4b8c-bb94-9b979ca7cf53:k8s-pod-network]: error adding container to network "k8s-pod-network": plugin type="istio-cni" name="istio-cni" failed (add): unable to push CNI event (status code 500): failed to add IP <IP_ADDRESS> to ipset istio-inpod-probes-v4: exist
As a workaround I changed the provider to multus which installed net-attach-def but this didn't fix the problem.
Additionally I changed the chained mode to disabled and it's started working. Seems like there is a bug with multus in chain mode.
The installation is done via helm standard profile (no openshift).
Version
istioctl version
client version: 1.23.0
control plane version: 1.23.0
data plane version: 1.23.0 (8 proxies)

k version
Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.2+k3s2

Additional Information
No response

@maggie44 I think your issue is slightly different and may potentially be solved with #52191. @abasitt, I'm not super familiar with how multus works under the hood, but are you by any chance running a setup where pods in the mesh have multiple IP addresses?

The setup that has a multiple IPs doesn't work at all. As per discussion on slack with John, there is a potential fix in 1.24.
2024-09-17T03:45:38.744426Z     warn    access  connection failed       src.addr=<IP_ADDRESS>:35978 dst.addr=<IP_ADDRESS>:80 direction="outbound" error="unknown source: <IP_ADDRESS>"

I tried ambient setup with multus with iop install in a completely different setup that is based on kubeadm. Everything seems to be working fine without tweaking anything e.g. without changing cni chained mode.
The issue that I reported earlier, I am seeing this on k3s with multus + helm install. I yet to dig to deeper to find the exact combination.

I think the bigger difference that I saw was I had the repair mode disabled in the cni config.
I enabled that and removed all the openshift profile config (e.g. provider=multus). Just left everything default and it's working. So probably misconfiguration on my side, my apologies. I will close this issue
Setup is multus + calico + dualstack on k3s with helm and flux.

@maggie44 fyi, my istio-configs are public, if you want to have a look.
https://github.com/abasitt/home-ops/blob/main/kubernetes/neo/apps/istio-system/istio-cni/app/helm-values.yaml

@maggie44 I saw this issue appeared again intermittent after working perfectly fine for few weeks. I had do disable chain mode again to bring up my pod. The reason I disabled chain mode is that issue is kind of stuck in a loop and multus keep trying new IP address from the calico ipam. I am worried for corrupting ipam database.
Wondering if you still see this issue ?

I am still having issues, although it has improved a bit since I started using 1.24 alpha. I’m finding it difficult to nail down the cause and raised an issue here: https://github.com/istio/istio/issues/53696


Add method to onboard and web3modal wrappers to check if running as SafeApp

Currently the only way to check if the app is running as a Safe app is to query the safe info again, which potentially tries to connect to the interface again. It would be nicer to have a isConnectedToSafe (or similar) method that just checks if it is connected (e.g. by checking the cached safe info).

added in https://github.com/gnosis/safe-apps-sdk/releases/tag/r8


(API) When edit, check if host already exists

Since #33, we fixed an issue that you couldn't change the IP of an existing host. However, now since we removed this check, you could potentially end up with 2 identical hosts due to editing a hostname to an already existing one.

@joongimin Could you do me a favor and double check if this solution (e22b38  + da8f683) covers both scenarios?

@frdmn Just checked. It seems your solution covers both scenarios. :+1:

Thanks for testing.
Von meinem iPhone gesendet

Am 11.01.2016 um 23:44 schrieb Joon Min<EMAIL_ADDRESS>@frdmn Just checked. It seems your solution covers both scenarios.
—
Reply to this email directly or view it on GitHub.

Test


feat: translate module coverage

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[x] ✅ Test
[ ] 🐳 Other

Checklist

[x] Code follows style guide (ruff)
[x] Tests added These are the tests
[ ] Documented the changes

If you have comments or can explain your changes, please do so below.

aww thank you so much, really appreciate this

@MarcoGorelli should I consider tackle #470 as well in here?
Invalid combinations should be just series_only=True and allow_series = False?


[Feature] Add support for reading/inserting images

Is there any way to insert image inside a cell. (Feature Request)

I have looked into image and video addition and it is pretty complicated to do so, as it is shaking the current code base.
I will look into it after completing the other priority feature.
Stay Tuned...

Really need this feature. Hope this can be implemented soon :-)

Is there any update regarding this feature? Would love to have it in this awesome library.

Would love to have this functionality too!

Would start working on this functionality from starting of January 2022...

Are you working on this functionality?

Hi :)
Thank you for this amazing tool ^^
This feature would be amazing!

Thank you for this feature.

Definitely would be a great improvement!

Is there any news of the feature?
We really expect this.
Thank you

Does this feature exist yet? @justkawal

When will this awesome function be implemented?

more 2 years for this feature?

When will this awesome function be implemented?

Any updates on this feature?

Any updates on this feature?

I'm really looking for this feature,
I hope it available very soon
Thanks

Any updates?

Good package, it will be perfect when it supports images.
Thanks for your work @justkawal!!!


C# scripts cannot be hot-reloaded automatically

Godot version
3.5.1mono
System information
windows10
Issue description
C# scripts cannot be hot-reloaded automatically.You need to manually click the Build button after the change, which GDScript does not.
Steps to reproduce
No
Minimal reproduction project
No

This is documented in the C# Basics section of the docs.

Indeed, this is a documented limitation. If you know how to implement this as a feature, feel free to open a new proposal for it https://github.com/godotengine/godot-proposals. There may even already be one.


Python 3 support

I'd like to move our app over to Python 3, but this package is one of the blockers for us. Since we're heavy users I imagine I can spend some time to work on it, but without tests it might be tricky.
Can y'all provide some guidance re: supported Python versions? For our own use case and for compatibility reasons, I'd be happy to make sure it works on 2.7 and 3.4+.
Also, do you have any thoughts on contribution, tests, etc.? I notice mock is in requirements.txt but not referenced anywhere...

+1

This has been addressed! Thanks @ollamh


#11 profit calculation logic

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 28.452%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
239

Relevant Lines:
840

💛  - Coveralls


allow_video Not Working Android

Even if it is true, it does not list videos ... Something that can be done?
options = {
maximumImagesCount:2,
allow_video: true
}

any update?

Any updates?

So far I have not been able to resolve this issue.

Any updates?

So far I have not been able to resolve this issue.

This plugin Might help. But I think Multiple Files are not supported in this as well.
https://ionicframework.com/docs/native/file-chooser


Map one observable array to another

I still use Bond 4. Could you provide an example of mapping one observable array to another? Syntax is not clear for me.
For example I have a class for Deal:
class Deal {
    var startDate: NSDate
    var endDate: NSDate
}

And want to map and then bind Deal observable array to NSTimeInterval observable array:
private var bnd_dealArray = ObservableArray<Deal>()
private var bnd_dealDurationArray = ObservableArray<NSTimeInterval>()

bnd_dealArray
    .map { (deal) -> NSTimeInterval in
        return deal.startQuoteDate.timeIntervalSinceDate(deal.endQuoteDate)
    }
    .bindTo(bnd_dealDurationArray)

I'd like to fix this function.

You need to use ObservableArray.appleOperation(_:).
Well anyway that's how I dealt with it.
bnd_dealArray
    .map { (deal) -> NSTimeInterval in
        return deal.startQuoteDate.timeIntervalSinceDate(deal.endQuoteDate)
    }
    .observe { (event) in
        bnd_dealDurationArray.applyOperation(event.operation)
    }

Hope that helps 😉

Thanks a lot!


consolidate different theta sketch representations into SketchHolder

Currently thetaSketch module has 3 different type of sketch representations that are passed around for performance reasons. This patch consolidates all the different sketch representations into single SketchHolder which handles all the messiness of different representations and remaining module only worries about SketchHolder.
Aside from refactoring, one major advantage of SketchHolder is to be able to cache the finalized sketch and estimates which improves performance of topN queries because they would add things to priority queue and estimates are computed repeatedly via comparator to place them in correct location on the priority queue. Its hard to quantify this one though.
This patch is fully backward and forward compatible.

👍


Extend the MedlynConductance slope parameter to support SpaceVaryingInput

Purpose
Extend MedlynConductanceParameters to support a slope parameter that is
<: Union{FT, ClimaCore.Fields.Field}
Closes #756  -- this will automatically close issue 756 on PR merge
To-do

The clm_data file for vegetation properties and the script that generates it should be changed to reflect
the actual units.

Content

MedlynConductanceParameters struct change to support g1 as Field
Constructor for MedlynConductanceParameters change to reflect struct changes
Add for loop for tests that check g1 as Float and Field
unrelated: change way the vcmix kwarg is passed to the FarquharParameters constructor to unify code style
Change g1 in land.jl to use the map in clm_data (see map below)

Previous map image (has mask over ocean and no unit conversion)

Re-made map with no mask and converted to sqrt(Pa)

[x] I have read and checked the items on the review checklist.

Would it be possible to update the map of g1 here to plot in units of sqrt(Pa)? Why is value over the ocean nonzero/non NaN?

Would it be possible to update the map of g1 here to plot in units of sqrt(Pa)? Why is value over the ocean nonzero/non NaN?

I added an re-made map under the original in the pull request. The original map in the PR had an ocean mask applied to it. vegetation_properties_map.nc lists the_FillValue as NaN, but there are no NaNs in the data. It also seems like there are no zero values in the data. I believe the value over the ocean is 284.60498 $\sqrt{Pa}$ because the median and maximum of the data is also  284.60498 $\sqrt{Pa}$

Would it be possible to update the map of g1 here to plot in units of sqrt(Pa)? Why is value over the ocean nonzero/non NaN?

I added an re-made map under the original in the pull request. The original map in the PR had an ocean mask applied to it. vegetation_properties_map.nc lists the_FillValue as NaN, but there are no NaNs in the data. It also seems like there are no zero values in the data. I believe the value over the ocean is 284.60498 P a because the median and maximum of the data is also 284.60498 P a

@braghiere It is not a big deal, but does it make sense to you why the ocean has a nonzero/nonNan value for medlyn slope?
@imreddyTeja Thanks for remaking the plot!

@kmdeck It was just the way it was constructed. Bare soil and water were assigned values in the map but those should be ignored.
@imreddyTeja The values look wrong now. Medlyn g1 is in sqrt(kPa) which can be anywhere from ~1.5 to ~6. The values were "right" but unit names were wrong.

Could I have performed the unit conversion incorrectly? I converted to sqrt(Pa) by multiplying by 10^(3/2). This is what the map looks like with no unit conversion or mask:

The data without unit conversion ranges from 1.62 to 9.0

Could I have performed the unit conversion incorrectly? I converted to sqrt(Pa) by multiplying by 10^(3/2). This is what the map looks like with no unit conversion or mask:
The data without unit conversion ranges from 1.62 to 9.0

Got it! I see you converted from sqrt(kPa) ) to sqrt(Pa) to be in the same units as VPD. That makes sense! Thanks.


When uploading multiple images the "file is too large" message is confusing

Describe the bug
When trying to upload multiple images, if one or more of those images is larger than the max filesize you get a generic error banner stating "This file is too large. It is X MB but the maximum size is Y KB." that doesn't tell you which image(s) is too large.
To Reproduce
Steps to reproduce the behavior:

Create a skeet with multiple images where one of those images is larger than 976.56KB
Attempt to post it.

Expected behavior

Somehow indicate which image(s) is too large (maybe a ! on the image(s) or something?
Screenshots

Details

Platform: Desktop firefox windows
Platform version: windows 10, ff 113.0.1
App version: Build version TODO (TODO)  (I know that's not helpful but like...)

Additional context

Further testing makes it seem like the file size limit is actually on the sum of all images rather than any individual image?
Actually I just tried uploading the exact same pictures from mobile and it worked fine, so maybe there is some other issue on desktop?

Hi there! Ideally you shouldn't hit this anymore after https://github.com/bluesky-social/social-app/pull/737 gets merged. Currently there's two rounds of compression, which is a bit odd so the new changes will do compression right before upload and attempt to find the lowest possible compression in increments of 0.1 such that it meets the upload limit. Unless you're uploading images with some wild noise, it should cover a large percentage of image uploads :)

Hi there! Ideally you shouldn't hit this anymore after https://github.com/bluesky-social/social-app/pull/737 gets merged. Currently there's two rounds of compression, which is a bit odd.
The new changes will do compression right before upload and attempt to find the lowest possible compression in increments of 0.1 such that it meets the upload limit. Unless you're uploading images with some wild noise, it should cover a large percentage of image uploads :)

Awesome! Thank you!

there seems to be something off about the file size limits. I have a 500 kb file locally, but it still says its 1.34 mb and therefore too large when I upload it. The same file with a different name and in a different browser (firefox  vs chrome) is over 1.5 mb. Maybe this is unrelated and there is just something off about how the filesize is calculated. I will take a closer look at it.

okay so with cropping it works. Without cropping it does not. Even though the file should be small enough.

maybe this image file size calculation is too clever: https://github.com/bluesky-social/social-app/blame/200bbce66eb9dee046075471b33d5dd5eb448758/src/lib/media/util.ts#L7
I uploaded a picture of my breakfast here: https://bsky.app/profile/spirobel.bsky.social/post/3jwoamovki22x in the uncropped image code path the file size was off by a lot. Was not able to upload it in its natural uncropped form.

@spirobel apologies for the late reply! Can you let me know if the behavior is still persisting?


Breakpoint area disapeared

Somehow, I managed to lose the section of the UI where the breakpoints would be shown:

The breakpoints still work, and I can see them on the debug menu, but I can't see/edit them via the editor anymore. Is this some setting that can be undone?
I tried uninstalling/reinstalling all my extensions, but the problem persisted.

VSCode Version:

Version 1.7.2
Commit 7ba55c5860b152d999dda59393ca3ebeb1b5c85f
Date 2016-11-21T22:14:18.217Z
Shell 1.3.8
Renderer 52.0.2743.82
Node 6.5.0

OS Version:

Kubuntu 14.04
Steps to Reproduce:
Not sure

I just met the same problem today.
And my OS is windows7.

OK so it looks like I had the editor.glyphMargin setting set to false in my user settings.json. In that particular setting file someone had copied all the default setting values from a previous version (probably 1.4+) into it, so I'm guessing editor.glyphMargin used to be false by default at some point.
Anyway, setting it to true or removing made the breakpoints reappear.
IMHO this setting should be removed. Giving the user an option to break the UI is not a very good experience. At a minimum it's description should be totally rewritten to make it clear that you won't be able to see your breakpoints anymore.


WIP: Madison/collection permissioning

Reviewers:

[ ] @madisonmay
[ ] @sihrc
[ ] @anneCarlson

What's the purpose of the PR?

Description of changes

Notes to reviewers

Keep in mind while reviewing code:

Is relevant code tested?
Are added functions/methods documented?
Separation of concerns (SOC)
Don't repeat yourself (DRY)
Limit the number of positional arguments
Is function/method length reasonable?
Can code be broken down into smaller components?
Where do added functions/methods belong?
Are variable names descriptive?
Are errors handled appropriately?
Can logic be simplified?
Does the code make sense in context? (expand the diff)

Now with tests!

However, tests will not pass until the remote is updated...

Development?

Doh, thanks.

Closing and reopening.


[Outlook] (tutorial) Add radio buttons so user can select gist

Docs Build status updates of commit ff674e9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/addin-tutorial.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit b354a24:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/addin-tutorial.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit b270a8a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/addin-tutorial.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 9e1e3d2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/addin-tutorial.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update polaris to latest version 7.2.0

Not sure how/if I need to resolve all these requests
Thank you for wanting to submit a Pull Request to the Civo Kubernetes Marketplace repository!
If your pull request concerns an existing Marketplace application, please make sure you have:

[ ] Notified the Maintainer of the application in this pull request so that they are aware of your proposal.
[ ] Outlined the changes you are proposing, and the reasons these are required (e.g. stability, compatibility with new versions of Kubernetes implementations, etc).
[ ] Tested that the application works with the proposed updates applied (including a screenshot).
[x] Updated the version number of the app if that has changed.

@milindchawre is listed as the maintainer of this application, however I am a maintainer of the Polaris project. Not sure who all needs to be aware here.


Publishing the mod to Modrinth

Hi! I was just wondering if there would be any consideration of the mod being uploaded to Modrinth?

I would like to see it on modrinth as well, since curseforge is kind of iffy.

Technically it is possible. Was wondering if there is a specific reason for it to be uploaded to modrinth?

Its more or less to be able to stick to using Modrinth for all my mods. Though, i think it might benefit you as it could help spread the mod to more people. I hope this makes sense as I was struggling to get the right words for the previous sentence.

As Seren mentioned, "stick to using Modrinth." This approach allows us to either stay directly on Modrinth's website or use launchers that integrate Modrinth for accessing mods. It's widely acknowledged that CurseForge has less stringent content moderation, which increases the risk of encountering malicious "smaller" mods, though this is not to suggest that yours is.

Thank you both for the clarification.
I understand the request and the reasoning.
I have issued a new project on Modrinth. it is currently under review. I will keep you posted about its status. 😄

Thank you so much! I really do appreciate it.

/mods/harmonia ? is gonna be the url ?

Modinth has now published the mod https://modrinth.com/mod/wasabiwhisper-harmonia so the issue can now be closed. Thank you again @wasabiwhisper!


conda-build failing

@k-dominik any idea what might cause the test failure in the conda-build test:
  File "/usr/share/miniconda/lib/python3.9/site-packages/conda_build/environ.py", line 483, in meta_vars
    d.update(get_git_info(git_exe, git_dir, meta.config.debug))
  File "/usr/share/miniconda/lib/python3.9/site-packages/conda_build/environ.py", line 191, in get_git_info
    from conda._vendor.auxlib.packaging import _get_version_from_git_tag
ModuleNotFoundError: No module named 'conda._vendor.auxlib'

Originally posted by @constantinpape in https://github.com/bioimage-io/spec-bioimage-io/issues/282#issuecomment-976699380

This was a temporary issue.


Allow to load / supply variables from yaml

Is your feature request related to a problem? Please describe.
I use variables declared in yaml for lovelace_gen to generate my dashboards.
I would like to access this data in the templates.
Describe the solution you'd like
Either supply the global variables the same way as lovelace_gen does:
something like
generate_readme:
  my_vars: !include my_vars.yaml   # normal home-assistant yaml include

Describe alternatives you've considered
tried to load variables directly from jinja, but I think you can only import macros that way.
Additional context
Actual reason for this is because I want to extend the functionality of this component to parse any .j2 files (or whitelisted) in the config, and want to use the same variables I use for lovelace, this would result in fully templated home assistant readme, config and dashboards.

Thanks for the suggestion, but this will not be added.


Cannot invoke method channel in another activity

In MainActivity.kt, I invoke a method call "goToSecondActivity" to go to second activity. I would like to invoke method channel on the SecondActivity too but it doesn't work. The MethodCallHandler doesn't even run.
I got the MissingPluginException(No implementation found for method updatePosition on channel com.example.ble_poc/map_channel) but I have just implemented it and channel name is the same.
This problem has been bothering me for a long time. Does anyone know how to solve this? Thank you.
MainActivtiy.kt:
class MainActivity: FlutterActivity() {
    private val CHANNEL = "com.example.ble_poc/channel"

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        GeneratedPluginRegister.registerGeneratedPlugins(FlutterEngine(this@MainActivity))
        MethodChannel(flutterEngine?.dartExecutor!!, CHANNEL).setMethodCallHandler { call, result ->
            if(call.method.equals("goToSecondActivity")){
                goToSecondActivity()
            } else {
                print("Result not implemented in MainActivity")
                result.notImplemented()
            }
        }
    }

    private fun goToSecondActivity() {
        startActivity(Intent(this@MainActivity, SecondActivity::class.java))
    }
}

SecondActivity.kt:
class SecondActivity: FlutterActivity() {
    private val CHANNEL = "com.example.ble_poc/map_channel"

    private lateinit var mapView: MPIMapView
    private val venueDataString: String by lazy { readFileContentFromAssets("mappedin-demo-mall.json") }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        GeneratedPluginRegister.registerGeneratedPlugins(FlutterEngine(this@SecondActivity))
        MethodChannel(flutterEngine?.dartExecutor!!.binaryMessenger, CHANNEL).setMethodCallHandler { call, result ->
            if(call.method.equals("updatePosition")){
                println("Update position call is triggered")
                val lat = call.argument<Double>("lat")
                val long = call.argument<Double>("long")
                val accuracy = call.argument<Double>("accuracy") ?: 7.170562529369844
                val floorLevel = call.argument<Int>("floor") ?: 0
                updatePosition(lat!!, long!!, accuracy, floorLevel)
            } else {
                print("Result not implemented in SecondActivity")
                result.notImplemented()
            }
        }
...

main.dart
static const CHANNEL = "com.example.ble_poc/channel";
static const MAP_CHANNEL = "com.example.ble_poc/map_channel";
static const platform = MethodChannel(CHANNEL);
static const map_platform = MethodChannel(MAP_CHANNEL);

void openMap() async {
  try {
    platform.invokeMethod('goToSecondActivity');
    Timer(const Duration(seconds: 4), () {
      map_platform.invokeMethod(
        "updatePosition",
        {
          "lat": 43.52023014,
          "long": -80.5352595,
        },
      );
    });
  } on PlatformException catch (e) {
    print(e.message);
  }
}
...

Hi, this issue is reproducible on the latest stable and master channels.
The issue occurred even if I use the same channel for both MainActivity and SecondActivity.

Logs
E/flutter (24719): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method updatePosition on channel com.example.ble_poc/map_channel)
E/flutter (24719): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:292:7)
E/flutter (24719): <asynchronous suspension>
E/flutter (24719):

And I have a workaround, you can try it as a temporary solution.

Workaround
The idea is simple by using a BaseActivity which declares all implementation methods for both two MainActivity and SecondActivity.
https://github.com/huycozy/test_method_channel_multi_act/tree/solution

Sample code
https://github.com/huycozy/test_method_channel_multi_act/tree/error

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.0.1 at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (8 hours ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Android Studio
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio
      Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 2526BC1A-435D-4B08-B99C-44B928F2517B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 101.0.4951.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1081, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.1.0-0.0.pre.1081 at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 61f2ff7671 (72 minutes ago), 2022-06-02 21:43:08 -0400
    • Engine revision be47d54147
    • Dart version 2.18.0 (build 2.18.0-164.0.dev)
    • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 2526BC1A-435D-4B08-B99C-44B928F2517B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

The updatePosition() function is written in the SecondActivity so this is not working.

Hi, this issue is reproducible on the latest stable and master channels. The issue occurred even if I use the same channel for both MainActivity and SecondActivity.
Logs
And I have a workaround, you can try it as a temporary solution.
Workaround
Sample code
flutter doctor -v

The updatePosition() function is written in the SecondActivity so this is not working.

@stuartmorgan From engine issue triage, is this a bug, or can we point @wongcheehong to some guidance on what to do here?

This is not a bug, unless I'm not understanding something about the code sample. A new FlutterActivity will have a new engine instance, running a new copy of whatever Dart code (in this case it looks like it will be the default main.dart). So this openMap Dart function is running in engine A, creates a new engine B via a method channel call, and then is sending a message within engine A that only has a handler in engine B.
I'm not sure what guidance to provide because I don't know what the goal of starting the second engine is here. But questions about that seem like something better suited for one of the resources at https://flutter.dev/community#community-grid


Not installable with strict priority? LibMambaUnsatisfiableError: Encountered problems while solving

I've been trying to get quetz working with a base miniconda environment, but am getting errors during the basic setup when I have a strict environment required. This might be due to my installing with conda and not mamba, but since the two should be functionally identical when using libmamba as the solver it seems kind of mysterious. (Perhaps this is just a "bug" in that the README could be clarified for folks like myself.)
conda info:
     active environment : base
    active env location : /home/pmlandwehr/anaconda3
            shell level : 1
       user config file : /home/pmlandwehr/.condarc
 populated config files : /home/pmlandwehr/.condarc
          conda version : 24.5.0
    conda-build version : not installed
         python version : 3.12.3.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=sandybridge
                          __conda=24.5.0=0
                          __cuda=11.4=0
                          __glibc=2.35=0
                          __linux=6.5.0=0
                          __unix=0=0
       base environment : /home/pmlandwehr/anaconda3  (writable)
      conda av data dir : /home/pmlandwehr/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/pmlandwehr/anaconda3/pkgs
                          /home/pmlandwehr/.conda/pkgs
       envs directories : /home/pmlandwehr/anaconda3/envs
                          /home/pmlandwehr/.conda/envs
               platform : linux-64
             user-agent : conda/24.5.0 requests/2.31.0 CPython/3.12.3 Linux/6.5.0-35-generic ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8 aau/0.4.4 c/. s/. e/.
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

My .condarc:
channels:
  - conda-forge
  - defaults
channel_priority: strict

In this case, I get this error when running:
$ conda env create -f environment.yml
Channels:
 - https://repo.mamba.pm/conda-forge
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
Channels:
 - https://repo.mamba.pm/conda-forge
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package typer-0.9.0-py39h06a4308_0 is excluded by strict repo priority
  - package pydantic-2.0.1-py310h2372a71_0 requires typing-extensions >=4.6.1, but none of the providers can be installed

If I remove the strict restriction, the conda install reaches its pip section and then fails:
Installing pip dependencies: | Ran pip subprocess with arguments:
['/home/pmlandwehr/anaconda3/envs/quetz/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/pmlandwehr/repos/quetz/condaenv.z6h4jy00.requirements.txt', '--exists-action=b']
Pip subprocess output:

Pip subprocess error:
ERROR: Exception:
Traceback (most recent call last):
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper
    status = run_func(*args)
             ^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
    return func(self, options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 326, in run
    session = self.get_default_session(options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 98, in get_default_session
    self._session = self.enter_context(self._build_session(options))
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 125, in _build_session
    session = PipSession(
              ^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/network/session.py", line 343, in __init__
    self.headers["User-Agent"] = user_agent()
                                 ^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/network/session.py", line 175, in user_agent
    setuptools_dist = get_default_environment().get_distribution("setuptools")
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 188, in get_distribution
    return next(matches, None)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 183, in <genexpr>
    matches = (
              ^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/base.py", line 612, in iter_all_distributions
    for dist in self._iter_distributions():
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 176, in _iter_distributions
    for dist in finder.find_eggs(location):
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 144, in find_eggs
    yield from self._find_eggs_in_dir(location)
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 111, in _find_eggs_in_dir
    from pip._vendor.pkg_resources import find_distributions
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2164, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/__main__.py", line 31, in <module>
    sys.exit(_main())
             ^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/main.py", line 70, in main
    return command.main(cmd_args)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 101, in main
    return self._main(args)
           ^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 216, in _main
    self.handle_pip_version_check(options)
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 179, in handle_pip_version_check
    session = self._build_session(
              ^^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 125, in _build_session
    session = PipSession(
              ^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/network/session.py", line 343, in __init__
    self.headers["User-Agent"] = user_agent()
                                 ^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/network/session.py", line 175, in user_agent
    setuptools_dist = get_default_environment().get_distribution("setuptools")
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 188, in get_distribution
    return next(matches, None)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 183, in <genexpr>
    matches = (
              ^
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/base.py", line 612, in iter_all_distributions
    for dist in self._iter_distributions():
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 176, in _iter_distributions
    for dist in finder.find_eggs(location):
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 144, in find_eggs
    yield from self._find_eggs_in_dir(location)
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 111, in _find_eggs_in_dir
    from pip._vendor.pkg_resources import find_distributions
  File "/home/pmlandwehr/anaconda3/envs/quetz/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2164, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

failed

CondaEnvException: Pip failed

Thanks for yr. advice!

After some further research, the AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? is due to ImpImporter being removed in python 3.12. It can apparently be fixed by reinstalling and upgrading pip. I have opted to fix it by requiring python to be less than 3.12. With this restriction quetz appears to install correctly.


Cannot duplicate notebook with IPython 3

When duplicating a notebook, it just opens the same notebook in a new tab.  No copy is created in S3.

This works in the most recent version try installing from source.


Needs to be able to handle multiple discourse instances in config

This tool is fantastic and great to see. I run several Discourse instances and to be able to interact with them through a CLI is great.
Because I run several instances it would be great to have the facility to configure multiple instances in your ~/.discourse_cli config file:
instance-one:
  host: some.ip.address.here
  api_key: 2e07ed2f1570c9dee581a4f4442d0a3f17ce951c6eb2807389217ced82422272
  api_username: discourse-one

instance-two:
  host: someother.ip.address.here
  api_key: 3f17ce951c6eb2807389217ced824222722e07ed2f1570c9dee581a4f4442d0a
  api_username: discourse-two

so the command line invocation would be: $ discourse instance-one categories for example.
Marcus

Hey thanks for creating this issue! Being able to support multiple instances is definitely on my radar

No problem. I'd like to help out as much as possible.
Once we can support multiple instances then you can discourse all update
which is where I'm really interested in getting to. I can sort of do this
already using simple SSH tools like overcast
https://github.com/andrewchilds/overcast, and maybe there's an overlap
between the scope of these 2 tools.
On 14 January 2017 at 18:48, Blake Erickson<EMAIL_ADDRESS>wrote:

Hey thanks for creating this issue! Being able to support multiple
instances is definitely on my radar
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oblakeerickson/discourse_cli/issues/1#issuecomment-272644423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPVYe0ZzMBCKo1I8bVOg0Qv32AM4frIks5rSRiXgaJpZM4LjoNi
.


Remove unneeded UndoManager test which inadvertently triggered driver error

This test was inadvertently checking whether the driver diagnosed a lack of input files instead of whether the program typechecked. Discovered while debugging why it failed with swift-driver

@swift-ci please smoke test

@jckarter I saw you linked to rdar://problem/17755906 in this test, which has something to do with proxy objects. Do you mind taking a look to see if these changes make sense? I'm not sure if this is a worthwhile fix or if I should just delete the test entirely.

We can probably remove this test, since the issue of assigning through AnyObject dynamic dispatch has never been fixed.

@swift-ci please smoke test

Can one of the admins verify this patch?

@swift-ci smoke test and merge


Add dashboard to hold graphs for publishing api queues

We introduce a graph for panopticon only, non-erb-templated, as a first pass.
We will tidy and add extra graphs soon, but want to merge as we go
because there is still incremental value here.
https://trello.com/c/Ipl9UVsA/578-monitor-rummager-s-current-queue-size-with-statsd-graphite-m
This graph shows all the stats that might be reported by the
govuk_message_queue_consumer gem.
It ensures that the height of the graph is always representing actual stat values,
by using summarize and consolidateBy(max) graphite functions.
See http://graphite.readthedocs.org/en/latest/functions.html
As a result, it is possible for the area under the graph to not accurately represent
the running total correctly - but this feature is not expected by dev users (i.e. us!).
The tradeoff is necessary due to the aggregation and bucketing done by statsd
and graphite, and by the possibility that there might be fewer pixels than buckets.
@jackscotti and @benhyland

Can you add a screenshot?


[2621] Remove degree section for undergrad routes

Context
https://trello.com/c/wxGQZ20K/2621-s-provider-led-ug-dont-show-degree-section
Changes proposed in this pull request

Adds a new method to the TrainingRouteManager -> requires_degree?
Removes the degree section (and all related validations) for trainees on an undergrad route (Early years, Opt-in and Provider-led)
Changes section titles from 'Personal details and education' -> 'Personal details'
Adds an end-to-end test for Provider-led (undergrad) trainees

Guidance to review

Create a trainee on an undergrad route
Check that there is no section to add a degree on the '/review-draft' page and the section title is 'Personal details' (not 'Personal details and education')
Complete the trainee and press 'Check this record'
Check that there is no section to add a degree on the /check-details page and no banner telling you that "This record is not complete"
Submit the trainee for TRN - this shouldn't error / require a degree
Go to view your completed trainee, check that the second tab reads 'Personal details' (not 'Personal details and education')
Click into the 'Personal details' tab and check that there is no degree section

 [S] Provider-led (UG) - don't show Degree section

@AbigailMcP needs deploying for me to review!

Great work, all working for me with this trainee: https://register-pr-1361.london.cloudapps.digital/trainees/HRAhmqngCY2SwH6VQZ8VBL57/personal-details


Centralize all GL-calling operations in src/ops/

Currently several codes are duplicated throughout the library, for example binding a buffer or checking whether instancing is supported.
Group everything would allow for easier reviewing of which version supports what.

Bad idea in fact.


mesa: 22.3.1 -> 22.3.2

Description of changes
new mesa release
https://gitlab.freedesktop.org/mesa/mesa/-/tags/mesa-22.3.2
22.3.1 is in staging now
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Already done: https://github.com/NixOS/nixpkgs/commit/3cd6cd412043a513c04259d32468259332ff95d1


Ignore undefined props

Do not render templates referencing undefined props. See https://github.com/stepci/stepci/issues/220 for a use case explanation.

This is a weird behaviour. Liquid, which was the inspiration for this project just returns empty string:
https://liquidjs.com/playground.html#PHA+SGVsbG8sIHt7dGVzdH19IDwvcD4K,e30=

I understand but at the same time there is no way to achieve the opposite behavior (not rendering a template). To get an empty string of the variable is not defined I'd expect the use of a filter like | default or something like that.

Another solution for the $ref use case could be to render all children of $ref keys. That wouldn't require changing how liquidless works. I just thought about this, tell me if you'd prefer this solution.

I just realized that while the solution I had proposed (and implemented) works, it does not work with recursive $refs. I had made an optimization on a project where a openapi.json file contained { "$ref": "http://${{ env.host }}/api-docs/openapi.json" } so the file would be resolved only once when running the tests, but it doesn't work in this scenario. I don't know how we could fix this though.


allow Imgmin to do *.jpg and thus optimize an entire directory

I know that this is probably not something that you were thinking of when you first made it, but not being able to go through and run it on a directory of images that i have is a major annoyance. I know it's made for websites, but I wouldn't mind making my photos that I have on my computer take up less space.
Anyway this is an awesome utility from it's description, and also running it.

I just wrote a bash script that does this for me. It's not a huge issue so I'll just close it.


Skip and Postpone options are not always shown in Ubuntu 18.04/Gnome

System: Ubuntu 18.04 running Gnome 3.28, chrome stable 68.0.3440.106 and dev 70.0.3521.2
Problem: When the break timer notification is shown for the first time (0%) it shows the skip and postpone options, but when the percent increases beyond that (5%, 10% and so on), it stops showing the option to skip and postpone
Screenshot at 0%

Screenshot at 5%, 20% and so on showing the absence of the skip and postpone options

Also tried this by removing all gnome themes and extensions, same result.
This works fine on chrome os (the only other os I tried)

Thanks for the bug report!
I'd imagine this is a bug with Chrome's implementation of notifications on Ubuntu.
I'll look into whether I can reliably get the OS type, in which case we could not do the percentage updating when on Ubuntu (/all Linux?).

I'll make sure I can recreate the bug myself on my Ubuntu (I haven't used it in a while so I wouldn't have seen it).

That sounds great, thank you for the great extension, I use it every single day.
Another solution could be to an option to manually disable the percentage update via the settings.

Any thoughts on how to implement this?

Hi - I have a lot of other work going on at the moment - the problem is more getting round to prioritising this, sorry.

breaktimer.zip
Hi! I finally got round to checking this out. I've actually decided to just disable the "progress" functionality for everybody, I've heard other users complain of it causing weirdness too. Break notifications still work in the same way, it just won't show the updating progress.
Do you mind testing the attached version of the app to see if it fixes your problem? You should be able to do that by unzipping the file, going to chrome://extensions/, turning Developer Mode on (top right), selecting "Load unpacked" and then opening the folder that was inside the zip. Thanks!

And disable the actual extension first!

Hi Tom,
Thanks for taking time out and doing this. I have tested this and it works perfectly on linux (Ubuntu 18.04 + latest chrome stable). Both Skip and Postpone are visible and working. Will be testing this out on mac and chrome os later today.

I've released this update now. You should get it over the next few hours. We've also just added support for Firefox - https://addons.mozilla.org/en-US/firefox/addon/break-timer-app/


Extensions - 'PB - Applicant Consent' - Update Extension Status

As an IAO user
I want to update the status of 'PB - Applicant Consent' to "Denied", "Approved" or "Pending"
so that I know if an applicant denied an extension request

Assumptions & Scope
What are the assumptions for this story?
This came from user feedback at a FOI Mod training session. Users noted that the want to be able to update the extension of 'PB - Applicant Consent' to a status of "Denied", "Approved" or "Pending". This would be similar to the OIPC related extensions, which currently have these options.
Users noted that they would like to know if a extension is pending applicant consent, or if it has been denied by the applicant. This would help analysts avoid asking an applicant, who has already denied a previous extension, if they would consent to an extension again (as the history of the denied extension would be maintained in the 'Extension Details 'section).
What is IN scope?
What is NOT in scope?

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@m-prodan @lmullane @liseandtea @JHarrietha-AOT - this came up in the FOI Mod training session on Feb 15, from multiple users, when showing extensions. This may need some unpacking, but was created to capture the feedback.

Added to feedback repo, and can reopen when necessary or rewrite.


Use standard types in templates.

What this PR does / why we need it:
This PR contains following changes. The below items needs your attention

use standard_types inside templates
define type alias inside pkg/adapter/standardTypes.go. Adapters will get the aliased type instead of string for IP_ADDRESS, URI and DNS_NAME
Support the above 3 types (IP_ADDRESS, URI and DNS_NAME) inside the il/compiler/compiler.go
Remove the original hack that was using []byte for IP_ADDRESS
Due to type aliasing there is type assertion and conversion inside the generated code. PTAL https://github.com/istio/istio/compare/master...guptasu:useStdTypes2?expand=1#diff-aecbd97d3bcb64dd8d2a900a893b3e39
stop supporting google.protobuf.Timestamp and google.protobuf.Duration in all existing Templates.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@guptasu: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@guptasu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
bb338363c00bc843af1c389e92f22fbc61aa30b8
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm
/approve


Fixed issue with markdown on amp-bind

Addresses #1269 (and also removes some dangling spaces in the same file).

@fstanis could you rebase from master to get the fix for the build?


[DO NOT MERGE] Implement generic service

Problem
SDK/CLI doesn't support:

New services
New methods for existing services
Internal Alert Logic use of reserved services / methods
Ad hoc HTTP tools like curl require AIMS tokens and selecting the correct host, based on data residency

Solution
Alert Logic services have a common URL format, so it's possible to write a clunky, but functional, generic service definition for that.

Implement a generic service
Implement GET method for account-specific endpoints
Implement POST method for JSON data to account-specific endpoints

To-do

Other HTTP verbs
Response codes?
Default for version = v1 (doesn't seem supported by alertlogic-python-sdk)
Non-JSON POST?
Feedback

Examples

alcli generic get --svc aims --version v1 --account_id 2 --svc_path users
alcli generic post_json --svc cloud_explorer --version v1 --account_id 10785703 --svc_path environments/918C2464-AA42-402C-B02B-7E0EB8720549/discover --qparams '{"region":"eu-central-1"}' --data '{}'
alcli generic get --svc assets_query --version v1 --account_id 10785703 --svc_path assets
alcli generic get --svc assets_query --version v1 --account_id 10785703 --svc_path assets --qparams asset_types=h:host,h.name=NAT
alcli generic get --svc assets_query --version v1 --account_id 10785703 --svc_path assets?asset_types=host

@anton-b @ptrakhtman @va17 What do you think?

I like it…
Have you tested it?
pavel
From: Matt Sayler<EMAIL_ADDRESS>Reply-To: alertlogic/alertlogic-sdk-definitions<EMAIL_ADDRESS>Date: Saturday, October 3, 2020 at 5:14 PM
To: alertlogic/alertlogic-sdk-definitions<EMAIL_ADDRESS>Cc: "Trakhtman, Pavel"<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [alertlogic/alertlogic-sdk-definitions] [DO NOT MERGE] Implement generic service (#197)
@anton-bhttps://github.com/anton-b @ptrakhtmanhttps://github.com/ptrakhtman @va17https://github.com/va17 What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/alertlogic/alertlogic-sdk-definitions/pull/197#issuecomment-703171130, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOSCOIUXOTUH3562TQ3T3DSI6O5XANCNFSM4SDJAHYA.
Confidentiality Notice | This email and any included attachments may be privileged, confidential and/or otherwise protected from disclosure. Access to this email by anyone other than the intended recipient is unauthorized. If you believe you have received this email in error, please contact the sender immediately and delete all copies. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.

@sayler it is a good idea indeed, makes it more streamline, less proprietary code, we could leave this open and i will add this as one of the ideas for the consideration in the curl like implementation story. One of the things though, i had an idea to try to reproduce curl syntax, so that it is as less translation between syntaxes.

I liked this too! What do you think @nalundgaard ?

@ptrakhtman — the examples provided in the PR description have been verified to work.
@anton-b — I'm interested in examples of what you're looking for. I looked into doing this in alcli proper, and concluded the easiest way to do so was to create a generic service.
alcli request --url https://api.cloudinsight.alertlogic.com/some_service/v1/12345678/some/object/987?option=mumble is probably not doable without open-heart surgery in alcli. However, if you were willing to throw away the arg parsing completely and use a different executable (with its own rules) you could make that work like al-request https://api.cloudinsight.alertlogic.com/some_service/v1/12345678/some/object/987?option=mumble (and then rewrite the host based on inferring some_service as the service name, v1 as the API version, and 12345678 as the account ID. That could then be hooked up into an almdrlib call to the generic service as above.


Why HDMap is loaded multiply times for diffrent modules

For each module(planning, prediction, routing and etc), they will load a HDMap of their own, when the map is bigger, this leads to huge memory issue.
Is there any plan to change this? Use a map service or shared memory for HDMap across different modules?
Thanks

@deidaraho @anyong298 @Zhenni17  Any suggestion about this? My instinct thought would be using a big shared memory block and allocate all HDMap class in the memory block, but it seems to be not a trifle change.

@wobistdu
HDMap is a big dataset. You cannot cache the whole usual database into the memory even if using redis.
Right, just like the usual database like mysql or redis, HDMap is also like a database with an octomap structure,  multi-cache level empowered, to improve the cache hit rate.

Thanks for your advice. We will evaluate whether to add this feature and feedback soon.


ccannot run the .jar file under Mac

Having this issue when launching the jar from a Mac
mikaellevy@MBP-de-jeremy Downloads % java -jar skin-composer-mac.jar Exception in thread "main" java.lang.ExceptionInInitializerError 	at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1842) 	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:450) 	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:394) 	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:380) 	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:108) 	at com.ray3k.skincomposer.desktop.MacLauncher.main(MacLauncher.java:31) Caused by: java.lang.IllegalStateException: GLFW windows may only be created on the main thread and that thread must be the first thread in the process. Please run the JVM with -XstartOnFirstThread. For offscreen rendering, make sure another window toolkit (e.g. AWT or JavaFX) is initialized before GLFW. 	at org.lwjgl.glfw.EventLoop$OffScreen.<clinit>(EventLoop.java:39) 	... 6 more AL lib: (EE) alc_cleanup: 1 device not closed
thanks

Thanks for the report. However, this is a known issue with LWJGL3 apps on Mac. Please see the following link for instructions on running Skin Composer on OSX: https://github.com/raeleus/skin-composer/wiki/Getting-Started-With-Mac#running-skin-composer-from-jar-file

Also, make sure to download version 34. The Scene Composer test won't work on Mac just yet.

Hey
Thank you for the quick reply, when I follow the tutorial, i have this
error.
Do you know where is it coming from ?
Thanks
Le mar. 21 avr. 2020 à 16:44, raeleus<EMAIL_ADDRESS>a écrit :

Also, make sure to download version 34. The Scene Composer test won't work
on Mac just yet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/raeleus/skin-composer/issues/71#issuecomment-617188976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMF6MIBKZXTCK6KV7M5TTKDRNWPK7ANCNFSM4MNJXGYQ
.

--
Mikaël LEVY
+972 584 626 025

Which version did you try? Make sure to download skin-composer-mac.jar


strict mode fails to invalidate draft-07 schema with additional keywords alongside $ref

What version of Ajv are you using? Does the issue happen if you use the latest version?
8.11.0
Ajv options object

const ajvOptions = {
    strict: true,
    validateFormats: false,
    discriminator: true,
    verbose: true,
    allErrors: true
};

JSON Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "security-x",
  "type": "object",
  "properties": {
    "replace": {
      "$ref": "replace.json",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "minProperties": 1
}

Your code

const ajv = new Ajv(options);
registerAjvFormats(ajv);
require("ajv-errors")(ajv, {singleError: false} )
console.log(ajv.validateSchema(schema));

Validation result, data AFTER validation, error messages
true

What results did you expect?
My understanding is that on draft-07, no other keywords can appear alongside the "$ref" keyword, therefore my expectation is that validateSchema would return false for the example schema above.

Might be confusing, but validateSchema simply validates schema, as data, against draft-07 meta-schema, it doesn't do any other checks.
Strict mode checks happen during schema compilation, so you need to "compile".
This docs say: "By default this method is called automatically when the schema is added, so you rarely need to use it directly."


Xcode -- Target kernel_snapshot failed: Exception

Steps to reproduce
Xcode (v 15.4) -> Product -> Archive   (fails with error below)
Expected results
It should open the organizer window and let me send the archive to testflight.  I've been blocked on this for over a week ..
Actual results
error: Unhandled exception:
RangeError (offset): Invalid value: Not in inclusive range 0..6148: 10068
#0      RangeError.checkValueInInterval (dart:core/errors.dart:313)
#1      Source.getLocation (package:kernel/ast.dart:14992)
#2      Component.getLocation (package:kernel/ast.dart:14787)
#3      _getLocationInComponent (package:kernel/ast.dart:15181)
#4      Procedure._getLocationInEnclosingFile (package:kernel/ast.dart:3329)
#5      TreeNode._getLocationInEnclosingFile (package:kernel/ast.dart:207)
#6      TreeNode._getLocationInEnclosingFile (package:kernel/ast.dart:207)
#7      TreeNode.location (package:kernel/ast.dart:203)
#8      localFunctionName (package:vm/transformations/type_flow/utils.dart:449)
#9      SummaryCollector.createSummary (package:vm/transformations/type_flow/summary_collector.dart:628)
#10     TypeFlowAnalysis.getSummary (package:vm/transformations/type_flow/analysis.dart:1782)
#11     _DirectInvocation._processFunction (package:vm/transformations/type_flow/analysis.dart:398)
#12     _DirectInvocation.process (package:vm/transformations/type_flow/analysis.dart:287)
#13     _WorkList.processInvocation (package:vm/transformations/type_flow/analysis.dart:1663)
#14     _WorkList.process (package:vm/transformations/type_flow/analysis.dart:1606)
#15     TypeFlowAnalysis.process (package:vm/transformations/type_flow/analysis.dart:1811)
#16     transformComponent (package:vm/transformations/type_flow/transformer.dart:121)
#17     runGlobalTransformations (package:vm/kernel_front_end.dart:589)
#18     compileToKernel (package:vm/kernel_front_end.dart:489)
<asynchronous suspension>
#19     FrontendCompiler.compile (package:frontend_server/frontend_server.dart:639)
<asynchronous suspension>
#20     starter (package:frontend_server/starter.dart:101)
<asynchronous suspension>
#21     main (file:///Volumes/Work/s/w/ir/x/w/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:13)
<asynchronous suspension>

Target kernel_snapshot failed: Exception
Failed to package /Users/dgaedcke/dev/Touchstone/TouchstoneFlutter.

Code sample
The app builds ... so I'm assuming the code is valid ... it just won't archive!
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
error: Unhandled exception:
RangeError (offset): Invalid value: Not in inclusive range 0..6148: 10068
#0      RangeError.checkValueInInterval (dart:core/errors.dart:313)
#1      Source.getLocation (package:kernel/ast.dart:14992)
#2      Component.getLocation (package:kernel/ast.dart:14787)
#3      _getLocationInComponent (package:kernel/ast.dart:15181)
#4      Procedure._getLocationInEnclosingFile (package:kernel/ast.dart:3329)
#5      TreeNode._getLocationInEnclosingFile (package:kernel/ast.dart:207)
#6      TreeNode._getLocationInEnclosingFile (package:kernel/ast.dart:207)
#7      TreeNode.location (package:kernel/ast.dart:203)
#8      localFunctionName (package:vm/transformations/type_flow/utils.dart:449)
#9      SummaryCollector.createSummary (package:vm/transformations/type_flow/summary_collector.dart:628)
#10     TypeFlowAnalysis.getSummary (package:vm/transformations/type_flow/analysis.dart:1782)
#11     _DirectInvocation._processFunction (package:vm/transformations/type_flow/analysis.dart:398)
#12     _DirectInvocation.process (package:vm/transformations/type_flow/analysis.dart:287)
#13     _WorkList.processInvocation (package:vm/transformations/type_flow/analysis.dart:1663)
#14     _WorkList.process (package:vm/transformations/type_flow/analysis.dart:1606)
#15     TypeFlowAnalysis.process (package:vm/transformations/type_flow/analysis.dart:1811)
#16     transformComponent (package:vm/transformations/type_flow/transformer.dart:121)
#17     runGlobalTransformations (package:vm/kernel_front_end.dart:589)
#18     compileToKernel (package:vm/kernel_front_end.dart:489)
<asynchronous suspension>
#19     FrontendCompiler.compile (package:frontend_server/frontend_server.dart:639)
<asynchronous suspension>
#20     starter (package:frontend_server/starter.dart:101)
<asynchronous suspension>
#21     main (file:///Volumes/Work/s/w/ir/x/w/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:13)
<asynchronous suspension>

Target kernel_snapshot failed: Exception

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.91.0)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for dgiphone. Ensure the device is unlocked and attached with a cable
      or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

Hi @dgaedcke
I see there is a similar issue case at https://github.com/flutter/flutter/issues/148352#issuecomment-2139153323 and users there said that works on Flutter master channel. Can you also switch to master channel and confirm?

Yes! -- archiving succeeded on Master channel.  Now switching to beta to see if it works there!  Stay tuned

I think this is similar to https://github.com/flutter/flutter/issues/144176 which was fixed on master. Since you tested and confirmed it on beta as well, the fix may be landed to stable soon, please see https://github.com/flutter/flutter/blob/master/docs/releases/Flutter-build-release-channels.md. I will go ahead and close this as fixed. Thanks for confirming this.


updating extensions nugets to 10382

Specifically taking the PR to fix a timer bug: https://github.com/Azure/azure-webjobs-sdk-extensions/pull/167

:shipit:

Actually, I'm going to fix something else before committing this. It looks like we had a Core SDK nuget update that went directly to Script, skipping Extensions. Extensions and Script should have the same Core SDK dependencies, so I'll generate a new Extensions nuget and then update this.

Didn't we also want to match storage with what bot is using?

Just saw that mail; I'll get on it.

:ship:

Closing this and re-opening a new one with new updated dependencies.


Magica Logia sheet updates (with new branch)

Changes / Comments

Arranged character sheet layout.
(kor: 캐릭터시트 레이아웃 재배열)
Reformed roll template design.
(kor: 롤템플릿 디자인 개편)
Changed input type for MP. (select -> input)
(kor: 마력기입방식 변경)
Improved UI for user custom roll template image setting.
(kor: 마법이미지 사용옵션 개편)
Removed unused function. (sending secret dice plot to GM)
(kor: 플롯보내기 기능 삭제)
Added New roll: Get random skill that the user should roll.
(kor: 랜덤특기 롤 추가)
Added New roll: Roll nD6 with roll template.
(kor: D6 롤 추가)
New attribute for magic spell: 'Skill Target'
(kor: 장서목록에 '목표' 항목 추가)
New function: Get random skill when the player roll magic spell that attributed skill is 'fluid' type; and directly roll computed random skill with clicking a button in roll template.
(kor: 지정특기가 '가변'인장서의 판정방식 변경)
New function: Color theme for skill table.
(kor: 습득한 특기의 배경색 설정옵션 추가)
New function: [Unfold all/fold all] button for magic spell & relation field.
(kor: 장서/앵커란 전체접기/펼치기 추가)
New function : MP roll.
(kor: 마력결정 버튼 추가)

...and removed translation/*.jsons from commit :)
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[x] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?

I created game for beta test with over 200 players and tested over three days.
Additionally, I copied my previous games and tried to run with new sheet.
Character sheet datas and chat log worked fine with new HTML and CSS.

[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Copy Video and transcode Audio?

I'm looking to copy my video track and transcode my audio to ac3.  Is this possible with this tool?

Please see the readme this is covered in great detail
Short answer is absolutely


python3Packages.astropy-extension-helpers: 0.1 -> 1.0.0

Description of changes

Update astropy-extension-helpers to the latest upstream. This fixes the build on x86_64-darwin.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 167922 run on x86_64-darwin 1

6 packages failed to build:

python310Packages.asdf
python310Packages.astroquery
python310Packages.sunpy
python39Packages.asdf
python39Packages.astroquery
python39Packages.sunpy

26 packages built:

python310Packages.aplpy
python310Packages.astropy
python310Packages.astropy-extension-helpers
python310Packages.astropy-healpix
python310Packages.casa-formats-io
python310Packages.drms
python310Packages.pyavm
python310Packages.pyregion
python310Packages.pytest-astropy
python310Packages.pytest-astropy-header
python310Packages.radio_beam
python310Packages.reproject
python310Packages.spectral-cube
python39Packages.aplpy
python39Packages.astropy
python39Packages.astropy-extension-helpers
python39Packages.astropy-healpix
python39Packages.casa-formats-io
python39Packages.drms
python39Packages.pyavm
python39Packages.pyregion
python39Packages.pytest-astropy
python39Packages.pytest-astropy-header
python39Packages.radio_beam
python39Packages.reproject
python39Packages.spectral-cube

The 3 packages failures are not related to this update.

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

6 packages failed to build:

python310Packages.asdf
python310Packages.astroquery
python310Packages.sunpy
python39Packages.asdf
python39Packages.astroquery
python39Packages.sunpy

26 packages built:

python310Packages.aplpy
python310Packages.astropy
python310Packages.astropy-extension-helpers
python310Packages.astropy-healpix
python310Packages.casa-formats-io
python310Packages.drms
python310Packages.pyavm
python310Packages.pyregion
python310Packages.pytest-astropy
python310Packages.pytest-astropy-header
python310Packages.radio_beam
python310Packages.reproject
python310Packages.spectral-cube
python39Packages.aplpy
python39Packages.astropy
python39Packages.astropy-extension-helpers
python39Packages.astropy-healpix
python39Packages.casa-formats-io
python39Packages.drms
python39Packages.pyavm
python39Packages.pyregion
python39Packages.pytest-astropy
python39Packages.pytest-astropy-header
python39Packages.radio_beam
python39Packages.reproject
python39Packages.spectral-cube

Failures will be fixed with #168006 and #168048.


[Live Trains] Short platforms

Hello!
Thanks for wanting to give feedback about short platform announcements for Live Trains. I really appreciate your help! :)
As a reminder, at this time we are only interested in short platform information for Govia Thameslink Railway and Southeastern served stations. There will be a future opportunity to expand this feature, but we want to make sure it's working well before rolling it out to the entire network.
It'd really help if your feedback follows a consistent structure to make resolving issues quicker and simpler.
Hit the copy button below and paste it into the textbox at the bottom of the page to get started.
<!-- Delete as appropriate -->
**Issue type:** Missing short platform / Wrong short platform information / Other

<!-- Please write the station name *and* station CRS code below -->
**Station affected:**

<!-- List the TOCs affected by your issue -->
**TOC(s) affected:**

<!-- Explain the problem in detail. For example, if the info is correct for some rolling stock but not others, this is an important detail to mention. -->
**Detailed info:**

Example:
<!-- Delete as appropriate -->
**Issue type:** Missing short platform

<!-- Please write the station name *and* station CRS code below -->
**Station affected:** Balcombe (BAB)

<!-- List the TOCs affected by your issue -->
**TOC(s) affected:** Southern, Thameslink

<!-- Explain the problem in detail. For example,
if the info is correct for some rolling stock but
not others, this is an important detail to mention. -->
**Detailed info:**

Platform 2 is a short platform. Both Southern and
Thameslink only open doors on the front 8 coaches
at this station on all of their rolling stock.

<!-- Delete as appropriate -->
**Issue type:** Missing short platform

<!-- Please write the station name *and* station CRS code below -->
**Station affected:** Aldrington (AGT)

<!-- List the TOCs affected by your issue -->
**TOC(s) affected:** Southern

<!-- Explain the problem in detail. For example, if the info is correct for some rolling stock but not others, this is an important detail to mention. -->
**Detailed info:**
Platforms 1 and 2 have a short platform. Only front 4 coaches will open on Class 377.

Issue type: Missing short platform

Station affected: Amberley (AMY)

TOC(s) affected: Southern

Detailed info:
Platforms 1 and 2 have a short platform. Only front 5 coaches will open on Class 377/387``

<!-- Delete as appropriate -->
**Issue type:** Missing short platform

<!-- Please write the station name *and* station CRS code below -->
**Station affected:** Anerley (ANZ)

<!-- List the TOCs affected by your issue -->
**TOC(s) affected:** Southern

<!-- Explain the problem in detail. For example, if the info is correct for some rolling stock but not others, this is an important detail to mention. -->
**Detailed info:**
Platforms 1 and 2 have a short platform. Platform 1, front 9 coaches. Platform 2, front 8 coaches. Class 377/387.

Issue type: Missing short platform

Station affected: Angmering (ANG)

TOC(s) affected: Southern

Detailed info:
Platforms 1 and 2 have short platforms. Front 7 coaches will open on both platforms

Issue type: Missing short platform

Station affected: Appledore (APD)

TOC(s) affected: Southern

Detailed info: Platforms 1 and 2 have short platforms. Front 2 will open on both platforms. Class 171

``<!-- Delete as appropriate -->
**Issue type:** Missing short platform

<!-- Please write the station name *and* station CRS code below -->
**Station affected:** Apsley (APS)

<!-- List the TOCs affected by your issue -->
**TOC(s) affected:** Southern

<!-- Explain the problem in detail. For example, if the info is correct for some rolling stock but not others, this is an important detail to mention. -->
**Detailed info:** All 4 platforms are short. Front 10 coaches will open on Platforms 1 and 2. Front 12 coaches will open on Platforms 3 and 4.

<!-- Delete as appropriate -->
**Issue type:** Missing short platform

<!-- Please write the station name *and* station CRS code below -->
**Station affected:** Ashford (AFK)

<!-- List the TOCs affected by your issue -->
**TOC(s) affected:** Southern

<!-- Explain the problem in detail. For example, if the info is correct for some rolling stock but not others, this is an important detail to mention. -->
**Detailed info:**
Platforms 1 and 2 have short platforms. Front 10 coaches will open on both platforms. Class 171.

<!-- Delete as appropriate -->
**Issue type:** Missing short platform

<!-- Please write the station name *and* station CRS code below -->
**Station affected:** Ashhurst (AHS)

<!-- List the TOCs affected by your issue -->
**TOC(s) affected:** Southern

<!-- Explain the problem in detail. For example, if the info is correct for some rolling stock but not others, this is an important detail to mention. -->
**Detailed info:**
Platforms 1 and 2 have short platforms. Front 10 coaches will open on both platforms. Class 171.

Most of these (all?) are already implemented...
I can't assume the platform the train will stop at if it's not in the data, and in many instances it isn't.

10 coach Class 171s are never a thing anyway, so I didn't bother to add this data in, just like platforms which can "only" hold 12 coaches for 377s/387s/700s.
You can view the raw data here (be warned; it's not ordered by CRS): https://github.com/davwheat/rail-announcements/blob/main/src/data/liveTrains/shortPlatforms.ts

Issue type: Missing short platform

Station affected: Harringay (HGY)

TOC(s) affected: Great Northern

Detailed info:
Both platforms can only accommodate 5 carriages.

Issue type: Missing short platform

Station affected: Hornsey (HRN)

TOC(s) affected: Great Northern

Detailed info:
Both platforms can only accommodate 5 carriages.

Issue type: Missing short platform

Station affected: Brookmans Park (BPK)

TOC(s) affected: Great Northern

Detailed info:
ALL platforms can only accommodate 5 carriages.

Issue type: Missing short platform

Station affected: Ashwell & Morden (AWM)

TOC(s) affected: Great Northern

Detailed info:
Both platforms can only accommodate 8 carriages.

Issue type: Missing short platform

Station affected: Baldock (BDK)

TOC(s) affected: Great Northern

Detailed info:
Both platforms can only accommodate 8 carriages.

Issue type: Missing short platform

Station affected: Hendon (HEN)

TOC(s) affected: Thameslink

Detailed info:
ALL platforms can only accommodate 7 carriages.

Issue type: Missing short platform / Wrong short platform information / Other

**TOC(s) affected:**Thameslink

**Detailed info:**not announcing for class 700

Issue type: Missing short platform / Wrong short platform information / Other

Station affected: Dormans DRS

**TOC(s) affected:**Thameslink

**Detailed info:**not announced on class 700

Issue type: Missing short platform / Wrong short platform information / Other

Station affected: Oxted (OXT)

**TOC(s) affected:**Southern

**Detailed info:**platform 2 takes 12 coach class 377, the 11 coach is for class 700.

Issue type: Missing short platform / Wrong short platform information / Other
Station affected: Dormans DRS
**TOC(s) affected:**Thameslink
**Detailed info:**not announced on class 700

Dormans is DMS, not DRS.

Issue type: Missing short platform

Station affected: Ashwell & Morden (AWM)

TOC(s) affected: Great Northern, Thameslink

Detailed info:
Ashwell & Morden can only hold 8 carriages, (Not 5 as intially entered into script)
AWM platforms are the same length as BDK, therefore hold the same amount of carriages (Eight)

Issue type: Wrong short platform information allocated
Station affected: Dover Priory
TOC(s) affected: Southeastern
Detailed info:
Dover Priory front 10 not front 8 as announced

Issue type: Missing short platform information
Station affected: Norwood Junction
TOC(s) affected: Thameslink and Southern
Detailed info:
Norwood Junction - Front 10 coaches

Issue type: Missing short platform information
Station affected: Norwood Junction
TOC(s) affected: Thameslink and Southern
Detailed info:
Norwood Junction - Front 10 coaches

Already implemented:
https://github.com/davwheat/rail-announcements/blob/9680d02071c7c20840ca8d070f1c3c15c8a48952/src/data/liveTrains/shortPlatforms.ts#L855-L877

Issue type: Wrong short platform information allocated
Station affected: Dover Priory
TOC(s) affected: Southeastern
Detailed info:
Dover Priory front 10 not front 8 as announced

@EWSTrains This depends on the rolling stock and the platform.

The sectional appendix states that platform 3 only fits 8 coaches and 2 will fit 10 coaches.
Class 375s open the same number of doors at every platform of every station by default, so 8 coaches would be correct for these units no matter which platform they use.
I appreciate that the data for Class 395s is, however, incorrect.

I know Dover has front 8 on 375 as the system cant manage several short platforms hence Westenhanger being short both ways with the Dover platform able to take 8
I know alot about Dover Deal lines as im local to the line and my dad worked at Dover
Im gaining the Short Platform info from Tiger which then operates the Short Platform info for Anne

I've sent an FOI to Southeastern for their info.

Issue type: Missing short platform

Station affected: Meldreth (MEL)

TOC(s) affected: Great Northern

Detailed info:
Whilst able to fit up to 6 carriages, Meldreths platforms are publically advertised to take 4.

Issue type: Missing short platform

Station affected: Shepreth (STH)

TOC(s) affected: Great Northern

Detailed info:
Platform 1 is a very short platform. Only 4 carriages can be held.
Platform 2 can hold 8 carriages.

Issue type: Missing short platform

Station affected: Watlington (WTG)

TOC(s) affected: Great Northern

Detailed info:
Both platform can only accommodate 4 carriages.

Issue type: Missing short platform

Station affected: Littleport (LTP)

TOC(s) affected: Great Northern

Detailed info:
Platform 1 is a very short platform. Only 4 carriages can be held.

Issue type: Missing short platform

Station affected: New Barnet (NBA)

TOC(s) affected: Great Northern, Thameslink

Detailed info:
Platforms 1&4 can accommodate 7 carriages

Issue type: Other

Station affected: TBD

TOC(s) affected: SN

Detailed info:
At Three Bridges, trains which divide at Horsham still announce short platforms after the divide for trains longer than the split sections.

@callumowen Tracked in #245

Issue type: Other

Station affected: not applicable

TOC(s) affected:

Detailed info: where multiple short platform are announced together the word “and” should precede the final group of stations, for example “customers for X should join the front 2 coaches, customers for Y and Z should join the front 4 coaches, AND customers for Z and A should join the front 6 coaches”. Currently there is no final AND. A real-life example of this can be found here at 1m 50 seconds: https://youtu.be/kBW4-ynLXBE. Thank you.

Issue type: Other
Station affected: not applicable
TOC(s) affected:
Detailed info: where multiple short platform are announced together the word “and” should precede the final group of stations, for example “customers for X should join the front 2 coaches, customers for Y and Z should join the front 4 coaches, AND customers for Z and A should join the front 6 coaches”. Currently there is no final AND. A real-life example of this can be found here at 1m 50 seconds: youtu.be/kBW4-ynLXBE. Thank you.

Thanks. This should be done in the next 15 mins.
Example:
https://github.com/davwheat/rail-announcements/assets/7406822/26dd2e0e-0934-43dd-a7cf-d00c940e36b4

Issue type: Missing short platform

Station affected: Lingfield

**TOC(s) affected:**Thameslink

Detailed info: Lingfield short platform is 8 coaches, this is Announced on the 377s but  not the 700s


deps: update modeling deps

Closes #4335
Closes #4383
Closes #4394
Proposed Changes
This updates dependencies:

DEPS: update to<EMAIL_ADDRESS>DEPS: update to<EMAIL_ADDRESS>DEPS: update to<EMAIL_ADDRESS>
Checklist
To ensure you provided everything we need to look at your PR:

[x] Brief textual description of the changes present
[ ] Visual demo attached
[ ] Steps to try out present, i.e. using the @bpmn-io/sr tool
[x] Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}


Fix QuerySet slicing logic

The old logic for handling slices on QuerySet objects worked for toy examples when the result set was small, but would crash if having to work through too many items. This logic will work for  all sizes of results.

looks good, I know I've made it a little ugly with the rebasing.
Is it possible to write a test that shows this fix? What kind of sizes were you seeing the crash at?

(I will fix the conflicts/merge it, don't worry about those)

Turns out the real issue was it trying to span pages. I have a better fix incoming. Working on writing the test for it.

The real issue was requesting an index that was a multiple of the page size, which would happen when trying to span pages when slicing. It would get stuck in an infinite loop whenever the requested item number is a multiple of the page size. Fixed this by incrementing the k number by 1 whenever the requested index is not in the current cache's range. This makes it so that the function will increment to the next page as appropriate when the slice requires it.