The future of this plugin (a late night rant)

Hey Guys,
So I see this plugin was largely abandoned, reason being that modern version of Cura support direct print to Octoprint. This makes sense for a generally normal, single printer, single user setup, which let's be honest, represents a lot of the community. However, as the community grows and 3D printing becomes more mainstream, public demand for on-demand 3D printing services is growing, and more 3D printing businesses are popping up to fill the void. While I can see that for hobbyist use, local Cura + send to Octoprint is fine, I think there's something being largely unexplored here, namly print farms.
Consider this.... You start printing, and as more friends and family find out you print, you start getting requests for custom prints. A more come in, you decide, "eh, screw it, I'll buy another 3D printer so I can keep printing". Well, over time, one turns to two, and two turns to four. Before long, you've got a small print farm running. Then, you finally decide to hire someone on to help out. Here's where I see the potential...
Right now, more than one user environments are lacking. If you have two users, they probably both have their own workstations (laptops). Right now, there's absolutely no easy way to share Cura profiles between environments, short of export / import. There's no means of serving them up from a central source of truth. You have to export all of your Cura profiles and instruct the new person in how to import them. Then, any changes to profiles on a local machine for small tweaks (first layer height, temps, etc) results in a mismatch on the profiles between your machines, and the best you can do is export / import again to try to get back to sync.
One solution would be a "Cura profile server" of sorts where maybe Ultimaker allows you to store your profiles and download them to a different account. Per all of my research so far, however, this doesn't exist, and I can't see any signs of Ultimaker adding it. As a closed source company, we're ultimately at their mercy here, and I'm not sure it'll ever happen. I couldn't see an analog for PrusaSlicer either.
So hopefully, you can see the conundrum... We can't share profiles in a multi-user environment and keep them up to date right now in any easy manner. This right here is why I think this plugin still has a VERY valid purpose for a growing community of small hobbyist printers turned local machine shop owner. If this plugin existed, all slicing would be tied to the Octoprint instance, which is directly tied to the printer in question. That means all profiles are actually served up by the machine itself, and if someone makes a tweak to a specific machine to keep it running smoothly, anyone else that wants to slice for that machine later will have the most up to date settings used. This seems like an extraordinarily valuable use case.
I'd love to see if I could help out in maintaining this somehow, but unfortunately I'm woefully short on time right now. I'm very familiar with web apps and github, however, and could definitely maintain this plugin IFF there was actually a community here that would value this use case, and would be able to contribute pull requests to further development. I can definitely create a list of "things that need done to get things updated", and help get things on track, and help to manage features as they come in, but I really don't have a lot of time to devote to dev.
Really, the point of this issue was to raise a thought as to the long term outlook for this project, and see if anyone else is starting to share any similar sentiments. I figure if anyone else sees this issue and is possibly willing to devote some time to help bring this plugin back to life, it's worth trying to rally them together.
So, anyone else that could benefit from this use case, or is this just me?

What I don't understand about this plugin being considered obsolete is that this plugin allows you to slice right from inside Octoprint. Cura doesn't.
With Cura, you have to slice it up outside Octoprint, then send it to Octoprint. So what? The slicing files and jobs aren't integrated into Octoprint. It's another app; it's not integrated like this plugin.
The value of this plugin is never having to leave Octoprint. So how exactly is slicing inside Octoprint obsolete? Explain it to me like I'm 5.

Why  is it obsolete? with this plugin, I didn't need the pc.

Just another +1 for “why is this obsolete?”. My use case can’t be too obscure: I often need to print something simple I pull down from Thingiverse, and I used to be able to do this end-to-end from my iPad while drinking coffee. Like many other veteran 3D printer users, I have extremely well dialed-in Cura profiles, where failed prints are essentially a thing of the past. Being able to just grab a .STL, drop it in OctoPrint, slice and dice and print was a dream. Now, it is a dream of the past.

So I'll weigh in here to add to my original comment: I did find that it's possible to indeed share profiles between Cura instances by signing into your Ultimaker account on all devices that use the profiles. That said, you still have to save your settings every time you make a mod, and everyone needs to be trained to download the most recent backup from the server every single time they open Cura. Would be MUCH easier with a server based Cura though, where it's served up in the browser and there's only a single set of profiles shared for everyone.

Over a year later and still wishing someone with the knowledge and experience to pickup and maintain this plugin.

I do miss it. It was a great set up for working with the elementary school where I was volunteering.

FWIW, AstroPrint does give you the ability to drag-and-drop an .STL, slice it and print it. While it is for my case feature-parity, it has some drawbacks: Additional software in the toolchain, and a cloud-based service to do the slicing. Not show-stoppers for most, but I understand some cant or wont use cloud services.

I’m traveling and not in a position to look into this, but there is a fork of this plugin with some more recent activity. Anyone looked into this already?
https://github.com/Garr-R/OctoPrint-InternalSlicer

Hello! As @jbishop129 previously mentioned I've been working on updating this plugin for awhile now and it's finally in a very usable state!
Outside of my version being functional, the main difference between this plugin and mine is that I'm using a new version of PruasSlicer (v2.6.1) in the backend instead of Cura. So anyone's Slic3r, PrusaSlicer, or SuperSlicer profiles should be compatible! I can happily report that PrusaSlicer has been running nicely on the Raspberry Pi with the same slicer GUI everyone knows and loves.
Please let me know how you like it if you decide to give it a try :)
https://github.com/Garr-Garr/OctoPrint-InternalSlicer

Thanks for taking this on, such a great feature to be able to slice straight from OctoPrint! I’m getting empty gcode output, as is the original issue reporter in below issue; I believe we are both using Ender 3 printers, FWIWGCODE output is empty · Issue #7 · Garr-Garr/OctoPrint-InternalSlicergithub.comOn Mar 19, 2024, at 11:15 AM, Garrett Broters @.***> wrote:
Hello! As @jbishop129 previously mentioned I've been working on updating this plugin for awhile now and it's finally in a very usable state!
Outside of my version being functional, the main difference between this plugin and mine is that I'm using a new version of PruasSlicer (v2.6.1) in the backend instead of Cura. So anyone's Slic3r, PrusaSlicer, or SuperSlicer profiles should be compatible! I can happily report that PrusaSlicer has been running nicely on the Raspberry Pi with the same slicer GUI everyone knows and loves.
Please let me know how you like it if you decide to give it a try :)
https://github.com/Garr-Garr/OctoPrint-InternalSlicer
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Allow expand "AccordionItem" programmatically

Add activeItems prop realization for programmatically controlling of expanded Accordion items #12

👍 related: #12
@vincentaudebert do you have time to review this in the near future?

I will try to fit this in this week or the next one. Exciting!

@epotockiy would it be possible that you provide some examples or ideally that you test your changes so we get 100% coverage?
Thanks.

@vincentaudebert I'll try to do it.

Any progress @epotockiy ?

@vincentaudebert I added some tests for new functionality, could you review this?

It's looking really good to me @epotockiy ! Thanks a lot for your amazing work!
@thibaudcolas could you give a final review? Thanks.

Merged. Thanks again @epotockiy will be released into 0.6.0


Add linting for docs/examples

Change Summary
Adds linting to docs/examples, mainly so flake8-quotes can do the job for @samuelcolvin's comments like https://github.com/samuelcolvin/pydantic/pull/1474#discussion_r426882658
Per https://github.com/samuelcolvin/pydantic/pull/1474#discussion_r426901271 , a couple codes have been disabled, namely
E302: expected 2 blank lines, found 1
and
E305: expected 2 blank lines after class or function definition, found 1.
However, if blackening is added to docs/examples, those will be taken care of automatically.
That would probably need to take off -l120 from the black command in the Makefile, but a black_docs command wouldn't be difficult to add.
Other ignored flake8 codes in docs/examples/:
schema_unenforced_constraints.py:13:1: F811 redefinition of unused 'Model' from line 6
validation_decorator_async.py:7:1: E402 module level import not at top of file
validation_decorator_async.py:8:1: E402 module level import not at top of file
types_constrained.py:24:29: F722 syntax error in forward annotation '^apple (pie|tart|sandwich)$'

flake8 --statistics ... Before:
1     E241 multiple spaces after ','
173   E302 expected 2 blank lines, found 1
110   E305 expected 2 blank lines after class or function definition, found 1
1     E306 expected 1 blank line before a nested definition, found 0
2     E402 module level import not at top of file
3     F401 'datetime.datetime' imported but unused
1     F541 f-string is missing placeholders
1     F722 syntax error in forward annotation '^apple (pie|tart|sandwich)$'
1     F811 redefinition of unused 'Model' from line 6
1     W291 trailing whitespace
6     W391 blank line at end of file

flake8 --statistics ... After:
All done! ✨ 🍰 ✨

With black_docs = black -S --target-version py38 docs/examples in the Makefile:
Oh no! 💥 💔 💥
105 files would be reformatted, 1 file would be left unchanged.

However, even with the default width of 88 characters, this still flattens many of the multi-line definitions currently in the files, so I haven't committed that yet. If you'd only like the line-spacing adjusted to two blank lines, I can commit just that and leave off blackening, or depending on the line length you'd prefer for the docs (72 seems to be pretty reasonable), add that and let black handle it.
Related issue number

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

Alright. Re: black/flake8 line lints, would you want to allow two blank lines in the docs, or keep them at max of 1?

I think two world be better like regular linted python.

Pushed up the change for enforcing two blank lines, by running black with a line length of 80 on the examples and only committing those changes that didn't change the expressiveness. For some things it even made it better.
Personally I don't think it hurts expressiveness too much, so here's a branch that shows what would happen if all black's changes were applied: https://github.com/StephenBrown2/pydantic/compare/lint_docs_examples...black_docs_examples
But, leaving that up to you, of course.

awesome, thank you.
Let's leave it like this for now.


"A RenderFlex overflowed by 18 pixels on the right" in Stocks example app on iOS Simulator

Using latest master (e45836f) if you run the Stocks demo app and click on the ... menu in the top right and then click "Refresh" you get this error from the rendering of the "Not Implemented" dialog:

Running "flutter packages get" in stocks...
Launching lib/main.dart on iPhone X in debug mode...
Xcode build done.
flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following message was thrown during layout:
flutter: A RenderFlex overflowed by 18 pixels on the right.
flutter:
flutter: The overflowing RenderFlex has an orientation of Axis.horizontal.
flutter: The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
flutter: black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
flutter: Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
flutter: RenderFlex to fit within the available space instead of being sized to their natural size.
flutter: This is considered an error condition because it indicates that there is content that cannot be
flutter: seen. If the content is legitimately bigger than the available space, consider clipping it with a
flutter: ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
flutter: like a ListView.
flutter: The specific RenderFlex in question is:
flutter:   RenderFlex#43287 relayoutBoundary=up8 OVERFLOWING
flutter:   creator: Row ← Padding ← ButtonBar ← ButtonTheme ← Column ← IntrinsicWidth ← DefaultTextStyle ←
flutter:   AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#8b6fd ink renderer] ←
flutter:   NotificationListener<LayoutChangedNotification> ← CustomPaint ← _ShapeBorderPaint ← ⋯
flutter:   parentData: offset=Offset(4.0, 8.0) (can use size)
flutter:   constraints: BoxConstraints(w=287.0, 0.0<=h<=Infinity)
flutter:   size: Size(287.0, 36.0)
flutter:   direction: horizontal
flutter:   mainAxisAlignment: end
flutter:   mainAxisSize: max
flutter:   crossAxisAlignment: center
flutter:   textDirection: ltr
flutter:   verticalDirection: down
flutter: ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

have you found solution so far as i'm stuck at the same problem ?

What is the solution to this?

Waiting for right answer to.
Meanwhile, here is some kind of solution:
double maxWidth = MediaQuery.of(context).size.width * 0.7;
final dialog = AlertDialog(
  title: ...,
  content: ...,
  actions: <Widget>[
    ConstrainedBox(
      constraints: BoxConstraints(maxWidth: maxWidth),
      child: Wrap(
        alignment: WrapAlignment.end,
        children: <Widget>[
          FlatButton(...),
          FlatButton(...),
          FlatButton(...),
          FlatButton(...),
        ],
      ),
    ),
  ],
);

I wrap my Alert content inside SingleChildScrollView or ListView and then I use this for the Height
 double maxHeight = MediaQuery.of(context).size.height * 11;

had the same issue today, wrapping the children of the row with an Expanded widget solved the issue

@nemoryoliver Thanks you genius!

@nemoryoliver Thank you genius! You saved me a lot of time! :)

We could make the button text shorter, but generally, yeah, if the screen is small...
I'm going to close this bug because it's not really a bug so much as just an example with a wide button not supporting a narrow screen.

Hi, had the same problem, fixed it by wrapping everything in
USED THIS TUTORIAL
https://dev.to/rubensdemelo/flutter-forms-improving-uiux-with-singlechildscrollview-36gd
SingleChildScrollView(           child: Column(                    mainAxisAlignment: MainAxisAlignment.spaceBetween,                   children: <Widget>[                   FlatButton(                         child: Text("First Button"),                         onPressed: () {},                     ),                    FlatButton(                         child: Text(                         "Second Button",                         onPressed: () {},                     ),                 ],             )        ) )


animation mid song

How do you add events like a hey animation mid song

function beatHit(curBeat:Int) {
  if (curBeat == 128) PlayState.boyfriend.playAnim("your anim name");
}```

or

```haxe
function playBFAnim(animName:String) {
   PlayState.boyfriend.playAnim(animName);
}```
and add an event with function name "playBFAnim" and with one parameter with the animation name.


German translation

merged German strings from v2.5
completed German strings for v3.x
Superseding #72

Thanks! Would you mind changing the pronoun from "du" to "Sie" (e.g. "Sie können helfen" instead of "Du kannst helfen")? This would make the wording consistent with the translation for GIMP:
https://gitlab.gnome.org/GNOME/gimp/blob/master/po/de.po


use core-js, fix es6/map polyfills compatibility, cleanup code

see commit messages (& diff in each commit) for detail.
I can split to multiple PR if you want 😄

Hey @ohze, thanks for your pull-request! It looks great.
Do you mind sending it again to the most up-to-date git remote? (under RobotlegsJS organization) https://github.com/RobotlegsJS/RobotlegsJS-SignalCommandMap

This project was moved to RobotlegsJS Organisation.


Terraform overwriting "Share With" feature setting "read only" set in UI

Describe the bug
From my understanding at the moment there is no support in the terraform provider to use the "Share with" Feature on reositories.
When creating and assigning repositories to a project via Terraform, then share this repo with another project via the UI in Read Only mode, on the next terraform run, the Read Only mode gets overwritten and the repo is shared in write mode with the project
Requirements for and issue

[ ] A description of the bug
[ ] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
[ ] Your version of artifactory (you can curl it at $host/artifactory/api/system/version
[ ] Your version of terraform
[ ] Your version of terraform provider

Expected behavior
The Terraform provider should not touch the share with feature at all, as there is no setting for this feature availabe in the provider at the moment.
Additional context
For creating the repos we use the artifactory_repository resource in the artifactory provider.
For creating a project we use the artifactory_project resource in the project provider.
For assigning repos to projects we use the new project_repository resource in the project provider.
We use the SaaS Version.
Additionaly, do you have an ETA for terraform support for the "Share with" Feature? API Support seems to be available
https://jfrog.com/help/r/jfrog-rest-apis/share-repository-with-all-projects

@jan-huso Thank you for your report.
Was there any state drift when you run terraform plan after you share the repository in the UI?
I suspect this is a bug in the Projects feature. As you mentioned, the provider does not support the sharing of repository and it is not actively overwriting the sharing setting. (The API doesn't support it)
The sharing feature is currently scheduled to be added in Q3. I'm awaiting new API (get sharing status) to be implemented and released before I add support to the provider.

Hi @alexhung, thanks for the quick reply and the status on the feature!
I did some further testing:
There is no state drift when running tf plan and also there is no change to the read only attribute when running an apply. The attribute only gets modified, when there is a change on the repository and I run a tf apply.
I tested this with changing the description in the tf code. When applying the new description the read only attribute is unset on the affected repository.

I tested this with changing the description in the tf code. When applying the new description the read only attribute is unset on the affected repository.

@jan-huso I'm pretty certain this is a bug in the Artifactory repository API. Let me see if I can reproduce this and open a bug report internally.

@jan-huso This is confirmed as a bug and the fix is scheduled to be released in Artifactory 7.94.0

@jan-huso 7.94.1 was released to cloud version. If you're using that version or later on the cloud platform this issue should be fixed already. If you are using self-hosted, you will need to wait for the next self-hosted release.


Feat: Adjusting Login/Signup for making it compatible with Dark mode and making it responsive

Describe the feature
Currently, Login/Signup is not compatible with Dark mode and changes are to be made and we also have to make it responsive for smaller screens
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@mdazfar2 Please assign me this issue

@Asymtode712 Issue acknowledged! You are going to be assigned.


Fix Debugging for latest VSCode

When using this extension (or the original from which this was forked) current VSCode (not sure for how long) displayed errors instead of the variables:

While using breakpoints it also froze instead of executing.
Determined that it was inconsistencies with latest APIs for VSCode extensions doing debugging, the required objects were updated (it is more of a hack though - if you have a better idea on how to fix it, please help me out), bringing it back to working:

Hi,
That's right the debugging wasn't working, I didn't managed to find a solution but if your "hack" is working it's better than nothing.
I will see your modification this week and test the extension.
If everything is fine I will update the extension.
Thanks a lot !

Hi @kirillsemyonkin,
I have reviewed your changes and tested it. It works !
I updated the extension :)
Thanks a lot for your contribution !


Rendering artifacts with polygons

When I try to add polygon data that uses the WGS84 reference system, I am seeing some rendering artifacts if I don't use outlines. (I make the outlines opacity 0).
This problem shows up on Chrome, Firefox, and Edge.
Here is what the map looks like:

As you zoom in, some of them start to disappear:

If you zoom in enough, they will disappear.
For reference, I have tried mapping the same data using ArcGIS Javascript:

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce / Minimal example reproducing the issue
Steps to reproduce the behavior:
I have created some sample projects that pull from the same polygon data:
ArcGIS Javascript: https://jsfiddle.net/sdMarth/bu2przoh/1/
Leaflet: https://jsfiddle.net/sdMarth/tjm76ors/2/
Expected behavior

I expected the rendering to be more consistent with different zoom levels.
Current behavior

There are many rendering artifacts, but they go away if you zoom in close enough.
Environment

Leaflet version: 1.6.0
Browser (with version): Chrome Version 79.0.3945.79 (Official Build) (64-bit), Firefox 67.0.2 (64-bit), Microsoft Edge build 18362
OS/Platform (with version): tested on Windows 10, Fedora 31

Ah, the good ol' artefacts of antialias gamma.Not much can be done about it, though.
Ultimately this is caused by the way browsers render SVG graphics (via L.SVG) or <canvas> paths (via L.Canvas). I'm assuming that arcgisjs is using some form of WebGL renderer (which treats subpixel rendering/antialias and compositing in a whole different way). With multisampling subpixel rendering for the vector edges, there is no need for one-minus-destination-alpha per-pixel compositing, so the artefacts tend to go away. There were attempts at a Leaflet WebGL vector renderer, but those have been abandoned ever since.
A very hacky work-around is to disable antialiasing altogether on SVG with the shape-rendering CSS attribute, by doing something like this and then triggering a re-render by panning the map:
var renderer = L.svg();

var mymap = L.map('mapid', {
  crs: L.CRS.EPSG4326,
  renderer: renderer
}).setView([36.6777372, -121.6555013], 13);

setTimeout(function(){
	renderer._container.style.shapeRendering = 'crispEdges';
  console.log(renderer._container);
}, 500);

I'm afraid this is a limitation of how browsers do SVG and <canvas>, and since antialias behaviour can't be tweaked further, there is no way to fix it. (Short of putting hours of work back into a WebGL vector renderer for Leaflet).


Override UIKit dependency

Not sure when/how we'll update the dependencies in @rio-cloud/rio-session-expired but until then, this will help everybody who tries clone this and run npm install

Updated the "rio-session-expired-info" to fix uikit beta version dependency issue


deps: use h2 with race condition fix

Pulls in https://github.com/hyperium/h2/pull/772. We might want to wait
on this, not sure how fast it will go

xref with https://github.com/istio/ztunnel/issues/1000

In response to a cherrypick label: new pull request created: #1001


libapr-1.so.0：undefined reference to<EMAIL_ADDRESS>

Hello. I'm trying to put this into ROS as a node. But before I began to plot something, the Cmakelist and include of matplotlib.h itself already brought error.

if I comment the #include matplotlib.h, then the build error is:
Errors     << ros_multiplot:make /home/n_li/catkin_ws27/logs/ros_multiplot/build.make.006.log
//usr/lib/x86_64-linux-gnu/libapr-1.so.0：undefined reference to<EMAIL_ADDRESS>collect2: error: ld returned 1 exit status
make[2]: *** [/home/n_li/catkin_ws27/devel/.private/ros_multiplot/lib/ros_multiplot/ros_multiplot] Error 1
make[1]: *** [CMakeFiles/ros_multiplot.dir/all] Error 2
make: *** [all] Error 2
cd /home/n_li/catkin_ws27/build/ros_multiplot; catkin build --get-env ros_multiplot | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -

if I uncomment the #include matplotlib.h, there will be 4 multiple definition warnings.

what should I do, please?
btw: the build command I use is: catkin build ros_multiplot --pre-clean -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_CXX_COMPILER_ARG1=-std=c++11
and I'm using anaconda3, under python2.7 environment, ubuntu 16.04, ROS kinetic

It might be possible that this error has is related to a broken Python installation. If you are conda, try deactivating the conda or switch to a stable version of Python.


chore(ci): fix release pipeline

What this PR does / why we need it:

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?

Does this PR require documentation?

Merging without ci completing as this only affects release pipeline


Add support for shared config options

This merge adds the capability of sharing a config object across steps and tasks.  This allows:

shared steps like those for creating spherical meshes to have their own config options
multiple tasks to share the same config options

The capability has been made possible by:

storing a list of configs in each component
the modifications to MpasConfigParser in https://github.com/MPAS-Dev/MPAS-Tools/pull/527
modifying the PolarisConfigParser to include a filepath where it will be written and a list of symlinks that should be created
adding methods to Task and Step for setting a shared config, which perform error checks, determine the paths for symlinks and add the config to the component
extensive changes to the setup and run.serial modules to accommodate these other changes

The changes mean that it is now possible to add config files from the polaris package to the config object at initialization, rather than having to use the task's configure() method.  Since config objects shared across tasks should ideally not be updated in a given task's configure() method, a setup() method has been added to PolarisConfigParser that can be overridden to perform more complex configuration as needed.  So far, this capability is not being used.
Tasks have also been modified to make use of the functionality:

Baroclinic channel tasks at a given resolution now all share a baroclinic_channel.cfg file in the resolution directory
Shared icos and qu meshes now have their own config options in the shared step's directory
Cosine bell task (with and without viz) and steps other than the base mesh all share a single config file.  There are separate config files for the icos and qu versions of the tasks and steps.
Remaining ocean tasks have been simplified to remove configure() methods that are no longer needed.

This merge requires updating to mpas_tools v0.24.0 to bring in the updates to MpasConfigParser.

Checklist

[x] User's Guide has been updated
[x] Developer's Guide has been updated
[x] API documentation in the Developer's Guide (api.md) has any new or modified class, method and/or functions listed
[x] Documentation has been built locally and changes look as expected
[x] Testing comment in the PR documents testing used to verify the changes

Testing
I have successfully run all ocean tasks (except RPE at 1 and 4 km) on Chrysalis with Intel and OpenMPI.
I have verified that config files and symlinks appear in the expected locations, and that they retain the "raw" formatting that allows for extended interpolation upon reading them back in.

@cbegeman and @sbrus89, this is ready to review when you have time.  The review can be at whatever level you have time for.  The main thing I want to make sure of is that you are good with the changes I'm making at a conceptual level:

Does it make sense to you that each step for making a uniform spherical mesh (e.g. ocean/spherical/icos/base_mesh/60km) has its own config options, and that there are shared config options between all the tasks in ocean/planar/cosine_bell/10km and ocean/spherical/icos/cosine_bell?
Do the symlinks in each task and step to the relevant config file make it clear (for developers and users alike) what config file is being used?
Is the process for making a shared config and adding it to test cases and steps clear enough that you would be able to borrow from the examples (baroclinic channel and cosine bell) to make use of it?

As always, suggestions (from broad to nit-picky) are welcome.

I'm running into some issues when I try to change resolutions in the cosine bell tests.  Please hold off on reviewing this for now.

With a few more bug fixes, this now works even when I modify the resolutions for cosine bell in a user config file as part of setting up the test cases.

Okay, I finally got the new-new mpas_tools v0.25.0 working and this is ready for review.  @cbegeman and @sbrus89, please take a look when you can.  I'll continue to work on branches based off of this one in the meantime.

Great, thanks very much @cbegeman!  I appreciate you taking the time to review and test!

Since @sbrus89 is away at a workshop this week, I think it would be better to get this merged now with @cbegeman's review.  Other work is building on this so it is a little bit urgent.

Sorry I didn't get to this sooner @xylar and @cbegeman.


⚠ Bofrost.at has degraded performance

In c4a029d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2450 ms

Resolved: Bofrost.at performance has improved in 3e6d53c after 34 minutes.


BUG: Improve console report output

Format line length

Print report link at the end of the report

@ajax-shapka-o please check the latest version 2.2.0


chore(main): release 2.3.0

:robot: I have created a release beep boop
2.3.0 (2024-02-07)
Features

components: implement new assets (3f0810c)
documentBlock: add title (ac90e76)
generated: add generated schemas for new graphql and types (058af68)
graphql: update generated types (d341e1d)
loader: implement loader in loadMoreEvents (c22d653)

Bug Fixes

deps: update dependency @urql/exchange-graphcache to v6.4.1 (c33c57f)
homePage: event size (d1b43df)
loadMoreEvents: styling position of text (c8aa9d4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/crea-orkest/crea-public/releases/tag/v2.3.0 :sunflower:


[RSDK-2215] remove pre map representation grpc methods

Ticket

Bump RDK from v0.2.2->v0.2.31
Bump API from v0.1.89->v0.1.96
Remove Position, GetMap and GetInternalState slam interface methods.
Remove GetPosition GetPointCloudMap, GetMap and GetInternalState GRPC methods

1 & 2 are the consequence of running go get go.viam.com/rdk@HEAD so that slam.Service instances no longer need to have pre map representation methods defined.

Notes from Nick about the version changes:
This modular resource (viam-orb-slam3) depends on rdk for the slam service interface definition.
We needed to change the version of rdk it depends on since we're removing methods here that were previously required in the slam service interface.
rdk v0.2.31 depends on v0.1.96, so go get transitively updated the api one. (go get also updated a bunch of other transitive dependencies.)
go.mod imports all of rdk.


UNKNOWN_URL_SCHEME error on Android only?

react-native: 0.59.8
react-native-webview: 0.11.5

I have a very simple webview.
<WebView
  source={{ uri: authZeroUrl(authMode, nonce) }}
  originWhitelist={['*']}
  onNavigationStateChange={response => checkForToken(response)}
/>

But when a response comes back on Android I get the following error.
WebView error: , Object {
  "canGoBack": false,
  "canGoForward": false,
  "code": -10,
  "description": "net::ERR_UNKNOWN_URL_SCHEME",
  "loading": false,
  "target": 105,
  "title": "Sign In with Auth0",
  "url": "exp://tv-7as.awesomelabs.awesome-chat-app.exp.direct:80/redirect#access_token=RqaE{more stuff after this}

Because it works in iOS maybe it has something to do with the native side of the code?
I'm not exactly sure how to troubleshoot this issue. Any ideas would be super helpful.
Thanks!

react-native-webview: 0.11.5
This version does not even exists
regarding your issue, looks like you are trying to open an url starting with exp:// and android does not support this

@GollyJer How did you fix it ? I'm having the same issue trying to load a local html file using uri.

I'm getting the same issue with Medium urls. Looks like the url is being converted to an app link medium://p/.

Same issue for me, when the website I am viewing is trying to trigger another app.  It works perfectly fine on iOS (and with the old Expo webview).  Is there any solution yet?

Any updates on the issues ?

Same issue for me, when trying to trigger another app from Expo webview on android. Is there any solution yet?

Hi i am using intent://app....... url which is showing above error
using SDK 30 in Android in react native
any help?

Hello! I have this problem when trying to open a link from firebase dynamic links on iOS
someone solve it?

Anyone found a solution for this error? having the same here. looks like they closed the issue without a solution

Anyone found a solution for this error? having the same here. looks like they closed the issue without a solution

For me, the problem was fixed after I added an SSL certificate to the app.


[BUG] Scripts should not allow running with sudo

Running with sudo can break permissions causing problems down the road.

Fixed in next release.


Card cleanup

Refactoring the views

I got nothing major on this, will merge after minor changes, then ill make a new PR or two from my branch


Frezon Canister Tweaks

About the PR

Fixes #14420. Also gives the canisters a half decent sprite.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Potato1234_x

tweak: Changed the sprite of frezon canisters.
fix: Fixed frezon canisters spawning with N2O in them.

much nicer sprite

The shade of blue on the sprite is much nicer, but I did like the yellow on the old canister. It's very in-your-face and paints frezon as a kind of "quirky" gas, which fits well considering its strange properties.

The shade of blue on the sprite is much nicer, but I did like the yellow on the old canister.
Believe me i tried to make it look good, the two colors just look really bad together

The shade of blue on the sprite is much nicer, but I did like the yellow on the old canister.

Believe me i tried to make it look good, the two colors just look really bad together


[ILLA APP] Joker: Jokes generator

📝 Description
Add a brief description.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

This is a separated PR for My ILLA APP which has been merged but I haven't got the ILLA App holopin badges..
Old PR reference: https://github.com/illacloud/illa-builder/pull/3213


CI: Publish workflow: Require non-empty changelog, add flags, and announce on Slack

It doesn't make sense to make a release without any changes worth mentioning. We should therefore require that the extracted change isn't empty and have the workflow verify this.
In the (unforseen) case that the message in the annotated tag is in fact sufficient, we might add a boolean input flag to either allow the changelog to be empty or not attempt to extract it at all. Either way, the "Changelog" section of the release notes should be included only if it's followed by any entries.
We might also want to add flags for skipping other actions like publishing to npm or GitHub. But more likely we should split the workflow such that the current one only publishes to GitHub. Publishing to npm will happen in a separate workflow which is triggered automatically by a publish to GitHub. This allows the possibility of manual GitHub releases to automatically sync to the npm registry.
It would also be neat if a message announcing the release was automatically posted to the appropriate Slack channel.
This task is a followup to https://github.com/Concordium/concordium-dapp-libraries/pull/39.

We decided not to do this, since this has never been an issue and we plan to move away extracting the changelog


No way to retrieve a line of the validation exception

Hopefully I'm missing something. But I can't seem to find a way to know on what line of XML input an error occured. It would be very useful in my usecase.

The ElementTree library doesn't record XML source line on trees, to do this you need a different parser that tracks lines.
Alternatively to retrieve error source line you can already pass an lxml's tree to the decoder. The tree's elements of this library have an attribute that refers to XML source line:
>>> import lxml.etree as etree
>>> elem = etree.XML("<A>\n<B1/>\n<B2/>\n</A>")
>>> elem.sourceline
1
>>> elem[0].sourceline
2
>>> elem[1].sourceline
3

So passing an lxml tree to the decoder you can already retrieve the line information from error.elem attribute.
I could enhance the error message at error class level in case if the target element has a sourceline attribute.
Using a different parser for XML may be evaluated at user level, particularly because the library now uses the defusedxml library for protecting from XML attacks.

You mean like:
xml_schema = XMLSchema(settings.SCHEMA_PATH, validation='lax')
e = etree.XML(request.body)
errors = list(xml_schema.iter_errors(data=e))

Or am I missing something because it results in:
AttributeError: 'cython_function_or_method' object has no attribute 'replace'

Since on some stage comment factory is being passed as a qname.

A new version is available so you might see the instance line on the displayed validation error message.
Could you please provide a more detailed error message about this AttributeError that is generated when you use lxml without removing comments?
I wish to make lxml's trees usable also when comments are enabled so this could help to fix this bug with instances created with lxml.
Thanks

Here's the traceback:
Traceback (most recent call last):
  File "[project_root]/venv/lib/python3.6/site-packages/sanic/app.py", line 471, in handle_request
    response = await response
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/coroutines.py", line 110, in __next__
    return self.gen.send(None)
  File "[project_root]/application/complex/handlers.py", line 84, in post
    errors = list(self.xml_schema_new.iter_errors(data=e))
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/xsdbase.py", line 490, in iter_errors
    for chunk in self.iter_decode(data, path, use_defaults=use_defaults):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/schema.py", line 662, in iter_decode
    **kwargs):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/elements.py", line 355, in iter_decode
    for result in type_.iter_decode(elem, validation, **kwargs):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/complex_types.py", line 461, in iter_decode
    for result in self.content_type.iter_decode(elem, validation, **kwargs):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/groups.py", line 380, in iter_decode
    for result in xsd_element.iter_decode(child, validation, **kwargs):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/elements.py", line 355, in iter_decode
    for result in type_.iter_decode(elem, validation, **kwargs):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/complex_types.py", line 461, in iter_decode
    for result in self.content_type.iter_decode(elem, validation, **kwargs):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/groups.py", line 370, in iter_decode
    for obj in self.iter_decode_children(elem, index, validation):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/groups.py", line 524, in iter_decode_children
    for obj in item.iter_decode_children(elem, child_index, validation='lax'):
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/elements.py", line 488, in iter_decode_children
    error = XMLSchemaChildrenValidationError(self, elem, index, self.prefixed_name)
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/validators/exceptions.py", line 114, in __init__
    child_ref = qname_to_prefixed(elem[index].tag, validator.namespaces)
  File "[project_root]/venv/lib/python3.6/site-packages/xmlschema/qnames.py", line 116, in qname_to_prefixed
    return qname.replace(u'{%s}' % uri, '')
AttributeError: 'cython_function_or_method' object has no attribute 'replace'

Maybe resolved also with lxml data containing comments. Patch available with release 0.9.29.
Bye


Support parallel build steps in pipeline

We would like to build multiple services through docker-compose across machines to parallelize build time.
Given a pipeline like the following we would expect service 1 and service 2 to be built in parallel. I believe today we can build them, but for some reason further steps will be unable to download the first service and they will be built locally.
- name: "SERVICE 1"
  plugins:
    docker-compose:
      build: service1
      image-repository: <repo>
      config: service1/docker-compose.yml
- name: "SERVICE 2"
  plugins:
    docker-compose:
      build: service2
      image-repository: <repo>
      config: service2/docker-compose.yml
- wait
- name: "1st service script"
  command: "ci/script"
  plugins:
    docker-compose:
      run: service1
      config: webapp/docker-compose.yml
- name: "2nd service script"
  command: "ci/script"
  plugins:
    docker-compose:
      run: service2
      config: service2/docker-compose.yml

I've just looked into this, and it seems ever since we switched to using a 'count' meta-data key you can't do these things in parallel.
This is definitely a bug we should fix, and I think we can do without the count fairly easily. I'll keep you posted with a fix.

Had a go at this, unwound a lot of complexity in #62

This is all fixed in v1.4.0. Give it a shot @KevinGrandon!

This is working great now, thanks for the quick turnaround!


Replace CertificateRequest extensions with new extensions module

Please note that while we are transitioning from travis-ci to AWS CodeBuild, some tests are run on each platform. Non-AWS contributors will temporarily be unable to see CodeBuild results. We apologize for the inconvenience.
Resolved issues:
https://github.com/awslabs/s2n/issues/1751
Description of changes:
Swap out the old CertRequest send/parse/recv logic for the new s2n_extension_list module. It was actually a very minimal change!
Call-outs:
This PR is draft because it depends on https://github.com/awslabs/s2n/pull/1937 and https://github.com/awslabs/s2n/pull/1938. Once they are merged, I will rebase. In the meantime, I'd appreciate early comments on the individual new commits!
Testing:
The existing testing was pretty good at covering failure cases, but was missing a happy case. I added one and updated some expected errors.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1945 into master will increase coverage by 0.04%.
The diff coverage is 67.04%.

@@            Coverage Diff             @@
##           master    #1945      +/-   ##
==========================================
+ Coverage   81.15%   81.19%   +0.04%
==========================================
  Files         232      231       -1
  Lines       17401    17424      +23
==========================================
+ Hits        14121    14148      +27
+ Misses       3280     3276       -4


arch/riscv: Add cpuid mapping (hartid<->cpuid)

Summary
Implement hartid<->cpuid mapping for RISC-V. This is necessary for some
platforms which cannot use 1:1 mapping between logical and physical CPU /
core IDs. One example is MPFS where hart0 cannot be used for NuttX SMP as
it is a less capable "monitor" core (E51) compared to the application
cores hart1...3 (E54).
Why not just use a generic offset then? We also need the physical hart ID
for many things:

Communication between harts (IPI)
External interrupt acknowledgment (interrupt claim for specific CPU)
Communication to SBI

Thus, create procedures that can do this translation:

The default mapping is still logical=physical.
Another flavor is to use the existing CONFIG_ARCH_RV_HARTID_BASE config
variable, which is just a simple offset
The final flavor is to overload hartid<->cpuid on a per chip basis (no
example for this is provided yet)

To achieve this, a generic "up_this_cpu()" macro is introduced to the common architecture layer. This macro
is activated by setting ARCH_HAVE_CPUID_MAPPING=y after which the arch/chip must implement the CPUID mapping
function.
By default, the CPUID mapping is still logical=physical.
Impact
Decouples physical and logical CPU ids from each other. Only the RISC-V platform is affected.
Testing

rv-virt:knsh64
rv-virt:ksmp64
rv-virt:nsh64
rv-virt:smp64

ostest pass

What was discussed here https://github.com/apache/nuttx/pull/12881 and here https://github.com/apache/nuttx/pull/13886


Unit of eo:center_wavelength and eo:full_width_half_max?

The specification text nor the JSON schema are explicit on what the unit for 2 fields should be. Given all the examples, it seems that it must be micrometers, but it would be good to explicitly state it.

Sorry for the noise. Just found it at the top of the doc (https://github.com/stac-extensions/eo?tab=readme-ov-file#fields), whereas I was just looking initially at https://github.com/stac-extensions/eo?tab=readme-ov-file#eocenter_wavelength-and-eofull_width_half_max


Full reload of current page because of HMR during navigation to another one

Bug report
Describe the bug
Navigation to another page that not yet built the full page reload invoked because of HMR with messages like:
[HMR] The following modules couldn't be hot updated: (Full reload needed)
This is usually because the modules which have changed (and their parents) do not know how to hot reload themselves. See https://webpack.js.org/concepts/hot-module-replacement/ for more details.
[HMR]  - ./packages/openland-api/MyOrganizationsQuery.ts
[HMR]  - ./packages/openland-x-graphql/graphqlCompose.tsx
[HMR]  - ./packages/openland-x-graphql/typed.ts
[HMR]  - ./packages/openland-web/api/withOrganization.ts
VM6892 main.js:35768 [HMR] Reloading page

This messages are about dependencies of current page, not the one i tried to navigate. For sure this files wasn't changed.
My setup is a little bit unusual:

I am using typescript (with official plugin)
I am using custom page extension: page.ts|tsx
It is multi-package project. App is in /packages/openland-web/ folder (with next.config.js in it) and a lot of modules are in other directories like /packages/openland-api/.
To make it work i have two hacks for webpack:

Parsing paths from tsconfig.json and updating webpack config with correct aliases
Adding rule for default babel loader to handle /packages/*.ts|tsx files.

Expected behavior
It should not refresh current page since nothing was changed.
System information

Version of Next.js: next:6.0.4-canary.8

Please provide a full reproduction, preferably a minimal app in a GitHub repository. It's impossible to debug this.

I'm seeing this as well and it's even more frustrating as it doesn't actually list any modules, just says "undefined" like so:
[HMR] The following modules couldn't be hot updated: (Full reload needed)
This is usually because the modules which have changed (and their parents) do not know how to hot reload themselves. See https://webpack.js.org/concepts/hot-module-replacement/ for more details.
[HMR]  - undefined
[HMR] Reloading page

Trying to build up a standalone repro case to narrow it down, but haven't been able to so far. Working on it.

I was able to reproduce my case above once I added the with-polyfills example code.
After removing everything else from my code, the method recommended in the with-polyfills example alone was enough to trigger the message and reload behavior for me.

@timneutkens there is small issue that seems related:
A webpackHotUpdate is not defined error is thrown (reproducible with the with-polyfills example using Next.js canary)

During development this doesn't seem to be an issue, but if i want to run my tests in Cypress it becomes a problem.


fix for KB data sync issue

fix for KB data sync issue due to KB being in CREATING status

Fixed some bugs with sample KB. In the future, please first pull from main branch, update your branch  & then start developing.


Add more stateful global functions

Hi, @nathanielc I like Kapacitor, I want Kapacitor alert out when it meets the below two conditions:

The spread of CPU usage within window is larger than n1;
And the sigma of CPU usage with the same window is larger than n2;

If I want to imple that, seems i have an eval node like below:
 |eval(lambda: sigma("used"), spread("used"))
        .as('sigma', 'spread')
        .keep('sigma', 'spread')

But by now, seems Kapacitor only support sigma, count lambda expressions, so I want to add more global functions in eval.go if that is accpeted. After I add some implemants like sigma in tick/functions.go, It builds out, but can't run, as error occured below:
invalid TICKscript: line 16 char40: no global function "spread" defined

What I'm missing?

Have a look at the NewFunctions method in tick/functions.go
On Mon, May 30, 2016, 6:30 AM Delweng Zheng<EMAIL_ADDRESS>wrote:

Hi, @nathanielc https://github.com/nathanielc I like Kapacitor, I want
Kapacitor alert out when it meets the below two conditions:

The spread of CPU usage within window is larger than n1;
And the sigma of CPU usage with the same window is larger than n2;

If I want to imple that, seems i have an eval node like below:
|eval(lambda: sigma("used"), spread("used"))
.as('sigma', 'spread')
.keep('sigma', 'spread')
But by now, seems Kapacitor only support sigma, count lambda expressions,
so I want to add more global functions in eval.go if that is accpeted.
After I add some implemants like sigma in tick/functions.go, It builds
out, but can't run, as error occured below:
invalid TICKscript: line 16 char40: no global function "spread" defined
What I'm missing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/kapacitor/issues/585, or mute the thread
https://github.com/notifications/unsubscribe/ADmOAmdSlZ-9tLGU8oGtnkpJxy_J0_PSks5qGthfgaJpZM4Ipwfq
.

--
Nathaniel Cook
Kapacitor Lead
https://influxdata.com

@nathanielc Thanks for your advise, I just send a Pull Request #586, could you please send me any feedback


Autoassigning Algorithm

Current dependencies on/for this PR:

#26
#25  👈
main

This stack of pull requests is managed by Graphite.

i feel like the longer that this PR is open, the higher chance that it will have merge conflicts


Match Stats

Hello,
Just wanted to start off by saying awesome work here. Is anyone aware of a match stats endpoint? Something that provides maybe damage done, damage taken, etc..

Thank You

There is no public api for this as far as we know. You will have more luck looking into game replay parsers to get that type of information.


Use UpperCamelCase field names

This is now done in a6c93c1, see https://ices-tools-dev.github.io/esas/tables/


AVRO-3404: idl syntax for avsc equivalent

Make sure you have checked all steps below.
Jira

[X] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-3404
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[X] My PR extends the IdlReader ~adds the following~ unit tests ~OR does not need testing for this extremely good reason~:

Commits

[X] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[X] In case of new functionality, my PR adds documentation that describes how to use it.

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

This PR requires #1588 to be merged first.

Thanks for the rebase!  Finally we're done 1.11.1, let's get this in for 1.12 !


graphQL: test the dates in the queries

currently no tests to see if the dates are being returned correctly.
Ex: January 1st, February 29th

also test getFactsText and getTypeFacts functions

I think we can close this.
PR merge: https://github.com/rithmschool/numbers_api/pull/81


Allow creating project-level scratch orgs.

Cute animal pic
Because everyone likes pictures of animals.

Link to Trello card (if applicable)
If this PR relates to a Trello card, don't forget to reference this PR on the card as well.
https://trello.com/c/a7LEc8Pk/215-as-a-user-i-want-to-spin-up-a-scratch-org-for-a-project-without-creating-a-new-epic-or-task
Description
The commit messages say what you did; this should explain why and/or how.

[x] Description is in Trello card

Steps to test/reproduce
Please explain how to best reproduce the issue and/or test the changes locally (including the pages/URLs/views/states to review).

Project Detail sidebar

Show me
Provide screenshots/animated gifs/videos if necessary.

 As a User, I want to spin up a scratch org for a project without creating a new epic or task.

@stacyk There isn't style cleanup needed here as far as I can tell, but please review and confirm 👍


Hyperlinks?

Do you know of a way to put in a built spreadsheet? That would be so awesome if there's a way to do it. I've tried =HYPERLINK("google.com", "Search") and the same thing without '=' and both didn't seem to work.
Thanks!

Bump


Fix mutating array during iteration crash

@paulb777 @morganchen12 @karenyz Please take a look! This PR is a follow-up to https://github.com/firebase/firebase-ios-sdk/pull/11379
The above linked PR fixes iterating over an array that can be mutated simultaneously elsewhere, but it only fixes it for the experiments array. I have been seeing crashes in my app using FirebaseABTesting on 10.12.0, but for the payloads array.
This file has three locations that iterate over payloads, and the two other locations do [payloads copy] to avoid this problem, and this is the last callsite of payloads in this file without a matching copy to avoid this crash.
Fixes:

Text:
Fatal Exception: NSGenericException
0  CoreFoundation                 0x9cb4 __exceptionPreprocess
1  libobjc.A.dylib                0x183d0 objc_exception_throw
2  CoreFoundation                 0x176920 -[__NSSingleObjectEnumerator init]
3  <redacted>                     0x436a0 ABTExperimentsToClearFromPayloads + 95 (FIRExperimentController.m:95)
4  <redacted>                     0x43db8 -[FIRExperimentController updateExperimentConditionalUserPropertiesWithServiceOrigin:events:policy:lastStartTime:payloads:completionHandler:] + 216 (FIRExperimentController.m:216)
5  <redacted>                     0x43c30 __117-[FIRExperimentController updateExperimentsWithServiceOrigin:events:policy:lastStartTime:payloads:completionHandler:]_block_invoke + 180 (FIRExperimentController.m:180)
6  libdispatch.dylib              0x2320 _dispatch_call_block_and_release
7  libdispatch.dylib              0x3eac _dispatch_client_callout
8  libdispatch.dylib              0x15a64 _dispatch_root_queue_drain
9  libdispatch.dylib              0x16158 _dispatch_worker_thread2
10 libsystem_pthread.dylib        0xda0 _pthread_wqthread
11 libsystem_pthread.dylib        0xb7c start_wqthread

Thanks @danielamitay 💯


Use dot notation instead array of paths.

Hi @eloyucu :), this approach obviously better and maybe extended more later. Here is my initial minor comments,

getIndex better again with receiver and maybe name pathIndex?
For readme better to keep simple based on existing book example. Maybe just few lines of use cases with book attribute and childs? no need explanation there :)  We can move your existing doc to the func doc?

Done ;)
PS: I am not sure about if you will like the Readme, check it and notice me if you see something you don´t like.

Cool. Let me do the README part if you revert or use the book attributes because tag1.tag12@att0 is only for test cases. In few days i will tag this as a new version.

ahhh!! I didn´t understand the "existing book exampe". Ok!!! One second... I am doing the GetNode and GetNodes functions.

no worries yeah in readme there is separate book example.
Actually yes i was also thinking somehow getting also childs in a efficient way with your path approach.

I think now it is done!! :)
Note: I didn´t do explicit testing for the new functions GetNode and GetNodes because they are implicit tested in GetValue, I change the body of this function to use GetNode, which uses GetNodes.

ummmm Should be better hide the Childs, InnerText and Attrs fields to the outside of the XMLElement??  I mean, make them private and access to them only through the GetNodes, GetNode and GetValue functions.
Makes it sense??

GetNode and GetNodes looks very cool...but with these childs still needed because
xml.GetNodes("tag1.tag11")
this assume always the first tag1 right? Need to leave now i will think about.

Hi again @eloyucu :)
I thought again this and i think it is better either give full xpath support or just keep library
as it is for now and leave users to write these functions based on their needs. For xpath there are existing implementations in go or python one can be taken example and integrated to this parser.
But in a way to separate the xpath part and existing functionality part if this affecting the performance. Xpath can be activated by user, parser can work according to this if needed. Reason is, I think xpath is more suitable for usecase like querying the parsed element or more clean way to access parsed elements childs for small or medium files. But as my usecase i am only interested to parse large files as fast and efficient as possible. I have some files with size more than 600GB. For example i am accessing the element like the example in the previous comment which require multi level childs. Probably implementing it with xpath will require merging slices and will bring overhead in theory. That's why If this is the case i would prefer the separate xpath and existing functionality.
Full xpath support takes time, I would work on implementation but at the moment i am busy with another project. But feel free to implement if you are interested either here in separate branch or go with the fork.

Ummm I am not sure what you mean when you talk about the issues of the multi level childs... with this new approach you can access to different levels of the childrens using the "brackets notation": father[2].son.grandson[6] if the index is missing the code will return position [0]. This functionality allowes to do things like:
for i, _ := range whateverSlice {
    n := xml.GetNode(fmt.Sprintf("father[2].son.grandson[%d]", i))
}

But... anyway, I am 100% agree with you when you say that people is using this library accessing through Childs, InnerText, and Attrs... so it is better to keep this functionality.

Ok say, i want all the grandsons for all fathers this needs another for loop right?

Yes, you are right... you´d need to loop doing something like:
for _, f := xml.GetNodes("father"){
    for _, s := f.GetNodes("son"){
          for _, gs := s.GetNodes("grandsons"){

in case that fathers have more than one son, if there is only one son per father:
for _, f := xml.GetNodes("father"){
          for _, gs := s.GetNodes("son.grandsons"){

yes this is my point, extra loops would be another variation of Childs which could be confusing.
But with xpath support, this query is doable and user can choose either direct access with existing functions or use xpath query depends on usecase.

ok!! But... as it is... you like, isn´t?? I mean, if you like it and you could accept the PR would be great, because in this way I don´t need to change this dependecy to my fork... only update the references :)
Thanks.

Sure i like! this PR show your xpath way usage would be very useful. After thinking I just want to add full xpath support otherwise could be confusing for me and people also could ask why this work and not this.
So for now lets not add this and keep your fork and i don't think main parser will change and require you a extra work. When xpath implemented you could just switch to this one again.

Hi, I added the function GetAllNodes which allows to get all nodes from a xpath, passing through all the branches of the xml structure and getting all the leafs. So now we won´t need to do this: https://github.com/tamerh/xml-stream-parser/pull/7#issuecomment-517189339
Is there any other function you think could be great to add??

Hi again @eloyucu  thanks for looking this again. Trust me i will review this again with also the xpath implemented libraries when i have some time.
I made commit for an new issue #8 and made commit in master and reverted your previous PR since a variation of this PR will be merged. So merge with your fork it shouldn't give a conflict since it is not related the area you have changed.

Hi... I added new functions like GetValueDeep, maybe you can take a look.
Thanks ;)

Hi :)...ok thanks..soon i will start working on xpath implementation(probably integrating one of existing implementations) with reviewing again this PR commits. I will let you know.

Hi @eloyucu, I have committed first xpath implementation to master. I tried to separate from existing logic and used a external library which allow rich set of query functionalities hopefully also address your cases. Please give it a try.
Tamer


prepare NTU RGB+D dataset

Hi~
This is a great job. I used the nturgbd dataset for the first time. I downloaded the dataset according to your instructions, but I stuck in "change all video clips resolution to 256x256 30fps and copy them to root / NTU / ntrgbd"_ rgb/avi_ 256x256_ 30/ directory.”How can I change all video clips resolution to 256x256 30fps?
Thank you in advance for your answer.

Hi,
I would suggest using ffmpeg for this purpose. You can scale and change the frame rate in a single command. Also, you might use a script like this to convert all the videos.

thanks a lot.

Hello @haamoon , for the resizing part, I am wondering if the video is scaled to a 256x256 with the actual video content resized to 1x1, or still stays 16:9?
So far, I find that neither gives me the accuracy reported in the paper (inflated resnet gives 79% in my run).
Below is my video format. Is there anything that looks odd to you?
Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 256x256 [SAR 1:1 DAR 1:1], 256 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Thanks in advance!

Sorry, since this issue was closed I did not receive any notification for your comment.
The accuracy seems too low even for a single modality. I change the aspect ratio to 1:1 when resizing the video. I use a python function like this:
def resize_vid(fn_in, fn_out):
    cap = cv2.VideoCapture(fn_in)
    num_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
    width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
    heigth = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
    width = 256
    height = 256
    video = []
    for fr_idx in range(num_frames):
        ret, frame = cap.read()
        if cap.isOpened():
            frame = cv2.resize(frame, (width,height))
            video.append(frame)
    cap.release()
    video = np.array(video)
    save_video(video, fn_out, fps = 30)

Perhaps check whether using this function makes any difference.

Sorry, since this issue was closed I did not receive any notification for your comment.
The accuracy seems too low even for a single modality. I change the aspect ratio to 1:1 when resizing the video. I use a python function like this:
def resize_vid(fn_in, fn_out):
    cap = cv2.VideoCapture(fn_in)
    num_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
    width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
    heigth = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
    width = 256
    height = 256
    video = []
    for fr_idx in range(num_frames):
        ret, frame = cap.read()
        if cap.isOpened():
            frame = cv2.resize(frame, (width,height))
            video.append(frame)
    cap.release()
    video = np.array(video)
    save_video(video, fn_out, fps = 30)

Perhaps give this function a try first.

Thanks for answering the question. Could you elaborate on where the save_video function comes from?
It seems like most people use a cv2 VideoWritter and write the frame one by one

Yes, you're right:
def save_video(vid, name, fps = 24):
    fourcc = cv2.VideoWriter_fourcc(*'MPEG')
    out = cv2.VideoWriter(name,fourcc, fps, (vid.shape[2], vid.shape[1]))

    for i in range(len(vid)):
          out.write(vid[i])
    out.release()


Update Interactive states

Description
(Possibly in partnership with Form field L1)
Consider a mixin or similar approach to implement new focus styles consistently. Investigate how current focus is set up and build a new approach in a non-destructive/backwards-compliant way that can be implemented as each component is updated in follow-up tickets.
Also consider whether other common interactivity such as :hover and "active" (selected state, not :active).

Per conversation with design, we'll need to remove the box-shadow from the <button>s default state. It will also required the raised attribute to be removed. May handle that portion in a followup PR to reduce the effect of the breaking change.

This issue stems from the fact that the focus ring and box-shadow will exist in the interactive element, not a wrapper or container. We have two options to handle currently:

add an inner <span> or <div> for the sole purpose of one of the box-shadow
remove the box-shadow from interactive elements that have a raised state
We're choosing option 2 for now

Closing this, as the Button updates branch has been merged.


values.SecretValue returning a SecretValue object

I have a Django 2.2 project that's using Django-configurations 2.1 and the Froala WYSIWYG editor with the django-froala-editor package (2.9.5). The django-froala-editor package expects a dictionary in settings called FROALA_EDITOR_OPTIONS that includes a key (named 'key') with your license activation key. Because this setting is only necessary in production, while the rest of the dictionary needs to be defined in development as well, I'm setting FROALA_EDITOR_OPTIONS in a BaseConfiguration which is inherited by my production configuration, which then includes the following.
    # Froala Settings
    FROALA_ACTIVATION_KEY = values.SecretValue(environ_prefix="")
    FROALA_EDITOR_OPTIONS = {
        **BaseConfiguration.FROALA_EDITOR_OPTIONS,
        "key": FROALA_ACTIVATION_KEY,
    }

I've used this pattern successfully in the past (and in this project, in other places, for that matter), but now when I load a page that contains the Froala editor I get an error, because it's attempting to JSON serialize the options dictionary, and Object of type SecretValue is not JSON serializable. It looks like settings.FROALA_ACTIVATION_KEY resolves to a string, as you'd expect, but settings.FROALA_EDITOR_SETTINGS['key'] is a SecretValue.
>>> type(settings.FROALA_ACTIVATION_KEY)
<class 'str'>
>>> type(settings.FROALA_EDITOR_OPTIONS['key'])
<class 'configurations.values.SecretValue'>

Is there a better pattern for doing this?

I was able to get it working by switching FROALA_EDITOR_OPTIONS in my production Configuration to a property, which makes sense when I think about it, but still not sure it's the best way to do it.
    # Froala Settings
    FROALA_ACTIVATION_KEY = values.SecretValue(environ_prefix="")

    @property
    def FROALA_EDITOR_OPTIONS(self):
        return {
            **BaseConfiguration.FROALA_EDITOR_OPTIONS,
            "key": self.FROALA_ACTIVATION_KEY,
        }


Improve Concept

Please read an early draft of a concept in https://cksystemsgroup.github.io/monster and find something you can fix / describe in a better way. Changes should then be discussed in a Pull Request.

@ChristianMoesl Looks good! Terminology: we constrain something with a constraint (note the t at the end). Plural is constraints, not constrains. The latter is the verb: she constrains something.

was automatically closed (linked PR)


Address @skip_if_external_scheduler TODOs in test_model

Several of our pytests in tests/integration/test_model.py have this note:
# TODO - many ML tests fail on clusters without sklearn - can we avoid this?
@skip_if_external_scheduler

We should look into removing @skip_if_external_scheduler from these pytests.

See also in tests/unit/test_ml_wrappers.py

Now @xfail_if_external_scheduler


SIGSEGV in ssl_write_real

Fixed SIGSEGV problem when writing with ssl_write_real a buffer that is over MBEDTLS_SSL_MAX_CONTENT_LEN bytes
Signed-off-by: Florin<EMAIL_ADDRESS>

Hi @FlorinPetriuc
Thnk you for your contribution!
Unfortunately our policy is to not accept contributions, without a Contributor’s Licence Agreement (CLA) signed or authorised by yourself or your employer.
If this is a personal contribution, the easiest way to do this is if you create an mbed account and accept this click through agreement. Alternatively, you can find a slightly different agreement to sign here, which can be signed and returned to us, and is applicable if you don't want to create an mbed account or alternatively if this is a corporate contribution.
Thanks for your understanding and again, thanks for the contribution!
I apologize if you already signed the CLA, and it slipped under my radar

I have created an account and accepted the agreement just now.

Hi @FlorinPetriuc
Thank you for your cooperation!
As you can see, one of the CI's has failed
The test that has failed was(24 tests in this command):
tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'

Please investigate, as it seems related

Fixed.

Hi @FlorinPetriuc thanks again for your contribution!
I am trying to understand why the lines before didn't fix this issue:
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
    size_t max_len = mbedtls_ssl_get_max_frag_len( ssl );

    if( len > max_len )
    {
#if defined(MBEDTLS_SSL_PROTO_DTLS)
        if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM )
        {
            MBEDTLS_SSL_DEBUG_MSG( 1, ( "fragment larger than the (negotiated) "
                                "maximum fragment length: %d > %d",
                                len, max_len ) );
            return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );
        }
        else
#endif
            len = max_len;
    }
#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */

Do you have MBEDTLS_SSL_MAX_FRAGMENT_LENGTH  configured?

Hm.. You are right. It seems that the config I was using did not have MBEDTLS_SSL_MAX_FRAGMENT_LENGTH defined. I think that when I made my config file I took config-mini-tls1_1.h as inspiration which does not have a MBEDTLS_SSL_MAX_FRAGMENT_LENGTH defined.

Thanks for clarification, so for tracking this issue, the segmentation happens only when MBEDTLS_SSL_MAX_FRAGMENT_LENGTH is not defined.
I think it would be simpler to do the following change:
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
    size_t max_len = mbedtls_ssl_get_max_frag_len( ssl );
#else
    size_t max_len = MBEDTLS_SSL_MAX_CONTENT_LEN;
#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */

and then use the existing checks regardless whether MBEDTLS_SSL_MAX_CONTENT_LEN is defined. Of course, this requires thorough checks and tests, with and without this configuration, and on both TLS and DTLS

Yes.. that sounds about right. I made the fix as you requested. For my project I am using 2K per buffer during handshake and after that I am decreasing the buffers to 256b per buffer. This decrease feature I plan to push upstream in the near future. But for now, I was getting hardware faults when I was writing more than 256b.

One correction to my comment, for logging, I meant regardless of whether MBEDTLS_SSL_MAX_FRAGMENT_LENGTH is defined (copy\paste error)

Hello,
Do you require anything else from my side to merge this patch?

Hi @FlorinPetriuc Thank you for your patience.
As you can see there are numerous Pull Requests in the backlog, and we are carefully selecting these for merging.
There is still a process of reviewing this PR, in addition to my initial review, before we decide to merge this.

Should fix https://github.com/ARMmbed/mbedtls/issues/707

Hi @FlorinPetriuc, thanks for your contribution! :+1:
I'm happy with the fix and cherry-picked and extended it by tests and a ChangeLog entry in #1094.
Thanks again for your help!
Regards,
Hanno

Superseded by #1107 which is now merged to development.


How can I determine the Grasping quality?

Can you share the implementations of the following equation.

Dear @LemonQC,
Thank you for your interest in our research. Regarding your query about equation (1) in our paper, its implementation is complex due to the indeterminate physical properties of the objects, as mentioned in our paper:
"Due to the impracticality of explicitly determining the physical terms for each object [56], the computation of T becomes infeasible without knowing the physical parameters M, K, μs. We employ the following concept to address the challenges posed by physical constraints ..."
We utilize equation (2) as a substitute for this grasp evaluation.
Please note, the repository does not include code for creating the Grasp-Anything dataset, and the grasp evaluation method's implementation is part of this code. Hence, this repository won't directly address your question.
We are considering releasing the code for the Grasp-Anything dataset in the future, which will include the grasp quality evaluation implementation. Stay updated for further developments.
Best regards.

Closed due to inactivity.

Closed due to inactivity.


Browser hangs on loading screen

It was fine in summer but recently I updated Vivaldi and this repo now causes the browser to hang on the loading screen. I reinstalled all from scratch but here were are:
[89777:89777:1002/125701.769709:ERROR:CONSOLE(378)] "TypeError: Object(...) is not a function", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js (378) [89777:89777:1002/125701.786616:ERROR:CONSOLE(0)] "Error handling response: TypeError: Object(...) is not a function     at chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js:1:917177     at _e.getInputFieldValue (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js:1:917272)     at _e.render (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js:1:927042)     at Ai (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:378:62954)     at Oi (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:378:62749)     at xi (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:378:66587)     at Bo (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:378:90412)     at Wo (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:378:90796)     at ws (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:378:97824)     at Os (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:378:97204)", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/browser.html (0) [89777:89777:1002/125701.806073:ERROR:CONSOLE(1)] "Uncaught (in promise) TypeError: Object(...) is not a function", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1) [89777:89777:1002/125701.820905:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/browser.html (0)
Unrelated, but not worth creating another issue. It is required to cd to the proper dir in the script :
installhooks.sh
`#!/bin/sh
cp vivaldi/jdhooks.js /opt/vivaldi/resources/vivaldi/jdhooks.js
cp -r vivaldi/hooks /opt/vivaldi/resources/vivaldi/hooks

cd /opt/vivaldi/resources/vivaldi <<<<<<<<<<<<<<<

if ! grep -q "jdhooks.js" browser.html; then
sed -i '/src="bundle.js"/i \ \ \ \ ' browser.html
fi`

Have you updated VivaldiHooks too?

That is correct. I have recloned the repo to double-check:
Vivaldi 3.4.2066.76 (Stable channel) (64-bit)
Manjaro 20.1.1

And are you sure you've replaced all the files in the /opt/vivaldi/ folder? It's better to sudo rm -rf /opt/vivaldi/resources/vivaldi/jdhooks.js /opt/vivaldi/resources/vivaldi/hooks/, then re-copy all the files.

Thanks a lot, I have missed the fact of how cp -r vivaldi/hooks /opt/vivaldi/resources/vivaldi/hooks command works if the destination folder exists. So it was creating a nested directory and putting the files there. And I was too lazy to check manually. Solved :)


Function to maintain light color

Create a function that keeps the light the same color. This needs to:

[x] Take in light data (This could come from an incoming websocket message or from the current state)
[x] Change the light color to the current state
[ ] Maintain that color until either a new websocket message comes in or the lamp is no longer idle

There is currently a bug with maintaining light color. There's an asyncio lock that should be causing the lamp to not change color, but even when the lock is locked a previous call is still getting executed. Instead of passing a flag, it might be more beneficial to separate change_current_light to two separate functions.

Fixed as part of commit fbad738


package name cleanup (#16)

stream-registry PR
Renamed streamingplatform and digitalplatform to streamregistry. Mostly changed Java package names, but also corrected a few stray uses. Closes #16.
Changed

com.homeaway.streamingplatform.streamregistry → com.homeaway.streamregistry
com.homeaway.streamingplatform → com.homeaway.streamregistry
com.homeaway.digitalplatform.streamregistry → com.homeaway.streamregistry

PR Checklist Forms

[x] CHANGELOG.md updated
[x] Reviewer assigned
[x] PR assigned (presumably to submitter)
[ ] Labels added (enhancement, bug, documentation)

@nathanwalther should we swap Maven GAV coördinates as well?
We've already pushed releases under streamingplatform

By convention the Maven groupId should match the Java package name, but let's discuss if our window for making changes to the GAV has already closed.

We discussed and decided to keep com.homeaway.streamingplatform as the group for stream-registry artifacts, and prefix Java packages with com.homeaway.streamingplatform.streamregistry.
At this point this PR is quite far from the desired code changes (and drifting behind master), so I'm closing it and will create new branches with issue #16 and issue #63 separated.


Just a little bit of tweaking

Thanks! I think the docblocks could be updated to fit around an 80 char ruler, but the changes look good. And good call on eliminating some of those useless object creations. I think those are all relics from very early on, when the API wasn't fully immutable.


Anim Facts

Description
Random Anim Facts
Please include the details of the API used in this PR.
anime-facts-rest-api 🐱🚀
An API in Node.js that will return anime facts.
Screenshot
Optional

Checklist

[x ] API used in this PR was not used in just-calling-random-api before.
[ x] API used in this PR is Public or I have permission to use it.
[ x] My contribution is working.
[x] My contribution doesn't expose any API keys.
[x ] My changes don't generate any new warnings.
[ x] My changes don't affect any work done by other developers.

To tick a box, replace [ ] with [x].

Thanks


Failed to download batch from IPFS

During a recent performance run, the job failed to start because the orgs were not registered properly.
Node 1 shows this publish:
{"log":"[2022-08-17T21:44:05.067Z]  INFO IPFS published QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68 Size=1415 d=pinned_broadcast ns=default opcache=juVW47Fq p=did:firefly:org/org_1| pid=1 role=batchmgr\n","stream":"stderr","time":"2022-08-17T21:44:05.068084982Z"}
{"log":"[2022-08-17T21:44:05.067Z]  INFO Published batch 'f4b9cba6-e30b-4cf9-a143-e9ac425dc2d1' to shared storage: 'QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68' d=pinned_broadcast ns=default opcache=juVW47Fq p=did:firefly:org/org_1| pid=1 role=batchmgr\n","stream":"stderr","time":"2022-08-17T21:44:05.068104641Z"}

But Node 0 is repeatedly unable to retrieve:
{"log":"[2022-08-17T21:44:07.861Z] DEBUG ==\u003e GET http://ipfs_0:8080/ipfs/QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68 breq=BAGcvc3U pid=1 sharedstorage=ipfs\n","stream":"stderr","time":"2022-08-17T21:44:07.862328371Z"}
{"log":"[2022-08-17T21:44:37.862Z] DEBUG \u003c== GET http://ipfs_0:8080/ipfs/QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68 [0] (30001.16ms) breq=BAGcvc3U pid=1 sharedstorage=ipfs\n","stream":"stderr","time":"2022-08-17T21:44:37.862481893Z"}
{"log":"[2022-08-17T21:44:37.862Z] DEBUG ipfs updating operation default:f9ffe35b-28de-446b-a849-177db05d3134 status=Pending error=FF10376: Error downloading data with reference 'QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68' from shared storage: FF10136: Error from IPFS: : Get \"http://ipfs_0:8080/ipfs/QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68\": context deadline exceeded (Client.Timeout exceeded while awaiting headers) ns=default pid=1\n","stream":"stderr","time":"2022-08-17T21:44:37.862524061Z"}
{"log":"[2022-08-17T21:44:37.862Z] ERROR Download operation sharedstorage_download_batch/f9ffe35b-28de-446b-a849-177db05d3134 attempt=1/100 failed: FF10376: Error downloading data with reference 'QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68' from shared storage: FF10136: Error from IPFS: : Get \"http://ipfs_0:8080/ipfs/QmZV1813npCEb8USvUJXHmnLNbtQgjLgZA8TPF83P1pJ68\": context deadline exceeded (Client.Timeout exceeded while awaiting headers) downloadworker=dw_007 ns=default pid=1\n","stream":"stderr","time":"2022-08-17T21:44:37.862698724Z"}

log_firefly_core_0.log.gz
log_firefly_core_1.log.gz

I've also seen this locally at least once, so it wasn't a totally isolated incident.

So from the surface of the issue, the IPFS network seems like it's not healthy.
Each time a download request is made against Node 0, it should reach out to its peers to find the data. And Node 1 should have knowledge of that data in its DAG.


Agent with Ollama can't find OllamaLanguageModelInstruction api.

Describe the bug
after install this two package
1.LangChain.Core
2.LangChain.Providers.Ollama
copy the example code for ollama, but it's show OllamaLanguageModelInstruction and OllamaLanguageModelOptions not found.
Steps to reproduce the bug
1.install LangChain.Core
2.LangChain.Providers.Ollama
3.copy agent example for ollama
Expected behavior
it's can run
Screenshots
No response
NuGet package version
LangChain v0.15.0
LangChain.Core v0.15.0
LangChain.Providers.Ollama v0.15.0
Additional context
No response

Try use this
var provider = new OllamaProvider(
            "http://localhost:11434",
            options: new RequestOptions
            {
                Temperature = 0,
            });
        var model = new OllamaChatModel(provider, id: "llama3").UseConsoleForDebug();

look like the wiki page is outdate and need to be update

Yes, it's best to use these tests as an example, we are in the process of migrating documentation from wiki to mkdocs
https://github.com/tryAGI/LangChain/blob/main/src/Meta/test/WikiTests.AgentWithOllama.cs

https://tryagi.github.io/LangChain/wiki/AgentWithOllama/


Closing Julia sessions doesn't release memory

This is a little bit Julia specific, but the behaviour is not normal, so I'm wondering if this might come from the JupyterHub. Whenever one closes a Julia session, in theory all memory should be released. Currently, this is not the case for me, and even when  closing the session all previously used memory is still used. I need to manually kill the process with its PID in order to release all memory.
Is there anything that could explain this strange behaviour? Thanks a lot in advance!

After some feedback from the Julia community, this seems like a problem from IJulia...
https://github.com/JuliaLang/IJulia.jl/issues/977
https://github.com/JuliaLang/IJulia.jl/issues/785
It seems there are problems with the Julia garbage collector on Jupyter servers.


Password recovery should be limited to N times per user

Password recovery should be limited to N times per user to avoid spamming done by a malicious user.

#130 fixes this


using arguments like max-line-length

Is there a way to configure options of flake8 like exclude or max-line-length?

You can add a config file to your project that flake8 should pick up automatically


Default color indices set through SetConsoleScreenBufferInfoEx do not propagate to the propsheet

Environment
Windows build number: 10.0.18363.0

Steps to reproduce

Create a new "Windows Console Application" project.
Compile and run the code.

#include <windows.h>
#include <stdio.h>

int main()
{
    HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);

    if (hStdOut == INVALID_HANDLE_VALUE)
    {
        fprintf(stderr, "GetStdHandle() failed.");
        return 1;
    }

    CONSOLE_SCREEN_BUFFER_INFOEX info = { 0 };
    info.cbSize = sizeof(info);

    if (!GetConsoleScreenBufferInfoEx(hStdOut, &info))
    {
        fprintf(stderr, "GetConsoleScreenBufferInfoEx() failed.");
        return 1;
    }

    // Set color #6 as the foreground color and color #3 as the background color.
    info.wAttributes = FOREGROUND_GREEN | FOREGROUND_RED |
                       BACKGROUND_GREEN | BACKGROUND_BLUE;

    // Set color #6 as the foreground color and color #3 as the background color.
    info.wPopupAttributes = FOREGROUND_GREEN | FOREGROUND_RED |
    			    BACKGROUND_GREEN | BACKGROUND_BLUE;

    if (!SetConsoleScreenBufferInfoEx(hStdOut, &info))
    {
        fprintf(stderr, "SetConsoleScreenBufferInfoEx() failed.");
        return 1;
    }

    return 0;
}

Open the "Properties" page.
Select the "Colors" tab.

Expected behavior
Screen colors and popup colors should be consistent with the colors set through the SetConsoleScreenBufferInfoEx function.
Behavior on Windows 10.0.17134.0.

Actual behavior
Screen colors and popup colors are set to default state.

Note that setting the color table through the SetConsoleScreenBufferInfoEx function works as expected.

Fixing this for the popup colors should be easy. Just add the following to SetConsoleScreenBufferInfoExImpl:
gci.SetPopupFillAttribute(data.wPopupAttributes);

Technically we could do the same thing for the screen colors, but I suspect that's not what we want, because the screen colors no longer have the same meaning as the did in the v1 console. As far as I can tell, they used to represent the current/active colors, but they now just represent the default colors.


Investigate threading issues with MobileServiceContractResolver

There seems to be a race condition involving the singleton MobileServiceContractResolver. See for instance http://stackoverflow.com/questions/38441850/issue-making-calls-with-azure-mobile-client-in-parallel-with-task-whenall/38442520.
Potential workaround is to issue one request to a table and await it, so that the MobileServiceContractResolver object is created for the table. Then, future requests should reused the previously created resolver.
Symptom is stack traces like the following:

Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Enumerator.MoveNext() at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateProperties(Type type, MemberSerialization memberSerialization) at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType) at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateObjectContract(Type type) at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType) at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer) at Newtonsoft.Json.Linq.JToken.ToObject[T](JsonSerializer jsonSerializer) at Microsoft.WindowsAzure.MobileServices.MobileServiceSerializer.<>c__DisplayClass35_01.b__0()
at Microsoft.WindowsAzure.MobileServices.MobileServiceSerializer.TransformSerializationException[T](Action action, JToken token)
at Microsoft.WindowsAzure.MobileServices.MobileServiceSerializer.Deserialize[T](JToken json, JsonSerializer jsonSerializer)
at Microsoft.WindowsAzure.MobileServices.MobileServiceSerializer.Deserialize[T](JToken json)
at Microsoft.WindowsAzure.MobileServices.MobileServiceTable`1.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

FYI: Same issue happens with different error message:
{System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException () [0x00000] in /Users/builder/data/lanes/3540/1cf254db/source/mono/external/referencesource/mscorlib/system/throwhelper.cs:68
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (System.Collections.Generic.TKey key) [0x00021] in /Users/builder/data/lanes/3540/1cf254db/source/mono/external/referencesource/mscorlib/system/collections/generic/dictionary.cs:183
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateProperties (System.Type type, MemberSerialization memberSerialization) [0x00100] in :0
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x00035] in :0
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateObjectContract (System.Type type) [0x00000] in :0
...

@SecretService which version of the client SDK are you using? If its 2.1.0 or later then it indicates that there are still further problems with this code path that we didn't manage to find. It would be great if you can share a simple repro similar to the original stack overflow issue linked above.

Same issue as @SecretService here. But I'm still on 2.0.1. Will try to update and revert back here if issue remains.

Issues is still present on 2.1.0.
(FYI I tried upgrading to 3.0.3 but it broke my solution.)
I have a task that returns some elements queried from a sync table. That task is called from many places at the same time. Once in a while it throws the below error.
(Note that I will review my code not to call the same task for the same result at the same time but the below is still an issue.)
{System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException () [0x00000] in
/Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/throwhelper.cs:68
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (System.Collections.Generic.TKey key) [0x00021] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/collections/generic/dictionary.cs:183
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateProperties (System.Type type, MemberSerialization memberSerialization) [0x00100] in :0
...

@FrancoisM I won't be able to look at this as I have changed teams. Pinging @adrianhall so he is aware that some users are still seeing this. It would make a big difference if you can reduce your scenario to a very simple repro (as done in the original Stack Overflow issue) .

@FrancoisM Can you please open a separate issue on your upgrade experience with 3.0.3 - want to understand that one.

@adrianhall done
For that issue, the example in Stackoverflow looks very very similar to what I do (I'm also retrieving users when it fails lol). Are you saying that that sample code never throws the KeyNotFoundException on 2.1.0?

I've not been able to reproduce the issue post 2.1.0.

I now have that issue systematically on the same line of code:
table.Where(predicate).ToListAsync()
We'll try to go back in time wrt to source code change to understand why it now breaks systematically.
How come I don't see the line numbers in the stack trace for azure whereas I see them for mono?

Another error, which is certainly related:
I'm just getting a sync table.
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException (ExceptionResource resource) [0x00000] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/throwhelper.cs:99
at System.Collections.Generic.Dictionary`2+Enumerator[TKey,TValue].MoveNext () [0x00016] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/collections/generic/dictionary.cs:718
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateProperties (System.Type type, MemberSerialization memberSerialization) [0x000cd] in :0
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x00035] in :0
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateObjectContract (System.Type type) [0x00000] in :0
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x000bf] in :0
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.ResolveTableName (System.Type type) [0x000d1] in :0
at Microsoft.WindowsAzure.MobileServices.MobileServiceClient.GetSyncTable[T] () [0x0000b] in :0

The more I go into multithreading the more it crashes with the KeyException.
Looking at the release notes, the problem was solved in 2.1.1 not 2.1.0.
Upgrading now.

Problem is indeed solved with 2.1.1.
However now I have the following issue where MobileServiceContractResolver call Single which throws an uncaught exception.

Closing per customer.


Convert manage command to argparse syntax

The load_county_limits management command was written when Django used
optparse for handling command arguments. This switches to the preferred
argparse syntax for handling args and options.

Coverage remained the same at 100.0% when pulling 7bade94ab9f37ffd6d19f102cc12804b77dd3316 on use-argparse-syntax into 2fe4e469359437aa36075792a7a8e01be21a18b3 on master.

I think this might break things-- skip-cleanup=False means that the workspace will be reset (including the built wheel), before the deployment, which means the deploy will fail

I think you might be able to add a script element to the deploy stanza, and do the wheel building there. Otherwise, you might be looking at moving over the 'build-stages', where this sort of thing works:  https://github.com/cfpb/cfgov-refresh/blob/master/.travis.yml#L38

Sorry, comments on the wrong PR

Note: e2b46b7 should actually be labeled "restore 'skip_cleanup: true'