Torch no grad

https://github.com/kc-ml2/SimpleDreamer/blob/1800326b8fee2d78a0dffd7bcae27f6221896c2d/dreamer/algorithms/dreamer.py#L245
I would like to ask why torch.no_grad decorator is not used in this method.
I tried running your agent, but the execution would raise the "cuda out of memory" runtime error without the torch.no_grad decorator.
Thank you in advance

I run an experiment with @torch.no_grad() decorator for the environment_interaction() method: the memory is stable at 21.92 GiB and the agent correctly learns to play the game (CarRacing).

Thank you again. Could you tell me more about your environment? I guess it is caused by non time limit(or dynamic time limit) environment. your suggestion looks proper to me.


gluster-health-check - check for bricks connected

What does this PR do?
add an additional check to the gluster-health-check script
How should this be tested?
run the ./gluster-health-check against an OCP 3 cluster, then turn off a gluster pod and run it again and see the magic
Is there a relevant Issue open for this?
no
Other Relevant info, PRs, etc.
no
Who would you like to review this?
cc: @redhat-cop/casl
cc: @redhat-cop/day-in-the-life

@redhat-cop/casl and/or @redhat-cop/day-in-the-life peer review please

@garethahealy you reviewed the original MR, may be you can review this one?

@itewk ; since this one-liner is getting bigger and bigger. is it possible to move it to a script, cp it into the pod and then exec? just thinking about making it more readable

possible...sure....worth the efffort....I don't think so. CNS 3 is going to fad out fast enough. I promise if on the edge case I end up updating this again I will do that, but rather just get this in as is since it works.

nps.


Fix 6

Preview: https://react-component-groups-pr-component-groups-278.surge.sh

Please do not merge!


Esorex error when running SpectroReduction.sph_ird_cal_wave

Hi @avigan,
Thanks again for all the work you put in this pipeline!
I am trying to reduce the PZ Tel IRDIS MR data from Maire et al. to become a bit familiar with the spectroscopy mode of IRDIS. I am following the VLTPF example but get an error when running the sph_ird_cal_wave function:
error.log
All the FITS files in wave.sof do exist so I am not entirely sure what data is missing. Do you have an idea what could be going wrong here?
This is what the IRD_WAVECALIB_RAW looks like on a log scale:

Thanks :)!

Hi @avigan, I had another look at the data reduction and found out that I had downloaded the wrong flat fields... The DPR TECH was SPECTRUM,CORONOGRAPHY instead of SPECTRUM. The wavelength calibration is working fine now :), so I will close this issue.


Updating source file licensing and copyright notices

looks great!

Looks good. Thanks, Roman.
I am modifying pom.xml to add "PostgreSQL license" according to your suggestion.

Let me know when this gets merged in. I've got another PR to take care of the rest of licensing concerns.

Roman, would you like to merge this pull request into master? So that, I can modify pom.xml(add postgresql license and modify exclude list) based on this code change.
Thanks!

Roman, a new version of pom.xml has been pushed into master.
After your checkin, I will re-run mvc apache rat check and handle those new unknown files.


add representation method for notebooks for BackendStatus

Summary
This PR adds a representation method for the BackendStatus object. The representation is implemented using _repr_html_ and is used automatically in Jupyter notebook.
Details and comments
An image showing the old and new representation:

There a several other objects that might benefit from a representation method, these are not addressed in this PR.

So I think it is fine with respect to what one wants to accomplish.  However, it is not really a general piece of code; not all Qiskit backends support status or the specific status fields like pending_jobs.  This would work for IBM systems but not , for example, IONQ (as it stands right now).  So I am wondering if Qiskit should not just say the backend will have a status, but then defer to the providers as to what this status actually is?  Perhaps being operational or not is the bare minimum.

@nonhermitian are you ok with this moving forward?

I think everything here is technically part of the spec, so it should be fine.

It is hard to test code of this form without significant investment in mocking. While we would appreciate tests of this form after discussion with @mtreinish we would ok moving forward without unittests as I have validated that it works for me locally.

The BackendStatus object itself was not in the unit tests (except for checking the schema). I added a very simple test (construction of the BackendStatus, executing of the repr methods)

@taalexander Addressed the comments


handle nan in tools.golden_sect_DataFrame

[ ] Closes #xxxx
[x] I am familiar with the contributing guidelines
[x] Tests added
[ ] Updates entries in docs/sphinx/source/reference for API changes.
[ ] Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[x] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[x] Pull request is nearly complete and ready for detailed review.
[x] Maintainer: Appropriate GitHub Labels and Milestone are assigned to the Pull Request and linked Issue.

Supplements #1089. See discussion.

I guess my preference long term would be to replace this with the SciPy Cython Optimize Zeros API brentq() function. Not having to maintain a math library seems preferable to me.


about FREEZE_VISUAL_EXTRACTOR

Hello,
In AVSBench/avs_scripts/avss/config.py , it's set that "cfg.TRAIN.FREEZE_VISUAL_EXTRACTOR = True".
However, I can't find where this param is used.
Can you please tell me where you set the visual extractor's param freezed?
Many thanks!

Hi, It seems that we do not use this param in the code except in this config.py file. The visual backbones (i.e., ResNet50 and PVT-v2) for exacting features are frozen in our model.


#705 Add missing period characters

Adds period characters wherever they have been missing in complete sentences.
(Exception: asian languages / fonts. Wasn't sure if adding 'normal' period characters would have been correct there.)

Thanks for this! yeah I would skip any languages we aren't sure about.
Apologies for being pretty inconsistent on this :P

Deploying now!


Uh

I found a syntax error literally on the preface such sloppy work try harder buddy

If you’re creating an issue it might be worth pointing out what you’re talking about.

I’m sure you’re running that in your terminal and not in your IDE ? Those are not valid JavaScript statements.


working with spree 2-4-stable

i have this gem working with 2-4-stable, i would like to shared with you.
Someone may also need it.

This one was great thanks, it saved me a bunch of work.
Pull request confirmed working on Spree 2-4-stable.

a pleasure,  i found some problem with s3 connection with what i did,
please have it into account....
On 21/04/15 22:11, Jose Torres wrote:

This one was great thanks, it saved me a bunch of work.
Pull request confirmed working on Spree 2-4-stable.
—
Reply to this email directly or view it on GitHub
https://github.com/damianogiacomello/spree_banner/pull/11#issuecomment-94999202.


bug: filebeat default path does not work for all configurations

Describe the bug
When running in EKS, the default filebeat path (/var/lib/docker/containers) works fine. However, other deployments use different paths - for example, RKE2 uses /var/log/containers.
Need to make this configurable.
To Reproduce
Steps to reproduce the behavior:

Deploy to RKE or microk8s.
Watch as no logs get scraped.

Expected behavior
We need to make this configurable; I don't know that we can automatically guess what we're running on, so this may just be up to the user (or handled as part of the configuration process).
Your environment

n/a

Additional context
n/a

Since we are seeing more deployments on K3s, Microk8s, and Minikube this is becoming more of a problem. Looking into some other options to manage this from the OS side (ie, doing a symlink) which may be slightly easier than trying to detect and configure appropriately.

Relevant code is here: https://github.com/nginxinc/kic-reference-architectures/blob/master/pulumi/python/kubernetes/logagent/main.py#L68-L73
Default path is  /var/lib/docker/containers/${data.kubernetes.container.id}/*.log\noutput.elasticsearch:\n",


Removes the sudo when run with docker-machine

So the upshot is that on OS X desktops, there's no password required
during a test run

Current coverage is 49.25% (diff: 0.00%)

Merging #122 into master will decrease coverage by 0.20%

@@             master       #122   diff @@
==========================================
  Files            95         95
  Lines          4769       4789    +20
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2359       2359
- Misses         2179       2199    +20
  Partials        231        231

Powered by Codecov. Last update e35438b...e24ac0f


[EPIC] Generate code for resources.json

Epic to group all issues & fixes encountered on generating code for ResourceManager.
/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json
Yaohai's prototype with manually edited code https://github.com/Azure/azure-libraries-for-java/tree/azure_core_prototype
Anu's unmerged poller PR https://github.com/Azure/azure-sdk-for-java/pull/6303
Notes https://github.com/weidongxu-microsoft/work-notes/blob/master/autorest-java-v4.md

At present a good portion of generated code is good to use.
Major problem to be handled:

Integration with mgmt lib for LRO
x-ms-client-flatten

Done in v4_fluentgen branch.
Leave the PR merge to https://github.com/Azure/autorest.java/issues/442


Subject driven inpaint

do you have any plan on releasing an inpaint version for subject driven generation. Ultimately, i want to insert an object into my image where the position and scale provided by the mask. I think, there is no need for a new model as the inpaint pipeline can be inferred from text2image pipeline

do you have any plan on this ?

Hi @hamzaakyildiz ,
Thank you for being so interested! This idea aligns with part of our ongoing work. And we have been working on this for quite some time. We will release our work when it's ready! 🙌


Artifacts in URxvt with colors enabled

Running octavia in URxvt produces artifacts when enabling colors. While running octavia in tmux, everything seems to work great. Even when I try disabling alpha compositing and color shift in URxvt the problem is still there, although not as bad when both are enabled. I'm betting this is because URxvt doesn't support true color. Is there a possibility of working with Xresources color palettes in the future?

Exactly, the artifacts are due to rxvt-unicode lacking support for true colour. If you want to use rxvt-unicode with true colour support, there's a patched version available in the AUR called rxvt-unicode-truecolor. I just tried it out and the colours seem to display fine.
I'm planning on adding support for 4-bit (16 colours / Xresources palette), 8-bit (256 colours), and 24-bit (true colour) colours with different gradients and patterns.

Excellent; I didn't realize there was a truecolor version of urxvt on the AUR, that worked for me! One last question, and maybe I missed this somewhere, but is there an option to change the colors? It would be nice to set them to my colorscheme

An option to change the default colours without recompiling will come with the configuration file support, it's what I'm working on now! Until then, first make sure to update to the new 1.2 release, as there's lots of improvements to the colour gradients. Then you can change the default colours in the ./src/app/app.hh file. It should be pretty straightforward to change the hex colour, if you have any questions on changing it let me know!
Also, try playing around with the n, N, m, and M keys, it's now possible to toggle the x-axis gradient and y-axis gradient individually, which can make some neat looking patterns!

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis.


Update cucumber-html-reporter

What does this PR change?
This will update our used version of the cucumber-html-reporter. Split out of https://github.com/uyuni-project/sumaform/pull/1248
See

https://www.npmjs.com/package/cucumber-html-reporter
https://github.com/gkushang/cucumber-html-reporter

Rebase done.

I did some local tests with the new version and everything seems to work:


Fix support for no_std environment

Adding simple-json in a Substrate Runtime failed to compile Wasm.
This should fix that.
https://github.com/jimmychu0807/substrate-offchain-pricefetch/issues/2

Thanks. I haven’t actually got time to try this myself yet.


Add a Settings page & Log category

A settings section is added to "Project Settings > Plugins > Game Jolt".
If filled out appropriately, Game ID, Private Key, Server and Version will be set up automatically by the subsystem without ever having to call the Setup function.
A logging category "GameJoltAPI" has been added as well, this may be used to log errors the user may not have easy access to.
gitignore is updated as it kept pulling unnecessary files from my device

Thanks for your contribution!


Implemented Insertion Sort Functionality

The insertion sort visualization was implemented and gave expected results on testing. This PR is in reference to issue #7 and was assigned to me by @anubhavitis
I'll appreciate a review from the maintainers and will love to improve it if something's wrong.

Looks perfect.

Looks perfect.

thank you!


Please enroll in Github Sponsor Program

I know a handful of people who want to sponsor this project (including me), but cannot, because it's not set up properly. (Github Sponser), or @oliverw maybe has not enrolled into it.
@oliverw please fix this.
I'm hoping enough people can sponsor this project to get @oliverw to come back to working on it. Miningcore is hands-down the best open-source solution for mining pool software.
I know @oliverw spent a lot of time on here playing "Tech Support" for issues that were absolutely unrelated to MC software, and mostly related to peoples lack of experience/knowledge about using Linux, Postgres, or understanding basic networking, and/or how coin daemons work.
I've started a very detailed WIKI on Miningcore (will release soon) that will hopefully take care of the most common issues that people run into so that if @oliverw did come back to the project he can spend a lot less time doing tech support and actually work on the software instead.
Miningcore is really great and I don't want to see this project die. I know a lot of people are still using it b/c of all the questions we get in the Gitter channel.
@oliverw If you see this, please come back! We've missed you sir! 😄

bump

I think now is a good time to bump this for @oliverw.


what about bundled apk's?

trebleshot FOSS gives split APK's when transfering apps how is this script gonna act on them?

Not quite sure what you mean. For me I pull all the APKs including those from a split apk. Then you can select them all with SAI and install them.

yeah I wasn't sure if the apk's would be split as well that was kinda the question lmao


fix(log-messages): reduce excessive log messages

Description
This PR is one of group of PRs that aim to fix Autoware logging system to achieve the goal of reducing excessive error and warning logs on Autoware launch.
Fixes #5539
Related links
More details in the issue.
Relevant PRS

autoware_launch
autoware_common
tier4/pointcloud_to_laserscan

Tests performed

Planning Simulation

Run Autoware planning simulator and you can see no more excessive and recurring error, warning, and info message when the system running as expected

Rosbag Replay Simulation

To be addressed in another PR

AWSIM

To be addressed in another PR - extended goal)

Notes for reviewers
Take into consideration relevant PRs.

:red_circle: Merge Dependency :red_circle:
:exclamation: This PR is depending on a change in autoware_common which will require the autoware_common PR to be merged firstly to have the build and test differential successful :exclamation:
Interface changes
N.A

Effects on system behavior

Improved console output => better developer experience specially for debugging and catching actual problems.
Some recurrent info messages are lowered to debug level. So the developer would need to set the logger level of that specific node to see the debug message.

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.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

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.
[ ] The PR is ready for merge.

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

https://github.com/autowarefoundation/autoware.universe/actions/runs/7756002711/job/21152483741?pr=5971#step:2:23
The PR title and first commit message should start with lowercase letters.
fix(log-messages): reduce excessive log messages
You can drop "in Autoware" as well.

@ahmeddesokyebrahim can we merge this PR?

https://github.com/autowarefoundation/autoware.universe/actions/runs/7756002711/job/21152483741?pr=5971#step:2:23
The PR title and first commit message should start with lowercase letters.
fix(log-messages): reduce excessive log messages
You can drop "in Autoware" as well.

@xmfcx : Thanks for the comment. This is fixed here and in other PRs as well.

:exclamation: This PR is depending on a change in autoware_commonwhich will require the autoware_common to be merged firstly to have the build and test differential successful :exclamation:

I've rebased it to see if the build error would go away. I will also build it locally to see what's up.

Ok it was failing because this PR depends on:

https://github.com/autowarefoundation/autoware_common/pull/224/files
this PR to be merged first.

Ok it was failing because this PR depends on:
* [fix(log-messages): reduce excessive log messages autoware_common#224](https://github.com/autowarefoundation/autoware_common/pull/224)
  this PR to be merged first.

@xmfcx You are totally correct. I have already highlighted that in the note for reviewer section and mentioned the merge sequence order in a comment in the issue.
There is a similar merge dependency in autoware_launch as well we need to be careful of.

It compiles and works with all 3 PRs together in the planning simulator and the no unnecessary warnings or errors. Great work!
I will skim through the changes and add comments if necessary.

@xmfcx , I see all required actions are passing now.
What is preventing this PR now from being ready for merge ?

What is preventing this PR now from being ready for merge ?

Normally, we would have to get approvals from at least 1 Code Owner from each package.
But I can override it as repo maintainer.


add new geo properties for India

Allow new properties for India for geo-resolution:
usideCode
lgdCode
indianCensusAreaCode2001
indianCensusAreaCode2011

make changes here:
https://github.com/datacommonsorg/import/pull/88/files#diff-30b15a7761b759c8cf519e48b8dded233d5a5a279fa86e40faa5fe9bb3ca467e
https://github.com/datacommonsorg/reconciliation/blob/fadab3103e6492991fb40cba60e197191f133145/internal/server/resolve.go#L28


Build libcec for Docker image

Description:
Adds libcec to the docker image.

FYI, this won't work for rpi, since you need to have the development headers for broadcom installed. See https://github.com/Pulse-Eight/libcec/blob/master/docs/README.raspberrypi.md, but I'm not sure if hass runs on docker on rpi.
Could you also add these changes to virtualization/Docker/Dockerfile.dev so the development image matches the production one?

I updated the PR to modify the development Dockerfile. I do think it's a good idea to include the Broadcom development headers for the rpi, but I think someone who can test that is going to need to add it.

The problem with rpi is that the cmake argements are different. So a different docker image should be made depending on where the image will be ran, and that is against the purpose of docker images...

Looking quickly at their build system it looks like if the rpi headers are included it build rpi support alongside support for other devices, so they could all be run from the same image. I could be wrong there.

Well you sadly will need different images for things like an RPi because it has a different architecture, so you usually depend on a different base image that already has a kernel that supports the image. There are some people that have suggested RPi Dockerfile but until now I have denied officially supporting them because they need to be manually build. We do have a community one at https://hub.docker.com/r/homeassistant/rpi2-home-assistant/

Updated to dynamically load python paths from the active python executable. I've also opened an issue upstream to track the hardcoded Debian path in their cmake files: https://github.com/Pulse-Eight/libcec/issues/288


🧪 Introduce unit tests

When working on #21 it felt a bit naked not having unit-tests to backup the case.
So, here we're introducing unit-testing to the project that should hopefully help verify some basics.
I'm not sure on the mileage and if this testing approach is too low-level for Gridsome Plugins,  I failed to find any decent examples. The gridsome documentation doesn't yield much to testing without just loading the plugin into gridsome and running the project.
I consider this as a start and gives me the confidence to fully evaluate #21 and perhaps simplify the resolver.

Thanks @kylewelsby, looks good to me - would you just be able to run yarn lint, to keep the code style in line with the rest of the repo?
(I realised I hadn't added that script before, so have just merged it in)

https://github.com/kylewelsby/gridsome-plugin-image-cdn/actions/runs/537889026
We're rebased with master now and lined as expected.
Also added linting to the CI too.


Reproducibility problem ...

TICKET: #3613762: ESMF and reproducibility ...
I am trying to test the reproducibility of the results in coupled model.,For this reason, i am using "-fp-model precise" compiler flag in all the model components and i tested them in standalone mode. I confirmed that the results of the individual components (i.e. atmosphere and wave) are reproducible. Then, i tested,coupled model but i could not reproduce the results. When i compare the,two different run with exactly same configuration, the results are,different. So, i just want to find the source of this issue and i would,like to narrow down the possible sources. My question is that do i need to,compile ESMF also with "-fp-model precise" compiler flag? Is there any,ESMF test to check the reproducibility in ESMF side? What do you suggest,about it? You could find the detail of my work environment as follows
ifort (IFORT) 14.0.1 20131008
openmpi-1.6.5 (compiled with same compiler)
esmf-7.0.0 (beta 38)
CentOS release 6.5 (Final) 2.6.32-431.29.2.el6.x86_64
Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz

After my initial mail, i read ESMF documentation and i decided to add srcTermProcessing (= 0) to ESMF_FieldRegridStore calls and termorderflag (= ESMF_TERMORDER_SRCSEQ) to ESMF_FieldRegrid calls to ensure bit-to-bit reproducibility. Then, i did two different simulation (along with exactly same input and configuration) for relatively short time period (one month). The results show that there are still difference between simulations when i compare the results.

Response from ESMF Team:
Those are the correct flags to make the ESMF sparse matrix multiply part bit-for-bit reproducible. However, I wonder what regrid scheme you are using? Is it conservative or bilinear or patch? Did you check whether the weights are bit-for-bit between runs? Just curious. I don't think
we expect issues with the weights, but also not sure we are 100% on that yet from our side. CC'ing Bob to chime in.
-Gerhard

Just to let you know. I’ve made some efforts as I’ve implemented stuff to avoid causing problems with bit-for-bit, but we’ve never gone through and checked everything to verify that they’re actually bit-for-bit. We could certianly make that a feature request if you need it.

Bob

It seems that the returned factorLists are identical (in text files). I attached printed factor lists as reference. So, somehow i have still difference between runs. I also checked wave component again and its output is same in standalone version. So, it seems that driver is responsible from the difference. As i mention previously, do i need to compile ESMF with "-fp-model precise" option (for Intel compiler) to have a bit-to-bit reproducibility. In my case, standalone model components does not produce same results without this option?

Response from ESMF Team:
Okay, I agree that the next step would be to compile ESMF with the "-fp-model precise" option (for Intel compiler). It is kind of interesting that even without that option the factorList is identical if it is needed, but then again, it may just be how the numbers work out here.
You probably know this, but you can add extra compile flags like "-fp-model precise" by setting the ESMF_F90COMPILEOPTS and ESMF_CXXCOMPILEOPTS environment variables before building ESMF.
Gerhard

I compared two different run compiled with ESMF 7.0 beta 38 (compiled with "-fp-model precise" for Intel compiler) and it seems that both runs are identical now. So, i could reproduce the results with this version of ESMF. In this case, i also compiled model component and the driver also with "-fp-model precise" flag. There might be a issue in sparse matrix multiplication algorithm (i.e. arithmetical operations) even weights are identical (i am not sure completely due to finite decimal representation
of factor lists in text files).

Response from ESMF Team:
We discussed this issue during the ticket meeting today. At first we were a bit puzzled by the fact that reproducibility of both your model, and of the ESMF sparse matrix multiplication would depend on the "-fp-model precise" compiler flag. Then Walter pointed out that the reductions (which definitely happen in the SMM, and maybe in your models, too) may be vectorized in the SIMD units of the processor, leading to partial sums. If the processor supports different order of summing these partial sums, this may introduce reproducibility issues.
I found this from Intel:
https://software.intel.com/en-us/articles/consistency-of-floating-point-results-using-the-intel-compiler
You may be interested in this.
Bottom line is that auto-vectorization of reductions are turned OFF when setting the "-fp-model precise" flag. At this point I am assuming that the SMM bit-for-bit reproducibility can only be guaranteed if the compiler is instructed to NOT vectorize the reduction loops.
Gerhard

The bit-to-bit reproducibility becomes important in the scientific studies when user needs to compare the results of the different configurations of the same model simulation to check the effects of the different components. The bit-to-bit reproducibility is still active research area in the earth system science and needs special attention to the used model components and the working environment (i.e. operating system, compiler). The issue is mainly related with the floating-point arithmetic and the representation of the numbers in the computer (it has a finite resolution to store the numbers). Due to this reason, numerical results change run to run of the same executable. Numerical results also changes between different systems. For example, using same operating system along with different CPU version (Intel® Xeon® Processor E5540 vs. Intel® Xeon® Processor E3-1275) probably affect the results. The problem could be caused by different reasons: the algorithm, alignment of the data in heap and stack (kind of memory), task or thread scheduler in OpenMP and MPI parallelism. The order of the numerical operations has also impact on the rounded results (i.e. reduction operator in MPI code).
The RegESM model is able to generate bit-to-bit reproducible results when specific compiler flags are used to compile/install the model components and also ESMF library. The detailed information about the the problem and the possible solution can be found in the Section 7.4 of User Guide.


Alexives/add junit output

Most CI systems these days support junit output. By supporting junit xml format it's easy to integrate this static analysis in with a general continuous integration system.
I also updated the gem files in the gemfile.lock because the code climate plugin said that the gems had some vulnerabilities, and I figured that was something easy to fix.
This project looks pretty dead, so I don't have super high hopes of getting this merged, but I figured I'd try before committing to my fork and cutting my own gem.

Wow, looks like build failed, how odd. I'll roll back the gemfile changes and try it again. Looks like it's failing on bundle.

Weird, even after rolling back the gemfile changes it still fails to install the dependencies on 1.9.3, not really sure why. I'll look at this more another day to see why it's happening.

It looks like you may be running into a known issue regarding TravisCI and Bundler. I've ran into it myself on every project that I've got CI for in recent history. Lather today, I'll see if the usual fix solves the problem.
Also: dibs on the body.
For a while now, I've been waiting for this repo to cool to room temperature and stop twitching. Assuming that my presence does not stir a semblance of life within the corpse, I plan on forking and reanimating it myself.

@alexives thanks for making this change, its been in our backlog on trello for a while but we were thinking about doing it as a plugin for jenkins itself. This is a much more simple solution.
Do you have an example of the output displayed on jenkins by chance? Would be great to add a page to the wiki to show use and output.
When either you or @enkessler get it working with Travis-CI please let me know and share the solution in case anyone else runs into it.

looks like it was as simple as forcing Travis-CI to install the newest version for bundle.
https://github.com/rubygems/rubygems/issues/1419
Running local to verify then merging in changes.

Speak of the devil. puts away his shovel


Created Heap Sort python file

Created HeapSort.py file inside Python/Algorithms/Sorting/ folder. Please accept my PR.

@abhpd add my pull requests to your repository please


Update NNLM-Torch.py

delete Variable, because in new version PyTorch is not used
modify the annotation

@wmathor Thanks for your large contribution. however
I plan to upgrade the code a little further according to the corresponding below PR:
#57


Issue with value on IE

I have a dropdown where some of the values goes "4 to 6 months" , "7 to 11 months" and so on. I have noticed that when the value of the li gets set it sets it as 4, 7 etc and gets rid of the rest of the string. I am sure that this is not an issue with the plugin but more IE. Have you got any thoughts on this?
Poornima

Provide a working codepen.io example please.

Hi,
Thanks a lot for getting back to me. We will provide you with some links where this happens.
Poornima


why recorded arg can't be find from Call Tree when use private AnnotaionKey codes?

Definition AnnotaionKey codes:
public final class IceConstants {
private IceConstants() {
}
public static final ServiceType ICE_PROVIDER_SERVICE_TYPE = ServiceTypeFactory.of(1900, "ICE_PROVIDER");
public static final ServiceType ICE_CONSUMER_SERVICE_TYPE = ServiceTypeFactory.of(9900, "ICE_CONSUMER", RECORD_STATISTICS);
public static final ServiceType ICE_PROVIDER_SERVICE_NO_STATISTICS_TYPE = ServiceTypeFactory.of(1901, "ICE");
public static final AnnotationKey ICE_ARGS_ANNOTATION_KEY = AnnotationKeyFactory.of(900, "ice.args", VIEW_IN_RECORD_SET);
public static final AnnotationKey ICE_RESULT_ANNOTATION_KEY = AnnotationKeyFactory.of(901, "ice.result", VIEW_IN_RECORD_SET);
public static final AnnotationKey ICE_RPC_ANNOTATION_KEY = AnnotationKeyFactory.of(902, "ice.rpc", VIEW_IN_RECORD_SET);
public static final AnnotationKey MY_ARGS_ANNOTATION_KEY = AnnotationKeyFactory.of(903, "myarg", VIEW_IN_RECORD_SET);

public static final String META_DO_NOT_TRACE = "_ICE_DO_NOT_TRACE";
public static final String META_TRANSACTION_ID = "_ICE_TRASACTION_ID";
public static final String META_SPAN_ID = "_ICE_SPAN_ID";
public static final String META_PARENT_SPAN_ID = "_ICE_PARENT_SPAN_ID";
public static final String META_PARENT_APPLICATION_NAME = "_ICE_PARENT_APPLICATION_NAME";
public static final String META_PARENT_APPLICATION_TYPE = "_ICE_PARENT_APPLICATION_TYPE";
public static final String META_FLAGS = "_ICE_FLAGS";

public static final String MONITOR_SERVICE_FQCN = "com";

}
public class IceTraceMetadataProvider implements TraceMetadataProvider {
@Override
public void setup(TraceMetadataSetupContext context) {
context.addServiceType(IceConstants.ICE_PROVIDER_SERVICE_TYPE);
context.addServiceType(IceConstants.ICE_CONSUMER_SERVICE_TYPE);
context.addServiceType(IceConstants.ICE_PROVIDER_SERVICE_NO_STATISTICS_TYPE);
context.addAnnotationKey(IceConstants.ICE_ARGS_ANNOTATION_KEY);
context.addAnnotationKey(IceConstants.ICE_RESULT_ANNOTATION_KEY);
context.addAnnotationKey(IceConstants.ICE_RPC_ANNOTATION_KEY);
context.addAnnotationKey(IceConstants.MY_ARGS_ANNOTATION_KEY);
}
}
@Override
public void after(Object target, Object[] args, Object result, Throwable throwable)  {
Trace trace = traceContext.currentTraceObject();
SpanEventRecorder recorder = trace.currentSpanEventRecorder();
    recorder.recordApi(descriptor);

    StringBuilder argStr= new StringBuilder("ARG:");
    for (Object arg : args) {
        argStr.append(arg);
    }
    recorder.recordAttribute(IceConstants.ICE_ARGS_ANNOTATION_KEY, argStr.toString());
    recorder.recordAttribute(IceConstants.ICE_RESULT_ANNOTATION_KEY, result);
    if (throwable != null) {
        recorder.recordException(throwable);
    }
    ClientComm.acceptSemaphore.release();
}

Do you want the annotation value to appear in the "argument" column next to "endWriteParams()"?
If so, you'll have to register AnnotationKeyMatcher to a ServiceType.
Please check out HttpClient4TypeProvider for an example.

Thr argument can be displayed, when I change public static final "ServiceType ICE_PROVIDER_SERVICE_TYPE = ServiceTypeFactory.of(1900, "ICE_PROVIDER");" to “public static final ServiceType ICE_PROVIDER_SERVICE_TYPE = ServiceTypeFactory.of(1900, "ICE_PROVIDER", RECORD_STATISTICS);“ .But my ServerMap have additional icon.

The "<IP_ADDRESS>:4061" icon shouldn't be showed.  "<IP_ADDRESS>:4061" is the endpoint of "Cp4ccDecoder1".
        String endPoint = "<IP_ADDRESS>:4061";
        recorder.recordEndPoint(endPoint);
        recorder.recordDestinationId(endPoint);

The code for creating the server map above can be found in FilteredMapBuilder, specifically the addNodeFromSpanEvent(...) method.
I'd suggest debugging this method, checking your span events to see why the unknown cloud node is being generated.


Improve cache-control header

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

stale-while-revalidate
stale-if-error
immutable

Maybe not yet, until the spec is in WD phase.
Opening this to track it.

Perhaps we should also remove the ETag header while at it. We already set a proper cache-control header, not sure if the ETag one has any value.

This is something I'd like to sort soon too


Update devcontainer to use env-with-sim nix devshell

This shouldn't be merged until https://github.com/lowRISC/sonata-software/pull/5 and https://github.com/lowRISC/sonata-system/pull/102 have been merged.

Just rebased this as #7 caused a conflict


Bump native-tls dependency

Refactors the tls code to native-tls 0.2 and tokio-tls 0.2.
Some easy dependency bumps
Drop the clippy dependency, rustup component add clippy-preview --toolchain=nightly is the recommended way to run clippy right now

Thanks for the PR! I won't be able to test and merge it before the middle of the next week, but meanwhile, I'm curious about the changed logic for skipping cert validation (if you happen to know the details): does accept_invalid_certs work on all supported platforms? I can't test on Windows and macOS.

@inejge any updates? This crate doesn't build on archlinux anymore due to it's openssl 0.9 dependency.

Ouch, thanks for reminding me, I'm afraid I've totally neglected this library recently. Please report any further problems with building on Arch or elsewhere

@inejge thanks! would you mind pushing a new release so I can bump my ldap3 dependency?


Address a todo - use guid as id

Description
This fixes a "todo" in the code I noticed.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1564
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

This is an unanimous PR.


cipher name aes256-ctr for openssh key file is not supported

I don't know why I keep getting this error but it's incredibly annoying.
I'm trying to transfer a file.  When I use "scp" I can specify user@host:"file" and it just works.
With get-scpitem, I need to specify other stuff that requires additional parameters and it just makes the whole thing cumbersome.
I need to specify a keyfile?  Why?  I don't do that with scp, why do I do that with get-scpitem?
I need to specify a password?  Why?
When I do specify these things, I get the "key file is not supported" message.  Is it because I specified them?
Do I now have to tediously generate a new key and update every single system so the new key will be accepted?  Or is there a problem with my key?
There's a chance it won't even work if I update the key, so it's just extra work with no guaranteed payoff, and I might screw something up so that scp won't work either.
Is the key too secure?  Is that the issue?  Do I need to use a weaker key with potential vulnerabilities?  Is that what it wants me to do?
I don't know the difference between the key it wants, and the key I have, but it's probably not something I want to mess with.
I'm not a cryptographer.

Can you share what commands with what parameter combination are you running and also the full output so I can try to replicate and figure out why are you getting that error. My guess it is the target host key but need a bit more info to test and be sureSent from my iPhoneOn Feb 17, 2023, at 11:27 PM, JavAstrologic @.> wrote:
I don't know why I keep getting this error but it's incredibly annoying.
I'm trying to transfer a file.  When I use "scp" I can specify @.:"file" and it just works.
With get-scpitem, I need to specify other stuff that requires additional parameters and it just makes the whole thing cumbersome.
I need to specify a keyfile?  Why?  I don't do that with scp, why do I do that with get-scpitem?
I need to specify a password?  Why?
When I do specify these things, I get the "key file is not supported" message.  Is it because I specified them?
Do I now have to tediously generate a new key and update every single system so the new key will be accepted?  Or is there a problem with my key?
There's a chance it won't even work if I update the key, so it's just extra work with no guaranteed payoff, and I might screw something up so that scp won't work either.
Is the key too secure?  Is that the issue?  Do I need to use a weaker key with potential vulnerabilities?  Is that what it wants me to do?
I don't know the difference between the key it wants, and the key I have, but it's probably not something I want to mess with.
I'm not a cryptographer.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Cursor jumps to first field when tabbing through Search sidebar fields/options

VSCode Version: 1.3.1
OS Version: OS X El Capitan 10.11.6 (15G31)

Steps to Reproduce:

Bring up the Search sidebar
Enter a query to search and wait for results
Hit the tab key until cursor lands on the files to include field
Notice the cursor jumps back to the search query field almost immediately

If after step 4. you tab again to the files to include field the focus stays where it is supposed to be.

I am also experiencing this issue on the following platform:
•VSCode Version: 1.3.1
•OS Version: Windows 7 Enterprise SP1


Added auto switching between capture and farm mode.

Short Description:
Added auto switching between capture and farm mode.

Only issue with this is that it will wait until the inventory is full before attempting to catch any pokemon again, and it will try to catch each pokemon in range before finally stopping. e.g.:
[#] Something rustles nearby!
[#] A Wild Pidgey appeared! [CP 104]
[x] Out of pokeballs, switching to farming mode...
[#] A Wild Poliwag appeared! [CP 176]
[x] Out of pokeballs, switching to farming mode...
[#] Finished walking

@VirtualSatai  You are correct. Need do more fine tune.


Update GameObject

[x] Add RemoveChild()
[x] Remove Update()

#98 has resolved the tasks.; closing this issue.


Download videos in multiple streams

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I used to use -n 12 to load video in 12 streams simultaneously, which was significantly faster. Now my usual command that has always worked gives an error:
yt-dlp --live-from-start --wait-for-video 300 -n 12 --hls-use-mpegts --retries 20 --continue<EMAIL_ADDRESS>-o “0.%(ext)s”
ERROR: [generic] '12' is not a valid URL. Set --default-search “ytsearch” (or run yt-dlp “ytsearch:12” ) to search YouTube
How to download videos in multiple streams now?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

uppercase -N

BTW, if your -N value is set too high you'll start getting 401/403 errors with --live-from-start. I wouldn't go higher than 4


Document how to use the predicate() method

Question
I have been trying to figure out how to use the predicate() method, something like:
    return builder.routes()
        .route(r ->
            r.predicate(serverWebExchange -> {
              System.out.println(">>> Attributes: " + serverWebExchange.getAttributes());
              System.out.println(">>> Path: " + serverWebExchange.getRequest().getURI().getPath());
             /// ... do my logic here ....
              return new BooleanSpec( ??? , r.uri("/foo/bar"));
            })
        )
        .build();

it is not at all clear where to go find a Route.Builder instance - or, alternatively, what to put there.
Enhancement
All of the classes in the package appear to be very lightly documented (javadoc) if at all; it would be greatly helpful if some comments were added to show how to use.

Never mind, eventually figured it out.


Vehicle collision layers need fixing again

They collide with mobs and other vehicles when they shouldn't be.

This seems to have been fixed, and is being fixed some more by #18500. Re-open if stuff breaks again.


do not set publishTo by default

I used to have this plugin in my global config until I realized that it overrides the publishTo I have setup for my individual projects to point to sonatype. That's not desirable for me. I only want the sonatype commands, but decide depending on the project if I publish repositories to sonatype, bintray or other places.

Thanks for the feedback. I didn't notice that the global plugin (e.g., specified in ~/.sbt/0.13/plugins/...) have higher precedence than the project settings. Is it true?
If so, we should let sbt-sonatype users manually set publishTo.

seems to be the case. @eed3si9n?
Setting manually seems safer.

If you're using the auto plugin correctly, and not doing the Project(..., settings = ...) , the user-defined settings should be ordered after the auto plugin's settings.

@eed3si9n correctly on the side of the plugin author or user? I as the user just added it via addPlugin to my global plugins.sbt, nothing else, so I suppose it must be on the plugins side.
Also if I have a multi project built, one sub-project configured to deploy to bintray and nothing configure for the others, would a publish on the root project deploy my other sub-projects to sonatype then? Sounds not ideal. @xerial how about making publishTo a manual opt-in?

It looks like a newly added code in sbt-sonatype 1.1, which updates publishTo might be related https://github.com/xerial/sbt-sonatype/blob/master/src/main/scala/xerial/sbt/Sonatype.scala#L124.
@cvogt
Does the same problem happen if you use sbt-sonatype 1.0?

@xerial I was actually using 0.5.1, but confirmed the same problem also exists with 1.0 and 1.1.

@cvogt On the side of the build user. Does your build look like this?
val foo = project.settings(publishTo := Some(x))

and Some(x) is taken over by the setting from a plugin?

It looks like this. Is there a different recommended way to propagate the setting to all sub projects?
object MyBuild extends Build {
  override lazy val settings =
    super.settings ++
      Seq(
        publishTo := {
          Some( ... )
        },
        ...
      )
}

It seems the use of lazy for the settings causes the unintentional overwrite.

@cvogt I cannot reproduce this issue:
$ cat build.sbt
publishTo := Some("repo" at "http://some.repo.org")
$ sbt "show publishTo"                                                                                [9:19:30 Apr 04 2016]
[info] Loading global plugins from /Users/leo/.sbt/0.13/plugins
[info] Set current project to sonatype-test (in build file:/Users/leo/work/git/tmp/sonatype-test/)
[info] Some(repo: http://some.repo.org)

$ cat build.sbt
// publishTo := Some("repo" at "http://some.repo.org")
$ sbt "show publishTo"                                                                                [9:20:51 Apr 04 2016]
[info] Loading global plugins from /Users/leo/.sbt/0.13/plugins
[info] Set current project to sonatype-test (in build file:/Users/leo/work/git/tmp/sonatype-test/)
[info] Some(sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots)

@cvogt

It looks like this. Is there a different recommended way to propagate the setting to all sub projects?

Make an one-off auto plugin inside project/*.scala. http://www.scala-sbt.org/0.13/docs/Organizing-Build.html#Defining+auto+plugins

Here's an example: https://github.com/sbt/sbt-pgp/blob/v1.0.0/project/Common.scala

+1 On this, it's still a problem as of the latest release. I cannot add the plugin without having it override all bintray publishing settings for instance.

@alexflav23 Does it mean you need to have both sonatype and bintray repositories for publishing? If so I agree with that having pre-defined publishTo is cumbersome.

Hi @xerial,
No, it means simply including sbt-sonatype as an SBT plugin will override any other publishTo setting found in the project, so we need to work around it.
For example (here)[https://github.com/outworkers/phantom/blob/develop/project/plugins.sbt#L63], where we toggle an environment variable in the CI server which prevents the build from loading the plugin in the first place, just so we can publish to bintray.
Regards.

@alexflav23 Thanks. I got the pain point. sbt plugin should be use safely without such a conditional switch.

sbt-sonatype do not set publishTo by default since 2.0.0-M1 (for sbt-1.0.0-M5)

Nice :)!!! Any chance we can get it for sbt 0.13?

Now working on cross building sbt plugins.

Uploaded sbt-sonatye 2.0.0-M1 for sbt 0.13.x
https://oss.sonatype.org/content/repositories/releases/org/xerial/sbt/sbt-sonatype_2.10_0.13/2.0.0-M1/

awesome, thx so much!


fix: node label lost

What type of PR is this?

What does this PR do?

Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

/lgtm


With Atom 1.23.1 update, Hydrogen package disappears and can't be installed

I updated to Atom 1.23.1 for windows, and discovered that Hydrogen had disappeared from my installed packages list. I checked the prior version, 1.22.1, and it was missing from that folder as well.
I tried to reinstall it, and got the following error:
fs.js:640
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'C:\Users\Christopher\.atom\packages\Hydrogen\package.json'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Proxy.fs.readFileSync (fs.js:508:33)
    at Proxy.fs.readFileSync (C:\Users\Christopher\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\asar-require\lib\require.js:86:27)
    at C:\Users\Christopher\AppData\Local\atom\app-1.23.1\resources\app\apm\lib\install.js:476:42
    at fn (C:\Users\Christopher\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\async\lib\async.js:582:34)
    at Immediate.<anonymous> (C:\Users\Christopher\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\async\lib\async.js:498:34)
    at runCallback (timers.js:649:20)
    at tryOnImmediate (timers.js:622:5)
    at processImmediate [as _immediateCallback] (timers.js:594:5)```

Ah, this seems to have been noted in the documentation, and installing via command line is still possible:
[https://nteract.gitbooks.io/hydrogen/docs/Installation.html]

This is a upstream issue on Atom, which will be fixed in with the next version.


Add awesome-opengl list

Please let me know if something is wrong.

Looks good. The items Articles and Books sections could use a succinct text on why they're included. Reading a book is a big investment and I would like to know upfront why I should read it.
Also make sure you follow: https://github.com/sindresorhus/awesome/blob/master/awesome.md


Add support for compressed sources

This is taken from EricssonResearch/openwebrtc#683, with the RPi-specific bits removed

yay, it builds


fix libstd rebuilds due to RUSTFLAGS changes

Until recently we were always overwriting RUSTFLAGS, but we stopped doing that when moving to MIRI_BE_RUSTC. That introduced the regression in https://github.com/rust-lang/miri/issues/1410. This fixes it.
Fixes https://github.com/rust-lang/miri/issues/1410

@bors r+

:pushpin: Commit d90a087df9830e08db88f83fc7da3c1b2609c10c has been approved by RalfJung

:hourglass: Testing commit d90a087df9830e08db88f83fc7da3c1b2609c10c with merge ac09e2f5cde7b8d37d83027b064a1a03af8128a5...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing ac09e2f5cde7b8d37d83027b064a1a03af8128a5 to master...


Adding Terraform Build Pack

Wanted to have someone take a look at the draft Terraform Build Pack.  I have tested it locally, it runs as expected.

@sharepointoscar I may have mis-understood here, but my assumption was that a terraform buildpack wouldn't create an "app" that can be deployed to k8s? It would create something that could be validated / executed against a cloud provider (or something that is terraform managed).

@garethjevans That is correct, was an oversight on my part and thanks for the quick review.  I think what I want my Dockerfile to have is just the  ENTRYPOINT as it is now, so that the image is called to execute with any params.  Let me remove the app related stuff on the Dockerfile!  And also change the .DIGEST_HEX as you pointed out.

Do we need to create an image with Dockerfile? Shouldn't the pipeline reference an image with Terraform and execute commands using checked out code (e.g., terraform ...)?

The pipeline.yaml seem to be the same as for most of the other apps. I'm not sure that'll work with Terraform. I would assume that on PRs we'd run terraform plan so that someone can approve them, and on the master branch terraform apply --input false (or something similar).

What is the plan with the credentials? I assume they would be provided as a k8s secret or from Vault and injected through the pipeline.

@sharepointoscar Hi, how do you perform testing using Terraform? Thank you.

hello, can I know the status of this issue? I'm planning to do a terraform build pack as well, hope can contribute :)


feat: Blob.from{Type}() functions

Hello there;
I'd like to leverage the CertifiedData API and I've some trouble to convert basic types to Blob;
I think it would be awesome to have something like :
Blob.fromNat(xx)
Blob.fromNat16 ...
(and vice-versa?)
cc. @nomeata
Thank you in advance;
David

We have indeed a shortage of Blob conversions, or general encoding/decoding functions, partly becaues the Blob type’s future is still a bit in the air – we might want to merge it with [Nat8], which would make certain things easier.
For using these CertifiedData API calls, using Blob.fromNat(…) would only help if you if the whole caniser only ever wants to certify a single number (or a few, if you concatenate them), because you only get to store 32 bytes this way.
The intended use of this API is to store a cryptographic hash (e.g. SHA256). There is an implementation of that in https://github.com/enzoh/motoko-sha, but it works with [Nat8], not Blob (so see above). And you’d still have to encode your data structures into a blob first.
This is a bit of a construction site at the moment, sorry.

We have indeed a shortage of Blob conversions, or general encoding/decoding functions, partly becaues the Blob type’s future is still a bit in the air – we might want to merge it with [Nat8], which would make certain things easier.
For using these CertifiedData API calls, using Blob.fromNat(…) would only help if you if the whole caniser only ever wants to certify a single number (or a few, if you concatenate them), because you only get to store 32 bytes this way.
The intended use of this API is to store a cryptographic hash (e.g. SHA256). There is an implementation of that in https://github.com/enzoh/motoko-sha, but it works with [Nat8], not Blob (so see above). And you’d still have to encode your data structures into a blob first.
This is a bit of a construction site at the moment, sorry.

I was thinking of storing the lastIndex of an event then some sort of merkle tree root hash; I will give it a try in Rust maybe.
Thank you for the fast response

I tried to return [Nat8] as Blob but it did not work.

Yes, not supported yet, and there is no easy work-around at the moment.

I’ll add conversion functions between [Nat8] and Blob for the next release. It’s not gonna be pretty or particularly fast, but at least it should be possible to builds Blobs that way.

Thanks !
On Thu 8 Apr 2021 at 09:12 Joachim Breitner @.***>
wrote:

I’ll add conversion functions between [Nat8] and Blob for the next
release. It’s not gonna be pretty or particularly fast, but at least it
should be possible to builds Blobs that way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dfinity/motoko-base/issues/242#issuecomment-815478182,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGFVWNMUYQODURB4OA5WC7TTHVCLDANCNFSM42P756KQ
.

BTW, @davidp94, you might be interested in this libary: https://github.com/nomeata/motoko-merkle-tree

BTW, @davidp94, you might be interested in this libary: https://github.com/nomeata/motoko-merkle-tree

Thanks I already looked at it over the week-end; nice one 👍
I will implement this when fetching events; I will add a merkle path to the response + certified root hash;

Great! If you have questions, maybe best to ping me on forum.dfinity.org


upload_max_filesize

Default php.ini is upload_max_filesize = 2M which is a bit on the small size. Be good to nice way to override this (without mapping php.ini out) or just have better defaults like at least 10MB. Cheers!

As a fallback option, you can always use ini_set in your php code to override any php.ini settings.
That being said, I will look at the possible options of allowing users to modify php.ini values. Suggestions are welcome.
Thanks.

@kaihendry You can the following to a docker-compose.yml file for the image you're using if you us docker-compose:
volumes:
    - "./php.ini:/usr/local/etc/php/php.ini"
Then just create a php.ini file in the same directory with upload_max_filesize = 2M inside it and run docker-compose up -d.
This will bind the local php.ini file to the file in the docker container so you can easily adjust the upload filesize limit.

Thanks for your suggestion @andrewbanchich
@kaihendry Sorry I haven't been able to help you look at this properly.
A quick execution of php --ini in the container gives
/srv # php --ini
Configuration File (php.ini) Path: /etc/php5
Loaded Configuration File:         /etc/php5/php.ini
Scan for additional .ini files in: /etc/php5/conf.d
Additional .ini files parsed:      /etc/php5/conf.d/curl.ini,
/etc/php5/conf.d/gd.ini,
/etc/php5/conf.d/iconv.ini,
/etc/php5/conf.d/json.ini,
/etc/php5/conf.d/mysql.ini,
/etc/php5/conf.d/mysqli.ini,
/etc/php5/conf.d/openssl.ini,
/etc/php5/conf.d/pgsql.ini,
/etc/php5/conf.d/phar.ini,
/etc/php5/conf.d/sqlite3.ini,
/etc/php5/conf.d/zip.ini

That means you can add an additional ini file in /etc/php5/conf.d/ and it will be loaded.
You can create a custom ini file with upload_max_filesize = 2M as contents and add it to that path in your container.
Example
docker run -v /path/to/custom.ini:/etc/php5/conf.d/custom.ini abiosoft/caddy:php

Feel free to reopen if that does not work.


2.1.2 on Mac missing spice.so ?

I just tried to install via pip install . inside your GH repo and get this issue when trying to import it:
In [1]: import spiceypy as spice
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-1-9c2741a1d8a0> in <module>()
----> 1 import spiceypy as spice

~/src/SpiceyPy/spiceypy/__init__.py in <module>()
     23 """
     24
---> 25 from .spiceypy import *
     26 from .utils import support_types
     27

~/src/SpiceyPy/spiceypy/spiceypy.py in <module>()
     25 import ctypes
     26 from .utils import support_types as stypes
---> 27 from .utils.libspicehelper import libspice
     28 from . import config
     29 from .utils.callbacks import SpiceUDFUNS, SpiceUDFUNB

~/src/SpiceyPy/spiceypy/utils/libspicehelper.py in <module>()
     32 sharedLib = "cspice.dll" if host_OS == "Windows" else "spice.so"
     33 sitePath = os.path.join(os.path.dirname(__file__), sharedLib)
---> 34 libspice = CDLL(sitePath)
     35
     36 s_cell_p = POINTER(stypes.SpiceCell)

~/miniconda3/envs/py36/lib/python3.6/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    346
    347         if handle is None:
--> 348             self._handle = _dlopen(self._name, mode)
    349         else:
    350             self._handle = handle

OSError: dlopen(/Users/klay6683/src/SpiceyPy/spiceypy/utils/spice.so, 6): image not found

I also don't see any activity of downloading cspice like I have usually seen when installing spiceypy?

Oh yeah I might have. Will try tomorrow again, it’s 2:30 am here ;)
--
Michael Aye
On September 19, 2018 at 02:25:46, Andrew Annex<EMAIL_ADDRESS>wrote:

did you run it within the spiceypy folder? ie pip install . then python
then import spiceypy? try running python again in you home dir.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewAnnex/SpiceyPy/issues/273#issuecomment-422603641,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEQjpU3b15Sr4CSvfYT-Fh6cVn0H6qJks5ucY8KgaJpZM4Wuj5F
.

yeah, i think that was it. closing and sorry for the noise.


Removed iojs from travis test targets

We have moved over to version 2 as it is referred to after
the iojs/node merge.
Fixes #67

@ofrobots PTAL

LGTM.
On Thu, Sep 17, 2015 at 1:03 PM, Matthew Loring<EMAIL_ADDRESS>wrote:

@ofrobots https://github.com/ofrobots PTAL
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/pull/68#issuecomment-141209596
.

--
Ali


LINK-1635 HDS component fixes

Description :sparkles:
Fixes to previously implemented hds-react V3 components:

Header: move Search events link to navigation, since scaling action bar items does work very well at the moment. Also use the same translation for both Header and Footer
Support page: fix Footer koros (wave), use white Helsinki logo

Issues :bug:
Closes :no_good_woman:
LINK-1635:
Related :handshake:
Testing :alembic:
Automated tests :gear:
Manual testing :construction_worker_man:
Screenshots :camera_flash:

Additional notes :spiral_notepad:

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (49c6624) 99.74% compared to head (287e413) 99.74%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #269      +/-   ##
==========================================
- Coverage   99.74%   99.74%   -0.01%
==========================================
  Files         573      573
  Lines        9506     9504       -2
  Branches     2076     2076
==========================================
- Hits         9482     9480       -2
  Misses         22       22
  Partials        2        2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Not getting proper running state of service

why exit status 1 and 3 are indicating that the service is running ?
https://github.com/philpep/testinfra/blob/cd485d4360f13bbddfc7848576c874f585cbfa32/testinfra/modules/service.py#L105

Hi,
Check the next line. We report the service as running only if exit code (rc) is zéro.
If exit code is 1, 3 or 8 we report the service as non running.
Other exit codes raises an unexpected exception (that's what run_expect does).


Raise exception when CSV file with XLS extension is detected

Fixes https://github.com/CartoDB/cartodb/issues/6421
https://github.com/CartoDB/cartodb-management/issues/4383

Please, @rafatower, take a look when you can :-)

Ok, but even better with a test, should be easy to write

The current tests for this should be actually failing as far as I've seen, but they aren't. Taking a look at them.

IIRC the test file needs to be added to the Makefile for CI to execute them, right?

Yes! I confirmed with Systems. Will update the Makefile for the CI to run again here and then we'll see. :-)

@luisbosque, I just made a spec addition into the Makefile. Could you please confirm that I won't be breaking anything or if there's something extra that needs to be done for it to run in CI? :heart:

AFAIK that's the right way to add it. Go ahead!

Ready to be deployed then. Thanks!


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2290 ms

Resolved: Bofrost.at performance has improved in a797fe0.


Visible item borders on chromium

On chromium I'm seeing these borders of the SVG element when clicking on an object. I'm not seeing that behaviour on Firefox though and I suppose it is not intended?

I can't reproduce on any browser (tested on Safari and Chrome), so maybe it's solved?

Weird, I still see it exactly like this. Interestingly the box only shows while the browser window is the active one.


MaxListenersExceededWarning: Possible EventEmitter memory leak detected.

Environment:

Node.js Version: 18.13.0
Redis Server Version: 6.26
Node Redis Version: 4.5.1
Platform:  Windows 11

import { createClient } from "redis";
import { REDIS_URL } from '$env/static/private';

const client = createClient({ url: REDIS_URL, socket: { keepAlive: false } });
client.setMaxListeners(0);

client.on('error', error => console.error('ERR:REDIS:', error));
client.connect();

export const query = async (q: string) => await client.graph.query('test-graphs', q);

This seems to be a prevalent issue for over 10 years, however, I could not find any bug reports in the Source repository (this repository).  As you can see, I even have setMaxListeners set to 0  and keepAlive set to false to no avail.  Sure, I would like to ignore the error, but if I could figure out how to FIX the error, that would be nice; I can't seem to do either.
Is there a way to stop listening to the client after every query?  This seems to happen after I run 10 or so queries.  Sometimes it takes more (not sure why).
J

setMaxListeners is a built-in function on EventEmitter, see here.
Why do you even use this function? What are you trying to prevent?
If you want to close the client at some point you can use client.quit()/client.disconnect().

keepAlive

From version 3.2 onwards, Redis has TCP keepalive (SO_KEEPALIVE socket option) enabled by default and set to about 300 seconds. This option is useful in order to detect dead peers (clients that cannot be reached even if they look connected). Moreover, if there is network equipment between clients and servers that need to see some traffic in order to take the connection open, the option will prevent unexpected connection closed events.

TCP keepalive.
If non-zero, use SO_KEEPALIVE to send TCP ACKs to clients in absence
of communication. This is useful for two reasons:

Detect dead peers.
Force network equipment in the middle to consider the connection to be
alive.

On Linux, the specified value (in seconds) is the period used to send ACKs.
Note that to close the connection the double of the time is needed.
On other kernels the period depends on the kernel configuration.
A reasonable value for this option is 300 seconds, which is the new
Redis default starting with Redis 3.2.1.
tcp-keepalive 300

I don't see any other documentation, but I think the default is false (or is it 300?), as that seems to be the case in other packages.  There doesn't seem to be anywhere in node-redis docs that clearly explains what each option does. Does it stay open by default, reconnect? Maybe I'm misunderstanding what the above means? 🤷

setMaxListeners
So, setMaxListeners exists on the redis client as well as in node events:

But I think you're right, I need to import it directly from events instead:
import { setMaxListeners } from 'events';
setMaxListeners(0);

Also, when setMaxListeners is set to 0, it does not mean 0 listeners, it means unlimited listeners.
This seems to solve the the symptom to the problem by not displaying the warning, but not the problem itself. I don't want to create a listener each time I run a query.  I want to keep the (one) connection alive so I don't open up a lot of connections if there are multiple requests.

Quit Vs. Disconnect
So apparently I need to use quit instead of disconnect.  However, if I use either, I will have to re-open a client connection each time I run a query, which is not what I want.

How do I keep my connection open, and prevent each query from creating a new listener?
This is my real problem.  It doesn't seem like there is a way to do this?
J

Running a query does not create a new socket/connection/"listener" (I think this is what you mean by "listener", but to be honest I'm not too sure..), it uses the existing connection and executes all the commands on it:
import { createClient } from 'redis';

const client = createClient({ url: '<REDIS_URL>' });

client.on('error', error => console.error('ERR:REDIS:', error));

await client.connect();

// these commands are running on the same socket/connection
await client.ping();
await client.graph.query('a', '*');
await client.graph.query('b', '*');

If at some point you want to gracefully close the application (for , use client.quit()/client.disconnect(), for example:
process.on('SIGINT', () => client.quit());

So what is creating more than 10 client side event listeners? It seems each query creates one and I get the node error (after I run 10 or so queries) unless I specifically use this code:
import { setMaxListeners } from 'events';
setMaxListeners(0);

which is just ignoring the problem and taking care of the symptom.
Using this:
const client = createClient({ url: REDIS_URL });
client.setMaxListeners(0);

has no effect.
I guess I need to close the client side listeners in order to prevent the error message?
J

Note - That makes sense for gracefully quitting.

Search for "client.on" in your project and make sure you are not creating listeners over time. If you want we can debug it together, I'll wait in this meeting for the next 30 min

I just left my computer until after 5 central, or I would be there! Not sure if this helps, but here is my repo...
https://github.com/jdgamble555/redisgraph-graphql-sveltekit/blob/master/src/lib/server/redis.ts
and where I make the calls
https://github.com/jdgamble555/redisgraph-graphql-sveltekit/blob/master/src/lib/server/db.ts
J
I can't definitely meet this evening or tom if all else fails!

Wow. That fixed the problem! Thank you! Not even sure how you caught that!
Here is the final project if you're curious: https://redisgraph-graphql-sveltekit.vercel.app/
It really was just a test project to get me familiar with putting the technologies together.  I am a huge RedisGraph fan, and I'm not even sure why it isn't more popular.  I plan on writing articles about some of these concepts in the project on my site Code.Build.
Thanks for taking the time!
J


WARNING: The $ensure parameter to concat::fragment is deprecated and has no effect

When using puppetlabs-concat > 2.0, you get the following warning when creating a vhost:
Warning: Scope(Concat::Fragment[(redacted)]): The $ensure parameter to concat::fragment is deprecated and has no effect.

Its fairly harmless at this point, but it should probably be removed from the code to remove the red text and be ready for some future version where they remove ensure entirely.
Tommy

Fixed in https://github.com/jfryman/puppet-nginx/pull/757, will be available in the next release published to Forge.

awesome!


Support latest specification

Currently Edge does not support the latest specification, for example the "Actions" option. Are there plans to do so in the (near) future?

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

ID: b923d493-ec87-0849-5a1b-492d49b63523
Version Independent ID: d4897fac-40c4-6987-c77f-2e296e3315bf
Content: Dev guide - Web Notifications API - Microsoft Edge Development
Content Source: microsoft-edge/dev-guide/windows-integration/web-notifications-api.md
Product: microsoft-edge
GitHub Login: @abbycar
Microsoft Alias: abigailc

Hi @vertonghenb - Yes, support for NotificatonAction is in the latest Insider Preview builds!
FYI - GitHub issues in this repo are for documentation related issues. Next time, check out the various product feedback channels available here: https://developer.microsoft.com/microsoft-edge/support/.

@libbymc , thanks!


fix(bulk-import): fix add repository pagination padding/position

Hey, I just made a Pull Request!
Small UI change, from:

to:

Change in the bottom right corner ;)
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or Updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)

This PR is for RHIDP-5225.


Add ability to have actions pulldown menu in pfDataList directive

This adds a dropdown menu button to the far right of the items in the data list if actions are provided to the pfDataList directive.

Should we use absolutely position the dropdown?  See the attached screenshot.

LGTM

Should we use absolutely position the dropdown? See the dropdown barely visible at the bottom of the attached screenshot.

@jeff-phillips-18 thoughts on this?

@waldenraines Yeah, I agree and I'm working on it.

@waldenraines I've got it working. The only issue I'm seeing is that the dropdown menu will stay put if you scroll the window while it is up. That is, if I click the link button to see the menu, then I use the wheelie mouse to scroll the page, the dropdown menu does not move with the item it was displayed for. Any thoughts? Acceptable?

This solution is going to have problems if the menu is rendered near the bottom of the page.

lol nm looks like @waldenraines is already on it.

We need to have logic that figures out if it is close to the bottom of the page and if so have it show up and not down.

The only issue I'm seeing is that the dropdown menu will stay put if you scroll the window while it is up. That is, if I click the link button to see the menu, then I use the wheelie mouse to scroll the page, the dropdown menu does not move with the item it was displayed for. Any thoughts? Acceptable?

This isn't yet committed is it?  I was going to test this out to see it in action but I still see the same behavior.
If I understand correctly, I wonder if we should just close any open dropdowns on scroll?

I have not yet pushed. I will so you can see what I mean.

@jeff-phillips-18 yeah I think closing the menu on scroll would be the best bet here.  I am open to other suggestions though.

So what happens if the data list is wider than the space that is available. Does the page scroll, datalist wrapper? Do we just lose the actions menu?

Yeah, I think closing the menu on scroll is the best option as well. Just added a commit for that.
I will squash commits when ready before merge.

So what happens if the data list is wider than the space that is available. Does the page scroll, datalist wrapper? Do we just lose the actions menu?

@jeff-phillips-18 what about @erundle's concern?

@erundle @waldenraines Data list is designed to not scroll horizontally. That is the pattern's design.

Squashed.

@erundle Are you ok with that change?

Yes will merge


Add support for model inheritance

Informations
OpenAPI 3 supports model inheritance using the allOf keyword, however the package doesn't.
Describe the solution you'd like
Read parent models automatically / implement a class decorator to specify the parent model. Use the allOf keyword as specified in the specification.

Hello @dvarnai
OS2 support allOf ? If not, I won't support it right now. The current implement works as expected even if it is not exactly the same mechanics.
One another point, allOf is not a an inheritance in the strict sense but rather the application of a set of constraints. Represent some usecases with allOf is not possible.
Example:

export class Base {
   @Required()
   @Min(0)
   @Max(10)
   myNumber: number;
}

export class Child extends Base {
   @Required()
   @Min(10)
   @Min(15)
   myNumber: number;
}

In this case, the allOf may not work properly because, each models have his one Min and Max constraints which are not compatible to each other.
This is why I made the decision to not use allOf to generate JsonSchema. :( Maybe I'm wrong but isn't straight forward ;)
See you
Romain

Hello @dvarnai
OS2 support allOf ? If not, I won't support it right now. The current implement works as expected even if it is not exactly the same mechanics.
One another point, allOf is not a an inheritance in the strict sense but rather the application of a set of constraints. Represent some usecases with allOf is not possible.
Example:
export class Base {
   @Required()
   @Min(0)
   @Max(10)
   myNumber: number;
}

export class Child extends Base {
   @Required()
   @Min(10)
   @Min(15)
   myNumber: number;
}

In this case, the allOf may not work properly because, each models have his one Min and Max constraints which are not compatible to each other.
This is why I made the decision to not use allOf to generate JsonSchema. :( Maybe I'm wrong but isn't straight forward ;)
See you
Romain

Hi Romain!
Thanks for clearing that up. I'm not sure if it's supported in OpenAPI 2.
Best regards,
Daniel

Hi @dvarnai
I hope my given previous example is coherent for you ^^. I'm not close to this topic, I'd just want to challenge your needs and vice versa :)
See you
Romain

Hi @dvarnai
I hope my given previous example is coherent for you ^^. I'm not close to this topic, I'd just want to challenge your needs and vice versa :)
See you
Romain

Personally I just need it for two classes only, I can just use have those two classes without inheritance, it doesn't really matter as I only needed it for automatic client-side validation, which I can still do.
I was referring to the inheritance as described here by the way:
https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/
I don't know if this existed in OS2 though.

Thanks for the link. The OS2 doesn't support the polymorphism while OS3 yes. I think in v7 i'll remove the OS2 support and rework this part to use allOf instead of the current mechanism. :)


cannot read property range of underfined

After updating to the latest vscode insiders version, the list does not show up,
click refresh is also this error message
cannot read property range of underfined

I'll try to fix this but as I'm planning to deprecate this extension once VSCode 1.25 ships I strongly suggest that you switch to the built-in Outline view and help the VSCode team make it better.

alright, thank you very much,
I feel the official one is not as good as you：）


AngularJS 2 version

hello
I would like to know is there a ng-admin version support AngularJS 2 ?

Answer is here:
https://marmelab.com/blog/2017/01/27/ngadmin-1.0-is-out.html#roadmap-and-future-of-ng-admin

@SebLours is right:

Ng-admin relies on Angular 1.x, a technology we used heavily at marmelab. Yet, we didn’t make the switch to Angular2, as we preferred to dive in the awesome React ecosystem. So, we will probably never port ng-admin to Angular 2.0.

But feel free to fork this project if you need to. :)


Support drift detection

Overview
Support drift detection.
If Terraform Configuration is different from actual state of the infrastructure, tfaction notifies the drift to users and encourage users to fix the drift.
Why this feature is needed?
To resolve the drift as soon as possible.
How to implement

Run terraform plan in each working directory periodically (weekly?)

schedule

If the result of terraform plan has changes, notifies it to codeowners

Create an issue and add it to GitHub Project

Terraform Drift Detection (working directory)

Add a link to latest pull request

Post a comment to Slack

Store the state of cron jobs in Container Registries

https://oras.land/
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry

Open and close the issue

Open when terraform apply failed
Close when terraform apply succeeded

Example Code

Idea 1.

Update issue every time terraform apply is run and drift detection workflow is run
Get a least recently updated issue by GraphQL API

actions

apply

⭐ update-drift-issue-after-apply

find an issue
⭐ update-drift-issue

schedule

⭐ detect-drift

find an issue
⭐ setup-base
plan
⭐ update-drift-issue

Configuration

tfaction-root.yaml
.github/workflows/apply.yaml
.github/workflows/schedule-create-drift-issues.yaml
.github/workflows/schedule-detect-drifts.yaml

tfaction-root.yaml
drift_detection: true

.github/workflows/apply.yaml

Create an issue if the issue doesn't exist
Create an issue commit to notify the result of terraform apply or tfmigrate apply
Open or close the issue

.github/workflows/schedule-create-drift-issues.yaml

Run tfaction create-drift-issues

.github/workflows/schedule-detect-drifts.yaml

Get a least recently updated issue
Run terraform plan and create an issue commit to notify the result of terraform plan
Open or close the issue

Release CheckList

[ ] Release v0.6.0
[ ] Update the document
[ ] Publish a blog (zenn)
[ ] Publish a blog (dev.to)
[ ] Announce in Twitter


Fix path to vnu.jar

. is the directory that the user is calling the task from, __dirname is the directory where index.js is located.
Fixes #1.

Wow LGRM. I'm sorry for my late response.
Thanks!

I published as v0.4.0. Thanks a lot :smiley_cat:

:+1:


Add Apparent Horizon Finder

This is currently on a PR in the CTC repository (COSMOS-CTC-Cambridge/GRChombo#175) but should be added here too. @TaigoFr to finish this and @mirenradia, @KAClough, @JCAurre to review.

This is done too! See #236.


Class property syntax incompatible with Babel

Sorry - not sure whether to report this here or in Babel's tracker. The syntax suggested in the documentation on classes, interpreted like this:
class ErrorWithStatus extends Error {
  status: number;
  constructor(message: string, status: number) {
    super(message);
    this.status = status;
  }
}

Passes through Flow, but isn't compatible with the suggested strip-types transform:
SyntaxError: /Users/tmcw/src/studio/src/util/xhr.js: Missing class properties transform. while parsing file: /Users/tmcw/src/studio/src/util/xhr.js

The rest of Flow's annotations are correctly removed, and babel & plugins is up to date, with babelrc:
{
    "presets": [
        "stage-0",
        "es2015",
        "react"
    ],
    "plugins": ["transform-inline-environment-variables"]
}

I believe you need the babel-plugin-syntax-flow for parsing flow types in babel?

Looks like it's included in the react preset

Does it work with babel-plugin-transform-class-properties?

The class properties transform is already included by virtue of using the -stage-0 preset
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>

You need to put stage-0 at the end of your list of presets. See:
https://phabricator.babeljs.io/T6719
https://phabricator.babeljs.io/T6730
https://github.com/babel/babel/pull/3281

Thanks @nikita-gazarov-hs for answering this puzzler. Going to close this because a) there's a solution and b) it's not a Flow issue. Hope people can find this answer through search.

The react-toolbox-example works fine on Meteor. But I am repeatedly getting Missing class properties transform. on my console whenever I try to use any of the react-toolbox components, except 'Avatar' which works fine. I tried adding presets to the .babelrc file and other things suggested here, but none work. Can someone please help explain this?
import React from 'react';
import ReactDOM from 'react-dom';
import Input from 'react-toolbox/lib/input';

export default class InputTest extends React.Component{

```
        state = { name: '', phone: '', email: '', hint: '' };

        handleChange = (name, value) => {
        this.setState({...this.state, [name]: value});
        };

        render() {
          return (

                <Input type='text' label='Name' name='name' value={this.state.name} onChange={this.handleChange.bind(this, 'name')} maxLength={16 } />
                <Input type='text' label='Disabled field' disabled />
                <Input type='email' label='Email address' icon='email' value={this.state.email} onChange={this.handleChange.bind(this, 'email')} />
                <Input type='tel' label='Phone' name='phone' icon='phone' value={this.state.phone} onChange={this.handleChange.bind(this, 'phone')} />
                <Input type='text' value={this.state.hint} label='Required Field' hint='With Hint' required onChange={this.handleChange.bind(this, 'hint')} icon={J} />

          )
        }
}; `

Hi -- I'm getting the same problem as @pixelpunch described above.
In case it helps, here's my package.json:
{
  "name": "Test",
  "version": "1.0.0",
  "description": "Front End Test",
  "main": "index.js",
  "dependencies": {
    "material-ui": "^0.15.0",
    "react": "^15.1.0",
    "react-dom": "^15.1.0",
    "react-fontawesome": "^1.1.0",
    "react-redux": "^4.4.5",
    "react-tap-event-plugin": "^1.0.0",
    "redux": "^3.5.2",
    "whatwg-fetch": "^1.0.0"
  },
  "devDependencies": {
    "@kadira/storybook": "^1.24.0",
    "babel-core": "^6.5.2",
    "babel-loader": "^6.2.4",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-plugin-transform-class-properties": "^6.9.1",
    "babel-plugin-transform-flow-strip-types": "^6.8.0",
    "babel-preset-es2015": "^6.5.0",
    "babel-preset-react": "^6.5.0",
    "babel-preset-stage-0": "^6.5.0",
    "expect": "^1.14.0",
    "expect-jsx": "^2.3.0",
    "flow-bin": "^0.26.0",
    "mocha": "^2.4.5",
    "react-addons-test-utils": "^15.0.1",
    "redux-devtools": "^3.3.0",
    "webpack": "^1.12.14",
    "webpack-dev-server": "^1.14.1"
  },
  "scripts": {
    "start": "webpack-dev-server -d",
    "test": "mocha './src/**/*.spec.js' --compilers js:babel-core/register",
    "storybook": "start-storybook -p 9001"
  },
  "babel": {
    "presets": [
      "react",
      "es2015",
      "stage-0"
    ],
    "plugins": [
      "transform-class-properties",
      "transform-flow-strip-types"
    ]
  }
}

and the start of my class that uses Flow:
/* @flow */

import React, {Component, PropTypes} from "react";
import {connect} from "react-redux";

import {mapDispatchToProps} from "./actions/mappers";

type CurrentArticle = {
  content: string,
  id: number,
  name: string,
};

class ArticleContent extends Component {
  props: {
    category_id: number,
    current_article: CurrentArticle,
    editing: bool,
    saveEditing: (id: number, cat_id: number, name: string) => void,
    startEditing: (id: number) => void,
  };

  state: {
    content_value: string;
  };

  defaultProps: { visited: boolean };

  constructor(props) {
    super(props);
    (this:any).isNotChanged = this.isNotChanged.bind(this);
    (this:any).onChangeContent = this.onChangeContent.bind(this);
    (this:any).onModify = this.onModify.bind(this);
    (this:any).onSave = this.onSave.bind(this);
    (this:any).onUndo = this.onUndo.bind(this);
    (this:any).dangerous = this.dangerous.bind(this);
    (this:any).state = {
      content_value: props.current_article.content
    };
  }

The flow compiler is perfectly happy with the above, but trying to run webpack gives the Missing class properties transform. error.
I wrote a program to try all the permutations of "presets" and "plugins", and no such combination works.
Any help appreciated!

Just to let you know, my issue was a different one - nothing to do with Babel - but more with how ES6 is written - constructor class and private object property - here is the explanation - [(https://github.com/react-toolbox/react-toolbox/issues/530)]


@acjay => Hoist app state into Redux and namespace css

This PR moves state from local props into Redux, and simplifies component render fns by moving render logic into selectors. Also, namespaced the CSS for safety.

(Merging per offline convo.)


ach-cli: Add short description next to digit codes

Fixes #882

Codecov Report

Merging #883 (13f0f59) into master (9153639) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #883   +/-   ##
=======================================
  Coverage   92.27%   92.28%
=======================================
  Files          66       66
  Lines        5129     5134    +5
=======================================
+ Hits         4733     4738    +5
  Misses        233      233
  Partials      163      163

@nlakritz could you approve this PR too to unblock the merge?

Thanks again for working on this @nlakritz !


pip install endplay failing to build on Kubuntu 24.04, works on 23.10

Possibly this is transitory but it's the more or less the same as ackhh reported in March. I've been using endplay for a month or so on my Kubuntu 23.10 machine with no problems. The machine just went through an update to 24.04 and endplay didn't work with the new 3.12 version of python.
To debug I created two virtual machines in Virtualbox, one 23.10 and the other 24.04. In the 23.10 machine I had no problem installing endplay, but in the 24.04 machine it fails saying it cannot build the wheel. The error messages appear more or less identical to ackhh's messages, so possibly it's going to fix itself in a day or two, but in case it doesn't I thought I should report it.
  copying src/endplay/utils/play.py -> /tmp/pip-install-6bgbldvo/endplay_038aff1216674e8789c732ae36cac310/build/lib.linux-x86_64-cpython-312/endplay/utils
  running build_ext
  cmake /tmp/pip-install-6bgbldvo/endplay_038aff1216674e8789c732ae36cac310 -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-6bgbldvo/endplay_038aff1216674e8789c732ae36cac310/build/lib.linux-x86_64-cpython-312 -DCMAKE_BUILD_TYPE=Release -DSETUPTOOLS_BUILD=1
  CMake Warning:
    Ignoring extra path from command line:

     "/tmp/pip-install-6bgbldvo/endplay_038aff1216674e8789c732ae36cac310"

  CMake Error: The source directory "/tmp/pip-install-6bgbldvo/endplay_038aff1216674e8789c732ae36cac310" does not appear to contain CMakeLists.txt.
  Specify --help for usage, or press the help button on the CMake GUI.
  error: command '/tmp/pip-build-env-616czykb/overlay/bin/cmake' failed with exit code 1
  Traceback (most recent call last):
    File "/home/mark/My_venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()

Thanks in advance

I think the problem is Python 3.12 - Try downgrading 24.04 to a python version 3.11 - or create a virtual environment with python 3.11

Agreed. 3.11 is standard in Kubuntu 23.10 where it works in that VM. After updating my machine I have 3.12 on the machine as a whole, so as a test I created a 24.04.4 VM VM where it got 3.12 by default and fails.
Downgrading my whole machine to 3.11 feels like a step backward that could break Kubunu/Ubuntu stuff so with a Virtualbox VM or a venv virtual environment is preferred.
I'm a newbie programmer and have been using a virtual environment when the system was 3.11-based, but I haven't found instructions that I trust for creating a 3.11 virtual environment on a 3.12 machine so I'm being careful.

OK, at least within the Virtualbox Kubuntu 24.04 environment which has python 3.12 as default I've managed to install python 3.11 and create a venv which runs it. I need to remember how to load python libraries inside of the venv and do some testing of code but so far so good.  Thanks!
If I somehow wreck the VM I can start over until I get it right and then do my base machine.
How long does it generally take the maintain/s to update endplay for newer versions of Python? Will there be any announcements?

Hi,
Sorry, I don’t get to spend as much time maintaining as I would like these days. I will try and have a look into this as soon as I can.
Thanks for bringing the issue to my attention :)
Dom

I completely understand. Not to worry. Thorvald's help got me going with 3.11 so I'm good for now. If you want me to test something in the future, or just verify and update or provide info of what I'm seeing, then let me know.
Cheer

version 0.5.9 https://pypi.org/project/endplay/0.5.9/ is up on pypi now, i have tried installing it locally (on ubuntu in a python 3.12 venv) and it seems to install fine now.
if the old version is hanging around but broken, you might need to force it to reinstall as 0.5.9 with pip install --force-reinstall -v "endplay==0.5.9"
let me know if it works :)

Thanks. That seems to solve the install issues in a 3.12 virtual environment. It will take a bit longer to verify no regressions but for now all is good.
Cheers!

Just wanted to note it seems the install issue is back with python 3.13. I was able to successfully install endplay 0.5.10 by using python 3.12

Just wanted to note it seems the install issue is back with python 3.13. I was able to successfully install endplay 0.5.10 by using python 3.12

Thanks, I’ll take a look into this

https://pypi.org/project/endplay/0.5.11/ <- builds wheels for 3.13, and hopefully fixes the issue which was preventing sdist builds from working (totally baffles me tbh, the fix was to first check if a directory exists before creating it with .mkdir(exist_ok=True) :shrug:)


Fix typos

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:

Thanks for the fixes!


lightmap in linear space

in the same way as linearSpace for PBR shader, default should have this patch too.

ok, I'll have to remember that :)


kola: check also for the systemd cgroup driver

Flatcar edge 2051.99.1 or newer has the cgroup driver "systemd" instead of "cgroupfs". So we need to also update Kola tests to avoid test failures like:
--- FAIL: docker.base (541.40s)
    --- FAIL: docker.base/docker-info (12.17s)
            docker.go:575: unexpected cgroup driver systemd

Dropped the containerd change, kept only the cgroup driver change.

I don't have context about kola but the change looks good to me.


Feature Request: Support Searching by Episode and Event Name

For example: get all "GA-*" operations by typing "吾导先路"; get all "8-*" operations by typing "怒号光明".
Furthermore, the search bar in the home page says "键入 物品全拼 拼音首字母 作战名 章节名 关卡编号 或 部分关卡/物品昵称". If I understand it correctly, "作战名" refers to the name of an operation, e.g., for operation 4-4, the "作战名" should be "不要恐慌"; "章节名" refers to the name of an episode, like "怒号光明" for the 8th episode.
However, when I typed these keywords, the website gave 0 results. Is it a bug caused by the new backend, or I've misunderstood the meaning of the words?

Search by the actual name of the stages are not yet actually supported. The only parts that are searchable is instead the stage code, e.g. "GA-8" instead of the name. Internal discussion suggests that adding the stage name would be a nice addition and we do plan to add that in a future version.
Keeping this issue for record.

@GalvinGao How about names of events and episodes?


Fix man page typo for "Owner Options".

Looks like a copy/paste mistake.

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit f08a695b66ee386ef3d6a6eae1934e81683a2759 has been approved by Eh2406

:hourglass: Testing commit f08a695b66ee386ef3d6a6eae1934e81683a2759 with merge 6e07d2dfb7fc87b1c9489de41da4dafa239daf03...

:sunny: Test successful - checks-azure
Approved by: Eh2406
Pushing 6e07d2dfb7fc87b1c9489de41da4dafa239daf03 to master...


Update log4j-api, log4j-core, ... to 2.17.2

Updates

org.apache.logging.log4j:log4j-api
org.apache.logging.log4j:log4j-core
org.apache.logging.log4j:log4j-slf4j-impl

from 2.17.1 to 2.17.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.logging.log4j" } ]

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #150 (9703851) into master (f128bea) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #150   +/-   ##
=======================================
  Coverage   97.73%   97.73%
=======================================
  Files          23       23
  Lines         265      265
  Branches       11       11
=======================================
  Hits          259      259
  Misses          6        6


Edit and save config

Config can be used to store values entered by the user so that on the next app run these values will be prefilled.
It would be great if cosmiconfig could save modified config:
const { cosmiconfigSync, cosmiconfigSaveSync } = require('cosmiconfig')

const explorer = cosmiconfigSync('my-module')
const result = explorer.search(searchFrom)

// Do work ...

result.config.lastRun = new Date().getTime()

cosmiconfigSaveSync(result)

I had a similar need and created edit-config module for this purpose.
It can edit and save cosmiconfig files (JSON and YAML). You can also provide cosmiconfig options, which are passed directly to cosmiconfig.
Check it out:
import { DataFile, Manager, noLogger } from "edit-config";

const husky = await DataFile.load("husky", { cosmiconfig: true, logger: noLogger });

husky.set("hooks.pre-commit", "lint-staged");

if (husky.canSaved) await husky.save(); // Only JSON and YAML can be saved.

Nice work, @ozum 👍  People who want this functionality can us edit-config.