filtering map - show only  camps and collection centers to map them to supply stuff

Subject of the issue
Kerala Flood Resources - Updated Live - Google My Maps
Kerala Flood Resources - Updated Live
https://www.google.com/maps/d/thumbnail?mid=19pdXYBAk8RyaMjazX7mjJIJ9EqAyoRs5
Basically we need a way to see only camps and collection centers to map them to supply stuff
Expected behaviour
we need a way to see only camps and collection centers to map them to supply stuff
Actual behaviour
This is coming as a cluttered one.. We basically need to see only shelters and relief material collection centers

Possible to add makers in our map, if we have list of locations

Adding to this, location points are misplaced... Pointers are showing all over the world and location links are not navigating to actual location... Check the screenshot -

@ajaykanayil its problem with the data.

If we have the data, may be we can use fusiontables https://support.google.com/fusiontables/answer/2527132?hl=en to display data in map quickly . ( I m Not sure . )

We may need to manually remap locations from admin panel after checkig the descriptions.
Is any one co ordinating this task or is this in our plan?

This happened because we were collextig locations of reporting devices. There was no way to provide location manually

@ajaykanayil the data has wrong information about coords because they are people reporting for people in Kerala from abroad. but reporting as themselves in danger mistakenly.

https://www.google.org/our-work/crisis-response/

@all if someone can make a db/list with {name, location, category}
I can plot it in 'keralarescue.in/map'

request is to see only camp and collection centers... but not seeing any coordinate option in the admin side...

@ajaykanayil  @bobinson  Why can't we simple check on the data points before mapping ? It will avoid mapping out of Kerala geo location.

@bodhish  You can download the data from that map using download KML file option

Will it help?

Any way we could crowd source this data?

Can you make a list and share in slack?

Exactly. Or we can embed it

Also, crisis map from google.org would also help. We need to check it out.

bros please tell if this will help. Centres in Kakkanad, Thripunithura, Kalamassery along with Google map link
https://docs.google.com/spreadsheets/d/1qJq7IrrpTP3YkKJMrNRAdwOiq0BE4LY86iS7USdNU_s/edit#gid=1185028958

@bobinson I got the data. Can map this in our maps.
Working on it

@bodhish  - which is the source of the data ?
This i used to ship supply from the logistic control room in tvm

@Bobinson, Google maps

how to add a new mark in google rescue map

@bodhish : I was unable to get the data from KML file as I said in my prev comment. KML file only have GPS cordinates for just one point. I don't know why

But, I understand that, we can do bulk geo coding using fusion tables. that is , import csv with location ( as string ) in fusiontables, and google will mark the points on map after doing geocoding

@harish2704 try that

@harish2704 @bobinson it is possible to make a copy of the map and delete the unwanted categories from the copy, as i have done here. Just select the unwanted category and use the backspace key to delete.

@bobinson
Maps as of your requirement.
https://drive.google.com/open?id=1DtDap-r23FTq1ns7xdsEHIiYe63SvGVl&usp=sharing
Will take time for this to showup on /map


Excluded animations.js from the unit tests

animations.js only impacted visual... "stuff". It isn't really
that testable, so as a result, I am excluding it from nyc coverage.
I also renamed instances of initApiVars to apiVars, which is a
lot cleaner and less confusing.

Coverage increased (+1.9%) to 63.333% when pulling d340e9bf2ab7ba33359307d17b8384a79a530bcf on TheIronDeveloper:removeAnimationFromTests into adcc19c2d8f98085e7e20aa0012070859dcf8e93 on OctoShelf:master.


Feature/generate reports as markdown

switches to use jinja templates for the reports
allows reports to be generated directly in markdown (perfect for hosting on a docs site)

@christophebedard this should let us just copy + paste the reports generated from the reference_system scripts directly into the docs hosted on this site.


Hash value from simulation not match online keccak-256 calculation.

HI,
I might got it wrong.
it seems to me that the hash value it got doesn't match the one shown online:
in particular, on the first vector, the input is 128 Byte: AED66CE184BE232900000010F149905200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000
The output from verilog is: 0x9709bcc8...
But the online keccak calculation from multiple sites gives:
54e334e78b4895ae9de75c36a2f5688262abfffe5139dc9e8cdc9d5ed5fae518
I try both big endian and little endian byte for the input. The simulated result doesn't match the one shown online.
What am I missing?
Thanks!
Eugene

Been a few years since I've looked at this code. May take me a few days to get my environment up and running again to give it a look.
Have you tried any of the other test vectors in test_vectors? Do they also yield a different result?

Thank you. Yes other test vectors has the same issue. it doesn't seem big endian/little endian issue.  I tried both way and the results don't match.BTW, one of the online site is:
Keccak-256 Online
|
|
|  |
Keccak-256 Online
Keccak-256 online hash function
|
|
|
On Saturday, April 3, 2021, 05:13:47 PM PDT, Josh Moles<EMAIL_ADDRESS>wrote:

Been a few years since I've looked at this code. May take me a few days to get my environment up and running again to give it a look.
Have you tried any of the other test vectors in test_vectors? Do they also yield a different result?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I'm having a hard time getting this back up and running. I haven't touched it in a very long time and also don't have access to the tools I used to build this code before. I tried to get it set up running in verilator (put my work in a branch called verilator), but am struggling to get it working One thing to note was the value it looks like you are getting as output from the verilog matches that in the reference out see here. A couple questions:

Can you verify that the outputs match the test vectors in the output file?
Do running the latest test vectors on the Keccak Team's VHDL distro work or provide the same results on the web site you mention?
What's your setup (like QuestaSim, Modelsim, or something else)?

I'll keep trying to get it up and running. Knowing what simulator tool you are using...I can try to set my setup to match yours.

result of the run matches the test vectors in the otuput file.
the Keccak Team's VHDL has only keccak-512 test vector.  can their VHDL be configured for 215?  if so, do you know how?
I used Synopsys VCS for the simulatoin.   I guess you can use icarus verilog for that. it's pretty easy to setup.
Thanks!

Good that the run is matching for you in VCS. I was able to get it running in Verilator. I committed all of the code and also set it up to run with Travis CI to compare the simulations to their results.
As for the VHDL, I have not ran it for several years, so I am not sure it's capabilities. About a month ago, someone submitted a merge request (I accepted and merged it in) to add support for variable width input (see #1). Be curious to see if it works for your needs. Also, feel free to push in a pull request on it. Happy to add anything if it doesn't seem to work correctly.

the issue seems value of your test vector files doesn't match on-line calculated result.  one of such a site is https://emn178.github.io/online-tools/keccak_256.html

My understanding is that the VHDL (and this Verilog) are a calculation of the intermediate sponge value (not the SHA3 hashing).  The test vectors in this repoistory are directly copied from the VHDL implementation. The Keccak team provides both input and output vectors for testing. Since this is just an intermediate sponge calculation, I do not believe most online calculators would not match these values.
Will admit I am mainly translated the Keccak/SHA3 algorithm and do not have a deep understanding of the Keccak internals. I ultimately defer to what the Keccak web site. This code is just a Verilog implementation of their VHDL implementation.

Hello,
I have been using the code, I can can confirm it confirms to the keccak standards here: https://keccak.team/hardware.html
I was actually going to ask. I have modified the code heavily to decouple the input buffer from the main code, and I was wondering if you would want it. The output buffer no longer matches what you do, but if you are interested I can hand it over.

@chris4795, definitely interested! When I originally wrote this, I just direct translated the VHDL code from the Keccak team. Think it would be great to share some of the improvements. You up for doing a pull request on it?

Just did.
I noted major differences in the code (it is not a 1:1 drop in at all....but with a little bit of work it can be).

Chris,
are you going to update and fix it?
Thanks
Eugene

...Update and fix what?

Lookin again, the reason you get a different output is because your input to the websites are wrong:
AED66CE184BE232900000010F149905200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000
8000000000000000 should be first,
AED66CE184BE23 should be last,
so input it<PHONE_NUMBER>000000 ..... AED66CE184BE23

Chris,  Thank you for the finding?  What's the reason for that?  is it because the php are in 64-bit system? but units are usually unsigned long which if four bytes.
BTW, do you remap the bits when you use it in your application?

Hi Chis,
I have tried the byte order as you mentioned on this website: https://emn178.github.io/online-tools/keccak_256.html
input:
8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010F1499052AED66CE184BE2329
output:
f049e8b58bf311d0287f0522749815e583bbfbbdf6b889df6b24afbbf8b3f709
not matching verilog result of:
0x9709bcc8...

I'm not sure why they have incorrect output:
https://keccak.team/files/KeccakVHDL-3.1.zip
In that zip:
/3.1/new_test_vector/reccak_ref_out.txt
first entry:
9709BCC8BB23DC25
2B5F3EBB60243373
F778F2E0E8C729A1
852FBE3858D35C2D

keccak 512 is matching between an opencore keccak and website though.


Add CI/linting

copy parts of this?
https://github.com/flashbots/go-template

I'd recommend to base test & linting on https://github.com/flashbots/mev-boost-relay/blob/main/.github/workflows/checks.yml where Justin T. has put in a lot of effort already. Guides for local setup are in https://github.com/flashbots/mev-boost-relay/blob/main/CONTRIBUTING.md and there's also make lint: https://github.com/flashbots/mev-boost-relay/blob/main/Makefile#L20-L25


Readmes/downloadprelanned to explore scenesin flyover

@Rachael-E these were a bit more complicated, mostly because I don't have a device that has ARCore, but I think they should be good! The AR samples are fairly new anyway and they look up to date with the current readme style aside from the changes I've made. Could you take a first review?

@sorenoid could you do a second review please?


when I use Get.dialog() to show a dialog, then I use Get.back() back dialog, at the same time ,the page widget's getxController  operator onClose(), how to solve this problem.

the page structure as follow:
mainPage with bottomNavigationBar and the PageView with other page,
I use Get.dialog() show a dialog in mainpPage OnReady(), when dialog dismiss, the widget's getxController of  other page operators onClose() override function, how to solve this problem.

I use showDialog() show a dialog, when dialog dismiss,widget's getxController will not be closed;

I also experienced this problem when upgrading Flutter 3.16.3 • channel stable and Flutter 3.16.4 • channel stable and couldn't find a solution
In the following figure code, I put Get.close(1); Change to Navigator.of(context).pop(); Can solve the problem
But the onCancel method in Get.defaultDialog is a little tricky to handle

                                  String tips = '确认删除吗？删除后不可恢复。'.tr;

                                        n.showDialog(
                                          context: Get.context!,
                                          builder: (context) => n.Alert()
                                            ..content = SizedBox(
                                              height: 40,
                                              child: Center(child: Text(tips)),
                                            )
                                            ..actions = [
                                              n.Button('取消'.tr.n)
                                                ..style = n.NikuButtonStyle(
                                                    foregroundColor:
                                                        AppColors.ItemOnColor)
                                                ..onPressed = () {
                                                  Navigator.of(context).pop();
                                                },
                                              n.Button('删除'.tr.n)
                                                ..style = n.NikuButtonStyle(
                                                    foregroundColor:
                                                        AppColors.ItemOnColor)
                                                ..onPressed = () async {
                                                  Navigator.of(context).pop();
                                                  bool res = await logic.remove(
                                                    model.feedbackId,
                                                  );
                                                  if (res) {
                                                    state.itemList.removeAt(
                                                      state.itemList.indexWhere(
                                                          (e) =>
                                                              e.feedbackId ==
                                                              model.feedbackId),
                                                    );
                                                    EasyLoading.showSuccess(
                                                        '操作成功'.tr);
                                                  } else {
                                                    EasyLoading.showError(
                                                        '操作失败'.tr);
                                                  }
                                                },
                                            ],
                                          barrierDismissible: true,
                                        );

It happened to me recently, the problem seems to be when you close (Get.back) the dialog, or the sheet when you change the view or in another controller, but doing everything in the same view and controller solved the problem.

me to


Public access users cant join conference

Describe the bug
Users which access openslides via Public Access cant connect to the conference room.
How to Reproduce

Create an event
Add Conference data
Login via "public access"
try to connect to conference room
See error

Expected behavior
user could connect to conference room
System information

OpenSlides version: 4.2

Screenshots

The bug you are describing needs some conceptualising before anything can be implemented and depending on the concept this could be a new feature. We will do that internally in the future.
If you want your public access users to have access to your conference room, then a workaround would be to paste the conference url onto a a motion/the homepage/ or another page where you can paste text to and direct them to this url if they want to join
Can you please elaborate what your usecase is? Does your organisation want the public access users to be able to access the conference rooms? We expected too high traffic which in the worst case would lead to the conference room crashing


HTTP 500 when using curl [JIRA: RCS-383]

When the Date header is missing:
curl -v http://localhost:8000/riak-cs/user -H 'Authorization: AWS a:b'
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 8000 (#0)
> GET /riak-cs/user HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:8000
> Accept: */*
> Authorization: AWS a:b
>
< HTTP/1.1 500 Internal Server Error
* Server Riak CS is not blacklisted
< Server: Riak CS
< Date: Thu, 09 Feb 2017 14:42:31 GMT
< Content-Type: text/html
< Content-Length: 170
<
[...]

curl -v http://localhost:8000/riak-cs/user -H 'Date: Thu, 09 Feb 2017 14:22:33 +0000' -H 'Authorization: AWS a:b'
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 8000 (#0)
> GET /riak-cs/user HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:8000
> Accept: */*
> Date: Thu, 09 Feb 2017 14:22:33 +0000
> Authorization: a:b
>
< HTTP/1.1 403 Forbidden
* Server Riak CS is not blacklisted
< Server: Riak CS
< Date: Thu, 09 Feb 2017 14:43:25 GMT
< Content-Type: application/xml
< Content-Length: 167
<
[...]

Maybe related to #1098 ?

x@riaktest01-xen01:/tmp$ sudo riak version
2.2.0
x@riaktest01-xen01:/tmp$ sudo riak-cs version
2.1.1
x@riaktest01-xen01:/tmp$ sudo dpkg -l | grep riak
ii  riak                            2.2.0-1                    amd64        Riak is a distributed data store
ii  riak-cs                         2.1.1-1                    amd64        Riak CS


Support running in Powershell with SSH transport

CLA signed by all contributors.

Superseded by #1702 and #1708.


There was yet another case, rewrote to simplify

dropping back to a simple "let it fail" and double check myself...

@zeke this is NOT a production bug - no need to review asap
this does make it safer to handle prototype dreambooth builders that might not have a valid args.json with all the fields

it really makes me want to have a test harness for stuff like this


Updating fortio to latest (0.11.0)

Ran
dep ensure --update istio.io/fortio

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ldemailly
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [ldemailly]

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

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
18d63276542e69da03a6808c32426f10b877bbae
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
18d63276542e69da03a6808c32426f10b877bbae
link
/test istio-pilot-e2e

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

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
18d63276542e69da03a6808c32426f10b877bbae
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
18d63276542e69da03a6808c32426f10b877bbae
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
18d63276542e69da03a6808c32426f10b877bbae
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: andraxylia, ldemailly
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [ldemailly]

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

/retest

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

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
18d63276542e69da03a6808c32426f10b877bbae
link
/test istio-pilot-e2e

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


SCRIPT1003 error in IE

As this issue: https://forum.vuejs.org/t/solved-ie11-script1003-expected-error/29843
My project which uses the Vuetify-dialog can not work in IE, until I remove the Vuetify-dialog module. So I think there may be some compatible issues in this module.
Thanks.

У меня та же проблема на IE11..

@yariksav Is dist/vuetify-dialog.js should be transformed version? Because it contains ES6 short function syntax in few lines:

This is why our projects that using this package don't work in IE. Will you be able to fix this?

Hi, @pawel-marciniak , please check version 0.3.7
node_modules/vuetify-dialog/dist/vuetify-dialog.cjs.js in ES5 syntax

@yariksav then I don't have more ideas why it still doesn't work in IE, I even tried to attach it like this in my main app.js file:
const VuetifyDialog = require('vuetify-dialog/dist/vuetify-dialog.cjs')
And app.js is transpiled by Babel...

I think the problem now is that even if I import vuetify-dialog.cjs.js which has ES5 syntax, it uses vuedl package inside it and probably uses some ES6 version of vuedl. Also I found this article which says that vendor packages are not transpilied by webpack: https://medium.com/thetiltblog/how-to-transpile-es6-vue-plugins-with-webpack-c5d4286a7737

Hi, @pawel-marciniak. I rewrote builder to rollup and integrated vuedl into package. Can you check version 0.4.0-beta.1?
Don't forget to install  and use babel-polyfill for IE
Also I've splitted css from js, now you have to import it manually (if you don't use nuxt plugin)
import 'vuetify-dialog/dist/vuetify-dialog.css'

Hey, @yariksav. I found some time today to test this version - thank you for your commitment to fix this :) but sadly it still don't work in IE, there are still some ES6 features in dist/ files, for example:
(...)async function(...)
I don't know much about npm package development, but looking at some other packages, like vue-router, all files in dist/ folder has pure ES5 syntax, except some import/export syntax in .esm version. Maybe this article will help us better understand how this distribution files should be build - https://hackernoon.com/how-to-publish-your-package-on-npm-7fc1f5aae600
There are some informations about package building in "Entry Points" paragraph.


Add code coverage report to unittest workflow

Prerequisites

[x] I have read the Contributing Guidelines.
[x] I have read the Code of Conduct.
[x] If this is a non-trivial change, I have already opened an accompanying Issue.
[x] If applicable, I have included documentation updates alongside my code changes.

Description

Let's get test coverage automatically on each PR!
Test Plan

Let's see what will happen in this PR!

Codecov Report

❗ No coverage uploaded for pull request base (main@aecdf65). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   95.85%
=======================================
  Files           ?      111
  Lines           ?    13673
  Branches        ?        0
=======================================
  Hits            ?    13106
  Misses          ?      567
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Wow! Good first report!


User Guide bundled with executable

FINESSE.spec updated to call the gen_user_guide.py script and include the user_guide.html in the executable.
Closes #347

The Windows runner is currently failing because it doesn't have pandoc installed by default. You will need to install it on the runner (I think choco install pandoc will do it) before running pyinstaller. Lemme know if you get stuck with this.

Addressed those changes, haven't been able to check the file is bundled in FINESSE.exe myself as it seems I encounter an error when I build the .spec file (even without the changes made in this PR).
Running pyinstaller FINESSE.spec gives me this error:
RuntimeError: Execution of 'remove_all_resources' failed - no more attempts left!
Trying to open the FINESSE.exe file that gets built gives me this:
The ordinal 380 could not be located in the dynamic link library

What was the exact error you got?

Here's the error log when I try and run pyinstaller FINESSE.spec:
3681 INFO: Copying bootloader EXE to C:\Users\cwest\Git\FINESSE\dist\FINESSE.exe
4384 WARNING: Execution of 'remove_all_resources' failed on attempt #1 / 20: error(5, 'EndUpdateResourceW', 'Access is denied.'). Retrying in 0.05 second(s)...
4624 WARNING: Execution of 'remove_all_resources' failed on attempt #2 / 20: error(5, 'EndUpdateResourceW', 'Access is denied.'). Retrying in 0.06 second(s)...

...

11582 WARNING: Execution of 'remove_all_resources' failed on attempt #20 / 20: error(5, 'EndUpdateResourceW', 'Access is denied.').
Traceback (most recent call last):
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\win32ctypes\pywin32\pywintypes.py", line 33, in pywin32error
    yield
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\win32ctypes\pywin32\win32api.py", line 226, in EndUpdateResource
    _resource._EndUpdateResource(handle, discard)
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\win32ctypes\core\ctypes\_util.py", line 61, in check_false
    raise make_error(function, function_name)
OSError: [WinError 5] Access is denied.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\building\api.py", line 992, in _retry_operation
    return func(*args)
           ^^^^^^^^^^^
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\utils\win32\winresource.py", line 189, in remove_all_resources
    win32api.EndUpdateResource(module_handle, False)
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\win32ctypes\pywin32\win32api.py", line 225, in EndUpdateResource
    with _pywin32error():
  File "C:\Users\cwest\.pyenv\pyenv-win\versions\3.11.0\Lib\contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\win32ctypes\pywin32\pywintypes.py", line 37, in pywin32error
    raise error(exception.winerror, exception.function, exception.strerror)
win32ctypes.pywin32.pywintypes.error: (5, 'EndUpdateResourceW', 'Access is denied.')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\cwest\Git\FINESSE\.venv\Scripts\pyinstaller.exe\__main__.py", line 7, in <module>
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\__main__.py", line 205, in _console_script_run
    run()
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\__main__.py", line 189, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\__main__.py", line 61, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\building\build_main.py", line 1033, in main
          ^^^^
          ^^^^
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\building\api.py", line 625, in __init__
    self.__postinit__()
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\building\datastruct.py", line 184, in __postinit__
    self.assemble()
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\building\api.py", line 734, in assemble
    self._retry_operation(winresource.remove_all_resources, build_name)
  File "C:\Users\cwest\Git\FINESSE\.venv\Lib\site-packages\PyInstaller\building\api.py", line 1011, in _retry_operation
    raise RuntimeError(f"Execution of {func_name!r} failed - no more attempts left!") from e
RuntimeError: Execution of 'remove_all_resources' failed - no more attempts left!

@CWestICL  It looks like some file permissions issue. Could you please try deleting the dist and build folders and rerunning pyinstaller?

It seems you're hitting this problem: https://stackoverflow.com/questions/51778203/permission-error-when-tryinExecution of 'remove_all_resources' failed on attempg-to-use-pyinstaller
Firstly, are you running pyinstaller from your poetry venv?
Secondly, is your antivirus software blocking the creation of the exe file?


Rename .create(_type) to type

What's needed?
We need a clear interface. Using _type is not necessary and it is confusing, as usually in python stuff that starts with _ is not supposed to be set by users.
Proposed solution
Use type.
Additional context

https://github.com/frequenz-floss/frequenz-dispatch-python/pull/22#discussion_r1582943813

Well, here is the reason I didn't use type.
nox > pylint src docs noxfile.py tests
************* Module frequenz.client.dispatch._client
src/frequenz/client/dispatch/_client.py:124:8: W0622: Redefining built-in 'type' (redefined-builtin)

-------------------------------------------------------------------
Your code has been rated at 9.99/10 (previous run: 10.00/10, -0.01)

nox > Command pylint src docs noxfile.py tests failed with exit code 4
nox > Session pylint failed.

You can add a disable rule. In general I think it is good not to shadow built-ins, but in this case I think it makes sense to make an exception.


Return RaycastHit instead of Dictionary when using intersect_ray()

Godot version:

37e198c32006d18c9443bf65963ba8182b7d76a6
OS/device including version:

Arch Linux
Issue description:

Physics2DDirectSpaceState.intersect_ray() returns a dictionary with various entries related to how the ray went:
{
   position: Vector2 # point in world space for collision
   normal: Vector2 # normal in world space for collision
   collider: Object # Object collided or null (if unassociated)
   collider_id: ObjectID # Object it collided against
   rid: RID # RID it collided against
   shape: int # shape index of collider
   metadata: Variant() # metadata of collider
}

While this is functional, I think it would be better if a distinct type were returned, as autocomplete could then be used with the result.  It seems that this is one of the only functions in the engine that uses a dictionary instead of a type; I'm not sure if there's an explicit reason for this or not.
This is also the case for the 3D variation, PhysicsDirectSpaceState

Ran a quick check for methods which have return type of Dictionary or Array of Dictionaries, here are some more that might need changing:

Intersection: Physics{,2D}DirectSpaceState

{collider, metadata (only 2d), shape, collider_id, rid}: intersect_point, intersect_shape
{..., normal, position}: intersect_ray
{..., linear_velocity}: get_rest_info (has point instead of position)

Dates: OS::get_{date,time,datetime,datetime_from_unix_time,time_zone_info}
Tuples of a few values:

Currently dictionary: Geometry::make_atlas, TreeItem::get_range_config
Currently array: @GDScript::rand_seed, Physics{,2D}DirectSpaceState::cast_motion, Mesh::*arrays*, Animation::transform_track_interpolate

Property info: Object::{,_}get_property_list, ClassDB::class_get_property_list, VisualServer::shader_get_param_list, EditorImportPlugin::get_import_options, AnimationNode::get_parameter_list
Method Info: Object::get_method_list, ClassDB::class_get_method_list, ClassDB::class_get_signal_list, ClassDB::class_get_signal, Object::get_signal_list
Misc:

Licensing: Engine::get_*_info
Used only once: GraphEdit::get_connection_list, ARVRServer::get_interfaces, VisualServer::texture_debug_usage, Object::get_incoming_connections, Object::get_signal_connection_list

In light of that, I think it would be nice to have the following changes:

Intersection{,2D} classes, with the following properties:

collider, collider_id, shape, rid: as is now
metadata: from PhysicsServer{,2D}::shape_get_data, both 2d and 3d
position: for all functions, except intersect_shape (unless it is possible without perf. problems)
normal: Vector2(0, 0) when unknown (as is with intersect_point)
linear_velocity: Vector2(0, 0) when unknown (as is with all except get_rest_info)

Date class, which replaces the functions in the OS class: #6463
PropertyInfo and MethodInfo as real classes. Not sure how doable this is though.
Some slight changes to Dictionary formats used only once, either by adding a small class or by refactoring those cases to not use Dictionaries:

Change Geometry::make_atlas to either return one thing or return an array, for consistency.
Change TreeItem::get_range_config to return an array, for consistency.
Change ARVRServer::get_interfaces (which currently returns {idx, name}) to ARVRServer::get_interface_names or make it return the actual interface objects as done by ::get_interface(idx).

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Update access control Add New layout

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


update Best Practices FAQ for usage in CI

What does this do / why do we need it?
Updates the FAQ section on 'Best Practices' for usage in a CI environment.
Preview link - sudo-suhas/dep:docs/FAQ.md@b92d0e7#how-do-i-use-dep-in-ci
What should your reviewer look out for in this PR?
Not 100% sure about the usage of env in travis config. Would it be better to inline the X.X.X in the curl command itself?
Do you need help or clarification on anything?
Should there be an example for appveyor as well? I am not quite sure how we would do this in appveyor though.
Which issue(s) does this PR fix?
fixes #1275
P.S I also made some formatting change for the Docker section to leverage the syntax highlighting in github/editors like vscode.

I have used the setup here - https://github.com/sudo-suhas/symcrypto.

Thank you for documenting how to do this with Travis. If someone else wants to do the same for AppVeyor that's would be great.  This is good for now and I'd like to get it in our FAQ toot sweet. ❤

@carolynvs Do you think we should also enable caching on travis config?
Can be done like so:
# ...
cache:
  directories:
    - $GOPATH/pkg/dep

@sudo-suhas I don't think that enabling dep caching should be a blanket recommendation. 🤔  Until recently, we have had intermittent cache corruption that would have been super annoying if it was breaking Travis build too.
Also according to https://docs.travis-ci.com/user/caching/#Things-not-to-cache they don't recommend it for larger caches.
https://docs.travis-ci.com/user/caching/#How-does-the-caching-work%3F

Note that this makes our cache not network-local, it’s still bound to network bandwidth and DNS resolutions for S3. That impacts what you can and should store in the cache. If you store archives larger than a few hundred megabytes in the cache, it’s unlikely that you’ll see a big speed improvement.

Would you mind making a pull request (or issue) so that we can talk it through with a wider audience? I'm not saying we shouldn't do it, but that we probably want to point people to the caveats and pitch it as "if you want to turn it on, here is the magic shotgun to point at your foot". 😄

@carolynvs Thanks for the awesome and through reply. I have created a PR #1359. Please take a look.


RangeError: Maximum call stack size exceeded using vuelidate 0.7.x typings package

Version
2.7.8
Reproduction link
github.com
Steps to reproduce
npm install
npm run eslint
What is expected?
eslint terminates normally
What is actually happening?
RangeError: Maximum call stack size exceeded occurs:
at getMappedType (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63282:31)
at getMappedType (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63299:30)
at C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63432:82
at Object.map (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:638:29)
at getObjectTypeInstantiation (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63432:40)
at instantiateTypeWorker (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63666:28)
at instantiateTypeWithAlias (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63646:26)
at instantiateType (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63629:37)
at instantiateList (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63257:34)
at instantiateTypes (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63271:20)

The repo works when downgrading to vue 2.7.5. Vue 2.7.6 to 2.7.8 show this problem. I suspect it's a vue issue related to the typing information as I found similar problems in bug tracker for the latest versions. Just uninstalling the vuelidate typings package solves the problem. So it might be some type of typing conflict with vuelidate.

I had the same problem.hope it can be fixed soon

I have the same problem on a big project running Nuxt.js. Fixing vue version at v2.7.5 in package.json is the workarround.
Another issue produced by this problem is that the IDE (PyCharm here) using eslint flags every file in the code base with a typescript error Type instantiation is excessively deep and possibly infinite.
I suspect eslint (v7.32.0) to not like one of the 2 type modifications in<EMAIL_ADDRESS>:

ComponentPublicInstance https://github.com/vuejs/vue/commit/fffbb9e856de5e4b3053a6b4d01d1404bfb6f85e
... extends never ? ... : ... https://github.com/vuejs/vue/commit/52a59790a5b6e16c9f8cc737fcd784413dda282d

Will try to upgrade to v8+ but I have other compatibility issues to resolve first.
(It might be related to https://github.com/microsoft/TypeScript/issues/34933)

I have the same problem with 2.7.10.
Same as this one: https://github.com/vuejs/vue/issues/12683

Created a repro here: https://github.com/AlbinoDrought/vue-12750-repro
Here's the failing npm run build job log: https://github.com/AlbinoDrought/vue-12750-repro/actions/runs/3268360727/jobs/5374676524

I've got a workaround for this issue that should unblock folks.
I took a look at the diff between 2.7.5 and 2.7.6, where this broke: https://github.com/vuejs/vue/compare/v2.7.5...v2.7.6
I think the key is the change to the Vue types here: https://github.com/vuejs/vue/compare/v2.7.5...v2.7.6#diff-502307d78edff0c6640563ac0f7dcc5c0ec02ee71b8da96c8d54d5c0ab3373ff

By applying this patch (e.g., via patch-package or yarn's native patching), I was able to get past the error:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 64e61c2..0fdeebc 100755
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -6,7 +6,7 @@ import { Validation } from './vuelidate'

 declare module 'vue/types/vue' {
     type ValidationProperties<V> = {
-        [P in Exclude<keyof V, '$v'>]?: Validation & ValidationProperties<V[P]> & ValidationEvaluation
+        [P in Exclude<keyof V, '$v' | '$parent' | '$root' | '$children'>]?: Validation & ValidationProperties<V[P]> & ValidationEvaluation
     }

     interface ValidationGroups {

I used @AlbinoDrought's example repo to prove that this now builds: https://github.com/blimmer/vue-12750-repro/actions/runs/3268574902/jobs/5375141277
https://github.com/AlbinoDrought/vue-12750-repro/pull/1
I haven't spent too much time figuring out exactly why this works, but it kind of makes sense since $parent, $root, and $children all reference Vue in their types.
I don't currently have the bandwidth to open a PR to fix this in DefinitelyTyped, but if someone has time, that would be awesome! I hope this helps others get unstuck in the meantime ❤

I've got a workaround for this issue that should unblock folks.
I took a look at the diff between 2.7.5 and 2.7.6, where this broke: v2.7.5...v2.7.6
I think the key is the change to the Vue types here: v2.7.5...v2.7.6#diff-502307d78edff0c6640563ac0f7dcc5c0ec02ee71b8da96c8d54d5c0ab3373ff

By applying this patch (e.g., via patch-package or yarn's native patching), I was able to get past the error:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 64e61c2..0fdeebc 100755
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -6,7 +6,7 @@ import { Validation } from './vuelidate'

 declare module 'vue/types/vue' {
     type ValidationProperties<V> = {
-        [P in Exclude<keyof V, '$v'>]?: Validation & ValidationProperties<V[P]> & ValidationEvaluation
+        [P in Exclude<keyof V, '$v' | '$parent' | '$root' | '$children'>]?: Validation & ValidationProperties<V[P]> & ValidationEvaluation
     }

     interface ValidationGroups {

I used @AlbinoDrought's example repo to prove that this now builds: https://github.com/blimmer/vue-12750-repro/actions/runs/3268574902/jobs/5375141277
AlbinoDrought/vue-12750-repro#1
I haven't spent too much time figuring out exactly why this works, but it kind of makes sense since $parent, $root, and $children all reference Vue in their types.
I don't currently have the bandwidth to open a PR to fix this in DefinitelyTyped, but if someone has time, that would be awesome! I hope this helps others get unstuck in the meantime ❤

I nearly wanted to quit my job as a software developer because I couldn't make the vue version upgrade 2.6.x -> 2.7.13 work until I found your comment, which solved the issue for me. You are my hero! Before I have seen your fix I tried several things like increasing the maximum depths for typescript "instantiateTypes" and adding some logging, but this didn't help at all to find a fix.

I've seen a different solution suggested here and have referred to this solution as an alternative.
I'm not sure which is the better solution, so I'd be grateful for some input as I'm experiencing this issue and would like to see a permanent solution.

closing as this has been fixed in vuelidate types.


back button sometimes produces the "No Data Sets Found" message

From Gitter

For example: selecting the Image Recognition category, going to the last page, selecting the "CIFAR_10_small" dataset, and hitting the back button.

The url then ends up with empty text query, resulting in 0 results: https://commons.oceanprotocol.com/search?text=&page=11

Code responsible for this bug is reworked in https://github.com/oceanprotocol/commons/pull/183


Update notebooks

This PR:

[x] Is a part of #259.
[ ] Adds and passes relevant tests.
[x] Has well-formatted code and documentation.

Notes:

It is essential that you add a test when making code changes.
This keeps the code coverage level up, and helps ensure the changes work as intended.
When fixing a bug, you must add a test that would produce the bug in the master branch, and then show that it is fixed with the new code.
New code additions must be well formatted. Changes should pass the pre-commit workflow, which you can set up locally using pre-commit.
Docstring additions must render correctly, including escapes and LaTeX.

TODO:

[x] Add short tutorial notebooks
[ ] Simplify and rewrite CVRP/VRPTW notebooks
[ ] Add notebook for prize collecting/multiple vehicle capacities?

@leonlan I think this is done. Can you have a look? I've added something akin to a quickstart, a notebook where we solve benchmark instances for CVRP and VRPTW, and a notebook where we implement the solve routine from scratch and explain along the way how all the objects needed for it work.

@leonlan want to have another look?

@leonlan want to have another look?

I'll have a look now


[SEO][Rollout Monikered Canonical]Add URL moniker

Enable build config to generate canonical URL with moniker

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

File
Status
Preview URL
Details

officedocs-dev-managed-sip/docfx.json
:white_check_mark:Succeeded

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


Cleanup tag alpine3.19

The image tag alpine3.19 is confusing because it doesn't follow the known naming pattern and Python 3.19 does not exist yet (for a long time...). I assume it has been pushed by accident.

Now, I get it it's the pointer for Alpine 3.19 and thus a correct tag. Still confusing, though...


Add better, more flexible APIs for SDK initialization.

This PR includes public API Changes
Old initialization looked somewhat outdated, our new APIs allow a usage similar to this:
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(ParseClientConfiguration *configuration) {
    configuration.applicationId = ...;
    configuration.clientKey = ...;
    configuration.localDatastoreEnabled = ... ;

    // Data sharing config, etc.
}];

We believe that this provides a much cleaner interface for initialization. Please feel free to commend below on any feedback that you may have on this

Our current SDK initialization is lackluster in that it's split across multiple classes, files, and method calls.
This PR hopes to unify some of these initialization settings int o a single 'configuration' class that can be easily used to intialize parse in a much cleaner way, especially as we add even more initialization options.

Hey all, just added some preliminary APIs for configuring URL sessions & retry attempts that we use in the SDK. Any feedback would be great!

Hi @richardjrossiii
Thanks for your very detailed and answer and for your very quick respond!
The changes you've added look great! That will suit exactly what I'm looking for.
When do you think this PR could be merged into master?

Somewhat nitpicky, but ParseClientConfiguration seems super long. Would ParseConfiguration be confusing with ParseConfig?

Somewhat nitpicky, but ParseClientConfiguration seems super long. Would ParseConfiguration be confusing with ParseConfig?

Yup, it's definitely confusing. It's ObjC anyway, so long names are expected...
Plus - this way lets us name the class in the same way across multiple platforms (there is ParseConfig already on the Java).
Another potential name that could work is ParseClientConfig, but then it's still somewhat confusing compared to ParseConfig.

Somewhat nitpicky, but ParseClientConfiguration seems super long. Would ParseConfiguration be confusing with ParseConfig?

Yup, it's definitely confusing. It's ObjC anyway, so long names are expected...
Plus - this way lets us name the class in the same way across multiple platforms (there is ParseConfig already on the Java).

Another potential name that could work is ParseClientConfig, but then it's still somewhat confusing compared to ParseConfig.

Any other potential names @hallucinogen @wangmengyan95 @andrewimm @stanleyw? I really don't want a 24 character classname for non-objc...

@grantland For .NET, it's set up as ParseClient.Configuration, and I was thinking a similar naming system would work for Java. Especially when you can explicitly import ParseClient.Configuration, and not have to fully qualify it everywhere, in both languages.
Only in objective-c where we don't have subtypes or namespaces do we want a classname like this.

Is it weird that we have ParseClient and ParseClient.Configuration on .NET, but Parse and ParseClientConfiguration on ObjC? Seems like it should logically be ParseConfiguration to match Parse.Configuration on Java.

@grantland  ParseConfiguration is simply too ambiguous with ParseConfig I think.

Agreed with the above. ParseConfiguration is waay to ambiguous with ParseConfig.
In the ideal world - we would have Parse.Client.Configuration aka Namespace.Class.Struct in Swifty world, but we need to stick to Parse as the basic class name in ObjC.
Though we can safely rename it at this point, by using say a typealias. (larger discussion, but throwing this here).

I guess I'm fine with it then

Pass back when you are ready.

LGTM, minus nits. Awesome work so far though!

Only minor nits and request for moar tests.

One small nit, otherwise - it's perfect!

Hi @richardjrossiii
Sorry for the question, I'm just not completely sure - if I update my Parse SDK using CocoaPods, will this branch be included?

@oferRounds No, not yet, this is going to be included in 1.12.0 release (per milestone on the Pull Request).

@richardjrossiii - cool, thanks!


V0.45.x osmo cw1point1

This PR is one of the two possible implementations for

#941

Specifically, this updates the osmosis-flavored wasmd to match the main branch of wasmd, which uses cosmwasm 1.1

Thanks for the spike. I will close this now in favour of #1022
See: https://github.com/CosmWasm/wasmd/issues/941#issuecomment-1260547555


Edit auto-generated notes

I'm hoping for some way to edit the notes generated by the "Show auto-generated notes" toggle. For example, in the following image I can't remove 2 and 9 candidates from the other cells (the"other cells" are the cells which have 1,4,2,9 in them) in the center 3x3 even though logically I can eliminate the 2&9

On more difficult sudokus when playing with "show generated notes" turned on, sometimes I want to alter the notes that are visible, even though they're generated. Right now, if the "show generated notes" is on, I can't change the notes in the squares. Usually I just deal with not being able to change the notes, but sometimes I will get desperate. In those times, I'll have to manually copy all the generated notes to the "normal notes"/"user notes" and then make my changes to the notes. But then I lose the ability for future correct guesses to be automatically tracked in the notes.
I'd like some way to be able to turn on auto-generated notes while also being able to change those auto-generated notes somehow. I realize though that might be quite annoying to implement.
If I were to speculate about implementing this feature (I've not looked at the code) the most complete solution seems like you'd have to track both the auto-generated notes and the users changes to those notes and reconcile them somehow; maybe via a kind of "layer" system.
A potentially easier but less comprehensive implementation would be a button labeled something like "copy auto-generated notes into user notes" which does a one-time copy of the auto-notes to the notes which are editable by the user when the the button is clicked. This approach would cut out the step I described where I manually copy the auto-notes, but that'd still leave me to manually manage the notes going forward. Though I suppose manually managing the notes would be much easier now that I've got a buttong that does a one-way sync from auto-notes to user notes...
Anyway, thank you again for such a snappy, polished, accessible, and fun sudoku implementation!

Thank you for the detailed request, I will get to it in the next weeks.

You are right, the best way is to reconcile both the auto and manual notes.
I think the best is to make to:

Add a notion of added / rejected note, currently the notes are just a list of numbers
With that I can make the auto generated notes be be preselected for the user and they can reject them
When the auto generated notes change, the rejected notes will still be there and I can remove them from the auto generated notes

I think there is no value in showing a manual note that is already rejected by the auto notes, so I will make sure those cannot be selected.

@lelandbatey Actually it was easier. I'm not doing a reconciliation, but instead I use the auto generated notes as a starting point for the user notes when they set one. I added some highlighting of notes on the buttons to make this more obvious. When all user notes are deselected, the auto notes are used again for that specific cell. Let me know if this works as expected or if some behaviour is unusual / could be improved.

I love this change, it allows me to remove auto-generated notes just like I asked. Thank you so much for making this change!


Sync blueprints with master to make schema available during templating

Changes

__schema__ was added as per #953, and it's needed for future development on this branch

/gcbrun

I'm not sure why GitHub says this branch is out of date. Did you simply do git checkout blueprints; git merge master ?

I'm not sure why GitHub says this branch is out of date. Did you simply do git checkout blueprints; git merge master ?

I didn't do the merge. I talked a few weeks ago with @xingao267 and the idea is to keep track of the merges. I'm not sure why it is out of date. Let me check


[CWS] replace seclog.Debugf with fmt.Errorf for error de-duplication

What does this PR do?
When handleNewMount fails we Debugf the error first in the function itself, then in the calling function as well resulting in doubled logs (especially an issue in e2e tests where the log level is set to trace).
[36margo-datadog-agent-cp6mq-log-system-probe-3817659234: 2024-04-05 10:45:50 UTC | SYS-PROBE | DEBUG | (pkg/security/probe/probe_ebpf.go:607 in handleEvent) | failed to handle new mount from unshare mnt ns event: non critical path resolution error: dentry path key not found 4047/162
argo-datadog-agent-cp6mq-log-system-probe-3817659234: 2024-04-05 10:45:50 UTC | SYS-PROBE | DEBUG | (pkg/security/probe/probe_ebpf.go:1361 in handleNewMount) | failed to set mount point: non critical path resolution error: dentry path key not found 4047/175
argo-datadog-agent-cp6mq-log-system-probe-3817659234: 2024-04-05 10:45:50 UTC | SYS-PROBE | DEBUG | (pkg/security/probe/probe_ebpf.go:607 in handleEvent) | failed to handle new mount from unshare mnt ns event: non critical path resolution error: dentry path key not found 4047/175
argo-datadog-agent-cp6mq-log-system-probe-3817659234: 2024-04-05 10:45:50 UTC | SYS-PROBE | DEBUG | (pkg/security/probe/probe_ebpf.go:1361 in handleNewMount) | failed to set mount point: non critical path resolution error: dentry path key not found 4047/182
argo-datadog-agent-cp6mq-log-system-probe-3817659234: 2024-04-05 10:45:50 UTC | SYS-PROBE | DEBUG | (pkg/security/probe/probe_ebpf.go:607 in handleEvent) | failed to handle new mount from unshare mnt ns event: non critical path resolution error: dentry path key not found 4047/182

This PR cleans this up by only keeping the calling debugf, and wrapping the error to keep the context.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Process NAUTOBOT_DEBUG environment var

Fixes: #

Hi Glenn,
I'm going to prepare a production docker environment where I'm using different docker-compose files to setup the application stack. There I'd like to start different environments. Some for development having debug=True others with debug=False.
I'm switching the docker-compose files with invoke.yml in different directories and using docker overlay network to isolate the different networks. Every environment publishes just one port to access the nautobot web interface.


[ChatGPT] Something went wrong

Extension
https://www.raycast.com/abielzulio/chatgpt
Description
Error:
Error: Request failed with status code 400

hs.exports:createError.js:16:14
bs.exports:ask.js:2:7730
IncomingMessage.<anonymous>:ask.js:7:11807
IncomingMessage.emit:node:events:525:35

Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

Are you still facing this issue on a daily basis?

Yes, I suspect that raycast does not support my HTTP proxy service. It works fine when I use someone else's HTTP proxy service, but my proxy service uses the vless protocol. However, when using the same proxy, the chathub plugin in Chrome works fine after configuring the proxy and API. But for the chatgpt plugin in Raycast, it cannot be used after configuring the proxy and API.


feat: Create command line interface for a migrate command

Closes #1108.
Summary of Changes
Created a migrate cli command, that takes two api files, an annotation file, and an output path as input
Testing Instructions
Run Terminal with parse-package migrate -a1 apiv1.json -a2 apiv2.json -a annotations.json -o out

Still needs smoke tests. Is the naming of the arguments ok? Another '-a' exists in the annotations command, which is for the api.


while exporting to pdf, css property position: absolute works strangely

While trying to export html to pdf everything seems to be working fine except svg element with position: absolute and top/left property, Which shows correctly on the UI/HTML document but while exporting it seems like getting shifted from its normal position. Any help would be appreciated.

having a similar issue, did you find a solution to this?

I solved this by manipulating the DOM element only while exporting the PDF.
Steps to follow :

Clone the SVG element in depth
Create a new div element
Append the cloned svg element to the new div's child
Set style position, top, left of the new div as actual svg element
Finally, replace the SVG element with new div element

Code(s is the actual svg element) :
     const clonedSvgElement = s.cloneNode(true) as SVGElement
     clonedSvgElement.style.position = ''
      const newDiv = document.createElement('div')
      newDiv.appendChild(clonedSvgElement)
      newDiv.style.position = s.style.position
      newDiv.style.top = s.style.top
      newDiv.style.left = s.style.left
      s.parentElement?.replaceChild(newDiv, s)

having a similar issue, did you find a solution to this?

I solved this by manipulating the DOM element only while exporting the PDF.
Steps to follow :

Clone the SVG element in depth
Create a new div element
Append the cloned svg element to the new div's child
Set style position, top, left of the new div as actual svg element
Finally, replace the SVG element with new div element

Code(s is the actual svg element) :
 const clonedSvgElement = s.cloneNode(true) as SVGElement
 clonedSvgElement.style.position = ''
  const newDiv = document.createElement('div')
  newDiv.appendChild(clonedSvgElement)
  newDiv.style.position = s.style.position
  newDiv.style.top = s.style.top
  newDiv.style.left = s.style.left
  s.parentElement?.replaceChild(newDiv, s)


[release-1.4] Change istioctl x webhook tests output statements

This is an automated cherry-pick of #18068

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

e2e-simpleTests-distroless_istio_release-1.4
20ae476dbda10ca73b2ec996dd96c3826c8a67bd
link
/test e2e-simpleTests-distroless_istio_release-1.4

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

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

e2e-simpleTests-distroless_istio_release-1.4
20ae476dbda10ca73b2ec996dd96c3826c8a67bd
link
/test e2e-simpleTests-distroless_istio_release-1.4

integ-mixer-k8s-tests_istio_release-1.4
20ae476dbda10ca73b2ec996dd96c3826c8a67bd
link
/test integ-mixer-k8s-tests_istio_release-1.4

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

/retest

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio_release-1.4
20ae476dbda10ca73b2ec996dd96c3826c8a67bd
link
/test integ-mixer-k8s-tests_istio_release-1.4

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


I have improved structure and organzation in CONTRIBUTING.md

I have updated the below followins things in the file :-
Structure and Organization: The content was organized into a more structured format, with clearly defined sections, headings, and steps to make it easier for contributors to follow.
Consistency: Repeated and redundant information was removed, and similar instructions were combined to reduce confusion. For example, duplicate sections about creating issues and solving them were consolidated.
Guidance Clarity: The instructions were clarified to guide both new and experienced contributors through the contribution process. This includes the addition of detailed step-by-step instructions and clearer explanations.
Visual Enhancements: Icons and emojis were strategically placed to make the document more engaging and to highlight important steps.
Code and Command Formatting: Proper formatting was applied to code blocks and commands to improve readability and user experience.
Links and References: The relevant links to guides and resources were streamlined for easy access, making sure contributors can quickly find the help they need.
Encouragement and Gratitude: Added appreciative messages to create a welcoming tone, encouraging contributors to feel valued and motivated in their efforts.
If you liked my enhancement please kindly merge my request and please add the gssoc extend label

Please kindly look into my enhancement


Revert "Add voice chat and UI improvement (v.1.2.0)"

Reverts qnkhuat/tstream#35

the build pipeline for go packages are failing.


Fix some nullpointer on input parameters

This pull request is related to issue 93

Pull Request Test Coverage Report for Build 404

0 of 21 (0.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 61.76%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

botsing-maven/src/main/java/eu/stamp/botsing/setup/BotsingConfiguration.java
0
5
0.0%

botsing-maven/src/main/java/eu/stamp/botsing/BotsingMojo.java
0
7
0.0%

botsing-maven/src/main/java/eu/stamp/botsing/setup/AbstractConfiguration.java
0
9
0.0%

Files with Coverage Reduction
New Missed Lines
%

botsing-reproduction/src/main/java/eu/stamp/botsing/ga/strategy/GuidedGeneticAlgorithm.java
1
90.34%

Totals

Change from base Build 403:
-0.2%

Covered Lines:
2421

Relevant Lines:
3920

💛  - Coveralls

@luandrea, can you please write some test cases for your code? (including the codes in this request and the previous ones)


[$500] HIGH: Enable threading on all system messages

Problem:
Our chat-centric design is to allow you to chat on basically anything.  However, right now you can't thread up a response to a system message, for no clear reason.  One specific place this is a limitation is when there is a system message in the #admins room -- such as when someone adds an outsider to a room.  By not allowing threading, we disrupt the most natural place to discuss this with the employee.
Solution:
Enable threading on all system messages from a user, exactly as if they had manually posted that same message as a comment.  This means:

Name the thread based on the parent comment that is being threaded
Invite the author of the parent comment (in this case, the system message) to the thread even if they don't have access to the parent room.  (This can happen because users can cause system messages to posted "from" them to rooms they aren't in).

So far as I know this should be doable entirely on the client side without any back-end work.  However, if you determine that's not true (and if you need some back end help) please just let us know.
Test:
Verify:

Alice creates a workspace Alice's Apples
Alice invites Bob to the workspace
Bob creates a room #bagel-lovers that Alice is not in
Bob invites Cathy (who is not a member of the workspace) to #bagel-lovers

This cause Bob to post a system message to the #admins room of Alice's Apples saying: Bob invited Cathy to #bagel-lovers

Alice opens a thread on that system message
Alice posts "What up Bob, why did you invite Cathy?" in that thread
Confirm Bob is invited to that thread and sees Alice's message

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0143d329144a3feb35
Upwork Job ID:<PHONE_NUMBER>855482368
Last Price Increase: 2024-01-05
Automatic offers:

aimane-chnaif | Reviewer | 28088772

Actually reopening -- something seems weird about threads on system messages in the #admins room.  Specifically, do all the original steps, and then check the new step at the end:

Alice creates a workspace Alice's Apples
Alice invites Bob to the workspace
Bob creates a room #bagel-lovers that Alice is not in
Bob invites Cathy (who is not a member of the workspace) to #bagel-lovers

This cause Bob to post a system message to the #admins room of Alice's Apples saying: Bob invited Cathy to #bagel-lovers

Alice opens a thread on that system message
Alice posts "What up Bob, why did you invite Cathy?" in that thread
Confirm Bob is invited to that thread and sees Alice's message
**Mention<EMAIL_ADDRESS>
What should happen: Cathy should be added to the thread
What actually happenes: Cathy is not invited

**Click into the room header and go to Members

What should happen: It should be possible to add/remove members
What actually happens: It shows the member list but without any option to add/remove

It seems like the thread from the #admins room is somehow inheriting the invite restrictions of #admins.  Please remove this restriction and allow members of the thread to add/remove people at will, both via @mentions and the Add/Remove button in the Members list.

Actually it looks like this restriction is on all threads of system messages: for some reason you can't add people to the thread after created, either by mention or the Members page.

Ok, so ya things are really screwed up with threading on system messages.  There are multiple issues, I'll try to list them here.

Consider this #expensify-test-room, created by @nathanmetcalf:

Note how at the bottom it says invited<EMAIL_ADDRESS>

When Nathan clicks into it, he sees this:

There are multiple problems.  First, note how the header (and LHN) just says invited -- it should show show invited<EMAIL_ADDRESS>just like the original comment:

But when I click into it, I see this:

This has all the problems Nathan saw, but more.  Check how the first message in the chat, which shows the parent that is being threaded from, shows some kind of phantom 6-reply thread (it should not be showing any replies there):

Needless to say, when I try to click into the phantom replies, it breaks:

Finally, it's not letting me invite/remove members from this thread:

Something seriously screwed up is happening, that is causing:

The LHN and header says invited for both of us, rather than invited<EMAIL_ADDRESS>His parent chat correctly shows invited<EMAIL_ADDRESS>but mine shows invited @hidden.  @puneetlath This is likely due to some kind of isKnown issue, can you investigate this?
My parent chat also shows a bunch of phantom replies equal to the number of comments I made to this thread.
I can't add/remove people to this thread from the Members page
I can't @mention invite anyone to this thread either

Let's get some proposals for cleaning all this up.

His parent chat correctly shows invited<EMAIL_ADDRESS>but mine shows invited @hidden. @puneetlath This is likely due to some kind of isKnown issue, can you investigate this?

Agreed, it seems like this is because you don't "know" the user he invited. Though, hmm this is a worksapce room. So you should "know" all other room members. So it's more likely that it's that we aren't returning the personalDetails of the mentioned user when returning the reportAction.

I've posted this issue in expensify-bugs and in callstack

Hi, I'm Nicolay from Callstack - expert contributor group - and I will try to help here.

Thanks Nicolay!

Thanks Nicolay! I'm going to assign you so that we can keep track who's working on this and to keep melvin-bot happy

@quinthar @puneetlath @aimane-chnaif Hey guys!
Just some updates from my side:
Seems we need to have some work with BE team.

For this one "The LHN and header says invited for both of us, rather than invited<EMAIL_ADDRESS>- for this current place we just pick information which coming from API side - you can see on screenshot - that we have a lot of free space between invited and to. And just the same happened when we will invite 2 persons as well:

For the case of @hidden instead of real user name - seems that it's expected - because we show hidden if mentioned user is not logged in inside the system (you can see on the first image - that one user is @hidden and one already has previously logged in the app)
For the rest of the issues - seems most of the points were fixed before - i could not reproduce problem with ghost replies - neither in code no in the app. And also i can invite any new member either with @ or inside right panel in settings

Let me know if any of those points makes sense!

Hi there, thanks for that!  I'm not 100% if you are waiting on answers.  If so, can you please ask the specific questions in a numbered list, and tag who you are asking the question to?  Thanks!

Also, can you give an ETA for completion? Can it be done by Monday?  Thanks!

Hey @quinthar ! Yup i think we will be good to go here before Monday for sure.
Just need one clarification from @puneetlath - Is it fine that we will show @hidden because admin does not have any DMs/chats/etc with user?

   Can we get this merged today?

 Can we get this merged today?

Hey! It's mostly depends when @aimane-chnaif will take a review - PR opened since last friday

@aimane-chnaif What's your ETA? Can we finish the review and merge today?

Did you complete yesterday? What's the update?

Ok, so what's next?  It's sat for 12 hours with no blockers, what is stopping us from merging it?

@quinthar after Aimane reviews the PR it passes on to the Contributor Manager Engineer (who is me in this case) for final review. Aimane finished her review in the wee hours of the morning PST time, so it sat there for 12 hours because I didn't  get to it till this morning. Here is my review. I left some comments, so we are now waiting for those to be addressed, and then we can merge.

Merged ✅

Woohoooo!!!!!

@aimane-chnaif $500 - paid ✔ please complete the checklist


rename color_function

rename it to color_values; raise deprecation warning if old used.

@sauln a micro step on the way to the other stuff I'm going to do with vis

I renamed it everywhere except for in the deprecated/ folder. I also renamed _color_function in visuals to be _node_color_function, because I intend to make that customizeable too, beyond the current which is to just take the mean.

Codecov Report

Merging #195 into master will decrease coverage by 0.24%.
The diff coverage is 87.80%.

@@            Coverage Diff             @@
##           master     #195      +/-   ##
==========================================
- Coverage   77.80%   77.55%   -0.25%
==========================================
  Files          10       11       +1
  Lines         739      762      +23
  Branches      155      159       +4
==========================================
+ Hits          575      591      +16
- Misses        134      141       +7
  Partials       30       30

Impacted Files
Coverage Δ

kmapper/drawing.py
90.32% <40.00%> (-9.68%)
:arrow_down:

kmapper/utils.py
87.50% <87.50%> (ø)

kmapper/kmapper.py
88.53% <100.00%> (+0.09%)
:arrow_up:

kmapper/plotlyviz.py
42.76% <100.00%> (ø)

kmapper/visuals.py
83.33% <100.00%> (ø)

kmapper/cover.py
87.50% <0.00%> (-2.28%)
:arrow_down:

Continue to review full report at Codecov.

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

Okay, I deprecated all of the non-_ ones also, and added a few more tests.

Looks great!


Help Wanted

Anybody that would like to support my program and has a great understanding of python coding feel free to contact me!

I can help😁

I can help😁

Alright boloto1979 Thanks for applying ❤

How can I help with the project? do you have something in mind?

You can edit the code into something more sufficient if you can do that, it's basically done now but pen-testing is necessary to check that these tools work.

ok i will do this in a controlled environment


Provide interface for list/view/find formulas

In the future the website should have functionality like this to list/view/find formulas:
https://formulae.brew.sh

This is done now I think


Hermes is always disabled

Environment
react-native -v: 0.75.4
npm ls react-native-macos: 0.75.15
node -v: 21.7.1
npm -v: 10.5.0
yarn --version: 4.5.1
xcodebuild -version: 15.4

Steps to reproduce the bug
Not exactly sure if this is a bug or intended, But I can't enable Hermes by just running USE_HERMES=1 pod install as suggested here (since the docs site seems outdated) because in Podfile:
:hermes_enabled => false

I'm unaware if there is any problem with Hermes on MacOS that motivated this, I was just testing DevTools and Hermes is needed for that.
Expected Behavior
just run USE_HERMES=1 pod install to enable Hermes
Actual Behavior
running USE_HERMES=1 pod install does nothing
Reproducible Demo
To reproduce:

run npx react-native-macos-init to add macos to a RN project
run cd macos && USE_HERMES=1 pod install

Additional context
I just updated the Podfile to:
use_react_native!(
    :path => '../node_modules/react-native-macos',
-   :hermes_enabled => false
+   :hermes_enabled => ENV['USE_HERMES'] == '1',
    :fabric_enabled => ENV['RCT_NEW_ARCH_ENABLED'] == '1',
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

And all the related pods seems to be installed correctly and build and running worked without any issues so far.
If the template is intended to be like this, feel free to close it right away.

In version 0.75.0, you can temporarily modify :hermes_enabled => false to :hermes_enabled => true, and then run pod install to enable Hermes.

Yes, you're right, I was also wondering if it might be worth updating the template to simply check the env.
I think this would be more suitable to open as an discussion rather than a issue, but its not available in this repo.

Yes, you're right, I was also wondering if it might be worth updating the template to simply check the env.
I think this would be more suitable to open as an discussion rather than a issue, but its not available in this repo.

I believe that using USE_HERMES=1 pod install is the correct approach. However, for versions 0.75.0 to 0.76.0 at least, if you do not use :hermes_enabled => true, then every time you need to update the pods, you must add the USE_HERMES=1 instruction. It seems that the environment variable does not properly persist the USE_HERMES setting. Currently, using :hermes_enabled => true should only be a temporary measure.


M3U8 file is not working in flutter_web (video_player-2.0.0)

Flutter 2.0.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8962f6dc68 (11 days ago) • 2021-03-11 13:22:20 -0800
Engine • revision 5d8bf811b3
Tools • Dart 2.12.1
Sample M3U8 Url :: https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8
Above is the url which I am trying to play using video_player, I am able to play above url in ios and android but its not working in Web platform. It is giving error in controller.value.hasError.
Below is the error description from video player controller while running in flutter web chrome.
"No further diagnostic information can be determined or provided.
Error: PlatformException(MEDIA_ERR_SRC_NOT_SUPPORTED, No further diagnostic information can be determined or provided., The video has been found to be unsuitable (missing or in a format not
supported by your browser)., null)"

@pankajrohilla893
The m3u8 file you are trying to run is supported only on non-chromium Edge browsers which is outside of Flutter framework and video player plugin. Check out this issue comment for further reference and a possible workaround.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Add benchmark for number of GCs in animated GIF

Benchmark for https://github.com/flutter/flutter/issues/80702
This does not improve the image, but adds some new categories to the timeline summary we send to the perf dashboard and a test that specifically focuses on animating a GIF for a set number of frames.

Looks like the checks are unhappy.

@jonahwilliams - yes it is. I don't know the answer to that question though - @keyonghan or @godofredoc might have thoughts.

question though - @keyonghan or @godofredoc might have thoughts
Ideally we should prefer more tasks with less execution time over less tasks with longer execution times. This will allow us to make more efficient use of resources when we increase the devicelab capacity.

Actually, this adds a test to the Macrobenchmarks application, but I don't think it adds a definition of where to run it. That's changed since I last did this.

@christopherfujino  do you know why the test failure https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8848843484897376256/+/steps/run_test.dart_for_framework_tests_shard_and_subshard_misc/0/logs/stdout/0#L13293_0 is happening on this patch? IT seems unrelated to me, but rebasing to head doesn't seem to have helped.

The test is now disabled on HEAD (see tree-status chat), so rebasing on master should now fix it.

I've also added this to its own builder. @jonahwilliams to your question, we run the macrobenchmarks app in a bunch of tasks, each isolated to its own test.

The builder configuration needs to be added in flutter/infra first before enabling here in prod_builders.json, otherwise test will not be triggered.

I'll open the infra PR shortly.


Add Marabou

Looks good! I'm re-running the travis-ci build, since there is a flaky test that failed unrelated to these changes. As soon as that passes I'll merge these changes. Thank you!


Add codeowners file

Signed-off-by: Bernát Gábor<EMAIL_ADDRESS>

Codecov Report

Merging #21 (7ed04ed) into main (265020e) will decrease coverage by 31.15%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #21       +/-   ##
===========================================
- Coverage   82.24%   51.09%   -31.16%
===========================================
  Files           6        6
  Lines         321      321
  Branches       71       71
===========================================
- Hits          264      164      -100
- Misses         41      146      +105
+ Partials       16       11        -5

Flag
Coverage Δ

tests
51.09% <ø> (-30.53%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/platformdirs/__init__.py
38.43% <0.00%> (-39.22%)
:arrow_down:

Continue to review full report at Codecov.

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


in String API syntax sugar

Allow
filter: $cat in ['a', 'b', 'c']

I created this issue since @makella expected similar behavior and I think this is consistent with previous syntax sugar of the String API, but this opens up the issue of syntax sugar for the similar functions: NIN and Between.
Those 2 are much more problematic:
filter: $cat nin ['a', 'b', 'c'] Using nin seems like a bad name here
filter: $cat not in ['a', 'b', 'c'] This is difficult to parse with our current parser
filter: $num between 10 30 This is difficult to parse with our current parser
What do you think?
cc: @rochoa

I think in this case filter: $cat nin ['a', 'b', 'c'] has perfect sense, since it has the same sematics than the Function API filter: nin($cat, ['a', 'b', 'c']). So I vote for this option.
As you say, other options are more difficult to parse or not very consistent with our current types. NOTE: I think for between($num, 10, 30) the better simple approach is using 10 < $num < 30.

Some thoughts:

Using nin seems like a bad name here

Regarding this, are there other options? I realize that we are using logical operators but just throwing out some comparison ones too :)
- notIN
- notin
- <>
- !=

filter: $num between 10 30 This is difficult to parse with our current parser
filter: $cat nin ['a', 'b', 'c']

Is there a reason that numbers and category notation would be different?
Could we simplify and do something like:
filter: between($num, [10, 30])

where we would know in the background that it is values > 10 and < 30?
for ranges of numbers, I feel like this is similar to width: ramp($num,[2,25])

And for categories:
filter: notin($cat, ['a','b','c'])

the better simple approach is using 10 < $num < 30

Not sure I totally agree that it is a simpler approach!

Is there a reason that numbers and category notation would be different?

Well, between always takes 2 arguments, therefore, I think it's normal to don't pass a list with "[" and "]". However, in takes a list of categories.

Always have in mind that the more different the syntax is between String vs JS APIs, the more difficult is to move between them.

Well, between always takes 2 arguments, therefore, I think it's normal to don't pass a list with "[" and "]". However, in takes a list of categories.

Yeah, I see but wouldn't anything more than 1 be considered a list? Also, width: ramp($num,[2,25]) would not accept a third number, right? So based off of this that should be width: ramp($num,2,25)?

Always have in mind that the more different the syntax is between String vs JS APIs, the more difficult is to move between them.

Please tell me more. What would the JS syntax look like?

As discussed off-channel we decided to add:
$prop IN ['a', 'b', 'c']
$prop NIN ['a', 'b', 'c']

and between would look like?
$prop between 10, 30?

Hi @makella.

$prop between 10, 30

We do not support this type of pseudo-arrays 10, 30 and IMO is it not a very intuitive syntax. I think for this case we should use the following expression, which allows also to include endpoints:
10 <= $prop < 30


Argument support for can-EVENT

can-EVENT now parses its arguments similar to how stache helpers handle it and prepends those arguments and the hash to the arg list.
See #1361 and closes #1219

@daffl added tests, docs.
@justinbmeyer added and documented @element and @event.

@zkat Amazing work on this pull request.  From the code, I'm not sure if the current component's values will be available as arguments or not.  For example:
can.Component.extend({
  tag: "can-info",
  scope: {
    data: {message: "HI"}
  }
})

var tmpl = can.stache("<can-info can-click="{printOut data.message}"></can-info>")
tmpl({
  printOut: function(text){
    console.log(text);
  }
});

There's certainly a need for a component to be able to expose its own data to event handlers like this.  But as you're an advocate of lexical semantics, I can see you being a bit uneasy with this.
I think we need a way to enable this "now" and have a good plan on enabling this in a better way later.

@daffl I've made all the changes, but the amd tests specifically are failing and I don't understand why. Can you take a look? The regular tests pass just fine. :\

I re-submitted this against master in #1495. Apparently I fail at rebasing to I'll just merge into master and then update minor with it.


Page Evolving Conditions Table

Is your feature request related to a problem? Please describe.
The evolving conditions table can grow quite long. For example, the Chapman mechanism example is so long that the page lags.
To see where this should happen

Go to musicbox.acom.ucar.edu
Click on Get Started
Click on Select Example
Click on Chapman Cycle
Click on Conditions in the left side bar
Click on the Evolving tab

Describe the solution you'd like
The evolving conditions table should be paged.

Acceptance Criteria

The evolving conditions table is paged.
The number of items shown per page can be configured

Files involved

src/components/Conditions/EvolvingConditionsTab.jsx
src/components/Conditions/EvolvingConditionsDetail.jsx

To do this issue, you'll need to connect your local version to our production server or setup a dev api server for yourself. See our readme for details on both

Hey, I would like to work on this issue.

@ketansahugit it's yours!

@ketansahugit let me know if you have any questions

@K20shores  I have raised a PR. Please check it out and let me know if it requires any further changes.


Event check in textbox is hard to read

When you are checking in to an event and writing in the event code it is in dark text. It should be changed to the same text color as everything else in the app. Don't remember what it is at this point.

Changed the event check in text color to white
event details under components


[WIP] Issue #1331: fix server error when generating colour with user defined function

Description
This PR implements the following changes:

update visitLightAction methods in Arduino, Mbot and Sensebox CPP visitors.
update tests to accommodate changes.

The relevant changes for arduino-resources repo can be found here.
Fixes #1331
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Tested with source code editor. Yet to be tested on the robots, hence WIP.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Tested successful on Arduino Uno. Here is a sample program for testing.


Typo in BlendMode.saturation documentation image link

Steps to reproduce
See BlendMode.saturation documentation
Expected results
link to https://flutter.github.io/assets-for-api-docs/assets/dart-ui/blend_mode_saturation.png
Actual results
links to https://flutter.github.io/assets-for-api-docs/assets/dart-ui/blend_mode_hue.png
Code sample
Code sample
copied from `ui/painting.dart`

  /// Take the saturation of the source image, and the hue and luminosity of the
  /// destination image.
  ///
  /// The opacity of the output image is computed in the same way as for
  /// [srcOver]. Regions that are entirely transparent in the source image take
  /// their saturation from the destination.
  ///
  /// ![](https://flutter.github.io/assets-for-api-docs/assets/dart-ui/blend_mode_hue.png)
  ///
  /// See also:
  ///
  ///  * [color], which also applies the hue of the source image.
  ///  * [luminosity], which applies the luminosity of the source image to the
  ///    destination.
  saturation,

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.22.0-11.0.pre.17, on macOS 14.4 23E214 darwin-arm64, locale en-AU)
    • Flutter version 3.22.0-11.0.pre.17 on channel master at /Users/mainj/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9aea02b7d5 (34 minutes ago), 2024-04-16 06:00:07 -0400
    • Engine revision cba7678fcf
    • Dart version 3.5.0 (build 3.5.0-64.0.dev)
    • DevTools version 2.35.0-dev.8
...

close because fixed


drivers: mbox: Add nxp mbox multi-channel support

Current implementation of NXP mbox driver mbox_nxp_imx_mu is using only one channel 0.
This commit adds support for multiple mbox channels as is indented by mbox drivers.
Change done in .send api signaling mode leveraging provided channel id to select correct General Purpose Interrupt. Another change done in IRQHandler to check and handle all channels.

Looks good. What platforms did you test this on?

It's tested by follow-up PR https://github.com/zephyrproject-rtos/zephyr/pull/66754
Tested on these boards via sample/drivers/mbox:
MIMXRT1160-EVK
MIMXRT1170-EVK
MIMXRT1170-EVKB


[stable/sysdig] Add nestorsalceda as an approver in OWNERS file

Signed-off-by: Néstor Salceda<EMAIL_ADDRESS>
What this PR does / why we need it:
In this PR I'm adding myself as an approver for sysdig helm chart
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/lgtm
/approve


fix price comparison in differing runs table

What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/6169
Description (What does it do?)
This PR fixes an issue with the function allRunsAreIdentical, which determines if all of the runs of a given course are identical or not for the purposes of displaying the "differing runs table" in the new learning resource drawer. Previously, a string comparison was being made against price.amount and a string of "0". Some runs have their price stored as "0.00" which was making the comparison fail. To be sure it won't fail in the future, this value is being converted to a number before comparison, which should negate any issues with string comparison.
How can this be tested?

If you have Posthog set up locally, enable the lr_drawer_v2 flag
If you don't have Posthog set up locally, you can force drawerV2 to be true in LearningResourceDrawer.tsx
Spin up this branch of mit-learn
Ensure you have Sloan courses backpopulated in your database
Visit the search page at http://localhost:8062/search
Search for the course "Supply Chain Fundamentals"
Click the top search result and verify that the differing runs table does not appear
Search for "Communication and Persuasion in the Digital Age"
Click the top search result and verify that the differing runs table still appears for this course

@shanbady Thanks for your review. I changed up the logic and added a new test to check that values are being compared numerically. Basically, if a course is free but offers certification we should expect the zero price as well as the certificate price and all other courses should only have one unique price if all runs are identical.


should i commit yarn-lock

Hi @tanay-pingalkar yea lock files should be committed.

if the project is already has a package-lock.json, use npm instead of yarn


fix(copy-paste): fix pasting newlines for real this time

because the last one was evidently just not even a codepath that was being hit.

:tada: This PR is included in version 4.10.3 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Look Into Package Compression

Maybe consider adding https://parceljs.org/features/production/#compression

I don't think this will be needed. Will look into it if it becomes an issue.


(MAINTENANCE) add HTML verification tag

@az could you please add HTML tag (provided via slack) to EBE website? (to verify ownership and gain access to Google Search Console)
attempts to verify it via GTM, Google Analytics have failed, likely due to the nature of the website (SPA)
documentation for the process if needed: Verify your site ownership - Google Support

hi, i do not mess with html/template - please provide code for domain verification option
google-site-verification XXXXXXXXXXXXXX

sure,
EBE: google-site-verification=b8JsIbxHxwiaZPAqORjEOPZk2s3HRlcu_DX9unmEX1g
EGN: google-site-verification=6fdAKCn7FJF3i8CUbHLSJFhZ94ycdZBDLbTOYpoWyxA

@az ;)


Expose Apis of Resourcemanager Organization

Implement all the APIs of Organization.
/cc: @chingor13

https://github.com/googleapis/google-cloud-java/issues/319