Tracking issue: an API for executors

A key goal is to be able to easily switch between executors. Currently, there is no standardised interface for executors, so how a program interacts with an executor is unique to each executor. On the bright side, most executors offer similar APIs (e.g., a spawn function). However, there are differences in the details and some constraints which are not reflected simply by function signatures (e.g., Tokio's requirement that all async code is within the context of an executor).
One approach would be to define a Spawn or Executor trait in std. In addition, there must be a way to 'plug in' the executor, since executors tend to be somewhat global, rather than passed around. We can follow follow the global allocator pattern, but this is not a complete solution since some programs require multiple executors.
Open issues

Just leaving a list of previously discussed ideas:

#[global_executor] or global existentials defined by external crates
Thread-local executors
Adding generic member access to task::Context
Making task::Context generic over it's environment Context<T = ()>
Scala-like implicit execution context

The most promising direction at the moment would be: "with clauses". This project is still getting started, but if successful would enable authoring a general mechanism by which a runtime can be constructed, passed, and overwritten. An introduction blog post for this is currently in the works, and it's expected this will become a sub-group under the async foundations WG.
Though that doesn't mean that we can't do any work while with clauses are being researched: it'd be great to have a survey which covers all known spawn methods and scheduling techniques across runtimes. To my knowledge this does not exist yet, and is a requisite for any interface design.

with clauses themselves don't solve the interop problem, we still need an API for executors.

with clauses themselves don't solve the interop problem, we still need an API for executors.

That is true, but their design greatly will inform what an executor API would look like. It doesn't seem fruitful to start designing a generalized async runtime APIs before we have clarity if and how with clauses will integrate into the language.
That's why I'm recommending we start by doing a survey to gather requirements. So once we have more clarity on with clauses, we're actually able to start designing and experimenting.

I feel like with is important for some issues, but orthogonal to others. Obviously with clauses would affect how executors are passed around and interacted with, but they seem mostly orthogonal to the question of how an interface should be specified. In other words, I think the tasks of designing with clauses and designing an API for executors are mostly parallelisable.

I encourage anyone thinking about designing an async abstraction to read this blog post about structured concurrency and the problems with spawn-like interfaces:
https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
And then check out the direction standard C++ is heading:
https://wg21.link/P2300
Disclaimer: I am one of the authors of P2300, but not the blog post.

I have written up a draft for the APIs of executors in #13 , feel free to have a look at it.
I also agree that "with clauses" is the best way to plug in an executor, it would enable to user to add trait bound to specify the capabilities they need.


tooltip titleSpacing option has no effect

Expected behavior
setting following config for tooltip would have effect as per docs
plugins: {
        tooltip: {
           titleAlign: 'center',
           titleSpacing: 50,
           bodySpacing: 50,
        },
      }

Current behavior
setting following config for tooltip DOES NOT change title and body spacing of tooltip
plugins: {
        tooltip: {
           titleAlign: 'center',
           titleSpacing: 50,
           bodySpacing: 50,
        },
      }

Reproducible sample
https://codepen.io/mottoweb/pen/eYbmvYg
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
@latest
Browser name and version
No response
Link to your project
No response

Looking at the code it seems it only applies the padding when there are multiple lines since it only applies between the lines and not around the line. Don't know if this is intended behaviour and thus a docs issue or if it is an issue with how we build the tooltip.
https://jsfiddle.net/mxdbun2z/1/
https://github.com/chartjs/Chart.js/blob/a3fc84113e51ebc34d7b897623469f591218bf7d/src/plugins/plugin.tooltip.js#L162

This is a bit confusing since docs say: Spacing to add to top and bottom of each title line. Considering the title is usually a single item anyway.
It seems that I can solve my issue using padding and titleMargin then, thanks

Hey guys, I am new in open source projects so I would like to start by contributing on a small thing like a documentation fix, like what appears to be this one. I am still studying the docs, but what needs to change is the information about how the property works, right? And if possible, I would like to try to make the contribution.


Overrides user FileType autocommands

It seems that with Neobundle, the ftplugins are applied after any user au FileType, while you can influence the order in a minimal vimrc file, by configuring the autocommands before or after the filetype plugin indent on.
The doc is also unclear/wrong about how to use it with neobundle: https://github.com/Shougo/neobundle.vim/blob/master/doc/neobundle.txt#L1757-L1766.
au FileType python echom "CUSTOM" is always before the ftplugin.

This happens because of s:reset_ftplugin being called.

Maybe reset_ftplugin should take care to keep the order of FileType autocommands?

Fixed.


Support perls which do not provide . in @INC by default for Makefile.PL

I fear this isn't necessary anymore :(

This is still necessary. If perl is built without . in @INC, it cannot load modules from a relative directory.
As of 5.25.9 you can build such a perl by using the Configure option -Ddefault_inc_excludes_dot
$>perl Makefile.PL
Can't locate inc/Config/AutoConf/LMU.pm in @INC (you may need to install the inc::Config::AutoConf::LMU module) (@INC contains: /perl/5.25.9/lib/site_perl/5.25.9/x86_64-linux /perl/5.25.9/lib/site_perl/5.25.9 /perl/5.25.9/lib/5.25.9/x86_64-linux /perl/5.25.9/lib/5.25.9) at Makefile.PL line 65.
BEGIN failed--compilation aborted at Makefile.PL line 65.

In the new Makefile.PL at line 65 is nothing which could explain your error message. Did you "git pull" before complaining?

This is still necessary

I suspect rehsack was saying "fixed in git"
But it has yet to be fixed on CPAN.

Is this an RT ticket? Or is it a pull request against the source code repository?
Don't try interpret a clear thing.

I don't understand. Either way, when its fixed on CPAN, feel free to respond so we can test it && etc.

Than please either test the git checkout - or if you can't do, add yourself at Sawyer's RT (https://rt.cpan.org/Ticket/Display.html?id=117036) and move your ass out of a PR

@rehsack , I've reviewed the branch as you have it. Before I open tickets, I thought I'd try here first.

perl Makfile.PL fails on the git checkout. I worked around this by doing make dist.

$>perl Makefile.PL
Can't locate Sandbox/Tumble.pm in @INC (you may need to install the Sandbox::Tumble module) (@INC contains: /perl/5.25.9/lib/site_perl/5.25.9/x86_64-linux /perl/5.25.9/lib/site_perl/5.25.9 /perl/5.25.9/lib/5.25.9/x86_64-linux /perl/5.25.9/lib/5.25.9) at (eval 16) line 1.
BEGIN failed--compilation aborted at (eval 16) line 1.

MANIFEST is now gone and also files in t. How do I do make test?

Beyond the above I seem to be able to do perl Makefile.PL && make install with what I was able to put together.
Not sure what your final tarball will look like. Would you mind uploading it to pause so I can verify?
Thanks,
Todd

@toddr - thanks for investing the time.
I made some other mistakes together with that - unfortunately I'm low on tuits at the very moment.
Have a look at .travis.yml to have an impression how to make test (and yes, you're right then, I forgot the lines 8..14 from L::MU::XS's Makefile.PL (or you're patch).
It's not that much here and I try to manage it before Eastern.
Cheers,
Jens

@rehsack We're discussing removing . from @INC in 5.25.11 right now. How can I help. Do you want a pull  request? Do you want to give co-maint? I need another module like a hole in the head but I'm happy to help to fast track a release.

@rehsack Would it be possible to do a release with just this PR (or something similar) included and leave the refactoring work you are doing until later?  There are a few other issues I noticed with the XS/PP split that should be addressed before a release is done, but this patch should be low impact and relieve any pressure to rush the refactoring work.

Gimme until end of week, I do my best.
Co-Maint requires reasonable pull-requests, sorry.

Hacked, pushed, run through travis ... if I don't hear bad things until tomorrow, I will try to release a DEV release and shortly after the XS one (with harmonized Makefile.PL)...


Update index.js

Fixed semicolon

Thanks for the pull request!  Sorry for not getting to this sooner, its been fixed in a previous release.


Simple ROS Node

Implements a simple ROS node with Python. Thought it might be useful for others as well, at least as a starting point, depending on the application.

Fixed the issues.
I added a flag for using the RGB, although now I am confused as to what that parameter does. Now when I run it without the color parameter (OAK-D Pro), I get grayscale frames from keyframe.frameSet.getUndistortedFrame(keyframe.frameSet.rgbFrame).image. If not using RGB, I would expect this to either return the RGB frame with pose, even though RGB is not used for tracking or I would expect it to throw an errorr if the RGB camera is not active at all.
Ideally, what I would like to do is use only the grayscale cameras for tracking as they are global shutter, have less motion and generally sharper, but still read RGB frames with poses for downstream purposes.

Thanks! The situation with useColor is indeed a bit messy, partially because the variety of OAK-D devices that the SDK supports and this is definitely not as convenient for the user as it could be.
The useColor flag is originally an experimental feature for supporting OAK-D "Pro" variants with an IR laser pattern projector. If the projector is enabled, the monochrome cameras can be used for computing depth maps but not for feature tracking. We support a similar mode in RealSense DXX and Azure Kinect cameras. On OAK-Ds, it currently does not work very well, since some of the cameras (with the same model name) have IMX rolling shutter sensors. In addition, we recently noticed some additional aligment issues with the RGB and gray OAK-D cameras in our SDK, which we are currently debugging.
It could indeed be good that the color data could be obtained through the SDK in rgbFrame even if we do not use it in tracking. However, this is complicated by two different things: 1. We do not always want to read the color camera at all, 2. the color camera is not synchronized with the gray cameras in OAK-D generation 1 devices. So far, we have chosen not to read the color camera unless we try to use it for tracking.
However, it is possible to obtain RGB camera poses with any OAK-D variant using the addTrigger method demonstrated in the mixed reality example (see here). With that method, you can also select the RGB camera FPS independent of the tracking cameras. The downside is that you do not automatically get aligned and synchronized depth maps for those images.

Got it. Makes sense.
Regarding the availability of the rgbFrame property, I get that if this isn't needed, it would be stupid to spend the compute and bandwidth carrying it around, but there could be a flag to have it read just so that it can be accessed through the keyframe. Though I get that this stuff gets more complicated with time with more heterogeneous hardware and especially if you go into the SoM setups with custom sensor configurations.
Might be worth having the Depthai/sensor specific part of the code be open source and have that use your closed source SLAM SDK. This way it would be easy for people to add support for new sensors and potentially hack existing drivers if their use case requires something non-standard.
But I guess for now just being able to turn on capture for any individual sensor, synchronized or best-effort and whether they are used for tracking, in the keyframes could be a nice addition.


Display tag counts on tag type rows in Tags tree list and expand/collapse all actions

What is the feature you'd like to have?
Display the count for each type of tag in the Tags tab of the Tags sidebar. Also provide an action for expand/collapse all tag type levels of the tree list.
Is your feature request related to a problem?
It can be helpful to see the tag counts directly in the tags tree list.
Are any alternative solutions acceptable?
This information is already displayed for each type in the Tag Types tab.
Additional Information:
This is already implemented in an internal test branch test_show_counts_in_tags_view_redux. The tag count can be toggled on and off via, and it will be colored according to the current theme's Number color.

Should be in builds >= 4196


Install error

I get the following error when trying to install (using NixOS 18.03)

error: store path mismatch in file downloaded from 'https://github.com/NixOS/nixpkgs/archive/3389f23412877913b9d22a58dfb241684653d7e9.tar.gz'

@dksim Sorry to be slow to respond -- can you be a little clearer which command(s) you're running that cause this error?

The following command causes the error
nix-env --install --attr nixfromnpm --file ./release.nix

@adnelson #133 fixes @dksim's issue.

Fixed by #133.


[server] Support POST and PATCH too for adding items

Usually, PUT and PATCH are used interchangeably (e.g. in Laravel). So it'd be nice to add them as request options. As there is no "edit" item, I was in belief that POST should work for setting an item.
I'd propose to add POST and PATCH support too.
Happy to send in a PR.

Although it is unlikely, we might use POST and PATCH in the future for specific partial operations. Other than preference is there any reason to support new methods?
(I think similarly S3 API does not support post as i recall and only supports post for browser upload purpose)

Preferences as in - APIs use it similar. But I am happy with alining e.g. S3 because it is more in the domain ☺


String value

Implement issue #43

Codecov Report

Merging #44 (5ef6c45) into main (f1f1139) will increase coverage by 11.39%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main      #44       +/-   ##
===========================================
+ Coverage   79.12%   90.52%   +11.39%
===========================================
  Files          39       39
  Lines         666      665        -1
  Branches      206      207        +1
===========================================
+ Hits          527      602       +75
+ Misses        122       55       -67
+ Partials       17        8        -9

Impacted Files
Coverage Δ

packages/react-table/src/types.ts
100.00% <ø> (ø)

packages/react-table/src/usePagination.ts
100.00% <ø> (ø)

packages/react-table/src/useSearch.ts
100.00% <100.00%> (+44.61%)
:arrow_up:

packages/react-table/src/useSort.ts
96.77% <100.00%> (+77.10%)
:arrow_up:

packages/react-table/src/util.tsx
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add cookbook entry for accessing common data in templates

As the title says: It adds a cookbook entry for accessing common data in templates.

[x] Are you creating a new feature?

[x] Why is the new feature needed? What purpose does it serve?
[x] How will users use the new feature?
[x] Add only one feature per pull request; split multiple features over multiple pull requests
[x] Add documentation for the new feature.
[x] Add a CHANGELOG.md entry for the new feature.

Thanks, @xtreamwayz!


Add tests for contour soma.

A contour soma is one where the neurites branch out of some points
other than its end-points.
Resolves #472.

Ok, that's exactly what we need! Should we also have an example that fails to load: i.e., when an actual bifurcation is present in the soma? Something simple as the following will do:
+1 1 0 0 0 0.0 -1
+2 1 0 0 2 0.0 1
+3 1 0 0 3 0.0 2
+4 1 0 0 4 0.0 2
+5 1 0 0 5 0.0 4
+6 1 0 0 6 0.0 5

Yes, we could do that, as a separate task. Could you add that as an issue?

OK, I added issue #475


Add Carthage support

Share scheme to enable Carthage builds.
Remove extra files from build target to fix command-line build errors.

TODO:

tag latest release (Carthage only picks up tagged releases)

Thanks for the contribution. I've just been having some issues getting the release tagged and ready for Cocoapods since they released cocoapods v1.0 but as soon as I work that stuff out I'll merge this in too and make sure the release is properly tagged

@ewerx I'm new to carthage, do I need to publish anything else? Version 2.0.0 has just been published and tagged on git.

You will need another release tag that includes this PR. All carthage does is check out the latest tag and build the framework via xcodebuild. This PR just exposes the scheme for command-line build, so you just need a new tagged release after merging this and it should work.

@ewerx this is now published and tagged. Thanks for the contrib. Please let me know if there are any issues


Codium vs. VSCodium

Just happen to recognize that: While the name was changed to Codium and this stayed that way with 1.82 many references were changed to VSCODIUM during 1.82 "manual rebase".
This may or may not be an issue.

@GitMensch Like where? I tried to rebrand it correctly like when I first made the repo, but I ended up rebasing on top of upstream since there were alot of changes.

The repo is currently indexed, but https://github.com/search?q=repo%3AAlex313031%2Fcodium vscodium&type=code should give a clue.

@GitMensch Those are left intentionally, as they don't need to be changed. File names and the announcements patch purposefully still have vscodium name. However, I could update the docs to use the new name and make it clear that this is the (currently) only vscode/vscodium fork to still support win7/8/8.1 or ubuntu 16.04.

Just rechecked - the README is still mostly from VSCodium with instructions on how to install that one (not this fork).

However, I could update the docs to use the new name and make it clear that this is the (currently) only vscode/vscodium fork to still support win7/8/8.1 or ubuntu 16.04.

This part is very important, as the question comes up again also for Ubuntu 18/RHEL7, as electron dropped support for that (but there are now the experimental glibc-217 node binaries, which may be used as drop-in replacement (also checked for VSCodium see https://github.com/VSCodium/vscodium/issues/1629)

@GitMensch Finished. See replies to your other issues. Should be all good now.

Flushed it it: it is much better now. But the instructions still lead to vscodium' s Gitter references.

@GitMensch Probably wont update those.

@GitMensch Went ahead and updated all this, and other stuff in the readme as well as the building instructions. Also added the wiki, but right now it's identical to upstream.

Well done. This looks all fine, the only thing you likely want to adjust is https://github.com/Alex313031/codium?tab=readme-ov-file#supported-platforms - as this is one of the core parts of this repo.

@GitMensch There > https://github.com/Alex313031/codium?tab=readme-ov-file#supported-platforms


Add OddIntegralNumber

This PR includes adding OddIntegralNumber to support following form of statement in spec:
If _exponent_ is an odd integral Number, return ...

So, we added some logics according to OddIntegralNumber but encountered an issue handling Infinity value. The issue is occurred in following code snippet in EConvert case in interpreter.scala:
case (Number(d), ToMath) => Math(d)

As the type of d value in this function is Double, d allows Infinity value (POS/NEG). However when we convert Double.NegativeInfinity into Math value, it throws error. This is because BigDecimal doesn't support Infinity value.

I've reviewed the code, and I have a concern regarding the handling of Infinity values in the context of the statement you've mentioned.
In the Compiler.scala you've modified, the code proceeds with the modulo operation and determines if the value is odd. However, based on the current implementation in Compiler.scala, it seems that the logic doesn't explicitly handle the case where _exponent_ is Infinity.
Considering that Infinity is not a finite value and the modulo operation may not be well-defined in this context, I suggest modifying the Compiler.scala to explicitly check for Infinity and handle it accordingly. In this way, we can ensure that the code behaves as expected even when dealing with non-finite values.

It seems that there are some remaining minor errors according to test262-test. I'll fix it ASAP.

LGTM! 👍🏻

LGTM! 👍🏻


get_tag_list can return a dictionary

If the requested tag has one or more attributes, xmlschema returns a dict with the attribute names as keys plus the key $ for the actual list.

Did you hit this bug when doing something useful? If not I'd just add and assert isinstance(tag_list, list).

As far as I am concerned https://github.com/bopen/xarray-sentinel/commit/4f2a272e941477b6d67407f116dea5a2e955eeac fixes this bug. @corrado9999 please close it if you agree.

@alexamici yes, I was trying something useful, but I have just realised I was doing it in the wrong way. Instead of asking for calibrationVector I asked for the common parent calibrationVectorList. The issue still persist in the degenerated case when e.g. only one calibrationVector is present, but it should not arise with our data, the assert should be enough.


Speech Recognition hangs with wave files recorded on iOS

I am successfully using speech recognition using the data client (with and without intent) from a C# service.
However, if the wave file was recorded on iOS using the AVAudioRecorder class, none of the callbacks get called.
The difference between these wave files and others is that they have a FLLR chunk in the header, between the regular FMT and data chunks which are commonly found in wave files. If I remove the FLLR chunk, everything works fine. However, the service should probably cope with this natively.

Hi SaqibS, can you provide the audio file you are using?

Find the audio file here, and a Python script for stripping out the FLLR chunk here.

This will be addressed in the next client refresh.

Hey Jason,
what about xamarin?
tr.linkedin.com/in/mustafahalukyilmaz/
Date: Tue, 16 Feb 2016 09:36:15 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Re: [ProjectOxford-ClientSDK] Speech Recognition hangs with wave files recorded on iOS (#12)
This will be addressed in the next client refresh.
—
Reply to this email directly or view it on GitHub.

Any update on this? Still get the same problem.

The updated SDK available today addresses this issue.  Please give it a try.

Closing out the issue. If the issue still repros, please re-open!


Training VoiceCraft with IndicVoices-R

Hi,
Thanks for this outstanding work and for achieving this significant milestone in supporting Indian languages.
I would like to train voicecraft with all the languages in IndicVoices-R. I would be starting with the Hindi dataset with the voice-cloning functionality.
So far, to understand it, I tried to reproduce the training with the Gigaspeech XL dataset on the model.
It would be great if I get some help from @AshwinSankar17.
Thanks
Tarun

The first step would be to extend the vocab to your grapheme sets if you do not want to use phonemes. You can use this script to do that. Alternatively, you can use the espeak tokenizer or the tokenizer from xphonebert if you want to continue using phonemes.
Next you need to make changes to phonemize_encodec_encode_hf.py to load huggingface dataset from json instead of pulling from the web. You may also need to change the tokenization approach here depending on your previous step.
Next in steps/trainer.py you need to extend the embedding table from the old embedding table (to somewhat benefit from the pretraining).
`
old_token_lim = sd["text_embedding.word_embeddings.weight"].size(0) - 1
old_embeddings = sd["text_embedding.word_embeddings.weight"][:old_token_lim,]
mean = torch.mean(old_embeddings, dim=0).float()
std = torch.std(old_embeddings, dim=0).float()
new_embeddings = torch.from_numpy(
np.random.normal(
loc=mean.numpy(),
scale=std.numpy(),
size=(self.args.text_vocab_size - old_token_lim, self.args.d_model)
)
)
        sd["text_embedding.word_embeddings.weight"] = torch.cat(
                (
                    sd["text_embedding.word_embeddings.weight"][:old_token_lim,],
                    new_embeddings,
                    sd["text_embedding.word_embeddings.weight"][old_token_lim:,]
                )
            )
        model.load_state_dict(sd, strict=False)

`

Closing this if there are no further questions.


fix: remove file paths from error message

Description:

Is this change user facing?

[ ] Yes
[ ] No

References (if applicable):

Changelog picked up from commits here:
fix: remove file paths from error message

Before:
Error: An error occurred running command 'run'
 --- at /home/circleci/project/cli/cli/command_framework/lowlevel/lowlevel_kurtosis_command.go:295 (LowlevelKurtosisCommand.MustGetCobraCommand.func2) ---
Caused by: An error occurred calling the run function for command 'run'
 --- at /home/circleci/project/cli/cli/command_framework/highlevel/engine_consuming_kurtosis_command/engine_consuming_kurtosis_command.go:149 (EngineConsumingKurtosisCommand.getRunFunc.func1) ---
Caused by: Error executing Kurtosis code
 --- at /home/circleci/project/cli/cli/commands/run/run.go:249 (run) ---
Caused by: Kurtosis execution threw an error. See output above for more details
 --- at /home/circleci/project/cli/cli/commands/run/run.go:302 (readAndPrintResponseLinesUntilClosed) ---

After:
Error: An error occurred running command 'run'
Caused by: An error occurred calling the run function for command 'run'
Caused by: Error executing Kurtosis code
Caused by: Kurtosis execution threw an error. See output above for more details
``


Not working for a csv file that has 50,000+ records. But it worked fine for 10,000 records. how to increase to size?

Hi
I am readng the data from input CSV files and passing to server.
After selecting the input files, when we click on the Submit button, I am reading the data from this selected CSV input file as below.
Here we are using Jquery CSV toObjects method to read the CSV file data. When the file has 10,000 records (4,400KB) , it is working fine.
Now I am testing for 50,000+ records(25,800KB). It is not working. Developer Tools is crashing in the case of 50,000 + records when i execute the below line of code. It is displaying error as "Something went wrong while displaying this webpage" and displaying the blank page with this error.
Developer Tools Error is:
Dev Tools was disconnected from the Page.
Once page is reloaded, DevTools will automatically reconnect.
How to increase the size here? Anyone came across this issue? We are using Jquery.csv.js plugin.
This is the code i have.
var inputFileData = $.csv.toObjects(importDataFromFiles[0].data)
Thanks
Rita

Use PapaParse. When it comes to processing large amounts of data (ie > 10MB) you're going to exceed the browser's memory limit for Javascript. The only way I know around this limit is to process the CSV as a data stream. PapaParse supports this capability.


Cannot build vrouter.ko module

Hello everyone,
I am trying to install vrouter.ko module as follows:
[root@dut6210 contrail-vrouter-master]# repo init -u git@github.com:Juniper/contrail-vnc -m vrouter-manifest.xml
[root@dut6210 contrail-vrouter-master]# repo sync
[root@dut6210 contrail-vrouter-master]# scons vrouter
scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 834, in _main
[root@dut6210 contrail-vrouter-master]#
Can anyone please help me this.
Thanks

I had tried
git clone https://github.com/Juniper/contrail-vrouter.git
and then
I had tried:
$git clone https://github.com/Juniper/contrail-vrouter.git
and then:
scons vrouter
And then got the same error:
scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 920, in _main
What can be the reason?
I used git clone
since  "repo init" failed:
...
...
repo init -u git@github.com:Juniper/contrail-vnc -m vrouter-manifest.xml
gpg: keyring /root/.repoconfig/gnupg/secring.gpg' created gpg: keyring /root/.repoconfig/gnupg/pubring.gpg' created
gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer<EMAIL_ADDRESS>imported
gpg: key 692B382C: public key "Conley Owens<EMAIL_ADDRESS>imported
gpg: Total number processed: 2
gpg:               imported: 2  (RSA: 1)
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
Get git@github.com:Juniper/contrail-vnc
ssh: connect to host github.com port 22: Connection timed out
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
^Caborted by user
...
...

You need to use repo tool to fetch the repositories from github:
Try these:
curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo
chmod a+x ~/bin/repo
PATH=~/bin:$PATH
and then use repo init in the working directory.
It will work. Make sure to provide keys in your github account. Also make sure you have global user name and email id set on your server.
you will need to change manifest.xml file to build the kernel module.
replace the file content by following:

This will work.

Thanks, ronakdborad

Also make sure you have global user name and email id set on your server.

What do you mean by that ? I assume it is not the email and username which are set in/root/.gitconfig ?
The Second thing is:
You said:
"you will need to change manifest.xml file to build the kernel module.
replace the file content by following:
This will work."
But after "by following" there is an empty paragraph
Regards.
Kevin

Still facing this issue in Release 5.0. Can someone help me out?


fix node type declaration in constante

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 95.627%

Files with Coverage Reduction
New Missed Lines
%

dkg/pedersen/handler.go
2
83.47%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
13734

Relevant Lines:
14362

💛  - Coveralls


[PE-D][Tester B] Invalid Interval values in Json file

After editing the json file and launching the app again, not all interval values are corrected. Negative numbers remain negative. However, decimal numbers are rounded to the closest integer value.

Labels: type.FunctionalityBug severity.Medium
original: ReganChoy/ped#13

Documentation issue.
Json editing should be further clarified in user guide.
Fix:
To give clearer instructions for json editing.

Resolved in #174


Passing cucumber-js argument as attachment.

According to https://github.com/webdriverio/wdio-cucumber-framework/pull/143

@christian-bromann I am not sure it needs now (until we will have wdio-cucumber-framework v5 port)

@imdmitrykravchenko Awesome 👍

@christian-bromann yes, I will make same changes for v5 in a few days
@BorisOsipov rebased

Will merge once ported to v5

Run tests

@christian-bromann
very need a feature for v4

@vchuchkalov as we now support Cucumber v5 we need to ensure that every change that affects the old version is also added upstream to the latest version. Can you please make a similar PR to the Allure reporter in v5?

@christian-bromann ok, i will do it later. on next week 👍


Ulduar patch - lua errors and settings not being saved

Hey Trits
Trying my luck here if you're still keeping this addon updated - having a hard time playing without after using it for so long now. Thanks!

Hi, I'm sorry but currently I don't have time to play wotlk and I don't expect to have it it near future.


cx_freeze not saving .aws credentials for boto3

Hi,
I am on a windows 10 machine with python 2.7 and boto3 latest version. Also, I am using cz_freeze 5.2.0 version to create a .exe from the python code.
Brief View of the project:
I am creating a deployable tool that downloads and uploads objects in the S3 bucket programmatically using boto3. The executable runs perfectly fine on my machine as the credentials are already present in the ~/.aws folder. However, when I copy the executable in another computer, it always throws an error saying that it cannot locate credentials.
I tried fixing the problem in 3 ways.
I included the .aws folder in the setup.py file before the freezing it. However, it read the credentials from the folder where the executable is present.
I also tried adding the path for .aws folder as an environment variable but it also failed to locate credentials
I changed the folder in the S3 bucket to grant full public access and tried running the program, but still, it looks for credentials.
Please help me. I am running out of solutions. I have pasted the full traceback error.
Thanks in advance.
Nitin.
`runfile('E:/EEG_Evolution/New tests/Key process V1.0/decoding ekx.py', wdir='E:/EEG_Evolution/New tests/Key process V1.0')
Reloaded modules: dowload_ekb
('the prefix for the dng_num is: ', '52525')
Traceback (most recent call last):
File "", line 1, in
runfile('E:/EEG_Evolution/New tests/Key process V1.0/decoding ekx.py', wdir='E:/EEG_Evolution/New tests/Key process V1.0')
File "C:\Users\nVIALP2\Anaconda2\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile
execfile(filename, namespace)
File "C:\Users\nVIALP2\Anaconda2\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 95, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)
File "E:/EEG_Evolution/New tests/Key process V1.0/decoding ekx.py", line 49, in
file_name, local_file_location = db.new_ekb(dong, destination, check)
File "dowload_ekb.py", line 88, in new_ekb
for obj in bucket_objects:
File "C:\Users\nVIALP2\Anaconda2\lib\site-packages\boto3\resources\collection.py", line 83, in iter
for page in self.pages():
File "C:\Users\nVIALP2\Anaconda2\lib\site-packages\boto3\resources\collection.py", line 166, in pages
for page in pages:
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\paginate.py", line 255, in iter
response = self._make_request(current_kwargs)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\paginate.py", line 332, in _make_request
return self._method(**current_kwargs)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\client.py", line 648, in _make_api_call
operation_model, request_dict, request_context)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\client.py", line 667, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\endpoint.py", line 102, in make_request
return self._send_request(request_dict, operation_model)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\endpoint.py", line 132, in _send_request
request = self.create_request(request_dict, operation_model)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\endpoint.py", line 116, in create_request
operation_name=operation_model.name)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\hooks.py", line 211, in _emit
response = handler(**kwargs)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\signers.py", line 90, in handler
return self.sign(operation_name, request)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\signers.py", line 157, in sign
auth.add_auth(request)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\auth.py", line 425, in add_auth
super(S3SigV4Auth, self).add_auth(request)
File "C:\Users\nVIALP2\AppData\Roaming\Python\Python27\site-packages\botocore\auth.py", line 357, in add_auth
raise NoCredentialsError
NoCredentialsError: Unable to locate credentials`

Looks like this issue was also opened in the boto3 repo and there's already a response (https://github.com/boto/boto3/issues/1973).  Let's track the conversation over there.  Resolving in favor of boto/boto3#1973


Location issues with getExtend()

As of SpongeAPI 7.2.0, Location is a bit over-complicated to use with getExtend().
1- the documentation doesn't make sense:
The note says the return value can be null if the Extent is unloaded and garbage collected.
The final comment says it throws an exception when Extend is null.
Implementation is actually throwing exception and, by extension, will never return null.
=> please pick one
2- there's no way to check if the extent is null, so we're forced to use a try/catch instead of a simple null check. In other words, we can't use getExtent() in a conditional expression.
=> please return null or provide an hasExtent/isExtendLoaded() method
Another thing to consider is whether we really need the Extend to be loaded. For example, if location is a player back location in another dimension, I don't see why the Location would become invalid because the world is unloaded. Right now we need to redefine our own localization object. I would prefer something like Nucleus internal NamedLocation object:

getExtend() returns Optional only set when world is loaded, (or just gets marked as deprecated in favor of the new API?)
loadAndGetExtend() has an helper to load the extend or throws an exception if it has no UUID
getExtendUUID() returns the Optional a UUID to save the Extend reference on disk and reload it later on
constructor would accept ExtendUUID to reload the location

1- dealt with. An unloaded world or extent will throw an exception.
2- I'll add isAvailable (which will map to what API 8 will offer).

For example, if location is a player back location in another dimension, I don't see why the Location would become invalid because the world is unloaded.  Right now we need to redefine our own localization object.

It will change for API 8. See Location and ServerLocation.
However, for 7, because of how it's been done, we can't really change how this works now. We cannot add UUID based methods because the location doesn't necessarily operate on a World, but an Extent. The new location objects will operate on worlds and will resolve this issue.


Should servers expect a PONG or a PING to keep connection alive?!

I use websockets as client.
Previously I used the "ws4py" module and my code is adjusted to work with both.
I noticed a difference in the "ping_intervall" from websockets and the "heartbeat_freq" from ws4py:
websockets: Sends a Ping frame every x seconds: https://github.com/aaugustin/websockets/blob/main/src/websockets/legacy/protocol.py
ws4py: Sends a Pong frame every x seconds: https://github.com/Lawouach/WebSocket-for-Python/blob/961c07ce16ce4eedc34ca1fdacd29442870feccc/ws4py/websocket.py
And the strange thing is, that there are servers that tell me they expect a "ping" every 30 seconds in documentation , or they will disconnect, while in fact they need a pong. I already overwrote the Heartbeat class from ws4py and confirmed that the connection closes when sending a real Ping, and it stays open when sending a Pong instead every x seconds.
So... why does ws4py sends a pong keepalive and why do some (all?) servers expect a pong?
And should websockets also switch to sending a pong as keepalive? Or at least add an init parameter for this to enable it?

Both methods are legit: you can:

send a ping and expect a pong; this is what websockets does;

if you get the pong, you know that everything is working at least at the network and protocol level;

send an unsolicited ping; this is what ws4py does;

this is just a heartbeat: it can help keep the TCP connection open but doesn't tell you if everything works.

Some servers may require clients to send ping at regular intervals. Some servers also expect clients to send a text message containing the string "ping", moving the heartbeat to the application layer. Different people adopt different strategies here.

You can customize what websockets does with ping_interval and ping_timeout.
There is no built-in way to send pongs at regular intervals. However, you can do it as follows:
async def send_heartbeat_pongs(websocket, interval=30):
    while True:
        await asyncio.sleep(interval)
        try:
            await websocket.pong()
        except websockets.exceptions.ConnectionClosed:
            break

async def main():
    async with websockets.connect(...) as websocket
        asyncio.create_task(send_heartbeat_pongs(websocket))
        # do stuff with the connection

asyncio.run(main())

(untested, I just typed the code in the comment box, but it shouldn't be too far from a version that actually works)

Thank you very much.
I now ended up copy pasting your keepalive_ping function and adding an optional pong to it. And then I found that this is also the way to implement latency measurement ( https://github.com/aaugustin/websockets/issues/1195 ) on my own, which would work if there wasn't this problem: https://github.com/aaugustin/websockets/issues/1177

How can I send back a PONT to server after receiving a PING from server?

https://websockets.readthedocs.io/en/latest/faq/common.html#how-do-i-respond-to-pings


Blacksmith debuffs weapons

When modifying generic.attack_damage of an item, as I have understood it through observation, it does not actually work as expected. For one, it resets generic.attack_speed to the default of a player, not the default for the item. It seems to do the same to the attack damage, applying the +0.5 damage to a player's default 2.0.
I don't know why it works like this, and honestly, I probably don't want to know.

I have the same issue, swords and bows seem to be debuffed. Also, armor too. I'm basing it off of memory, I swear I used to take much less damage from things with my armor.

@PlasmicDevil are you using the Shulk origin? I did ran into an issue where the armor not only did not stack with the Shulk origin but made them take more damage when armored as opposed to being an unarmored human, basically giving them negative armor.

@JellyCreeperOfficial I am not using shulk, no. I am a phantom in the world that I am playing on. By the way, if you can get access to creative, re-making the weapons and armor fixes the debuffed armor issue.

Did you use any other mods? I couldn't reproduce this on my end. This sounds like the attributes which are supposed to be "in addition" to the existing ones on the sword are actually replacing them. Don't know what could cause this except maybe an interference with another mod. :/

Hmm... Nothing except the fabric api and lithium.

Can confirm this issue, as it is related to an issue reported in Discord.
The attack damage attribute on the item seems to take priority and completely overrides the base attack damage. From testing this seems to happen in both 1.18.2 and 1.19+.

This is probably due to recalculating the attributes using Fabric API's stack-aware getAttributeModifiers method. Specifically my implementation copies and rebuilds the map with the new attack damage, and inserts it back using the vanilla UUID. This is to keep the green text that normally displays on the weapon, as otherwise it will display as the screenshots related to TieredZ https://github.com/apace100/origins-classes/issues/66
Link to code example: https://github.com/Noaaan/MythicMetals/blob/1.19.4/src/main/java/nourl/mythicmetals/item/tools/MidasGoldSword.java#L32-L58


CB should not show local.project_name when searching for a phrase this is a part of the project name

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
When searching for new local.New_Project_16 appeared on the top of the search and it should not be visible at all
Expected behaviour
as described
How we can reproduce it?
No response
Screenshots or screencasts

Logs
No response
Enso Version
nightly 17.08
Browser or standalone distribution
Standalone distribution (local project)
Browser Version or standalone distribution
standalone
Operating System
MacOS
Operating System Version
No response
Hardware you are using
No response

local.New_Project_16 is not only a project name, but also a reference to the project's main module. The filtering used to browse all possible entities, and this is by design.
@sylwiabr are you sure this is a bug? Maybe we just don't want to display any modules in search?

i think it doesn't matter too much whether it's present, but i do think it's not too useful as the very first entry

So it's more about broken scoring than showing wrong entries?

i'd say yes, it looks like the issues here are:

appeared on the top of the search

this is explicitly a scoring issue

should not be visible at all

it's not possible to hide it completely, because it is visible by design
but it is true that if it is far enough up the results list, then for all intents and purposes it's as if it wasn't there

re: displaying modules, if there's nothing useful that can be done with them then they probably shouldn't show up. but assuming you can drag a new node out and access static methods from there, then they should probably stay?

We planned to make it working this way, that selecting a module will put its name with dot at the end, and the module content will be displayed in CB.

Fixed in new GUI - the module name is not the best match.


Integration with Tessie

Hi, I would like to know if it is possible to integrate this mod with Tessie as it is done with Teslamate. Tessie has a pretty complete API and I think it would not be too complicated. Thank you very much in advance.
https://developer.tessie.com/reference/sync

Tessie now has a Fleet API proxy set up.
https://developer.tessie.com/reference/access-tesla-fleet-api
Could support for it be added alongside the current Fleet Proxy server support for people who can't setup their own proxy server?


fix: restrict new config options to specific services

This change restricts the new config options to security-secret-store and security-bootstrapper. It also adds gdoc for the new options.

LGTM


Fixes #036

Pull Request Test Coverage Report for Build 2d7a5e04985a7173f212dc531487d8550ffc69bb-PR-37

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.982%

Totals

Change from base Build 90b200078533626172c1fd1ff435b7535c7da492:
0.0%

Covered Lines:
1040

Relevant Lines:
1425

💛  - Coveralls

I actually wouldn't hate it if
- `li` with IAL
{:.ial}

produced

 but that's purely a whimsy and not strong enough to be a feature request

No argument here, however I am in a constant struggle with making lists better, and right now I am not winning,
but your idea is duely noted


Upgrading to DBConnection 2.0

Hey @lexmag and @whatyouhide.
Currently, Xandra is using db_connection "~> 1.0", what causes conflict with the latest version ecto_sql and Phoenix 1.4 accordingly.
DBConnection contains many breaking changes and I'm trying to update the Xander: https://github.com/Nitrino/xandra/commit/e16b2d78d04490b1ab2a4e9227cf86994511a19c
Difficulties arise with the implementation of cluster support, and I feel that this requires a dive deeper into the code. Perhaps with this, I will need your help.
Therefore, I would like to know your opinion about the upgrade and maybe you already have some developments, and I'm doing useless work.

+1, we are using xandra and now we can't upgrade to phoenix 1.4 one of our projects.
Seems like DBConnection.Pool behaviour is removed from db_connection ~2.0 and now Xandra.Cluster should be rewritten.

I managed it to pass tests in my commit:
https://github.com/spscream/xandra/commit/2433f8d0c0ab94b196f15776b99041eb766130c5
I'm not sure if this is correct way to make it, meanwhile it works for me.

https://github.com/lexhide/xandra/pull/133

Great work @spscream! Will the PR be merged soon?

Not in the very near future unless time frees up for me. It will likely be a while, sorry.

No worries, life comes first! Thanks for getting back to me.


[WIP] Add Gradle support

Add basic Gradle support.
Initial limitations:

Single module only (a little useless, but it's much easier to implement the journeys all the way through at their simplest, and then expand from there)
No support for property versions (again, a little useless, but this can easily be added later in the same we it have been for Maven)

Work required:

[x] File Fetcher. This just needs to grab the build.gradle.
[x] File Parser.  Start with the most common.
[x] Update Checker. This will need some help. Need to understand:

How registries work. How does Gradle know where to look for dependencies. Do they have APIs?)
How resolution works. Is there a formal concept of versions being incompatible? Can we piggyback off of a package manager to do this?

[x] File Updater. This will be regex based, the same as we do for Maven. Shouldn't be too tricky.
[x] Metadata Finder. This relies on the question about registries above

OK, I've created an extremely naive Gradle setup here. Lowlights include:

Parsing the build.gradle is done by shelling out to JS, using this library, and then analysing the results in Ruby. That seems a bit mad, but if the parsing is good enough (I already know it's not perfect) it's not totally crazy
Ignoring versions specified with a property completely
Ignoring all repositories except for Maven Central
Updating the build.gradle file with a regex that only works if the declaration is on a single line.
Ignoring nested modules

All of the above is pretty sad, but on the plus side, I think that this branch would allow Dependabot to make updates to this build.gradle.
As a next step, I'm going to merge this and test it in Dependabot. I won't enable it in the frontend just yet, though.

cc @hmarr

For anyone looking at this, the insane use of JS to parse the build.gradle files has been replaced with slightly less insane use of Groovy to parse the build.gradle file (files are here). This could still be a whole lot better, though - for a start Dependabot should try to tap into Gradle's API, and only fall back to such brute force parsing if that fails.
Advice / contributions on this one very welcome!


Fetch polyfill is served to Safari 10.1

According to http://caniuse.com/#feat=fetch Fetch is built in to Safari 10.1 with no known issues. Can the service be updated so that it is not served to Safari versions 10.1 and higher? This version is currently only on macOS, not iOS from what I can tell. But maybe if iOS 11 betas start coming out soon it will be there too.
https://cdn.polyfill.io/v2/polyfill.js?features=default-3.6%2Cdocument.head%2Cfetch%2CArray.prototype.find&unknown=polyfill

UA detected: safari/10.1.0
Features requested: Array.prototype.find,default-3.6,document.head,fetch

The polyfill works but because of how it uses blobs it makes debugging a little harder than it would be otherwise (the way the requests show up in web inspector).
It looks like there is a feature detect for this
'fetch' in this

But I'm not sure why that wouldn't prevent the polyfill from being applied, probably misunderstanding something.

This appears to have been updated in #1214 .

Hi, this is now available for testing on https://qa.polyfill.io/ 👍

I don't have Safari, but my coworker has Safari Version 10.0.1 (126<IP_ADDRESS>.7)
and https://jsfiddle.net/aj4htd7r/4/ returns false, so there's an issue

It is only on qa.polyfill.io right now. Will be on the production site this
week.
On 20 Jun 2017 7:18 pm, "Cyril Auburtin"<EMAIL_ADDRESS>wrote:

I don't have Safari, but my coworker has Safari Version 10.0.1
(126<IP_ADDRESS>.7)
and https://jsfiddle.net/aj4htd7r/4/ returns false, so there's an issue
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Financial-Times/polyfill-service/issues/1216#issuecomment-309844182,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABfxa66ri-Mr8FYtdeeI5Tn9GWtcPqdFks5sGAz_gaJpZM4NuoDc
.

Yes, but the bug (fetch not provided for safari 10.0.1) is happening in the production site

@caub Try using qa.polyfill.io, if that works then we know when we promote to the production site (cdn.polyfill.io) that the issue will be fixed.

It's the same with qa.polyfill.io?ua=..., fetch is missing too

@caub Ah yes, that is because fetch is not in the default set of polyfills which is what you are requesting. If you want fetch alongside the default set you can make a request like this https://cdn.polyfill.io/v2/polyfill.js?features=default,fetch


lib.es5.d.ts incorrectly disallows a null or undefined input for parseInt()

Bug Report
🔎 Search Terms
parseInt
🕗 Version & Regression Information
4.5.5

This is the behavior in every version I tried, and I reviewed the FAQ for entries about parseInt

⏯ Playground Link
Playground link with relevant code
💻 Code
let x = parseInt(undefined);

🙁 Actual behavior
Compile error: Argument of type 'undefined' is not assignable to parameter of type 'string'.
🙂 Expected behavior
This code should compile without errors.
MDN says:

The parseInt function converts its first argument to a string, parses that string, then returns an integer or NaN.

And more specifically, the ECMAScript standard says:

Thus parseInt(null) and parseInt(undefined) will return NaN because their string forms are "not a number."  This is a more intuitive and useful behavior.
Recommended fix:
Change this definition:
lib.es5.d.ts  (CURRENT)
/**
 * Converts a string to an integer.
 * @param string A string to convert into a number.
 * @param radix A value between 2 and 36 that specifies the base of the number in `string`.
 * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.
 * All other strings are considered decimal.
 */
declare function parseInt(string: string, radix?: number): number;

...to this:
lib.es5.d.ts  (PROPOSED)
declare function parseInt(string: string|null|undefined, radix?: number): number;

This has been the behavior for approximately forever without complaint, so I'm inclined to believe people find it more helpful than hurtful. The much more common feedback we get is that people want operations that produce NaN to be type errors, since very little code is resilient to NaNs. You can add an overload to your project through declaration merging if you'd like.
Also, not that this really matters, but:
> parseInt(null, 26)
< 23
> parseInt(undefined, 36)
<<PHONE_NUMBER>9093


Exception on /render [POST]

I use Grafana 3.1 + nginx + uwsgi + graphite-api 1.1.3 + go-carbon and some charts do not display data
in log uwsgi:
{"pattern": "..metric.count", "start":<PHONE_NUMBER>, "finder": "whisper", "end":<PHONE_NUMBER>, "event": "find_nodes"}
{"path": "/var/lib/graphite/whisper/test/host1/metric/count.wsp", "reader": "whisper", "start":<PHONE_NUMBER>, "metric_path": "test.host1.metric.count", "end":<PHONE_NUMBER>, "event": "fetch"}
{"event": "Exception on /render [POST]", "exception": "Traceback (most recent call last):\n  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1988, in wsgi_app\n    response = self.full_dispatch_request()\n  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1641, in full_dispatch_request\n    rv = self.handle_user_exception(e)\n  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1544, in handle_user_exception\n    reraise(exc_type, exc_value, tb)\n  File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise\n    raise value\n  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1639, in full_dispatch_request\n    rv = self.dispatch_request()\n  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1625, in dispatch_request\n    return self.view_functionsrule.endpoint\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/app.py", line 375, in render\n    data_store = fetchData(context, paths)\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/render/datalib.py", line 167, in fetchData\n    (node, node.fetch(startTime, endTime)) for node in single_nodes]\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/render/datalib.py", line 167, in \n    (node, node.fetch(startTime, endTime)) for node in single_nodes]\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/node.py", line 28, in fetch\n    return self.reader.fetch(startTime, endTime)\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/finders/whisper.py", line 121, in fetch\n    cached_datapoints = self.carbonlink.query(self.real_metric_path)\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/carbonlink.py", line 199, in query\n    results = self.send_request(request)\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/carbonlink.py", line 230, in send_request\n    host = self.select_host(metric)\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/carbonlink.py", line 160, in select_host\n    for node in self.hash_ring.get_nodes(key):\n  File "/usr/local/lib/python3.5/dist-packages/graphite_api/carbonlink.py", line 108, in get_nodes\n    index = bisect.bisect_left(self.ring, search_entry) % self.ring_len\nTypeError: unorderable types: tuple() < NoneType()"}

I have the same configuration and issue, with Grafana+nginx+graphite-api+go-carbon, still not sure if it's caused by the fact I'm using go-carbon, the error log is on graphite-api:
$ curl "http://<IP_ADDRESS>:8899/render?target=sumSeries(ch-*.online_count)"
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.4/dist-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python3.4/dist-packages/graphite_api/app.py", line 375, in render
data_store = fetchData(context, paths)
File "/usr/local/lib/python3.4/dist-packages/graphite_api/render/datalib.py", line 167, in fetchData
(node, node.fetch(startTime, endTime)) for node in single_nodes]
File "/usr/local/lib/python3.4/dist-packages/graphite_api/render/datalib.py", line 167, in
(node, node.fetch(startTime, endTime)) for node in single_nodes]
File "/usr/local/lib/python3.4/dist-packages/graphite_api/node.py", line 28, in fetch
return self.reader.fetch(startTime, endTime)
File "/usr/local/lib/python3.4/dist-packages/graphite_api/finders/whisper.py", line 121, in fetch
cached_datapoints = self.carbonlink.query(self.real_metric_path)
File "/usr/local/lib/python3.4/dist-packages/graphite_api/carbonlink.py", line 199, in query
results = self.send_request(request)
File "/usr/local/lib/python3.4/dist-packages/graphite_api/carbonlink.py", line 230, in send_request
host = self.select_host(metric)
File "/usr/local/lib/python3.4/dist-packages/graphite_api/carbonlink.py", line 160, in select_host
for node in self.hash_ring.get_nodes(key):
File "/usr/local/lib/python3.4/dist-packages/graphite_api/carbonlink.py", line 108, in get_nodes
index = bisect.bisect_left(self.ring, search_entry) % self.ring_len
TypeError: unorderable types: tuple() < NoneType()

Maybe post the carbon config in graphite-api.yaml?  It may be reproducible in the testsuite given the right environment conditions.

Mine is:
whisper:
directories:
- /var/lib/graphite/whisper
carbon:
hosts:
- <IP_ADDRESS>:7002
allowed_origins:

<IP_ADDRESS>:3000
finders:
graphite_api.finders.whisper.WhisperFinder
functions:
graphite_api.functions.SeriesFunctions
graphite_api.functions.PieFunctions

Got the same error.
line 108, in get_nodes
    index = bisect.bisect_left(self.ring, search_entry) % self.ring_len
TypeError: unorderable types: tuple() < NoneType()

Looks like python2 x python3 incompatibility, so I tried

    search_entry = position, None

   search_entry = position,

and it works now.
python 3.5.3
graphite-api 1.1.3


Add periods to numbered list

Can't rerun the docker job due to if: needs.semantic-release.outputs.new-release-published == 'true': https://github.com/supabase/postgres-meta/blob/ea1c5537dd10b9f3f6c87906da01a3b5a039ecd4/.github/workflows/release.yml#L68, so making a trivial commit.

Oh, a chore commit wouldn't trigger a new release.

Switched to feat(docs), I believe that should trigger a new release.


Fix: Data Process Endpoint

Description
Complete functionality of the data_process endpoint. With metrics working along with a sliding data view bar.
Fixes #15
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

[X] All tests passing through visual testing

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Also, include screenshots for verification and reviewing purpose.

Checklist:

[x] My code follows the style guidelines of this project
[xI have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@Teak-Rosewood Could you please rebase this PR?

PR has been implemented by #29

PR has been implemented by https://github.com/c2siorg/tensormap/issues/29


Fixing imports

Introducing fixing over your import problems.
Read the comment placed on my branch to observe a more detailed solution about the solution.

Thanks for your contribution ! :D


Square photo

Hi,
It's possible to change the photo capture aspect ratio to 1:1 without cropping the output ?
Thanks

It is not currently possible as SwiftyCam does not do any processing of the video output. You would need to handle that with AVAssetReader and AVAssetWriter

I understand that :), my question is about the possibility to modify the aspect ratio of the input (without processing the output)... but it seem there is no possibility

It would required Apple to have an AVCaptureSessionPreset that is square. I would love to be able to support it.
Your best bet is to add a mask over the preview layer to simulate a square view finder, then use a library like SDAVAssetExportSession to export the captured video to square. I have had some success with this method
Hope you find your solution
Andrew

Yes thank you for your advice


[Compute] add VMSS Rolling Upgrade opt

Description
resolve #16038
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Do we have any convention when adding a short option for the parameter? @qwordy
If not, maybe we should have some.

Do we have any conventions when adding a short option for the parameter? @qwordy
If not, maybe we should have some.

It is an opportunity that you can draft one document.


Bulk SET operations

Is there a way to bulk load 100mm points? I'm not seeing anything like redis-cli --pipe.

Sure, Tile38 works with redis-cli --pipe.   It's recommended that the commands in the data file are formatted using Redis protocol as shown at https://redis.io/topics/mass-insert.

Much better! Thank you!

You're welcome 🙂


ASG minimum requirements

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: \ Updated minimum requirements
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666cbf34975825757bd18845--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666ccc15e04051eb529de23c--harness-developer.netlify.app


Modify Font for Results & Messages

Please add the ability to modify the font used in the results output and the messages output.

Porting the resultsFontFamily setting from vscode-mssql may be a possible solution.


First draft of JSON schema for OpenRewrite resources

This is a first draft of the JSON schema for OpenRewrite resource descriptors. Although the resource descriptor types themselves currently include a version "v1beta", this schema currently doesn't have any version number.
Fixes #2823

A few notes:

I didn't know where else to put the file, so it ended up in doc for now. Better ideas?
I didn't include any version number in the schema file, as I am unsure what that would be and what the strategy is here. Most consistent would probably be something like "v1beta", but somehow I have the feeling that this is here to stay or at least remain supported for a long time (it could become a deprecated alias for a new name down the road).
To test the schema (until registered with schemastore.org), any recipe can be opened in IDEA and then the schema button in the lower right corner of the IDE can be clicked and then select New Schema Mapping... and enter something like in this dialog

@sambsnyd An open question from my side: The YamlResourceLoader doesn't care if the YAML file contains any additional properties anywhere, so I didn't lock the schema down in this respect either, as clients may already be adding stuff to the files. But for the sake of schema evolution, I think it would make sense to not allow any additional properties.

@knutwannheden additional properties will mostly be ignored. Except for recipe configuration. I don't know much about these schemas. Can everything except recipe configuration be locked down?

Yes, we could lock down the other parts of the schema, so that user can't define arbitrary properties in other places.
Moving to rewrite-core seems reasonable so they don't get out of sync. But I can't think of any advantage of having it packaged in the jar.
I will look into these things. I don't have any prior with JSON schema, but having done my share of XSD, RelaxNG, and BNF it seems fairly straightforward.
Maybe we can integrate something bare and then ask @mike-solomon to look it over and augment it with reasonable descriptions, which editors would also display to the user?

@sambsnyd We could move the schema into /rewrite-core/src/main/resources and then it would be bundled. If we wanted to, we could probably use a JSON schema validator to validate the JSON we load and thus for example enforce that the resources don't declare any unexpected properties or just log warnings. I am unsure about this, however. What is your suggestion?

@knutwannheden json validation in a build step sounds like a good idea. For now I'm going to go ahead and merge this and we can iterate later


When does Android support the network？

it might actually be easy enough to implement this feature. I'll try to give it a look in the next few days

That`s great! Another, You can implement the feature that playing with options of the follows:
Receiver;Loud Speaker;Bluetooth;Headphones.
The most import options are Receiver and Loud Speaker.

follow.

@TheGhoul21 are you still planing to work on this?  Do you already have some sort of "plan of attack"?
We definitely also need this feature and would be very open to supporting this. Unfortunately, I hardly have any native Android / Java experience. But maybe there are other things that we could do (e.g. testing).

yeah! I haven't had much time lately, I'm really sorry. I might be work it out during this weekend. It shouldn't actually take too long to implement.

guys, just to let you know. This morning I implemented the feature and
looks like it was working fine. Need to do more testing with invalid URLs
(might need to change callbacks and stuff). This weekend I'll be quite
busy, but I'll find an hour to run tests and make a PR.
2017-03-30 13:56 GMT+02:00 Jakob Hilden<EMAIL_ADDRESS>
@TheGhoul21 https://github.com/TheGhoul21 are you still planing to work
on this? Do you already have some sort of "plan of attack"?
We definitely also need this feature and would be very open to supporting
this. Unfortunately, I hardly have any native Android / Java experience.
But maybe there are other things that we could do (e.g. testing).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zmxv/react-native-sound/issues/134#issuecomment-290388940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUwEUMq5rNal2hEUlZgsKfwSYJNejLvks5rq5hygaJpZM4Mddyj
.

@TheGhoul21 awesome, I'm waiting your PR )

pull request made ;) works like a charm guys

@TheGhoul21 Great! Thank you

Can you update the readme please.
Almost desist to use this library ... Luckily achieved to get here

I'll do it later this evening as soon as I am back to work ;) I always
forget to update the Readme
2017-04-06 14:30 GMT+02:00 jose920405<EMAIL_ADDRESS>
Can you update the readme please.
Almost desist to use this library ... Luckily achieved to get here
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zmxv/react-native-sound/issues/134#issuecomment-292158945,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUwEe3TWK8MYDwRp4MyvW8vrUhdI8eZks5rtNrygaJpZM4Mddyj
.

Thank you!

Does it already work ?
Passing absolute url to constructor, second parameter - empty string, always get error on android:
{ message: 'resource not found', code: -1 }

Hi @dengunya, the pull request has not been merged yet: https://github.com/zmxv/react-native-sound/pull/141
You can try that branch by adding this to your package.json:
"react-native-sound": "TheGhoul21/react-native-sound",

Is it released now?


Flutter 3.0.0 is detecting issue with the library

../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/buttons_tabbar-1.3.4/lib/buttons_tabbar.dart:180:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.

'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance

I've made the 1 line change in the code published in a fork I created, and added this to my pubspec.yaml
  # buttons_tabbar: ^1.3.4 # NOT V3 COMPATIBLE
  buttons_tabbar: #1.3.5
    git:
      url: https://github.com/gslender/buttons_tabbar.git

When/if the package author gets around to updating, it is a simple change back in the pubspec

Hi @gslender!
Do you wanna make a pull request?

Of course. I asked you because you might wanted to be associated with that commit.
Nevertheless, I'll update the package. Thank you.


Code formatting rules

As can be seen, the code style of NodeEditor is kept manually, or sometimes, non-consistent (see https://github.com/Daguerreo/NodeEditor/commit/db2e32be1584f97c353234c5013b7247d9210109#diff-0164c9b0ea36cd227809551953d8f53ea2e1f8a4d5071ff24e0778c8c4060e5eR37-R57)
This problem could be resolved by introducing a code formatting tool (e.g. clang-format), however, this may lead to some extra problems:

There'll be a huge diff when initially applying the code formatting rule, causing (probably?) unnecessary git

As a result, merging between forks are no longer be automatic.

Developers should install the formatting tool on their machine, perform formatting before committing

Or, do this in GitHub Actions?

You can use a github actions to perform a check. The following is based on git-clang.
https://github.com/inexorgame/vulkan-renderer/blob/master/.github/workflows/code_style.yml

Yes indeed checking formatting in a github actions is helpful, however the major problem here is the lack of clang-format configuration file for NodeEditor.

Formatting is a major issue here. I've open a PR in master repo to at least keep one code style before applying any clang-format, but has been ignored. My main concerne and what stopped me to refactory the whole repository until now is that the code base will diverge with the original repo in a non-reversible way.
Github actions would be a great addition indeed, any help would be appreciated. I could start integrating that PR I mentioned before.

That's true for an actively maintained upstream, which in that case, applying the patches back to the master repo is necessary.
However, for now, it seems that the upstream @paceholder didn't respond to PRs and Issues so I think it's time to be a fresh start.

These are my thoughts, the current formatting does affect my experience as well.

@paceholder if you please could point me out which code style should be applied I can do a much better job this time.

Let's take the NodeConnectionInteraction.* from master as the baseline.
I'm not sure that clang formatter has so many tweaks to reproduce this formatting exactly, but we can try to be as close as possible.
For pointers and refs I prefer the following style:
void foo(Object const& o);
void bar(Object const* o);

Opening braces are everywhere on the new line.
Indentation --- two spaces.

Roger


The watch script doesn't rebuild

It just restarts the server with the same content that's already in dist. I realize this isn't trivial, but the script should probably be removed until it reloads.

It just restarts the server

Using npm start? That should run the clean script which should clean dist/ using rimraf.

I was referring to npm run dev, but it seems to be working correctly. I must have done something to mess it up. Sorry!


A way to build updated VMs for other distros

If you look in https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/vm/default.nix, we have some lovely code to build deterministic VMs against the initial releases of a bunch of major distros.
Unfortunately, a lot of them go and update packages in e.g., http://vault.centos.org/6.5/updates/x86_64/repodata/ which changes in place. Short of mirroring their entire repositories, I don't know how best to address the question of getting a reasonably up-to-date version of a distro in a deterministic manner, but I'm hoping that someone else will have ideas.
The context for this is using Nix to build VM (and container) images for purposes other than testing the Nix installers.

rpm supports chroot installs - I guess debian (dpkg?) does too. Mount the image rw, chroot into it, run a software update, unmount the image and rename it. Maybe...

But then it isn't deterministic, and won't work inside chroot builds

On Feb 3, 2016, at 16:05, Tony<EMAIL_ADDRESS>wrote:
rpm supports chroot installs - I guess debian (dpkg?) does too. Mount the image rw, chroot into it, run a software update, unmount the image and rename it. Maybe...
―
Reply to this email directly or view it on GitHub.

Ah, I misunderstood what is going on here. filelists.xml.gz in http://vault.centos.org/6.5/updates/x86_64/repodata/ could be fetched, compared and merged into primary.xml.gz I think; before building, if it exists.
Fedora offer a cloud version now https://getfedora.org/en/cloud/download/ I guess cloud images should be used for vms. That is their purpose. Same goes for cent. No idea what debian offer if anything.

We should get Hydra to build the packages xml files, then mirroring scirpt will take care of it.

triage: was there any progress?


IndexPathValue conforming to «Expressibles»

Small addition, useful for #37

          1 Warning

:warning:
Tests were not updated

          2 Messages

:book:
Ahoy, @dreymonde!! Thanks for your contribution!

:book:
Hey @dreymonde, you're not a member of QuarkX yet. Would you like to join the QuarkX Github organization?
You can also join our Slack and interact with a great community of developers. 😊

  Generated by :no_entry_sign: danger


Error when Installing package

Describe the bug
Error when Installing package:
Illuminate\Container\EntryNotFoundException
Intervention\Image\ImageManager
at vendor/laravel/framework/src/Illuminate/Container/Container.php:740

Code Example
composer require intervention/image-laravel

Expected behavior
For the package to not error out during installation
Images

Environment (please complete the following information):

PHP Version: 8.3
OS: Debian 12
Intervention Image Version: 1.2
GD or Imagick: Both

This appears to be a local problem. The error message tells me that something in the Laravel dependency injection container seems to be going wrong and it might be a circular dependency. Which Laravel version are you using?

Laravel 11

As I said there seems something wrong with your dependencies. Unfortunately, I can't help you any further.


Fix inconsistency when component is removed on drop

If a drop action causes the draggable component instance to be
destroyed, the dragEnd event isn't fired, resulting in the
dragCoordinator being left in an inconsistent state (it thinks the
object is still being dragged). This change ensures the dragCoordinator
state gets cleaned up before the draggable-object is destroyed.
Note that this fix still won't result in the dragEndHook or dragEndAction
being fired: both of them are still only triggered if a browser dragEnd
event fires. It's not clear if they can be caused to fire in this
case without breaking the API, since both take the dragEnd event
as a parameter, which doesn't exist in this case.
This seems fine for dragEndHook, since it appears to mostly be used for DOM
changes/cleanup and this section of the DOM is going away, but it feels a
bit strange that dragEndAction wouldn't be fired.
Two possible options:

send dragEndAction without an event
add a new "dragFinally" action that gets called in both cases

Related to #118

Any progress on this issue? I'm having the same problem with the dragEndAction not being called.


Improve useVitePreprocess

When enabling useVitePreprocess, importsNotUsedAsValues: "preserve" won't be forced on the entire codebase, only in Svelte files.
Marked as draft to wait for stable Vite release before merging.

What is the use case for this? Getting rid of the need to use svelte-preprocess when you use TypeScript and nothing else?

Yes, and also when using css preprocessors like scss and stylus. Typescript would be handled with Vite's own esbuild instance so it would replace the need for svelte-preprocess-esbuild. Css preprocessors config can be shared via the Vite config too.
There is still use cases for svelte-preprocess though, like the recent TypeScript improvements, or it's more advanced preprocessing for style tags.


[EDA] Affiliation Mapping Health Check Card AND [EDA] Affiliation Mappings Record Type Health Check

Critical Changes
Changes
Issues Closed
New Metadata
Unpackaged Metadata
Deleted Metadata
Testing Notes

Shall we convert this from draft to ready for review?

Shall we convert this from draft to ready for review?


Add a logic to delete todo after 3 days of creation

write a cron job to delete todo after 3 day of creation using springbok

0 0 */3 * * <your_user> <path_to_project>/mvnw spring-boot:run --args='--todo.delete.older.than=3'

Explanation:

0 0 */3 * *: This part defines the schedule of the cron job. It will run every 3 days at 00:00 (midnight). You can customize the schedule as needed.
<your_user>: Replace with the user account that has necessary permissions.
<path_to_project>/mvnw: This is the path to your Maven Wrapper script. Adjust accordingly.
spring-boot:run: This command runs your Spring Boot application.
--args='--todo.delete.older.than=3': This passes an argument to your Spring Boot application. You need to implement the logic in your application to delete Todos older than 3 days based on this argument.

Implementation:

Add command-line argument parsing: Utilize Spring's @Value annotation or a library like Apache Commons CLI to handle the --todo.delete.older.than argument in your SpringDemoApplication class.

Implement delete logic:

Inject TodoRepository into your TodoService.
Create a method (e.g., deleteTodosOlderThan(int days)).
Inside this method, use Spring Data JPA's methods (e.g., deleteByCreatedAtBefore()) to delete relevant Todos.

Trigger the delete logic:

In your SpringDemoApplication, after parsing the argument, call the deleteTodosOlderThan method if the argument is present.

Remember: This solution assumes you have a createdAt field in your Todo entity to track creation time.

0 0 */3 * * <your-java-command> <your-spring-profile>

Explanation:

0 0 */3 * * - Runs every 3 days at 00:00 (midnight).

0 0 represents midnight.
*/3 represents every 3 days.

<your-java-command> - Command to run your Spring Boot application (e.g., java -jar your-app.jar)
<your-spring-profile> -  If you use Spring profiles, specify the profile to use (e.g., --spring.profiles.active=production).

Implementation:

Create a Service: Develop a new service in your Spring Boot application to handle the deletion logic:
@Service
public class TodoCleanupService {

    @Autowired
    private TodoRepository todoRepository;

    public void deleteOldTodos() {
        LocalDate threeDaysAgo = LocalDate.now().minusDays(3);
        todoRepository.deleteByCreatedAtBefore(threeDaysAgo);
    }
}

Create a Scheduled Task (Optional):  You can optionally trigger this service using a scheduled task within Spring Boot itself:
@Component
public class ScheduledTasks {

    @Autowired
    private TodoCleanupService cleanupService;

    @Scheduled(cron = "0 0 */3 * * *")
    public void deleteOldTodosTask() {
        cleanupService.deleteOldTodos();
    }
}

(For Cron Job) Expose an Endpoint (Optional): If you prefer using an external cron job, expose a REST endpoint in your application:
@RestController
@RequestMapping("/api/admin")
public class AdminController {

    @Autowired
    private TodoCleanupService cleanupService;

    @PostMapping("/cleanup-todos")
    public void triggerTodoCleanup() {
        cleanupService.deleteOldTodos();
    }
}

Key Points:

Error Handling:  Implement robust error handling within deleteOldTodos() to prevent issues with your cron job.
Logging:  Add detailed logging to track the execution and results of the deletion process.
Testing:  Thoroughly test your implementation to ensure todos are deleted as intended.

Implement a scheduled task in your Spring Boot application using the @Scheduled annotation. Inject the TodoRepository and use a query to find and delete TODOs older than 3 days.
import org.springframework.scheduling.annotation.Scheduled;

@Service
public class TodoService {

    // ... other methods ...

    @Scheduled(cron = "0 0 0 * * *") // Runs daily at midnight
    public void deleteOldTodos() {
        LocalDate threeDaysAgo = LocalDate.now().minusDays(3);
        todoRepository.deleteByCreatedAtBefore(threeDaysAgo);
    }
}

Explanation:

@Scheduled(cron = "0 0 0 * * *"): This configures the method to run daily at midnight. You can adjust the cron expression for different schedules.
LocalDate.now().minusDays(3): This calculates the date three days before the current date.
todoRepository.deleteByCreatedAtBefore(threeDaysAgo): This assumes you add a createdAt field (with appropriate mapping) to your Todo entity. This line will delete all TODOs created before the calculated date.

Remember:

Enable scheduling in your Spring Boot application using @EnableScheduling.
Adapt the createdAt field and repository method according to your implementation.
Choose a cron expression that suits your deletion schedule.


Update SUPPORT.md

Added section to SUPPORT.md on our auto issue close process.

/check-enforcer override


[BEAM-2075] Update flink runner to use flink version 1.2.1

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @aljoscha

Run Flink ValidatesRunner

LGTM once you can confirm that the ValidatesRunner tests run locally on your machine.


Fixed TOC and links

Please see comments on #737, I believe that they apply here too.
Thanks!

You are right in both cases!


Update ediscovery.md

Added M365 Business standard and Basic to content search after confirming here -https://aka.ms/M365BusinessPlans

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/7709

@markjjo Please merge this PR. Thanks

@markjjo Gentle reminder.

@markjjo Kindly merge this PR. Thanks


refactor cpe_chrome

This PR is a breaking change, but I would like to outline the reasons:
Fixes:

cpe_chrome no longer installs itself when node values have not been configured in a cookbook
cpe_chrome no longer sets blank arrays in the profile.

New Features:

cpe_chrome can now manage the Google Chrome Master Preferences file using a standard hash.

# Set Master Preferences
    node.default['cpe_chrome']['mp']['FileContents'] = {
      'homepage' => 'https://example.tld',
      'browser' => {
        'show_home_button' => true
      },
      'bookmark_bar' => {
        'show_on_all_tabs' => true
      },
      'distribution' => {
        'skip_first_run_ui' => true,
        'make_chrome_default' => true,
        'make_chrome_default_for_user' => true,
        'suppress_first_run_default_browser_prompt' => true
      }
    }

Breaking Changes:

'DefaultPluginsSetting' is now a nil value (original value was int = 1)
cpe_chrome now has two namespaces: 'profile' and 'mp'

For item 2, you must retroactively change your configurations:
Example:
From:
node.default['cpe_chrome']['BookmarkBarEnabled'] = true

To:
node.default['cpe_chrome']['profile']['BookmarkBarEnabled'] = true

I think these breaking changes are warranted, given the new features. Thoughts on code styling are surely welcome. :)

I have pushed the commit for JSON prettify.
The other suggestions did not work or did not reject values properly.

Since @nmcspadden is working on a more robust change to cpe_chrome (with windows support), I'm going to close this PR. Looking forward to seeing his changes.

@nmcspadden is going to commit from fb origin and give me credit.


Add color coding for environment

I have checked the following:

[X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add
It would be convenient to have an optional color attribute for each environment to color-code environment selected so user can see which environment they work with at this moment also by color of selection dropdown
Mockups or Images of the feature

Duplicate of #304

Closing this as duplicate of #304


handle BasicAuthorization in SwaggerCompatConverter

try to fix #120 .
Please tell me if there are some existing tests, and I will update tests later.

Why nobody care this?

Is there anybody could help me?

Many projects going now so can't always jump on these

Thanks

this has been pushed to 1.0.14-SNAPSHOT


Make cascading permission checks available to plugins

The BaseView class has a method for cascading permission checks, but it's not easily accessible to plugins.
https://github.com/simonw/datasette/blob/5eb8e9bf250b26e30b017d39a392c33973997656/datasette/views/base.py#L75-L99
This leaves plugins like datasette-graphql having to implement their own versions of this logic, which is bad: https://github.com/simonw/datasette-graphql/issues/65

First check view-database - if that says False then disallow access, if it says True then allow access. If it says None check view-instance.

This should become a supported API that plugins are encouraged to use.

This is implemented now:

https://docs.datasette.io/en/stable/internals.html#await-ensure-permissions-actor-permissions


New issue with MXNet after installing Anaconda

Environment info
Operating System: macOS Sierra
Compiler: Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Package used (Python/R/Scala/Julia): Python
Error
After I installed Anaconda, MXNet is no longer recognized in my programs. I get the error: ImportError: No module named mxnet
Is there a workaround? Because I really need Anaconda.

anaconda maintains its own packages. You need to reinstall mxnet to anaconda python

@piiswrong How do I do that?

how did you install mxnet the first time? Just do it again


Bludit 4.0.0 Alpha 5: Terms plugin Visits Stats

The plugin shows "Visits" and "Unique". I think this should be "Visits" and "Visitors",
Both terms "Visitors" and "Unique visitors" are part of the language file. "Unique" is missing.

Problem fixed.


Expand Dapr metadata API

Description
This PR adds more details to Dapr Metadata like: enabled features, HTTP endpoints, app connection properties, attribues
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: 1055
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@salaboy @artursouza and @cicoyle please take a look and let me know if I am on the right path. In the meantime, I'll try to add tests.

@artursouza and @cicoyle I have added tests could you please take a look and if things are looking good, could you please merge!
Thank you!


Maybe not returning stdout correctly in case of failure

When submitting jobs to terachem and it fails because it can't find the GPUs (or maybe any other reason?) a ExternalProgramError was being raised instead of an ExternalProgramExecutionError and no .stdout attribute was available on the exception. Also the ProgramFailure object did not have .stdout. Could be a qcop problem. Noting it here for now.

Fixed with switch to qcop and qcio.


WindowsAgentAIOInstall.ps1 not working

There is a missing "}" in this script, which is opened on line 15:
If (!(Test-Path "$env:ProgramFiles\Rustdesk\RustDesk.exe")) {
so please add the bracket where should be.
And another thing is unclear for me:
On line 9 there is a comment which is containing the DNS/IP and the public key of the rustdesk server, but they're never used in the powershell script, why? Maybe you can also comment a little bit to know whats going on in this script, there are several service start/stop commands, which are all executed at the same time, maybe you deleted a few rows accidentally.

I'll take a look at this


Assembly no longer creating directories defined in assemblyOutputPath

Hello -
So I have a plugin that I have for managing my project's docker image, which uses sbt-assembly. I set the assemblyOutputPath to a different value, here:
https://github.com/etspaceman/kinesis-mock/blob/main/project/DockerImagePlugin.scala#L59
However, with the upgrade to 2.0.0 I've been getting errors like this:
[error] java.nio.file.NoSuchFileException: /home/runner/work/kinesis-mock/kinesis-mock/docker/image/lib/kinesis-mock.jar
https://github.com/etspaceman/kinesis-mock/pull/362
https://github.com/etspaceman/kinesis-mock/actions/runs/3322302608/jobs/5491131628
I was able to resolve this by creating the path docker/image/lib. If the path doesn't exist, the error is thrown. So basically, sbt-asembly isn't creating the directory structure like I'd expect anymore.
Is there a good way around this? Ideally i'd like to have the command itself have the old behavior. Any way i can do that in the plugin? And does anyone have context as to why this may have changed?

Stack trace seems to point here:
Stack Trace seems to point here: https://github.com/sbt/sbt-assembly/blame/v2.0.0/src/main/scala/sbtassembly/Assembly.scala#L67
Perhaps its not a "not creating directories" issue, but perhaps the refactor introduced a dependency on these paths prior to the jar creation.

I think it is related to the directory creation because it works well after manually creating the bin directory

Same here, and sbt-assembly 1.2.0 is able to create the directory by itself.

I believe this was introduced with ZipFileSystem usage (in memory processing). https://github.com/sbt/sbt-assembly/blob/56f7e715ac3444237c8f1fd6c88abceeaf641e4a/src/main/scala/sbtassembly/Assembly.scala#L546 Before this line there should be a check that parent directory exists.
Because newFileSystem of ZipFileSystemProvider doesn't create paths https://github.com/openjdk/jdk/blob/21867c929a2f2c961148f2cd1e79d672ac278d27/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystemProvider.java#L95 and ZipFileSystem itself just tries to open FileOutputStream https://github.com/openjdk/jdk/blob/21867c929a2f2c961148f2cd1e79d672ac278d27/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java#L162 which will not create the parent directories. I will try to compose PR later on.