Circle-Ci linux-build test failures

Bug description
Circle-Ci linux-build failing for PR https://github.com/facebookincubator/velox/pull/7285. However, upon rerunning the failed tests in my local main branch, still getting those failures
System information
Velox System Info v0.0.2
Commit: 1c5387d93a6b7112f4cc6adc241bff4b7191b880
CMake Version: 3.27.7
System: Darwin-22.6.0
Arch: arm64
C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
C++ Compiler Version: <IP_ADDRESS>30022
C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
C Compiler Version: <IP_ADDRESS>30022
CMake Prefix Path: /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr;/opt/homebrew;/usr/local;/usr;/;/opt/homebrew/Cellar/cmake/3.27.7;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local
Relevant logs
When running the following tests in Circle-CI or locally in my main branch getting the following failed tests:
velox_functions_lib_test (Failed)
velox_functions_test (Failed)
velox_exec_test (Failed)

velox_exec_test
[  FAILED  ] ThreadDebugInfoDeathTest.withinSeperateDriverThread
[  FAILED  ] ThreadDebugInfoDeathTest.withinQueryCompilation
[  FAILED  ] ThreadDebugInfoDeathTest.withinTheCallingThread
[  FAILED  ] PrintPlanWithStatsTest.partialAggregateWithTableScan
[  FAILED  ] TableScanTest.validFileNoData
[  FAILED  ] SpillTestSuite/SpillTest.spillState/1, where GetParam() = 1
[  FAILED  ] SpillTestSuite/SpillTest.spillState/3, where GetParam() = 4
[  FAILED  ] SpillTestSuite/SpillTest.spillState/5, where GetParam() = 6
[  FAILED  ] SpillTestSuite/SpillTest.spillStateWithSmallTargetFileSize/1, where GetParam() = 1
[  FAILED  ] SpillTestSuite/SpillTest.spillStateWithSmallTargetFileSize/3, where GetParam() = 4
[  FAILED  ] SpillTestSuite/SpillTest.spillStateWithSmallTargetFileSize/5, where GetParam() = 6

velox_functions_test
[  FAILED  ] ProbabilityTest.betaCDF
[  FAILED  ] ProbabilityTest.chiSquaredCDF
[  FAILED  ] ProbabilityTest.fCDF
[  FAILED  ] ProbabilityTest.binomialCDF

velox_functions_lib_test
[  FAILED  ] KllSketchTest.deserialize
[  FAILED  ] KllSketchTest.memoryUsage

@aditi-pandit @kgpai Could you please look at it and let us know, thanks!

Hi Soumiya,

Circle-Ci linux-build failing for PR https://github.com/facebookincubator/velox/pull/7285. However, upon rerunning the failed tests in my local main branch, still getting those failures

I am trying to understand this,  are you saying CCI is failing for your PR and is also failing locally ? Do the failing tests work against a clean main without your changes or do you still see failures there ?

@kgpai Hi Krishna! To clarify, I'm noticing that since yesterday, CCI has been failing for my PR. This morning, after syncing my branches again, I saw that these failures in the description also occurred on my clean main without my local changes.

Are you running on a mac ? Your local failures could be attributed to some tests not running on a mac (we still dont have unit tests up for them in CI).
As per this https://app.circleci.com/pipelines/github/facebookincubator/velox/38497/workflows/472e4b7b-da4d-47eb-9db8-391921fc57db/jobs/259745 last sync to main had all tests succeeding atleast on linux

@soumiiow : DId you look into why the failures were happening ? Dig deeper into the error messages ?
Below tests were written by IBM engineers and shouldn't fail imo
[  FAILED  ] ProbabilityTest.betaCDF
[  FAILED  ] ProbabilityTest.chiSquaredCDF
[  FAILED  ] ProbabilityTest.fCDF
[  FAILED  ] ProbabilityTest.binomialCDF

So seems like some of these errors I pointed out, I noticed running locally on my Mac, as @kgpai indicated. I rebased my code to the latest main and everything passes now. Thank you for the help!! Closing this issue.


ZK authentication

Add auth/acls to zookeeper

User accounts to add when security is enabled:

mesos
marathon

ACL configuration for 0.2 release

/mesos r for world:anyone
/marathon r for world:anyone
/mesos   cdraw for mesos user
/marathon cdraw for marathon user

ACLs & auth implemented. This is ready for testing.

Testing:
[zk: localhost:2181(CONNECTED) 0] getAcl /mesos
'world,'anyone
: r
'digest,'mesos:UijW85X/0Z+oxS14B/wm4uTmjMU=
: cdrwa

zk: localhost:2181(CONNECTED) 6] getAcl /marathon
'world,'anyone
: r
'digest,'marathon:VA0jVODCWp+hx4L7G0KnUFB8INI=
: cdrwa

Mesos auth tested successfully.
At the current time, it doesn't look like marathon uses credentials when talking to ZK https://github.com/mesosphere/marathon/issues/1336.
We're not going to let this block 0.2, but open another issue for marathon ACL support and try to get Marathon updated. The ACL for marathon is deployed, but world has full perms (which is the default zk setting):
Example:
'world,'anyone
: cdrwa
'digest,'marathon:Oy1APUm+g2Xn1bS9O66cVOToUwQ=
: cdrwa


Is it possible to create two p2p clusters in one k8s cluster by configuring different LeaderElectionName and LeaderElectionNamespace

K8s clusters are distributed in multiple regions. Each region has a p2p cluster. Can it be distinguished by the following parameters?
type BootstrapConfig struct {
	BootstrapKind           string `arg:"--bootstrap-kind,env:BOOTSTRAP_KIND" help:"Kind of bootsrapper to use."`
	HTTPBootstrapAddr       string `arg:"--http-bootstrap-addr,env:HTTP_BOOTSTRAP_ADDR" help:"Address to serve for HTTP bootstrap."`
	HTTPBootstrapPeer       string `arg:"--http-bootstrap-peer,env:HTTP_BOOTSTRAP_PEER" help:"Peer to HTTP bootstrap with."`
	KubeconfigPath          string `arg:"--kubeconfig-path,env:KUBECONFIG_PATH" help:"Path to the kubeconfig file."`
	LeaderElectionName      string `arg:"--leader-election-name,env:LEADER_ELECTION_NAME" default:"spegel-leader-election" help:"Name of leader election."`
	LeaderElectionNamespace string `arg:"--leader-election-namespace,env:LEADER_ELECTION_NAMESPACE" default:"spegel" help:"Kubernetes namespace to write leader election data."`
}

LeaderElectionName and LeaderElectionNamespace

We have discussed this before as a method of dealing with multi region deployments. It should be possible even though we never got confirmation that it worked. Have a look at the example in this comment.
https://github.com/spegel-org/spegel/issues/461#issuecomment-2083792421
If you could verify that this solves your problems we should document it.

it works !
just change
│       --leader-election-name=spegel-leader-election-z2                                                                                │


Create a Notebook Instance for Darryl (Transportation team)

Nothing special about this box, just needs to be made!
The changes to Makefile are unrelated to provisioning the box. I started using Named Profiles to make it easier to switch between my personal aws account and the Hack Oregon one, so I'm trying to thread this into all of our scripts.
Definition of done:
Datascience stack is redeployed after merging this branch.

Since this is low risk, I'm merging this without review to keep things moving.


ARM Example - API Version

Dear,
It seems the apiVersion used in the ARM example is not documented in the ARM template reference doc.
https://docs.microsoft.com/en-us/azure/templates/microsoft.eventhub/allversions
Where can I find information on this version?
Kind regards,
Cédric

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: babaec3b-2c19-c6e2-835c-166cb528b222
Version Independent ID: a905991a-70b0-7842-d12e-37b484a1f99a
Content: Virtual Network service endpoints - Azure Event Hubs - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-service-endpoints.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

@cstainie Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@cstainie  We have assigned the issue to the content author to investigate this and update the document as appropriate.
Thanks.

It's documented in articles for clusters, namespaces etc...
https://docs.microsoft.com/en-us/azure/templates/microsoft.eventhub/2018-01-01-preview/clusters
https://docs.microsoft.com/en-us/azure/templates/microsoft.eventhub/2018-01-01-preview/namespaces
https://docs.microsoft.com/en-us/azure/templates/microsoft.eventhub/2018-01-01-preview/namespaces/ipfilterrules
#please-close


Create scripts for Semaphore CI

This adds a few simple scripts to allow us to manage code executed on Semaphore CI in this Git repository. And it also allows to run the tests locally.
Changes:

move crategen test to Semaphore CI
test if creategen result differs from what's checked into git
add Semaphore CI setup instructions
mention Minio/Ceph tests in integration_tests/README.md
only remove docker images on Semaphore CI
test doctests and examples in Travis (initially enabled in #984 )

Disclaimer:
I didn't actually test this on Semaphore CI, my account was locked and I didn't bother to contact them yet. I hoped you could create two new jobs, as described in this pull requests. Unlike described however, I'd only execute the commands when the new scripts are available ([ -f "$SCIPT" ] && $SCRIPT). At least until this has been merged.
Fixes #985

I realized that there would be an issue when running on Semaphore. So, I updated the commit.

Thanks!  I believe the required changes in Semaphore will be to set the job to run:
.semaphoreci/run_ceph_tests.sh && .semaphoreci/run_minio_tests.sh && .semaphoreci/run_codegen_test.sh
Does that sound right? Should exit early if any of the commands don't return a successful exit code. Or can we make each script its own command and see if Semaphore exits early if one fails? I think that's the right approach.

I'm not sure there is something like a correct approach. I'd either just execute all scripts in the .semaphoreci/ directory (run-parts --verbose --exit-on-error --regex '' .semaphoreci/) or run them as separate commands. The former has the advantage that you can add and remove scripts without making changes on Semaphore. The latter has the advantage that Semaphore shows you exactly what script failed.  Particularly if you have different scripts in different branches.
I'd probably go with running all scripts but I don't have a strong preference.

I'm planning on getting back to this after https://github.com/rusoto/rusoto/pull/977 and maybe https://github.com/rusoto/rusoto/pull/979 . 👍

I finally found some time to get my Semaphore account unlocked and test this. As a result, I made a few adjustments.
run-parts
When I initially created this pull request, I hadn't yet realized that I should use run-parts. I move a few things around to make the test work better with run-parts. In particular, it should be really easy now to add/remove/edit new build steps and it shouldn't matter anymore if the tests differ across branches.
There is now a .semaphoreci/run.sh that sets up env variables and then calls run-parts which in turn executes all scripts matching the pattern .semaphoreci/test_*, in alphabetical order.
Currently, this are:
user@dev:~/src/rusoto$ ls -lh .semaphoreci/test_*
-rwxr-xr-x 1 user user 136 Mar 15 00:56 .semaphoreci/test_00_install_dependencies.sh
-rwxr-xr-x 1 user user 716 Mar 15 00:56 .semaphoreci/test_10_ceph.sh
-rwxr-xr-x 1 user user  75 Mar 15 00:56 .semaphoreci/test_11_clean_docker_images.sh
-rwxr-xr-x 1 user user 677 Mar 15 00:56 .semaphoreci/test_20_minio.sh
lrwxrwxrwx 1 user user  30 Mar 15 00:56 .semaphoreci/test_21_clean_docker_images.sh -> test_11_clean_docker_images.sh
-rwxr-xr-x 1 user user  55 Mar 15 00:56 .semaphoreci/test_90_install_nightly.sh
-rwxr-xr-x 1 user user 714 Mar 15 01:06 .semaphoreci/test_99_codegen.sh

Output
I moved error messages to the end of the output and colored them red to make sure they are easy to spot. Before, you had sometimes to scroll up hundreds of lines.
This is how the output looks like:
success
ceph failed
generated code not up-to-date

Before merging this, we should make sure ~/.cargo and the target directories are cached. Just like with Travis (#1011).
Looks like symlinks need to be created to have directories cached, at least according to documentation. I'll try to get it working tomorrow.

Caching directories are now properly linked to the right place. Testing this I run into issues with disk space, once again. I added df -h's before and after the build. Looks like there is a mere 5.1 GiB of disk space before the tests start.
Ceph, by default, refuses to fill the disk more than 95% (leaving ~1.3 GiB of space free). I guess this makes sense in a production cluster, for us however it doesn't. I now added a custom Ceph config allowing it to fill 100% of the disk space.

@matthewkmayer, yes, that's what I had in mind.

Let's see how it works. 🤘


Process Exception: Process dir/gradlew.bat exited abnormally

Steps to Reproduce

I created a new project using vscode command pallete
Then run the application (i did not change anything in the starter code)
Shows the error on the gradlew.bat

Logs

flutter run

ProcessException: Process "C:\Users\Renz\Documents\Flutter Projects\gocart\android\gradlew.bat" exited abnormally:
Exception in thread "main" java.lang.NullPointerException
	at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:34)
	at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:25)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
  Command: C:\Users\Renz\Documents\Flutter Projects\gocart\android\gradlew.bat -v
Exited (sigterm)

what is the output of flutter doctor? What is the content of the file <app>\android\gradle\gradle-wrapper.properties?


Fix #16297 - modal mousewheel scrolling issue on Chrome

Fixes issue https://github.com/twbs/bootstrap/issues/16297
The bug occurs when the modal height exceeds window height -- Chrome mousewheel scrolling does not work unless the browser window is resized.
Related Chrome issue: https://code.google.com/p/chromium/issues/detail?id=343244

Note for reviewers: This will break Safari<7.1 (on account of #14254), which we technically don't support anymore anyway per our browser support policy.
CC: @mdo @hnrch02

I'm 50/50 on this, could go either way.

+1 from me.
@hnrch02 Ping.
CC: @XhmikosR

Seems like a good workaround to me. As long as it doesn't have any side effects ofc.
PS. @6: please clean up/squash the patches.

I'm rather hesitant to merge this given the craziness we've seen around use of the 3d translate stuff. We've already removed it all once, how long until we remove it here again? Is it enough to document this as a bug and not make any other changes?

Punting per my last comment.


Install kaggle with anaconda error

Hi, I'm trying to install kaggle on Ubuntu 16.04.
I firstly tried to install this kaggle by pip install --user kaggle, but when I run kaggle, it shows OSError: Could not find kaggle.json. I searched that in Issues but I can't find kaggle.json in either /root or other places.
I tried to uninstall kaggle, and it shows that it is installed in anaconda3/bin, the version of my pip is pip 18.1 from /home/stein/software/anaconda3/lib/python3.7/site-packages/pip (python 3.7)
Is it because that I installed kaggle with anaconda?

Sorry I made a mistake... I have download my json and it works...

@JiangStein I have downloaded my JSON and it works... what does that mean? I am facing the same issue please help.

@kirankotari , here is the correct answer: https://github.com/Kaggle/kaggle-api/issues/15


incorrect lowest price time of day

with the fixed PR in the timestamp for these sensors, this is revealed (today is dec 20th)

while it should really be like

note the timestamp is indeed 1 day off:

instead of

the correct timestamp is ,made by the custom intergration by @klaasnicolaas for the EnergyZero data
see:

In what mode of calculation are you running with the integration?
And to double check: the timestamp format is now ok?

dont think I understand what you are asking about the mode of calculation.
(timestamp seems to be ok, that is, it is showing in the frontend correctly. only a day off ;-)
see this:

it just doesnt check todays prices and seems to go back a full day.
which is remarkable, because when I select 48 hours, these are not ready yet, and only todays prices are available:

@Mariusthvdb you can find the selected calculation method in the options menu that you can access via the configure button on the entsoe integration.
Should look like this:

Based on your selected method this could be related to #77 and #98

I am in publish and i am having the same problem. Would choosing another calculation method fix this?

The hourprices list you get in your _filter_calculated_hourprices function, does it consist of data from multiple days?

Highest price is also incorrect and therefore the percentage is also incorrect.

The hourprices list you get in the _filter_calculated_hourprices function, does it consist of data from multiple days?

If I understand the code correctly, if self.calculation_mode == CALCULATION_MODE["publish"] it'll return data for 72h or 48h which makes these guys incorrect if you expect the values to be for the current day?
            "min_price": self.get_min_price(filtered_hourprices),
            "max_price": self.get_max_price(filtered_hourprices),
            "avg_price": self.get_avg_price(filtered_hourprices),
            "time_min": self.get_min_time(filtered_hourprices),
            "time_max": self.get_max_time(filtered_hourprices),

Or is this on purpose?

I'm in publish mode and the "sensor.entsoe_highest_energy_price_today" is showing a price for tomorrow.
Also, sensor.entsoe_time_of_highest_price_today is for tomorrow.

So it would be nice to hear some opinions on the calculation methods.
Currently "rotation" is the only calculation method that uses only the data of "today".
"sliding" is using data of today and tomorrow (if available) to calculate min/max,... . (so can change in the middle of the day when new prices arrive)
"publish" is using all available data which is yesterday, today and tomorrow (if available) to calculate min/max,...(so can change in the middle of the day when new prices arrive)
The naming of the entities suggest "sensor.entsoe_time_of_highest_price_today" that only data of today is being used. Publish is however the default option.
I my opinion rotation is the most logical calculation method so we could change the default to rotation.
And I think we also should drop the "today" naming for the entities because it is confusing and only true for rotation.
And should we have 3 different calculation methods? Is publish useful for anyone? Maybe we could drop it?
All feedback appreciated.

The beta version of v0.5.0-beta1 does contain a lot of changes to improve reliability. I have checked the calculations of the min/max,... for the different settings and they should all work as documented.
Can you test and provide feedback?

v0.5.0 is released. The discussed issues should be solved. Please feel free to open a new issue if you feel this is needed.


Support for blue

I use blue formatter which is exactly like black but with a few modifications. Other language servers like Pylance allow customizing the black executable name so it can be changed to blue. I'm wondering if this project would be open to allowing a customization of the import name like black = __import__(config.import_name).
For now I will just create a fork and use that.

I didn't know about blue, love the logo! :laughing:
If all it takes for compatibility is to introduce a black_executable configuration option then I would be open to PRs for it. Otherwise a fork to python-lsp-blue would make more sense IMO.


Using ngAnimate

Great component. I would like to use ngAnimate to animate showing of rows.
For that to happen custom class needs to be added to
Is there a way to do that at this point?

Never tried it but I have a slight suspicion it won't work in the current form.  #91 might solve it in the future.


Correction for raw affiliation Adult Immunodeficiency Unit, Infectious Diseases, Inflammation Center, University of Helsinki and Helsinki University Hospital, Hel-sinki, Finland; Rare Diseases Center and Pediatric Research Center, Children's Hospital, University of Helsinki and Helsinki University Hospital, Helsinki, Finland 78 Specialized Immunology Laboratory of Dr. Shahrooei, Ahvaz, Iran; Department of Microbiology and Immunology, Clinical and Diag-nostic Immunology, KU Leuven, Leuven, Belgium 79 Department of Immunology, Dmitry Rogachev National Medical Research Center of Pediatric Hematology, Oncology and Immunology, Moscow, Russia 80 Central European Institute of Technology & Department of Biol-ogy, Faculty of Medicine, Masaryk University, Brno, Czech Republic 81 Pediatric Infectious Diseases and Immunodeficiencies Unit, Vall d'Hebron Barcelona Hospital Campus, Barcelona, Catalonia, Spain 82 Université de Paris, Institut de Recherche Saint-Louis, INSERM U976, Hôpital Saint-Louis,...

Correction needed for raw affiliation Adult Immunodeficiency Unit, Infectious Diseases, Inflammation Center, University of Helsinki and Helsinki University Hospital, Hel-sinki, Finland; Rare Diseases Center and Pediatric Research Center, Children's Hospital, University of Helsinki and Helsinki University Hospital, Helsinki, Finland 78 Specialized Immunology Laboratory of Dr. Shahrooei, Ahvaz, Iran; Department of Microbiology and Immunology, Clinical and Diag-nostic Immunology, KU Leuven, Leuven, Belgium 79 Department of Immunology, Dmitry Rogachev National Medical Research Center of Pediatric Hematology, Oncology and Immunology, Moscow, Russia 80 Central European Institute of Technology & Department of Biol-ogy, Faculty of Medicine, Masaryk University, Brno, Czech Republic 81 Pediatric Infectious Diseases and Immunodeficiencies Unit, Vall d'Hebron Barcelona Hospital Campus, Barcelona, Catalonia, Spain 82 Université de Paris, Institut de Recherche Saint-Louis, INSERM U976, Hôpital Saint-Louis, Paris, France; AP-HP, Hôpital Saint-Louis, Laboratoire d'Immunologie, Paris, France 83 Department of Medical Microbiology, University Medical Center Utrecht, Utrecht, Netherlands 84 Department of Internal Medicine II, Medical University of Inns-bruck, Innsbruck, Austria 85 Garvan Institute of Medical Research, Darlinghurst, NSW, Aus-tralia; St Vincent's Clinical School, Faculty of Medicine, UNSW Syd-ney, NSW, Australia 86 Al Jalila Children's Hospital, Dubai, UAE 87 Departments of Medical Genetics & Histology and Embryology, Faculty of Medicine; Department of Translational Medicine, Health Sciences Institude, Bursa Uludağ University, Bursa, Turkey 88 Hospices Civils de Lyon, Lyon, France; International Center of Research in Infectiology, Lyon University, INSERM U1111, CNRS UMR 5308, ENS, UCBL, Lyon, France 89 BC Children's Hospital, The University of British Columbia, Vancouver, Canada 90 Centre for Precision Therapeutics, Genetics & Genomic Medicine Centre, NeuroGen Children's Healthcare and Lecturer, Holy Family Red Crescent Medical College Dhaka, Bangladesh 91 Department of Neurology, Amsterdam Neuroscience, Amsterdam University Medical Center, University of Amsterdam, Amsterdam, The Netherlands 92 Department of Pediatric Pneumology, Immunology and Intensive Care, Charité Universitätsmedizin, Berlin University Hospital Center, Berlin, Germany; Labor Berlin GmbH, Department of Immunology, Berlin, Germany; Berlin Institutes of Health (BIH), Berlin-Branden-burg Center for Regenerative Therapies, Berlin, G
raw_affiliation_name: Adult Immunodeficiency Unit, Infectious Diseases, Inflammation Center, University of Helsinki and Helsinki University Hospital, Hel-sinki, Finland; Rare Diseases Center and Pediatric Research Center, Children's Hospital, University of Helsinki and Helsinki University Hospital, Helsinki, Finland 78 Specialized Immunology Laboratory of Dr. Shahrooei, Ahvaz, Iran; Department of Microbiology and Immunology, Clinical and Diag-nostic Immunology, KU Leuven, Leuven, Belgium 79 Department of Immunology, Dmitry Rogachev National Medical Research Center of Pediatric Hematology, Oncology and Immunology, Moscow, Russia 80 Central European Institute of Technology & Department of Biol-ogy, Faculty of Medicine, Masaryk University, Brno, Czech Republic 81 Pediatric Infectious Diseases and Immunodeficiencies Unit, Vall d'Hebron Barcelona Hospital Campus, Barcelona, Catalonia, Spain 82 Université de Paris, Institut de Recherche Saint-Louis, INSERM U976, Hôpital Saint-Louis, Paris, France; AP-HP, Hôpital Saint-Louis, Laboratoire d'Immunologie, Paris, France 83 Department of Medical Microbiology, University Medical Center Utrecht, Utrecht, Netherlands 84 Department of Internal Medicine II, Medical University of Inns-bruck, Innsbruck, Austria 85 Garvan Institute of Medical Research, Darlinghurst, NSW, Aus-tralia; St Vincent's Clinical School, Faculty of Medicine, UNSW Syd-ney, NSW, Australia 86 Al Jalila Children's Hospital, Dubai, UAE 87 Departments of Medical Genetics & Histology and Embryology, Faculty of Medicine; Department of Translational Medicine, Health Sciences Institude, Bursa Uludağ University, Bursa, Turkey 88 Hospices Civils de Lyon, Lyon, France; International Center of Research in Infectiology, Lyon University, INSERM U1111, CNRS UMR 5308, ENS, UCBL, Lyon, France 89 BC Children's Hospital, The University of British Columbia, Vancouver, Canada 90 Centre for Precision Therapeutics, Genetics & Genomic Medicine Centre, NeuroGen Children's Healthcare and Lecturer, Holy Family Red Crescent Medical College Dhaka, Bangladesh 91 Department of Neurology, Amsterdam Neuroscience, Amsterdam University Medical Center, University of Amsterdam, Amsterdam, The Netherlands 92 Department of Pediatric Pneumology, Immunology and Intensive Care, Charité Universitätsmedizin, Berlin University Hospital Center, Berlin, Germany; Labor Berlin GmbH, Department of Immunology, Berlin, Germany; Berlin Institutes of Health (BIH), Berlin-Branden-burg Center for Regenerative Therapies, Berlin, G
new_rors: 02e8hzf44;029brtt94;02feahw73;00pg5jh14;040af2s02;02vjkv261;059sz6q14
previous_rors: 02e8hzf44;029brtt94;02feahw73;00pg5jh14;040af2s02;02vjkv261
works_examples: W4303476441
contact: 7d88642aecba610a29d714460218a9de:001cd111ebd7b3f8ae792d81bfb3 @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Fix bug: ObjectMapper should not register modules twice

Fix bug: ObjectMapper should not register modules twice and adapt unit test cases
Signed-off-by: SirWayne<EMAIL_ADDRESS>

@SirWayne Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@SirWayne Thank you for signing the Contributor License Agreement!

Merged with removing formatting changes via 0476e7242be4dd48f119c2f76ae4373cab73d176

Formatting fixed in 0476e7242be4dd48f119c2f76ae4373cab73d176


More early help for first-time users

Suggestion:

Provide a little more detail when first encountering steps such as new file creation (e.g. add a new controller). This will obviously be different for VS2017, VS Code and CLI...

Creating a new file (for example) is significantly different across VS, VS Code, and other editors, so I avoided the issue the first time around. Not quite sure yet if this adds a ton of extra value, but it may for super-new users?

Personally I feel like this ventures too far into teaching someone how to use their tools, rather than teaching them the subject at hand.  There's plenty of guides out there already on how to use the various editors and IDEs.  I think adding this might just add a bit too much 'noise'.

@GarethOates I agree, but it might make sense to explain how to use at least the "official" tools. Microsoft is betting the farm on VS Code for .NET Core stuff.


Apache Arrow 0.11.1

This adds support for pyarrow==0.11.x but does not yet introduce Python 3.7 support. I'll continue with that in a separate PR.

Codecov Report

Merging #183 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   97.65%   97.65%
=======================================
  Files         145      145
  Lines        2989     2989
=======================================
  Hits         2919     2919
  Misses         70       70

Impacted Files
Coverage Δ

...pp/turbodbc_arrow/Library/src/arrow_result_set.cpp
97.16% <100%> (ø)
:arrow_up:

...urbodbc_arrow/Test/tests/arrow_result_set_test.cpp
100% <100%> (ø)
:arrow_up:

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 934daca...11dfd70. Read the comment docs.

The dropped Python 3.4 support needs to be reflected in the documentation and in the Readme file

@MathMagique Done.


Update README.md

Because dir. No, but really create the dir if it doesn't exist.

Following up on this to see if it will be merged anytime soon?

Closing for inactivity.


gitpodify this project

🛠 Fixes Issue
fixes #69

👨💻 Changes proposed
gitpodify this project

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove old storybook configuration from packages/core

In https://github.com/spotify/backstage/pull/371, storybook config was moved from packages/core to packages/storybook to avoid conflicts.
packages/core/.storybook was missed and not removed at the time. Now, we don't need this anymore, so we can safely remove this file.
Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[ ] Screenshots attached (for UI changes)
[ ] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] Regression tests added for bug fixes

Phew! Checks completed, finally. :D


ACME HTTP: Allow customizing HTTP client x509.CertPool

This PR updates acme/http.go to allow customizing the *x509.CertPool used by the HTTPClient by specifying the filepath of one or more custom CA certificates via the LEGO_CA_CERTIFICATES environment variable.
This allows developers to easily trust a non-standard CA when interacting with an ACME test server (e.g. Pebble):
LEGO_CA_CERTIFICATES=~/go/src/github.com/letsencrypt/pebble/test/certs/pebble.minica.pem \
lego \
  --server https://localhost:14000/dir \
  --email<EMAIL_ADDRESS>\
  -d example.com \
  run

Resolves #569

@ldez Is there anything I can do to help get this merged? Does it need another maintainer +1? It would be nice to free the mental reference I'm carrying :-)

I was just waiting in case someone wanted to add something.
Now I think it's time to merge :smile:
Thank you very much.

@ldez Great, thank you!
@ldez @xenolf @mholt @wyattjoh I don't often get a chance to throw code at the client side of ACME. It was a pleasant experience contributing to Lego. Thanks for the great project/community!


chore(tier4_map_launch): add lanelet2 config files to tier4_map_launch

Signed-off-by: melike tanrikulu<EMAIL_ADDRESS>Description
This PR aims to provide the ability to change lanelet2 map configurations from within tier4_map_launch.
At the same time, the following PR has been created in order to make changes to the config file in autoware_launch.
Related PR: https://github.com/autowarefoundation/autoware_launch/pull/169

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@kminoda @RyuYamamoto @mitsudome-r could you review please?

The change looks good to me.
However, there were refactoring done in the autoware_launch repository, and we now use tier4_map_component.launch.xml as default. I was wondering if you want to make the similar changes to that as well.
https://github.com/autowarefoundation/autoware_launch/pull/128/files

Thank you @mitsudome-r. I added also there. Related PR is here https://github.com/autowarefoundation/autoware_launch/pull/169

Sorry for the late reply. I updated the PR could you review and merge @kminoda . Thank you


[roku-medium-2]: remove punkrouter, add withdraw punk functionality

…n and corresponding test

Can we actually delete the PunkRouter file and all associated tests as well? As if we never had it


Adding tests to about landing page.

This is a duplicate of #785.

:+1:

Truly sincere :+1:
:fireworks:


Stop requiring specific kivy version

Breaks stuff for 1.9.1 as there's no wheel for python 3.5 and reinstalls stable wheel (with compilation if 3.5) even when master is available, because for some reason it can't compare the versions. Might be related to https://github.com/kivy/kivy/issues/4861

https://github.com/kivy/kivy/issues/4861 might be able to solve it, if the version comparing works correctly. Otherwise even after that the original line will cause troubles.


Doubt: is possible to use to enable the usb mass storage?

I installed the app and I tried to plug a usb pendrive on the smartphone, and the files were listed with success.
But I need to enable/disable the usb mass storage when the user interacts with a button at my activity, to make possible the PC Host read some files on my device. I'm with no luck to find a way to do this without root permission on API 15.
Is possible to use libaums to make this work?
Thanks.

If you are trying to enable the Android mass storage mode, usually done in settings of via notification (if supported), then no sorry, this library does totally different things. Like you already mentioned, it is to use USB flash drives in Android.


Enforce password authentication for phpMyAdmin and follow secure practices

Consider adopting the strategies mentioned in the following guide:
https://docs.phpmyadmin.net/en/latest/setup.html#securing-your-phpmyadmin-installation

References added to the wiki: https://github.com/indianracingcommunity/RLIProject/wiki/Useful-Links#phpmyadmin


disabling CLOCK_SECOND notification

is there a way to NOT send NOTIFICATION CLOCK_SECOND every single second (flooding) with displaySeconds = true in CLOCK module?

what does the documentation say?

no..  but you could add another option and submit a pr
sendNotification:true,
if (this.config.sendNotification)
in config.js for clock
sendNotification:false

u can also filter in the dev console
using a part of the module name u care about in the filter field

comment this line in clock.js
self.sendNotification("CLOCK_SECOND", self.second);
like this one
//	self.sendNotification("CLOCK_SECOND", self.second);


Require NumPy 1.10.4+

Fixes https://github.com/dask/dask/issues/2796
As NumPy 1.10.4+ is the oldest version of NumPy that we test against, set that as the lower bound for Dask's optional NumPy requirement. Also some things that Dask is doing internally assume NumPy 1.10 at a minimum (e.g. wrapping cbrt).

This seems fine to me. I checked, and both xarray and scikit-image (downstream dependencies) require >= 1.11, so this does no harm to them. Thanks, merging.


Name things "fraction" instead of "percent(age)" where appropriate

In a number of places, the words "percent" and "percentage" are used where, because the argument range is [0,1], "fraction" or "fractional" is more appropriate. This changes those.
Note: The use of "percentile" in separate_stains_macenko_pca and those with the same parameters is kept the same, as I'm unaware of a good replacement term ("quantile" seems to refer to the dividing quantity -- thus a percentile is identical to a 100-quantile)

Codecov Report

Merging #317 into master will not change coverage.
The diff coverage is 88.88%.

@@           Coverage Diff           @@
##           master     #317   +/-   ##
=======================================
  Coverage   45.15%   45.15%
=======================================
  Files          99       99
  Lines        2695     2695
  Branches       98       98
=======================================
  Hits         1217     1217
  Misses       1478     1478

Impacted Files
Coverage Δ

histomicstk/segmentation/nuclear/min_model.py
6.61% <ø> (ø)
:arrow_up:

histomicstk/utils/convert_schedule.py
0% <ø> (ø)
:arrow_up:

...istomicstk/segmentation/nuclear/gaussian_voting.py
15.78% <ø> (ø)
:arrow_up:

histomicstk/utils/tiling_schedule.py
0% <ø> (ø)
:arrow_up:

...reprocessing/color_normalization/reinhard_stats.py
100% <100%> (ø)
:arrow_up:

histomicstk/utils/simple_mask.py
83.14% <100%> (ø)
:arrow_up:

histomicstk/utils/sample_pixels.py
94.54% <83.33%> (ø)
:arrow_up:

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 6a7d593...b68e499. Read the comment docs.


Dark support, bug fixes, and documentation

Added in better support for dark fill colours to remove visual glitch between table cells (f303cc11cb16164461f8eab0eb444608cb7ce885)

Added language aliases to the language argument. This allows for several language keys with the same language settings (d0bd709909f6dcc80bbc1fe7d4b271fe3af0e259)
Fixed bug with turning off zebra colours (f303cc11cb16164461f8eab0eb444608cb7ce885)
Fixed a bug with turning off stroke (f28e32e6bb3e20fad068fad10828ea4f22641116)
Added documentation generated using tidy 0.2.0 (f28e32e6bb3e20fad068fad10828ea4f22641116)
Bumped version in README.md (a8e4c88649314da210e5aa17c6225d0ee67980e2)

made icon field optional, defaults to none (0ec2373800b679947b67d476635ef9c8e09fa513 and da833362311edbe8ad6305c2fb89b06d5c6722b3)

@RosiePuddles Could you simplify this to just the changes that make it dark mode friendly? Because other than that, I have implemented all of the changes in 1.0.0 in 6e4a60f

Closing due to inactivity, feel free to reopen when/if you have time to work on it :)


Benchmarks?

Hi @LaurentMazare,
have you benchmarked this against huggingface's python diffusers? Should I expected it to be any faster? If yes, can you give me some intuition on the reason?

The underlying operations should be the same (as they are handled by libtorch both on this version and on the PyTorch version) so I would expect performance to be reasonably in line.


Cannot get ACME client unrecognized DNS provider: InternetX

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I tried to use InternetX as DNS Provider which should be supported according to: https://github.com/traefik/traefik/blob/a5c520664aae954f1a8cafbacf772a06c6f78b36/docs/content/https/acme.md?plain=1
Here is my Traefik config docker-compose:
networks:
  airflow:
    name: airflow
  traefik:
    name: traefik
  gitlab:
    name: gitlab
  zammad:
    name: zammad
services:
  traefik:
    command:
      - --api.insecure=true
      - --certificatesresolvers.letsencrypt.acme.caserver=https://acme-v02.api.letsencrypt.org/directory
      - --certificatesresolvers.letsencrypt.acme.dnschallenge=true
      - --certificatesresolvers.letsencrypt.acme.dnschallenge.disablepropagationcheck=true
      # InternetX
      - --certificatesresolvers.letsencrypt.acme.dnschallenge.provider=internetx
      - --certificatesresolvers.myresolver.acme.dnschallenge.delaybeforecheck=0

      - --certificatesresolvers.letsencrypt.acme.email=xxxx
      - --certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json
      - --entrypoints.web.address=:80
      - --entrypoints.websecure.address=:443
      - --providers.docker=true
      - --providers.docker.exposedbydefault=false
    container_name: traefik
    environment:
      - INTERNETX_USERNAME=xxxx
      - INTERNETX_PASSWORD=xxxx
      - INTERNETX_CONTEXT=xxxx
      - INTERNETX_SOLVER_NAME=xxxx
    image: traefik:2.9.8
    networks:
      - airflow
      - traefik
      - gitlab
      - zammad
    ports:
      - 22:22
      - 80:80
      - 443:443
      - 8080:8080
      - 5000:5000
    restart: always
    volumes:
      - /opt/connectr/docker-compose/traefik/letsencrypt:/letsencrypt
      - /var/run/docker.sock:/var/run/docker.sock:ro
version: '3.8'

What did you see instead?
level=error msg="Unable to obtain ACME certificate for domains \"gitlab.xxxx.de\": cannot get ACME client unrecognized DNS provider: internetx"
What version of Traefik are you using?
2.9.8
What is your environment & configuration?
# (paste your configuration here)

Add more configuration information here.
If applicable, please paste the log output in DEBUG level
No response

Hello,
the provider code is autodns not internetx.
https://doc.traefik.io/traefik/https/acme/#providers


NameError: global name 'logger' is not defined

$ pba --coins XVG,BTC
Traceback (most recent call last):
  File "/home/j/c/python-bittrex-autosell/bin/pba", line 11, in <module>
    sys.exit(main())
  File "/home/j/c/python-bittrex-autosell/local/lib/python2.7/site-packages/python_bittrex_autosell/main.py", line 122, in main
    coins = get_coins(args.coins)
  File "/home/j/c/python-bittrex-autosell/local/lib/python2.7/site-packages/python_bittrex_autosell/main.py", line 50, in get_coins
    logger.error(ERROR_COIN_NUMBER)
NameError: global name 'logger' is not defined

How did you install the package?

I installed with pip install like the readme suggests.  I think the error is caused by it trying to use the logger variable before it's been declared.

Hi, please reinstall.
Additionally, you are specifying only two tickers, they should be at least three, check the example usage.


Add CIE read and write examples

Closes #825

@nlakritz looks like the build failed cause of gofmt; run gofmt on the PR and you should be good


The interface stays empty

It seems something broke on updateServer, (server.js, line 35).
const updateServer = (server) => {
  const content = fs.readFileSync(server.logFile, 'utf8').trim().split('\n')
  const rawEntries = content.map((line) => line.match(/([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+),([^,]+),([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+):[0-9]+,([^,]+)/)).filter((itm) => itm)

	console.log(content); //return [ 'TITLE\tOpenVPN 2.4.0 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 22 2017',
  'TIME\tSun Sep 10 02:22:21 2017\t1505010141',
  'HEADER\tCLIENT_LIST\tCommon Name\tReal Address\tVirtual Address\tVirtual IPv6 Address\tBytes Received\tBytes Sent\tConnected Since\tConnected Since (time_t)\tUsername\tClient ID\tPeer ID',
  'CLIENT_LIST\texampleVpns\txx.xxx.xx.xxxx:49966\t<IP_ADDRESS>\t\t89138\t229758\tSun Sep 10 01:49:03 2017\t1505008143\tUNDEF\t0\t0',
  'HEADER\tROUTING_TABLE\tVirtual Address\tCommon Name\tReal Address\tLast Ref\tLast Ref (time_t)',
  'ROUTING_TABLE\t<IP_ADDRESS>\texampleVpn\txx.xxx.xx.xxx:49966\tSun Sep 10 02:19:01 2017\t1505009941',
  'GLOBAL_STATS\tMax bcast/mcast queue length\t3',
  'END' ]

	console.log(rawEntries); //return []

  const entries = rawEntries.map((entry) => ({
    vpn: entry[1],
    name: entry[2],
    pub: entry[3],
    ...

As a result the interface stays empty. See screenshot
The vpn and openvpn-status npm module are both running on a headless pi.
File /var/log/openvpn-status.log is registered into config and server-side openvpn
cat config.json
{
  "port": 3013,
  "bind": "<IP_ADDRESS>",
  "servers": [{"name": "Server", "logFile": "/var/log/openvpn-status.log"}],
  "ipFile": "./GeoLite2-City.mmdb"
}

Could the regex be the issue?
content.map((line) => line.match(/([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+),([^,]+),([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+):[0-9]+,([^,]+)/)).filter((itm) => itm)
Ty 4 your help

Can you post the contents of your openvpn-status.log? Ideally with more than one client connected :)

Works!
As you found out, tabulations was the problem.
Do you still need a full openvpn-status.log with multiple clients?

Maybe, yes just to double check. Also, can you confirm whether the fix is working for you?


Export of F4 versions no longer works

As of: https://github.com/fcrepo-exts/fcrepo-import-export/commit/9b1b03c72e76e7ce2a4aeae98ed3ecbe053cd3d0
..the export of F4 versions no longer works. This is likely due to the fact that the logic was changed in the above commit to look for the "timemap Link header", which does not exist in F4. Resources in F4 indicate that they are versioned by including the following RDF triple:
<> fedora:hasVersions <resource>/fcr:versions

Based on the discussion in the linked PR and the information on the Migrate to Fedora 6 documentation, you need to export your Fedora 4 using an older version of the fcrepo-import-export tool (specifically 0.3.0). So I'm closing this issue.

FWIW I was able to export my Fedora 4 test instance (no acls or versions) using the latest version of fcrepo-import-export tool (1.2.0) and get an identical export when I added the --membership flag.
Command with 0.3.0:
java -jar fcrepo-import-export-0.3.0.jar -b --dir F4_export --user fedoraAdmin:fedoraAdmin --mode export --resource http://localhost:8080/fedora/rest --binaries

Command with 1.2.0:
java -jar fcrepo-import-export-1.2.0.jar -b --dir F4_export --user fedoraAdmin:fedoraAdmin --mode export --resource http://localhost:8080/fedora/rest --binaries --membership


Update DG for add feature

Update DG with relevant UML diagrams with plantUML and images for add feature. Also do documentation in the DG.

Closed by PR #102


Errors in Latest Release?

I've done a clean go get of azure-sdk-for-go and the go-autorest packages. azure-sdk-for-go is filled with all of these errors:
github.com/Azure/azure-sdk-for-go/arm/web/hostingenvironments.go:106: too many arguments in call to azure.DoPollForAsynchronous
github.com/Azure/azure-sdk-for-go/arm/web/hostingenvironments.go:175: too many arguments in call to azure.DoPollForAsynchronous
github.com/Azure/azure-sdk-for-go/arm/web/hostingenvironments.go:244: too many arguments in call to azure.DoPollForAsynchronous

@andrewduch we develop the go-autorest and azure-sdk-for-go projects independently, therefore using tip of master branch from these projects are not necessarily going to be compatible. As our README.md highlights:

NOTE: This repository is under heavy ongoing development and is likely to break over time. We currently do not have any releases yet. If you are planning to use the repository, please consider vendoring the packages in your project and update them when a stable tag is out.

You can find what version of go-autorest works with the current version of azure-sdk-for-go at glide.lock file. In a nutshell, if you're using Azure SDK for Go, we strongly recommend hosting your dependencies locally in your project.
That should fix your problem. If not, please let us know. Closing for now.


Missing Publish Action after Step #9

> 9. Select Create to start creating the Azure resources.
> Once the wizard completes, it publishes the ASP.NET web app to Azure, and then launches the app in the default browser.
After clicking create, only the Publishing Profile and App Service is created, the code for the application is not pushed until the "Publish" button is clicked on the next underlying screen.

cc: @cephalin

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b1055184-0535-4318-2ae9-79e37bea0f28
Version Independent ID: b5dfedf8-c884-138b-0b3d-eea41e64c62b
Content: QuickStart: Create a C# ASP.NET app - Azure App Service
Content Source: articles/app-service/app-service-web-get-started-dotnet-framework.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

Hi @spboyer, thanks for bringing this to our attention. I have assigned the issue to @cephalin  to evaluate and update the doc as appropriate

@spboyer the content has been updated to the latest UI now. #please-close


Fine-tuning FFHQ curriculum

Can I have .yaml config file for fine-tuning FFHQ?
I'm using your exp/cips3d/configs/finetune_exp.yaml (for AFHQ) and after 7 hours, FID ~ 145 :(((.

OK, I have updated the repo.
Preparing AFHQ dataset:
# Prepare training dataset.
python scripts/dataset_tool.py \
    --source=datasets/AFHQv2/AFHQv2 \
    --dest=datasets/AFHQv2/AFHQv2_stylegan2.zip

The pre-trained FFHQ checkpoints: https://github.com/PeterouZh/CIPS-3D#pre-trained-checkpoints-including-generator-and-discriminator.
The start script: exp/cips3d/bash/finetuning_exp/finetune_afhq.sh.
The yaml file: exp/cips3d/configs/finetune_afhq.yaml.


Add the output chart to the results

Add this chart:

To the very bottom of the dashboard when someone clicks "See your results"

@mendesfabio the panel object is already done, we need only to add another space in the HTML I guess


upgrade scalar metaprograms to recognize complex types

Description
Complex numbers are to be considered as scalars in programs like is_stan_scalar.
The biggest consequence is that the underlying scalar type of a matrix might be a complex type rather than a real type, so that we have to go a level deeper to pull out the underlying real types.
I'm introducing a bunch of metaprograms as part of the complex functions pull request which can be used as replacements for other return type calculations.
It may help to work from the ordering of types by assignability, which is determined by these proper assignments for all real types T.
double = int
complex<T> = double
complex<T> = T
var = double
fvar<T> = double

The matrix types should be covariant, so that if U is assignable to V, then matrix<U, R, C> should be assignable to matrix<V, R, C>.  Same for std::vector. But C++ itself isn't covariant and we don't allow matrices of int.
Current Version:
v3.1.0

I believe this can be closed, is_stan_scalar was updated in #1917 and the rest of the metaprograms have been updated as we have added more complex support


Spring Boot 3.2 - WebClientSubscriber - java.lang.NoSuchMethodError

The latest version of the agent does not support Spring Boot 3.2
The ClientResponse#rawStatusCode was removed in Spring Framework 6.1

WARN  reactor.core.Exceptions - throwIfFatal detected a jvm fatal exception, which is thrown and logged below:
java.lang.NoSuchMethodError: 'int org.springframework.web.reactive.function.client.ClientResponse.rawStatusCode()'
	at co.elastic.apm.agent.springwebclient.WebClientSubscriber.onNext(WebClientSubscriber.java:77)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:122)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:200)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:200)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:200)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.MonoNext$NextSubscriber.onNext(MonoNext.java:82)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onNext(MonoFlatMapMany.java:250)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137)
	at reactor.core.publisher.Operators$ScalarSubscription.request(Operators.java:2571)
	at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.request(FluxHide.java:152)
	at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.request(FluxContextWrite.java:136)
	at reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain.onSubscribeInner(MonoFlatMapMany.java:150)
	at reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onSubscribe(MonoFlatMapMany.java:245)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onSubscribe(TracedSubscriber.java:85)
	at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onSubscribe(FluxContextWrite.java:101)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onSubscribe(TracedSubscriber.java:85)
	at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onSubscribe(FluxHide.java:122)
	at reactor.core.publisher.MonoJust.subscribe(MonoJust.java:55)
	at reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:68)
	at reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain.onNext(MonoFlatMapMany.java:195)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.SerializedSubscriber.onNext(SerializedSubscriber.java:99)
	at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onNext(FluxRetryWhen.java:177)
	at co.elastic.apm.agent.reactor.TracedSubscriber.onNext(TracedSubscriber.java:106)
	at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:176)
	at reactor.netty.http.client.HttpClientConnect$HttpIOHandlerObserver.onStateChange(HttpClientConnect.java:435)
	at reactor.netty.ReactorNetty$CompositeConnectionObserver.onStateChange(ReactorNetty.java:710)
	at reactor.netty.resources.DefaultPooledConnectionProvider$DisposableAcquire.onStateChange(DefaultPooledConnectionProvider.java:195)
	at reactor.netty.resources.DefaultPooledConnectionProvider$PooledConnection.onStateChange(DefaultPooledConnectionProvider.java:456)
	at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:703)

Great job @NicklasWallgren , a release with this fix will be highly appreciated!

@jackshirazi Any ETA on support for Spring Framework 6.1 and Spring Boot 3.2?

There is a pull request https://github.com/elastic/apm-agent-java/pull/3440 which resolves this issue. Don't know anything about an ETA for release, but yesterday @JonasKunz fixed this PR.

#3440 should indeed fix the issue. We have no new release scheduled yet, but we'll likely do one in the first half of december. If you need the fix earlier, you can use the snapshot-build after #3440 is merged.

#3440 should indeed fix the issue. We have no new release scheduled yet, but we'll likely do one in the first half of december. If you need the fix earlier, you can use the snapshot-build after #3440 is merged.

Do you have a release schedule yet? 🙂


Add Kendal College

@sfrowles First stage of verification passed, official domain is kendal.ac.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@sfrowles Thank you for your patience while waiting for a review and processing your request. Pull request merged.


[CASSANDRA-17023] Removed duplicate toCQLString in ReadCommand

[CASSANDRA-17023] Removed duplicate toCQLString in ReadCommand

Committed in https://github.com/apache/cassandra/commit/60e0da1bd0f8271f7bbba300695d67b9ad0a497f


Interception question

Maybe I'm just not getting this but say one did have access and had the ability to do said attack.
Does one need to run an MSC or SMSC to stand in as the one for the provider of the hacked user?
Meaning when you send the attack and update the location does your software simulate the HLR MSC SMSC to allow for real world attacks to be demo'ed
I just want to make sure i'm understanding this properly

Hello it’s the VLR that is responsible to update them u receive the traffic
as an MSC
On Friday, 14 September 2018, Devcoinfet<EMAIL_ADDRESS>wrote:

Maybe I'm just not getting this but say one did have access and had the
ability to do said attack.
Does one need to run an MSC or SMSC to stand in as the one for the
provider of the hacked user?
Meaning when you send the attack and update the location does your
software simulate the HLR MSC SMSC to allow for real world attacks to be
demo'ed
I just want to make sure i'm understanding this properly
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SigPloiter/SigPloit/issues/142, or mute the thread
https://github.com/notifications/unsubscribe-auth/AXXuv7okuYDS7Ot4JS6qaSc7cOGfKpg9ks5uaunsgaJpZM4WoXoA
.

Hello it’s the VLR that is responsible to update them u receive the traffic as an MSC
…
On Friday, 14 September 2018, Devcoinfet @.***> wrote: Maybe I'm just not getting this but say one did have access and had the ability to do said attack. Does one need to run an MSC or SMSC to stand in as the one for the provider of the hacked user? Meaning when you send the attack and update the location does your software simulate the HLR MSC SMSC to allow for real world attacks to be demo'ed I just want to make sure i'm understanding this properly — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#142>, or mute the thread https://github.com/notifications/unsubscribe-auth/AXXuv7okuYDS7Ot4JS6qaSc7cOGfKpg9ks5uaunsgaJpZM4WoXoA .

ok so if I understand you Your software acts as a fake MSC? and after sending the CAMEL update message You are able to do what exaclty can you elaborate what your software can or cant do so I can help fill in the gaps  if there are any?
my point here is it looks like the software is precompiled to have fake values etc
if i were to provide said variables to the java from php as I'm making software and I would like to use this
my only confusion upon taking the source code apart is do we have to run an MSC and all that or does the code handle this ?
do we have bridging and recording present?
is that a consideration you want to entertain?
and if it isn't an option of the program  can you outline  how one would provide a 3rd party MSC or a sip trunk that would be able to handle this id really appreciate loay  we have spoken prior when I used to have a gmail

nothing illegal or shady over here justa nosy curious coder that really wants to understand this and write some ss7 interface code etc

First, the software is not compiled with fake parameters, it takes user input, the only pre-configured code is for the server side and that used for simulation and eduactional purposes.
Second, again when you use updateLocation you simulate as if you are multiple nodes. At the beginning as a VLR that is sending the message then MSC listening to traffic
Third, this is using MAP and not CAMEL.
So this said, you are able to integrate your frontend easily with the code, as its not pre-compiled with any fake values


Update "hello world" translation test to comply with C++ standards

This is the norm
old C-style:
int main()
{
    Work();
}

modern C++-style:
class Program
{
public:
    void Main(std::vector<std::string> args)
    {
        Work();
    }
}

int main(int argc, char* argv[])
{
    Program program{};
    try
    {
        program.Main(std::vector<std::string>(argv + 1, argv + argc))
    }
    catch(...)
    {
        HandleException(...);
    }
}

@uselessgoddess where did you find this example?

From a comic post of one popularly company
https://habr.com/ru/company/intel/blog/156863/

From a comic post of one popularly company
https://habr.com/en/company/intel/blog/156863/

I didn't find such example there.


Return Multiple Variables

There are a few functions that return two variables, for example, get_body_pose returns position, orientation. When I run p, o = robot.get_body_pose(0), I get error:
p, o = self.robot.get_body_pose(0)
ValueError: too many values to unpack (expected 2)

How should I run the code properly? I use pybind11 v2.4.3 and raisimpy 7abf3e37e3050fe18708baddc6382593e8c47061

thx for reporting the bug. the fix is pushed


DevOps/ Add Rultor config

Rultor is a merging bot, that can help us in making new releases and merge PRs.


Error while installing the plugin from zip

Hi everybody. I was following the installation guide and when I tried to do the "install from zip" part I faced the following error:
Couldn't load plugin 'traffic-generation-editor-main' due to an error when calling its classFactory() method
ModuleNotFoundError: No module named 'ad_map_access'
Traceback (most recent call last):
File "C:\PROGRA~1/QGIS 3.28.3/apps/qgis/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/99660813/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\traffic-generation-editor-main_init.py", line 21, in classFactory
from .carla_scenario_editor import OSC_Generator    # pylint: disable=import-outside-toplevel,import-error
File "C:\PROGRA~1/QGIS 3.28.3/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/99660813/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\traffic-generation-editor-main\carla_scenario_editor.py", line 22, in
from .osc_generator.add_vehicles import AddVehiclesDockWidget
File "C:\PROGRA~1/QGIS 3.28.3/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/99660813/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\traffic-generation-editor-main\osc_generator\add_vehicles.py", line 21, in
import ad_map_access as ad
File "C:\PROGRA~1/QGIS 3.28.3/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'ad_map_access'
Does anyone know how can I fix this problem? any help is much appreciated!

Hi,
You need install the CARLA AD Map plugin to gpis first.


allow to pass custom resource

Hey guys, what do you think about that?
I am working on Ms Dynamics integration and need to pass a custom resource url to be able to access dynamics resources.
In case below url to start oauth should look like:
example.com/authorize?azure_resource=https://mydomain.crm.dynamics.com

I like it, but would appreciate a test to confirm it will continue to work in the future

thanks @dzivalli !


Resolves #911 by renaming UserCodec -> User

Codecov Report

Merging #912 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #912   +/-   ##
=======================================
  Coverage   85.68%   85.68%
=======================================
  Files          76       76
  Lines        2459     2459
  Branches      157      166    +9
=======================================
  Hits         2107     2107
  Misses        352      352

Impacted Files
Coverage Δ

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
91.25% <0%> (-0.63%)
:arrow_down:

...d/src/main/scala/io/circe/NonEmptySeqDecoder.scala
100% <0%> (+8.33%)
:arrow_up:

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 a33ff37...a5f07eb. Read the comment docs.

Thanks @se7entyse7en!


Fix null pointer error

Fix null pointer error
Error messages：
Unhandled exception. System.TypeInitializationException: The type initializer for 'OpenCvSharp.Internal.NativeMethods' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'OpenCvSharpExtern' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libOpenCvSharpExtern: cannot open shared object file: No such file or directory
at OpenCvSharp.Internal.NativeMethods.redirectError(CvErrorCallback errCallback, IntPtr userdata, IntPtr& prevUserdata)
at OpenCvSharp.Internal.ExceptionHandler.RegisterExceptionCallback()
at OpenCvSharp.Internal.NativeMethods.LoadLibraries(IEnumerable`1 additionalPaths)
at OpenCvSharp.Internal.NativeMethods..cctor()
--- End of inner exception stack trace ---
at OpenCvSharp.Internal.NativeMethods.videoio_VideoCapture_delete(IntPtr obj)
at OpenCvSharp.VideoCapture.DisposeUnmanaged()
at OpenCvSharp.DisposableObject.Dispose(Boolean disposing)
at OpenCvSharp.DisposableObject.Finalize()

Thank you!


Adjust #[doc(include)] paths for rustdoc change

Needed for https://github.com/rust-lang/rust/pull/60938 to land

Thanks, the library tests currently do not pass on nightly, so I'm not sure updating stdsimd upstream can be done until #768 is fixed.

Yeah I've seen. Unfortunate, but I can wait until that's resolved.


Demosite scopes problem.

Hi,
I have a problem with getting a token. Is there a problem with calling the function?:
tokens = oxc.get_tokens_by_code(code, state) (callback-login.cgi -> line 23). It should be:
tokens = oxc.get_tokens_by_code(code, scopes, state)
However there is another problem that scopes variable is not a list but a str and includes just "openid":
https://....../cgi-bin/callback-login.cgi?code=8dd6acb2-35af-44a8-81f1-58ea3c90f662&scope=openid&state=glpn5k29ajr1a8gdadlvum5bp3&session_state=4ccd688c-bf15-47da-bf22-7a9518e4eb40.
The OpenID server returns the redirect with all profiles as logged in OXD log. Could you please help? Thank you.

tokens = oxc.get_tokens_by_code(code, scopes, state) -> This function call is for the v2.4.3 The function call has changed since v2.4.4 to tokens = oxc.get_tokens_by_code(code, state). If you are using the latest code from either master or v3.0.1, there is no need to specify the scopes variable.
For the difference in what scopes, check the scopes variable specified in the default config at /opt/oxd-server/conf/oxd-default-site-config.json and also what you have specified at you demosite.cfg file. That would help you identify the difference in behaviours.
I am closing this ticket as this doesn't involve any bugs in the oxd-python code.


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2022-01-21T18:03:14+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio_release-1.13
2c4ef9e78bac3d7a92527584bd96784605e5c4f2
link
true
/test integ-security-istiodremote_istio_release-1.13

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


Debian packaging

Hi,
I forked and tried to execute get-mac.py directly just with python get-mac.py and nothing happens. So, I create the DEBIAN package and it seems to install correctly but I not able to validate if the script works because I'm using Pop!_OS by System76. BTW, I'm opening PR and you can test if the Debain package works.

Hey Júlio,
getmac/getmac.py is not meant to be directly executable. getmac/__main__.py is what is executed when you run python -m getmac, or get-mac after pip installing. You'll need both in the package I imagine.

Also, can you add a script that can generate a new package when preparing for a release?


Upgrade react-tap-event-plugin, fix test & eslint

Basically I fixed minor bug to bring the test back and also eslint rules. Upgrade react-tap-event-plugin since it's old and impact to peerDep - be ready for material-ui release as well.
Note: I also add TravisCI config to make the TravicCI work. Ref: https://travis-ci.org/crashbell/formsy-material-ui

@rojobuffalo Is it possible to be published?


Cannot read property 'name' of undefinedtemplateName

viewmodel-checks.coffee:5 Uncaught TypeError: Cannot read property 'name' of undefinedtemplateName @ viewmodel-checks.coffee:5checks.T#viewmodel @ viewmodel-checks.coffee:58VmCheck @ viewmodel-checks.coffee:119ViewModel.check @ viewmodel.coffee:88Blaze.Template.viewmodel @ template.coffee:6meteorInstall.client.templates.login.login.coffee @ login.coffee:15fileEvaluate @ modules-runtime.js?hash=939c79d…:158require @ modules-runtime.js?hash=939c79d…:92(anonymous function) @ config.coffee:3

Most likely you are still referencing to an instance which might have been removed when your code runs. Simply add existence check before referencing.

In your case the error is "Could not add the events for template '?'. The events property needs an object."
I am very curious on how you arrived at that error (a template with an undefined view). Please make a repro.
In the mean time update viewmodel-debug to v2.6.4


body parsing will fail if lines are not in windows format (crlf)

Describe the bug
If you want to write a .moc file, you have to pay attention to the line endings in the file. the parser looks for the platform-specific line endings or uses windows line endings (\r\n)
If you use in your editor lf (\n) you get a mystiric error about some json content that is unexpected ended.
To Reproduce

create a file with line endings (lf) for me switching that is very easly with notepad++
set Content-Type to "application/json"
set the logger to debug level
look in the log output, if you have done a request

Desktop (please complete the following information):

OS: Windows 10
Browser chrome
Version latest (0.5.00)

Additional context
here a little snipped of the log, if the error accoured for me:
2021-06-30 19:56:28 info: [14864] Master Started  2021-06-30 19:56:28 info: Cluster metrics server listening to 5555, metrics exposed on http://localhost:5555/metrics  2021-06-30 19:56:30 info: CORS enabled for http://localhost:1443/, http://localhost:1415/, http://localhost:5000/  2021-06-30 19:56:30 info: [22044] Worker started  2021-06-30 19:56:30 info: Handlebar helpers registration started  2021-06-30 19:56:30 warn: Code Injection is enabled.  2021-06-30 19:56:30 error: Loading custom handlebar helpers from ./custom_handlebar.json failed. File not found.  2021-06-30 19:56:30 info: Handlebar helpers registration completed  2021-06-30 19:56:30 debug: Creating a new back up.  2021-06-30 19:56:30 debug: Finished creating a new back up.  2021-06-30 19:56:30 info: Scheduled a backup cron job with specified cron: 0 * * * *  2021-06-30 19:56:30 info: Worker sharing HTTP server at http://localhost:1412 ⛳  2021-06-30 19:56:33 debug: Response Status set to 200  2021-06-30 19:56:33 warn: Unexpected end of JSON input  2021-06-30 19:56:33 debug: Generated Response   2021-06-30 19:56:33 debug: HTTP POST /xyz/abc :: Query Parameters: {"uuid":"c94dfc38f01989b87ac9a60c6bdb8caf","somesecret":"7777777777"} | Request Headers {"accept":"application/json, text/json, text/x-json, text/javascript, application/xml, text/xml","user-agent":"RestSharp/<IP_ADDRESS>","content-type":"application/x-www-form-urlencoded","host":"localhost:1412","content-length":"3309","accept-encoding":"gzip, deflate","connection":"Keep-Alive"} | Request Body ***secret ***

Thank you @christopherpross for opening an issue.
I assume that you are referring to the warning, Unexpected end of JSON input. If yes, this is not due to new line discrepancies.
You are right in the understanding that Camouflage looks for os specific new line characters.
https://github.com/testinggospels/camouflage/blob/4354574da2fb4fe736dc48ea32a2a798b9beeaf2/src/parser/HttpParser.ts#L127
However, the warning Unexpected end of JSON input is thrown when Camouflage faces issues parsing the JSON response. The reason this is a warning, is because, though Camouflage expects JSON as a default mock response, it's not necessary that response would always be a JSON (it could be xml, binary, or just a string.)
Also, could you please help understand a use case where you would need \n as new line in your mock file instead platform default i.e. \r\n for windows?

@shubhendumadhukar  thanks for your answer,
the main problem is not the line ending itself. It is the lagging documentation that the file have to use the line endings by the OS, on it is running. Because I am new to your great project and had this issue. My editor was set to unix-endings and I not recocnice this. I hadn't understand the error and the  try-error of fixing tooks a long time. I think we could improve something here, to getting the first steps with carmouflage much easier. This could be:

Write some notice in the docs
try to recocnice this case in the logs and output a warning
think about a better way to split the body and other sections of the mock-files

I hope this is now clearer.
all the best,
Christopher

Those are some valid points/resolutions.
Here's what we can do:

For the time being, we can update the docs to detail the line break constraints.
In the new release, instead of using node's os.EOL property, we use a custom function to detect the type of line break any given file has. Something similar to node-newline's detect.js
Log a new error if no valid line breaks are found in the file. i.e. CR, LF or CRLF.

Let me know if you'd like to add/modify anything.

hey,
no, that looks good for me, nice!


Fixed /api/search

The list of results is was in searchlist, also only one type of id is left (mayby last symbols of url should be used)
Fixes part of #1

Bruh, it works perfectly localy but breaks on deno deploy

Deployed preview from this PR works fine for me


Draft

draft

Coverage increased (+0.3%) to 78.629% when pulling b6f53d95da9efc40f2af76fc268dd5fe0c77b3f6 on Feature/Ubuntu_20 into b82332c075009fb255ef4f4b18cf6c338afd1b48 on master.

Move to another branch


Add Javadocs

Because the builder uses the same names as medium-editor. Users should use their option docs right now.
As soon as I has the time I will add appropriate Javadocs to all classes and methods.

Javadocs following https://github.com/yabwe/medium-editor/blob/master/OPTIONS.md added while upgrading to medium-editor 5.22.0 #19


Stats?

Any news on fixing the stats system?

The stats are working, but always appear to be 0, can you fix it ? Thanks.


up restclients-core version

Coverage remained the same at 97.632% when pulling 75436263a4381e5134b2ebf118d72112746a9684 on develop into cb9879cb3b9e70d71e0a5a2dc34e8d4b30e941a1 on master.


[CELEBORN-747][FOLLOWUP] avgFlushTime and avgFetchTime are in nano seconds

What changes were proposed in this pull request?
avgFlushTime and avgFetchTime are in nano seconds, it was accidentally formatted by msDurationToString and caused unreasonable logs.
usableSpace: 1602.1 GiB, avgFlushTime: 1.35 h, avgFetchTime: 1187.66 h

Why are the changes needed?
Fix logs.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UT is updated

cc @cfmcgrady

Thanks, merged to main/0.3


4.6 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay should be the normal rate for hours up to 40 and time-and-a-half for the hourly rate for all hours worked above 40 hours. Put the logic to do the computation of pay in a function called computepay() and use the function to do the computation. The function should return a value. Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75). You should use input to read a string and float() to convert the string to a number. Do not worry about error checking the user input unless you want to - you can assume the user types numbers properly. Do not name your variable sum or use the sum() function.

4.6 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay should be the normal rate for hours up to 40 and time-and-a-half for the hourly rate for all hours worked above 40 hours. Put the logic to do the computation of pay in a function called computepay() and use the function to do the computation. The function should return a value. Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75). You should use input to read a string and float() to convert the string to a number. Do not worry about error checking the user input unless you want to - you can assume the user types numbers properly. Do not name your variable sum or use the sum() function.\
def computepay():
hrs = input("Enter Hours:")
h = float(hrs)
rate = input("Enter Rate:")
r = float(rate)
pay = (h * r)
if h <= 40 :
return(pay)
else :
ovrhrs = (h-40)
regular = (r*40)
othrs = ovrhrs * (r *1.5)
ovrpay = (regular + othrs)
return(ovrpay)
result=computepay()
print(result)

Thank you

This title is really long and big! Please use short and better title.
Thanks you :+1:
Regards,
Max

AndtoMe

READ!ME!Read&ME!Read!ME

READ!ME!Read&ME!Read!ME

@AndMe-me

@sintuksuman

@BaseMax

@bruce

@ @wensum

@AndMe-me


Add helm template for secrets

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4795/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4797/
Test PASSed.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4799/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4809/
Test PASSed.


Pressing enter causes VIM to close and duplicate the line

Instructions: Replace the template text and remove irrelevant text (including this line)
Describe the bug
Launching VIM goes straight into insert mode and when I press the ENTER key VIM closes and the line I was on when vim is closed is duplicated.
(Issues related to the runtime files should be reported to their maintainer, check the file header.)
To Reproduce
Detailed steps to reproduce the behavior:

Run 'vim alone or on any text file'
Whilst in insert mode press Enter
Vim closes and the line the cursor was on is duplicated.

Expected behavior
A line break should be created and vim should stay open.
Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.
Environment (please complete the following information):

Vim version 8.2
OS: Arch Linux 5.10.6 x86_64
Terminal: Termite

Can you reproduce with no config ($ vim --clean)?

Can you reproduce with no config ($ vim --clean)?

seems I do not have the issue when i run that command both alone and when opening a text file. T

seems I do not have the issue when i run that command both alone and when opening a text file. T

Then you need to bisect your config to find a minimal working example.  For more info, see this faq entry.

Then you need to bisect your config to find a minimal working example.  For more info, see this faq entry.

ok will do that

ok will do that

I fixed the issue. somehow the .vifm folder in the plugin folder was causing this. I moved it into a backup folder .vim/backup/plugin/vifm.vim it fixed the issue. I think this happened after had that folder in the correct place then I added the plugin "vim/vifm.vim" line in my .vimrc file and installed it via :PlugInstall.

I fixed the issue. somehow the .vifm folder in the plugin folder was causing this. I moved it into a backup folder .vim/backup/plugin/vifm.vim it fixed the issue. I think this happened after had that folder in the correct place then I added the plugin "vim/vifm.vim" line in my .vimrc file and installed it via :PlugInstall.


New feature form validation

Created a validation file in JS.
Co-create the function with my partner.
Completed function with styling in CSS.
Made necessary changes to HTML.

**STATUS: APPROVED  🟢 **

Hi @shuhad786 ,
Great work on making the changes requested by a previous reviewer 👏🏻
Your project is complete! . There is nothing else to say other than... it's time to merge it 🍾🚢 :shipit: . Congratulations!  🎉💯🌟

Cheers and Happy coding! :clap: :clap: :clap:
Feel free to leave any questions or comments in the PR thread by mentioning my Github username if something is not 100% clear.

As described in the Code reviews limits policy you have  limited number of  reviews per this project. If you think that the code review was not fair, you can request a second opinion using this form.


a lot of packages used are deprecated

i cloned the repo and ran npm i. it appears the project has alot of deprecated/old dependencies. I am using node 14.

Noticed the same issue , was using Node 10 and had to update to latest Node...

I guess this repo tries to give you a general idea to do things. Most of the ideas behind the decisions don't change with another version of a package. I wouldn't recommend to clone the repo, I would rather see it as a place for inspiration.

This is a great point made by @Manubi. The repo should be used to give inspiration on how to build react applications.
On the other hand, it is nice to be able to clone the repo and start the app and play around with the code.
@ahmednawaz10p  have you tried to install it with Yarn? I haven't noticed any warnings by using it.


test commit

Current dependencies on/for this PR:

develop

PR #131   👈

This stack of pull requests is managed by Graphite.


Throw a 400 Bad Request error if the user asks for undefined includes

What is this PR trying to achieve?
If a user tries to pass unrecognised ?includes= parameters to the API, return a 400 Bad Request error and tell them which errors we didn’t like. The error response will look similar to the response returned on invalid pages:
{"errors":["includes: [\"foo\", \"bar\"] are not recognised includes parameters"]}

Resolves #411.
Who is this change for?
Users of the API.
Have the following been considered/are they needed?

[ ] Reviewed by @jtweed
[ ] Deployed new versions

@alexwlchan some tests failing in CI, otherwise good to go.


electron_5: init at 5.0.0

Motivation for this change
Copy of electron_4 expression with minor
addition of at-spi2-core which is needed to launch.
Not sure what apps are compatible just yet,
so haven't tried it beyond the base screen.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

cc @travisbhartwell @manveru


Support hypershift-operator scoping for secretJanitor

What this PR does / why we need it:
These changes extend the hostedcluster annotation scoping support to the secretJanitor. The secretJanitor was originally introduced in https://github.com/openshift/hypershift/pull/3969, but scoping support was not included. Scoping support was originally introduced in https://github.com/openshift/hypershift/pull/3702.
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

Thanks! are you ok to cover the filter func within PredicatesForHostedClusterAnnotationScoping and also getHostedClusterScopeAnnotation with unit tests before extending their consumption any further?

@enxebre are you looking for me to provide more unit testing for the already implemented functions?

@enxebre bump

/ok-to-test


Issues running deployment template

I receive the following error Request is invalid. Reason: The ServiceFabricVolumeDisk feature is no longer supported
I am trying to run the following command az mesh deployment create --resource-group myResourceGroup --template-uri https://raw.githubusercontent.com/Azure-Samples/service-fabric-mesh/master/templates/counter/counter.sfreliablevolume.linux.json

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5c1d6c14-cd8d-c75a-50fd-d9c104293c64
Version Independent ID: 30b1dbc5-cb98-561a-554f-b1c3d0a35fd5
Content: Service Fabric Reliable Disk Volume with Service Fabric Mesh - Azure Service Fabric Mesh
Content Source: articles/service-fabric-mesh/service-fabric-mesh-howto-deploy-app-sfreliable-disk-volume.md
Service: service-fabric-mesh
GitHub Login: @ashishnegi
Microsoft Alias: asnegi

@masnider Can you please help confirm on this error message or point us to the right person who can help.

I receive the following error Request is invalid. Reason: The ServiceFabricVolumeDisk feature is no longer supported
I am trying to run the following command az mesh deployment create --resource-group myResourceGroup --template-uri https://raw.githubusercontent.com/Azure-Samples/service-fabric-mesh/master/templates/counter/counter.sfreliablevolume.linux.json

@dkkapur Do you have insights on this for Service Fabric Mesh?

I receive the following error Request is invalid. Reason: The ServiceFabricVolumeDisk feature is no longer supported
I am trying to run the following command az mesh deployment create --resource-group myResourceGroup --template-uri https://raw.githubusercontent.com/Azure-Samples/service-fabric-mesh/master/templates/counter/counter.sfreliablevolume.linux.json

@itdap77 Are you still seeing this issue?

We will now close this issue. If you are still seeing this issue, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


lint-staged not running custom script

I'm trying to just format some json files, debug output:
  lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'node format-json.js' ] +0ms
  lint-staged:task cmd: node +0ms
  lint-staged:task args: [ 'format-json.js',
  '/Users/daimeng/work/<project>/<some_folder>/<file1>.json',
  '/Users/daimeng/work/<project>/<some_folder>/<file2>.json',
  '/Users/daimeng/work/<project>/<some_folder>/<file3>.json',
  ...
  ] +0ms

Running script with these args by hand like node format-json.js file1 file2 file3 works.
It's also finding the script correctly, if I point to some non-existent script to execute, it errors.
So it seems to find the files, but the script doesn't run. At this point, I'm just trying to get it to do anything, so I just write a test file or echo. This doesn't seem to work.
const fs = require('fs');
// const files = process.argv;
fs.writeFileSync('test.txt', 'foo', { encoding: 'utf8' })

This also works when run not through lint-staged.
Is there something I'm misunderstanding about this tool?

Does it work when using the --shell? It might be that because of how execa interprets the command, that it passes to node all the args listed in your snippets, instead of passing the file paths to the script itself.
Maybe node format-json.js -- ./file.json might work.

I think I figured it out. I didn't stage the format-json.js and package.json (where the lint configs are) themselves before rerunning.
It was never using my changes, my bad. Closing.


let variables immutable?

In the documentation it says that the following code gives an immutable variable:
let y = "hello"    ;; const variable (immutable)

It compiles to the equivalent javascript and let is not immutable in javascript, only const is immutable.

You are right, but it doesn't make any difference in practice because trying to set an immutable variable is a compile-time error in EG. Though, I should probably generate const anyway, if that can somehow help browsers run the code faster down the line.

Ah ok, I didn't realise that it was enforced at compile time.
Yeah, I guess I was also just confused that the semantics of var and let are completely different than semantics of var and let in Javascript. I see that's also how it's done in Swift (and probably other languages), I've just never come across those semantics before.

According to this, const does cause JS compilation to change but the answer is a bit outdated. However, with ES6 finalized, I think it's definitely a good idea to generate ES6 files with it.


Get event prior to going into state

I have a unique case where I must perform an operation prior to the state change.  Is there a way to get a before_visibilityState the event, perform an action, then allow the visibilityState to change?

I do not support this library. Honestly, you do not need it anymore since all browsers work without vendor prefixes

No, you do not need vendor prefixes anymore for this feature


Enhancing Email Validation and User Experience on EzyShop

Description
Key Changes:
Correct Email Validation: Implement a robust email validation mechanism that accurately checks for the presence of the @ symbol and other essential components of a valid email address.
User-Friendly Error Messages: Provide clear and informative error messages when users enter invalid email addresses, guiding them towards correct input.
Real-time Validation: Validate email addresses in real-time as users type, providing immediate feedback and preventing submission of invalid data.
Optional Email Field: Consider making the email field optional if it's not strictly necessary for the core functionality of the website.
Expected Benefits:
Improved user experience by preventing errors and providing clear guidance.
Increased data accuracy and reduced manual corrections.
Enhanced website credibility and professionalism.
Potential increase in user conversions and engagement.
By addressing this email validation issue, you can contribute to a more user-friendly and reliable EzyShop website.

Screenshots
No response
Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Hey @gouravi19 great issue found! You are going to be assigned.

Hope you read the CONTRIBUTING Guidelines.

And also follow us on Linkedin

And please ⭐ our repo and let me know that you starred.

I've completed the assignment, and I would appreciate your guidance on the
correct process to submit it via Git. Could you please let me know the
steps I should follow or any specific instructions for the submission?
On Thu, Oct 10, 2024, 17:49 Md Azfar Alam @.***> wrote:

Assigned #411 https://github.com/mdazfar2/Ezyshop/issues/411 to
@gouravi19 https://github.com/gouravi19.
—
Reply to this email directly, view it on GitHub
https://github.com/mdazfar2/Ezyshop/issues/411#event-14590328670, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BCN627RMPQKHDWW6GLIG2ODZ2ZWETAVCNFSM6AAAAABPWRPMFGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGU4TAMZSHA3DOMA
.
You are receiving this because you were assigned.Message ID:
@.***>

Hey @gouravi19, no worries! It is very easy to contribute to open source via git. I will provide you with the guidelines below:

Firstly, you have to fork our repo.

Then create an issue which you already raised.

Clone your forked repository, set it up on your local machine, and open the terminal in the directory where you want to work. See the command below:
git clone https://github.com/gouravi19/ezyshop.git

The Ezyshop project code will be cloned to your local machine.

Make changes in VS Code, and after completing the changes, open the terminal and run the following commands:
git status

git add .

git commit -m "write your commit message here"

git push origin main

That's all good! Now open your forked GitHub repository of Ezyshop.

Click on the Contribute button.

Click on Create new pull request.

Write the description and title, scroll down, and finally click Create pull request.

Congrats! 🥳 You've made your first pull request to this project repo.

Hope you understand! If you get stuck anywhere, feel free to reach out to me on Discord or LinkedIn.

Thank you so much for your guidance
It's done sir you can check it
On Sun, Oct 13, 2024, 00:42 Md Azfar Alam @.***> wrote:

Hey @gouravi19 https://github.com/gouravi19, no worries! It is very
easy to contribute to open source via git. I will provide you with the
guidelines below:

Firstly, you have to fork our repo
https://github.com/mdazfar2/ezyshop.
Then create an issue https://github.com/mdazfar2/ezyshop/issue/
which you already raised.
Clone your forked repository, set it up on your local machine, and
open the terminal in the directory where you want to work. See the command
below:
git clone https://github.com/gouravi19/ezyshop.git

The Ezyshop project code will be cloned to your local machine.
Make changes in VS Code, and after completing the changes, open the
terminal and run the following commands:
git status
git add .
git commit -m "write your commit message here"
git push origin main

That's all good! Now open your forked GitHub repository of Ezyshop.
Click on the Contribute button.
Click on Create new pull request.
Write the description and title, scroll down, and finally click Create
pull request.
Congrats! 🥳 You've made your first pull request to this project repo.

Hope you understand! If you get stuck anywhere, feel free to reach out to
me on Discord https://discordapp.com/users/877531143610708028 or
LinkedIn https://linkedin.com/in/md-azfar-alam/.
—
Reply to this email directly, view it on GitHub
https://github.com/mdazfar2/Ezyshop/issues/411#issuecomment-2408664971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCN627QZYARODFGO6RCRPKTZ3FYCNAVCNFSM6AAAAABPWRPMFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGY3DIOJXGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

#411 i have created a pull request
On Sun, 13 Oct 2024 at 01:08, gouravi singh @.***>
wrote:

Thank you so much for your guidance
It's done sir you can check it
On Sun, Oct 13, 2024, 00:42 Md Azfar Alam @.***>
wrote:

Hey @gouravi19 https://github.com/gouravi19, no worries! It is very
easy to contribute to open source via git. I will provide you with the
guidelines below:

Firstly, you have to fork our repo
https://github.com/mdazfar2/ezyshop.
Then create an issue https://github.com/mdazfar2/ezyshop/issue/
which you already raised.
Clone your forked repository, set it up on your local machine, and
open the terminal in the directory where you want to work. See the command
below:
git clone https://github.com/gouravi19/ezyshop.git

The Ezyshop project code will be cloned to your local machine.
Make changes in VS Code, and after completing the changes, open the
terminal and run the following commands:
git status
git add .
git commit -m "write your commit message here"
git push origin main

That's all good! Now open your forked GitHub repository of Ezyshop.
Click on the Contribute button.
Click on Create new pull request.
Write the description and title, scroll down, and finally click Create
pull request.
Congrats! 🥳 You've made your first pull request to this project repo.

Hope you understand! If you get stuck anywhere, feel free to reach out to
me on Discord https://discordapp.com/users/877531143610708028 or
LinkedIn https://linkedin.com/in/md-azfar-alam/.
—
Reply to this email directly, view it on GitHub
https://github.com/mdazfar2/Ezyshop/issues/411#issuecomment-2408664971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCN627QZYARODFGO6RCRPKTZ3FYCNAVCNFSM6AAAAABPWRPMFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGY3DIOJXGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

sir i have created a pull request can you please check it once i have completed it #527

sir i have created a pull request can you please check it once i have completed it https://github.com/mdazfar2/Ezyshop/pull/527  DO LET ME KNOW IF ANY CHANGES REQUIRED


0.13.1 Dual-stack Tor: transports already registered

I have just updated my node from 0.13.0 to 0.13.1. Now it fails on start with following error message:

transports already registered for protocol(s): tcp

My node is running in dual-stack mode, with Tor and clearnet. Here's the relevant part of the config file:
   "Addresses": {
      "Swarm": [
         "/ip4/<IP_ADDRESS>/tcp/4001",
         "/ip6/::/tcp/4001",
         "/ip4/<IP_ADDRESS>/tcp/9005/ws",
         "/ip6/::/tcp/9005/ws",
         "/onion/mybeautyonionadd:4003"
      ]

The node starts successfully with no errors if I delete the line with the onion address.

Thank you for the report @gavriilos. @cpacia would you please investigate this? Perhaps the rewritten onion transport has a mislabeled protocol?

Same issue here.

@gavriilos @pinheadmz Can you validate that https://github.com/OpenBazaar/openbazaar-go/releases/tag/v0.13.2-rc1 solves this problem for you?

We have internal reports that the issue has been resolved with v0.13.2 release. Please reopen as necessary.

Can confirm dual-stack config is working. Clearnet is accessible and I can ping onion-only peers as well:
{
    "Addrs": [
        "/onion/mde5pgdvolq5m34p:4003"
    ],
    "ID": "QmZtDNYXSJzKMNCEjiRxBcC2eZ19u4fuYJRsA9MuGBggcz"
}
{
    "status": "online"
}
``

Working here too. Thanks for the quick action!


⚠ Bofrost.es has degraded performance

In 3408a28, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1542 ms

Resolved: Bofrost.es performance has improved in fd2da56 after 6 minutes.