When running analyze_setup(), when no arguments are given, run the active setup

Description of the feature
Could you please change the signature of the analyze_setup() method so that setupname is not required, and that if setupname is not given, just run the active setup. Thanks!
Steps for implementing the feature
No response
Useful links and references
No response

Tagging so I can see the responses.

@obrienpja I suppose you are referring to a hfss design. there is a method analysis_all() which runs all the enabled setups.
hfss = Hfss(specified_version="2022.2", non_graphical=non_graphical, designname="A1")
...
hfss.analyze_all()

Hi @ring630, I am aware of this method, but I guess what you are saying is that there isn't really an "active" setup in the same way that there is an active design, but instead there are only enabled and disabled setups. Is that correct? I can close this issue if that is the case.

@obrienpja there is already a method called analyze_nominal. this solves the first setup in the list.

@obrienpja exactly, no "active setup". analyse_nominal is another option as @maxcapodi78 mentioned.


Documentation

'Nuff said. There's none. We need some.

Where do you want documentation? A bigger README.md?
There are lots of examples that are fairly well commented.

Per-method documentation, for instance. A walk-through tutorial. A reference of methods and data structures.

@jj We certainly need the reference.

Where would the Tutorial be located?
Problem with all Modules is that once the module is installed by zef, its not clear how to get at accompanying Pod or documentation files.
The only way I have found is to look at the examples on the module's repo. The examples have a lot of comments.

In a .rakumod file, preferably, I guess.

.rakumod or .rakupod ??
Is this a conversation I have missed?

Added links to first four examples, which are each mini tutorials.


Typo preventing berks upload

Description
Get a ruby compile error trying to berks vendor && berks upload
Issues Resolved
N/A
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Thanks


Daemonset Not Deleted

Hello,
I noticed that If the service type is changed back to NodePort, the load balancer Daemonset is not deleted.

Indeed. Now the operator ignores every change on a service which is not a type: LoadBalancer.

Is this meant to fix the bug?
I just tested with the echoserver deployment example, changed the svc type to NodePort but the DS stil remains.
Name:                     echoserver
Namespace:                default
Labels:                   <none>
Annotations:              kubectl.kubernetes.io/last-applied-configuration:
                            {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"echoserver","namespace":"default"},"spec":{"ports":[{"name":"echo...
Selector:                 app=echoserver
Type:                     NodePort
IP:                       <IP_ADDRESS>
Port:                     echo  8080/TCP
TargetPort:               8080/TCP
NodePort:                 echo  30078/TCP
Endpoints:                <IP_ADDRESS>:8080
Port:                     echo2  9090/TCP
TargetPort:               8080/TCP
NodePort:                 echo2  31951/TCP
Endpoints:                <IP_ADDRESS>:8080
Session Affinity:         None
External Traffic Policy:  Cluster
Events:
  Type    Reason  Age   From                Message
  ----    ------  ----  ----                -------
  Normal  Type    2m    service-controller  LoadBalancer -> NodePort

There's no fix yet for this. I haven't had yet time to looks at how to do this properly.


refactor inference methods in GP (1)

@karlnapf

add  register_optimizer method in  InferenceMethod (base ) class
all approximate inference methods (excluding Exact, Var_DTC, FITC, and EP)  will use a build-in optimizer unless users provide some first-order optimizer (eg, NLOPT)  by calling register_optimizer.
(eg, Laplace and FITC_Laplace will use the Newton optimizer by default)
remove all optimizer-specific parameters in inference method classes (eg, lbfgs-specific parameters in KLInferenceMethod class)
stochastic variational inference methods can use stochastic optimizers

sub-tasks:
https://github.com/shogun-toolbox/shogun/issues/3155
https://github.com/shogun-toolbox/shogun/issues/3154

ref
https://github.com/shogun-toolbox/shogun/pull/3163

done!
I will send PRs to address this issue.

see
https://github.com/shogun-toolbox/shogun/pull/3177

done!


npm ERR! Missing script: "start"

I tried to install your software and run it.
When I run "npm start" I get the error:
~/WildEye# npm start npm ERR! Missing script: "start" npm ERR! npm ERR! Did you mean one of these? npm ERR!     npm star # Mark your favorite packages npm ERR!     npm stars # View packages marked as favorites npm ERR! npm ERR! To see a list of scripts, run: npm ERR!   npm run

To troubleshoot the issue, follow these steps:
*Check if Node.js is installed on your system and if the path to Node.js is correctly set in the environment variables.
*Verify that you are in the correct folder. The folder should contain the "public" and "src" folders, as well as follow the commands mentioned in the Readme.
*If you encounter any issues, refer to the "npm error" page for troubleshooting assistance.


⚠ Bofrost.de has degraded performance

In 5606117, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1440 ms

Resolved: Bofrost.de performance has improved in 0f7823a after 26 minutes.


feat: App shortcuts added

Fixes #308
Changes: App shortcuts have been added to directly access saved badges or create badges modes.
Screenshots for the change:

@iamareebjamal @adityastic please review.

@mariobehling @iamareebjamal @adityastic please review.


failed to load  the selected schematic

v1.zip
my schematic file can not load in latest linux version and online version (https://dls.makingartstudios.com/sandbox/).
i have uploaded my schematic file. please help me to load.
thanks.

Latest linux and online versions are 0.16.3.
Your schematic has probably been created with 0.17.x. Schematics created with newer versions are not guaranteed to work with older versions of the app.
Unfortunately I don't have any plans to update either the linux package or the online sandbox at this point.
You can try out Wine in order to run the latest Windows version on linux. I haven't tested it but it should work.

ok, thanks


Should not we archive the old volume skill?

If I understand this is a direct replacement for skill-ovos-volume

not sure how we got 2 skills here... will delete that repo since its just a fork of mycroft skill


Cuda changes

Changed the link to match the latest library changes

When executing the code in this branch as python main.py
I get the below error
WhisperSTTModel:get_transcription - Encountered error
Expected parameter logits (Tensor of shape (1, 51865)) of distribution Categorical(logits: torch.Size([1, 51865])) to satisfy the constraint IndependentConstraint(Real(), 1), but found invalid values:

This error happens in this method in the file transcriber_models.py in the call to transcribe method
    def get_transcription(self, wav_file_path) -> dict:
        """Get transcription from the provided audio file
        """
        try:
            result = self.audio_model.transcribe(wav_file_path,
                                                 fp16=torch.cuda.is_available(), language=self.lang)
        except Exception as exception:
            print('WhisperSTTModel:get_transcription - Encountered error')
            print(exception)
            return ''
        # print('-----------------------------------------------------------------------------')
        # pprint.pprint(result)
        # print('-----------------------------------------------------------------------------')
        # return result['text'].strip()
        return result

No transcriptions are visible in the UI

Additional minor changes were required to get correct transcription with CU121. These changes are in the previous commit


[FEATURE] Support multiple engine pools under one sharing level.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Support configuring subdomain and engine pool together.
Motivation
I want to be able to configure subdomain and engine pool together, and create multiple engine pools under one sharing level.
Describe the solution
Configure subdomain and engine pool together.
kyuubi.engine.share.level.subdomain=test001;
kyuubi.engine.pool.size=3

The engine namespace will look like:

Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Any reason not to use another account?

I think we need more discussion before changing the subdomain behavior, would you please share your use case?

I think we need more discussion before changing the subdomain behavior, would you please share your use case?

There is no good use case yet. I think it would be more flexible to configure these two parameters together, so that we can configure different engine pools for a user in different upper-layer services.

Currently, we hardcode the pool name as engine-pool, WDYT introduce a new conf engine.pool.name, and set the default value to engine-pool?

cc @timothy1024 as he is the author of this feature

Currently, we hardcode the pool name as engine-pool, WDYT introduce a new conf engine.pool.name, and set the default value to engine-pool?

Yes, they are the same effect.

the engine pool name sounds good to me

Thanks, i will do that.

The effect of usingkyuubi.engine.pool.name  configuration.
configurations:
// test001 engine pool
kyuubi.engine.pool.name=test001
kyuubi.engine.pool.size=3

// test002 engine pool
kyuubi.engine.pool.name=test002
kyuubi.engine.pool.size=3

screenshots:


fzf force selection of one of available options

[✔] I have read through the manual page (man fzf)
[✔ ] I have the latest version of fzf
[ ✔] I have searched through the existing issues

Info

OS

[✔ ] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ✔] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
Consider the following:
arr=("foo" "bar")
printf "%s\n" "${arr[@]}" | fzf

this will present me with two options, foo and bar.
However, if I enter a non-existing option, such as foobar, I can still press enter and fzf will close.
I would like for fzf to not exit unless one of the available options is chosen, so in this case fzf would exit only if foo or bar is selected, and not otherwise.
Something like:
arr=("foo" "bar")
printf "%s\n" "${arr[@]}" | fzf --force-selection-choice

This will do
fzf --bind enter:accept-non-empty

@junegunn sure, thanks, that works, but I still think it would be useful as an option.
What if I want to force the selection of two options when using --multi?
Let's say I have:
arr=("foo" "bar" "baz")
printf "%s\n" "${arr[@]}" | fzf --multi --bind enter:accept-non-empty

and let's say I want to force the selection of two of those options, no more no less. If there was such a flag, I could do:
printf "%s\n" "${arr[@]}" | fzf --multi --force-selection 2


hiredis version need a sync.

In this fork, we have made hiredis an external dependency, so you can use the latest hiredis with it.
We have also fixed memory leaks, allocation failure handling and added features like TLS and IPv6 support. Feel free to switch to this fork.


Excuse me, I would like to ask me about an error I encountered while running the code

When I run python
train_clner.py

  --gpu 0
  --m spankl
  --corpus onto
  --setup split
  --perm perm0

At the command line, he reported an error 401 Client Error: Unauthorized for url: https://huggingface.co/huggingface_model_resource/bert-base-cased/resolve/main/config.json.
I don't know how to fix this. Can you help me solve this problem? Thank you.

thx. I have resoled it.


JS messgen parser fails silently with improperly ordered complex message IDs

In JS messgen parser, if the messages listed in a way that the ID of a complex message is less than the ID of one of its internal messages, the parser does not work and does not fire any error. Example:
bottle.yaml:
id: 67
fields:
  - { name: name,   type: string }
  - { name: liquid, type: liquid }

liquid.yaml:
id: 68
descr: "I am inside the bottle"
fields:
  - { name: density,      type: uint64 }
  - { name: is_coca_cola, type: uint8 }

Messgen would generate JS files without any warnings and successfully parse every message. However, when message "bottle" is received, it will have the following properties:
offset: NaN
isComplex: false (which is wrong)

#36 same error


rest- UserProfileResource

All operations that are related to configuration of the user profile

Not valid in this format.


feat(apm): prom support

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Which docs this PR relation:
Ref #
Which toolchain this PR adaption:
No Breaking Change
Special notes for your reviewer:

Codecov Report

Merging #100 (5893c9f) into main (70f81c8) will decrease coverage by 0.48%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
- Coverage   39.70%   39.22%   -0.49%
==========================================
  Files          75       76       +1
  Lines        4982     5043      +61
==========================================
  Hits         1978     1978
- Misses       3004     3065      +61

Impacted Files
Coverage Δ

common/apm/src/metrics/api.rs
0.00% <0.00%> (ø)

common/apm/src/prom_server.rs
0.00% <0.00%> (ø)

core/api/src/jsonrpc/impl.rs
0.00% <0.00%> (ø)

core/api/src/jsonrpc/mod.rs
0.00% <0.00%> (ø)

core/api/src/jsonrpc/web3_types.rs
0.00% <ø> (ø)


Feedback for: manuals.md

File: manuals.md, CC: @johndmulhausen
This page links do DTR 2.0 docs.

Fixed in 3d0a1d7544150ef3d8d5d68ec0e973ee7f76de4f


Remove the W argument

This is just extraneous. The way it is used, if they are just combined anyways, so it doesn't make sense to have them as separated arguments.

Updated with commit e905506.


Future pin list

I've worked on the future branch and added support for

version syntax as supported by pip (#130)
support for --pre and --index-url
new "pip-compile-pinned" cli tool for resolving a requirements file against a pin list, as opposed to downloading latest and greatest version out of pypi.

How do you want to go forward with these changes? I noticed that some rebasing is needed in order to merge.

Sadly that's probably not fit so good anymore, after the rewrite that has taken place recently.

Well actually this is good news...the rewrite implements almost everything in this pull request (like --pre, --index-url and relaxed version patterns).
However, those were just nice-to-have features for me. What I was really looking for is the "PinnedPackageManager", which basically allows the user to have a pin list which is used in the compilation phase. This is quite different from the pip tools compile behaviour which resolves against latest versions found in the pypi/repo. We are planning to use this kind of pinning functionality in our CI environment to test the package with different version sets (e.g. pkg1==1.0 & pkg2==1.2 and pkg==1.1 & pkg==1.3).
Do you think this kind functionality would be suitable in pip-tools or should it be a separate? Actually when writing this I realized that something similar could be done using devpi perhaps...
I'm happy to review the #169, hope that I have some time next week.


Improved site search for names, short_ids

Pre-Flight checklist

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
Closes #1069
What's this PR do?
Tweaks the search query for ocw-studio site search so that expected results for partial course names or short_ids are returned.
How should this be manually tested?
Read the issue description and make various searches for partial site names, short_ids, and titles.  If you have site 21m-380-music-and-technology-sound-design-spring-2016 imported, then searches for "21m-380", "21M.380", or "Music and Technology" should all return that course (and maybe a few others).

Codecov Report

Merging #1092 (afe4f00) into master (be0135e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1092   +/-   ##
=======================================
  Coverage   91.03%   91.04%
=======================================
  Files         203      203
  Lines        7767     7770    +3
  Branches     1346     1347    +1
=======================================
+ Hits         7071     7074    +3
  Misses        608      608
  Partials       88       88

Impacted Files
Coverage Δ

main/settings.py
94.33% <ø> (ø)

websites/views.py
97.57% <100.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

I looked again after the new approach. Looks good!


Icon request: netcup

URL of the site or app (required): https://www.netcup.de/
Logo resources for the icon (optional, but recommended): https://www.netcup.de/static/assets/images/favicons/favicon-196x196.png

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/netcup.png


How to write a commented line and starting the new one not as a comment?

When the cursor is in a commented line, i.e. a line starting with a # character, when I press Enter, the next line automatically begins with a comment character. This might be useful for some cases like writing a lot of documentation, but for me it is relatively annoying.
I rarely want to write a comment spanning over multiple lines, but only comment shortly above the next code line. So every time after pressing enter I have to press backspace twice before writing code. (Even worse if I forget this and quickly want to add a blank line, I press Enter twice, then see the result and have to delete the comment chars in two lines.)
I recgonize the problem if the cursor is in the middle and not at the end of a commented line when pressing Enter. In that case it seems more practical to split the line into two commented ones. But when the cursor is at the end of a line, it is a hassle, as I almost never want a multi-line comment. Another example: I also sometimes add short comments as a suffix to a code line. In that case it does not make sense (for me?) to start the next line as a comment. (Edit: I did not test this explicitly before writing, was just a thought that came up.)
Suggested solutions
So maybe I’m using it wrong or have a different workflow. But I cannot remember an extension for any programming language that does it like this. Maybe one could add an option like "Auto-continue commented lines" or similar, which would support both workflows.
Another, more dynamic proposal: I assume that it’s more common to write a single commented line than a multi-line comment, so if you want to continue a longer comment, pressing Ctrl+Enter should then autocomplete the comment character. That is not much more difficult to type, quicker than adding # manually, and it correlates to the standard semantic of "add a new line below the current one and move cursor there".

If this block is removed, should fix the issue https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/aad5ae5077e9a326ef5c58c011311f48d0e76629/src/extension.ts#L36
I'll revert it soon and do a new release

Ah, there it is. I had a look in the source code but couldn’t find the responsible lines. Removing this works as desired: no more additional comment lines after pressing Enter at the end of a line.
If there is an afterText option, you could preserve the current behaviour when cursor is in the middle of a comment. This might be a bit more consistent, because the text was already written for a comment. Would be like this:
# This is a comment
      ^ cursor here, then press Enter, results in:
# This
# is a comment

The best I can seem to get working locally is making the next a comment if the previous and current lines are commented, so using your example:
# This
# is a comment
      ^ Enter here

# This
# is a
# comment

But this wouldn't work:
# This is a comment
           ^ Enter here

# This is a
comment

Ok, well, it was just a suggestion. Maybe it is more consistent without any comment autocompletion.


1x02 screw terminal - no device or package found

I would like to preface that I am learning electronics and PCB design.
I need a screw terminal for my project, but on the board view I get an error when trying to add the component to the board that says no device or package for the selected component found in the library. It asks me to add a suitable device or package to my workspace library.
I followed the youtube videos and installed all of the libraries available.
Do I need additional libraries for this connector, that includes the necessary files for the board view, and optionally a 3D model?
If so, where can I find such a library?

I also need other components- namely, BMP280 for altitude monitoring, MPU6050 accelerometer + gryoscope and NEO-6M-GPS module.
I am using Flux.ai for learning purposes thanks to their built in copilot. They have the components in their library, however their web based app is slow and the 3D rendering is unusable. I would prefer to use Libre PCB but I have no idea how to import the components I need for this project.
Any help would be appreciated.

Hi,
These devices don't exist yet but you can easily create them by yourself, see this FAQ item for details: https://librepcb.org/faq/#where-is-library-element


Feature: support customize base image

Signed-off-by: Jim Ma<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] 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 change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #519 (0f56bd7) into main (86620ca) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #519      +/-   ##
==========================================
- Coverage   39.34%   39.29%   -0.05%
==========================================
  Files          85       85
  Lines        6438     6438
==========================================
- Hits         2533     2530       -3
- Misses       3539     3542       +3
  Partials      366      366

Flag
Coverage Δ

e2etests
?

unittests
39.29% <ø> (-0.05%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_base.go
32.24% <0.00%> (-0.71%)
:arrow_down:


Adding h265 example

Is it possible to save H265 stream as MPEG-TS?
Thanks in advance

examples have been improved with #398


FEATURE - Showing user cursors and selected code by users

Showing user cursors and selected code by users so that all participants can see who made the changes and show participants the code that is currently selected.
Example:

@alexsoin Thank you for your suggestion! I appreciate your input. I will prioritize implementing this feature in this project. Feel free to reach out if you have any further suggestions or feedback.

Perhaps this will help in development, I found a similar project of the vzcode editor in which this functionality already exists, here it is described how it was achieved


Submariner installation from git

What would you like to be added:
Can you add the steps to deploy submariner on 2 OCP clusters without using subctl ?
For example, is there a way to clone the code from git and run some commands to install submariner ?
Why is this needed:
As part of our product certification , it is required to keep all images in a private registry . subctl is pulling all related images like submariner-route-agent , submariner-gateway  etc from quay.io .
Is there some way to build the images and push them to a private registry and use them  from there ?

Sorry we missed this! It sounds to me like the main thing there is being able to override the images you deploy. That should be possible today, see the subctl --image-override flag: https://submariner.io/operations/deployment/subctl/#join-flags-images-and-repositories
Note that if this is also an air-gapped deployment, we think that works now but are adding CI. Tracking that here: https://github.com/submariner-io/submariner/issues/1790

I think we have all the requested features here, closing. Feel free to open another issue if there's still something you're looking for @dirajag1. Thanks!


0.9 presence spec amendments

Please see recently merged in https://github.com/ably/docs/commit/cf5c4783f884d98a1a4d86bdddfa6bb22c7c2da2 into the 0.9 spec.
Please ensure that if these spec items are implemented that they are updated to reflect the changes, and any new spec items are adhered to.

Done #568 #570


Add setting for switching between "production" and "interactive" mode

It seems that future development in Pandas creates a distinction between "production" and "interactive" use. I frequently use Pandas to do interactive data analyses. As such, things like indexing shortcuts are very handy. However, I also can see that some of this magic can create very subtle bugs in production systems.
One potential solution is to have a global configuration switch. When an analysis project starts, many of these "shortcut" functions could be made available. Once the code is ready, the user can change this setting to "production" which would issue warnings for functions deemed unsafe.
Any thoughts on this?
This issue came up while talking to @jreback on #13548 .

My immediate inclination is that we should only have a "production" mode in the hypothetical pandas 2.0, and features suitable only for "interactive" mode should be dropped or changed to be unambiguous by only depending on types rather than values.

You are right, probably the best way to move forward is to figure out what features would be "production" and what others would be "interactive-only".
In my opinion the most important features when doing interactive work is indexing, especially with Dates (which was the main point with #13548 ). Being able to use these with the least amount of additional function calls would be great.

features suitable only for "interactive" mode should be dropped or changed to be unambiguous by only depending on types rather than values

What do you mean by depending on types? Similar to the way the "Grouper" object is used, for instance?
df.groupby([pd.Grouper(freq='1M',key='Date'),'Buyer']).sum()

As a side note, having this kind of discussion may actually be beneficial in creating new "interactive-only" features that perhaps were not considered in the API by virtue of being unsafe. First thing that comes to mind are single-letter shortcuts, similar to numpy's r_ and c_ for replacing frequently used longer functions (maybe like pd.date_range()).
Another example would be features that are implemented in external libraries, for instance:
http://pythonhosted.org/pandas-ply/

What do you mean by depending on types?

I want methods that produce an output with a predictable type/dtype that depends only on the types/dtypes of the input, i.e., with a sane type signature that we could (and perhaps should) specify with PEP 484.
Indexing is a prime example of violating this principle of good software design. Depending on whether the indexing value matches multiple items in the index or not, the result of indexing a DataFrame is either another DataFrame (multiple rows) or a Series (single row). We might fix this in either of two ways:

Require that all indexes have unique values.
Change indexing methods to always return a DataFrame, even when the result is currently a Series representing a single row.

I'm somewhat partial to (2), as a Series with dtype=object for representing a single row is not very useful. But obviously this would be a major break in backwards compatibility.

Yes, I certainly see the benefits of having a more consistent API. And most definitely having a consistent return type that is predictable would be extremely helpful. Between the two options you give, I'd also prefer (2)..
But if we get back to this issue; making certain things explicit means writing longer statements. It means one needs to use the specific indexing methods (that ideally don't have the types of surprises that you define). It also means using functions to create objects (using functions like daterange) to that are passed on two these more methods. All in all, these are great for having a safe, deterministic environment. But it also makes it that much more painful to write and harder to read.
For interactive environments, some "magic" should be acceptable. For instance, when doing date manipulations, giving a string of "2015/12:2016/2" as a single string value could do the correct slicing.
A configuration option can decide whether these magic commands should be allowed or not. Thoughts?

I agree with @shoyer that there should only be one mode. Every feature in pandas should have well defined behaviour IMO (note the 'should', it should be our aim, but there are certainly areas for improvement).
But that does not mean that some features can be convenient. For example datetime indexing with string is very convenient for interactive usage (eg df['2012-01':'2012-03'], but still it should have a well defined behaviour.
I would still like to see an example of something specific for an 'interactive mode' that would not have well defined behaviour (so you would want to be able to turn this off).
If something is painful to write and hard to read, we should try to do something about that, looking for solutions to make it easier while still keeping a sane API. But that can still be done in 'one mode' IMO.

Regarding your specific example of

For instance, when doing date manipulations, giving a string of "2015/12:2016/2" as a single string value could do the correct slicing.

I personally don't find it problematic to write it as two strings instead of one ("2015/12":"2016/2", it's only two characters difference)

The only example I could think of is assigning a column using .
In [1]: df = pd.DataFrame({'a': [1, 2]})

In [2]: df.b = [3, 4]

In [3]: df
Out[3]:
   a
0  1
1  2

In [4]: df.a = [3, 4]

In [5]: df
Out[5]:
   a
0  3
1  4

Even then, I don't know what the "production" mode would be. Just disallowing all __setattr__ doesn't feel all that pythonic.

Even then, I don't know what the "production" mode would be. Just disallowing all __setattr__ doesn't feel all that pythonic.

I would be happy with this. We made this choice in xarray and I have heard few complaints about it.

That's a useful datapoint. In that case, I'd be tempted to just disallow it altogether. At least then we can raise a helpful error message 😄.

Sounds like generally we'd prefer just to have every feature be "production ready". Additionally experimental features are documented as such. From the lack of continued interest going to close this issue.


Updated Vanity to work with Bech32; Update WK keypairs

🤷

Integration will not pass because Faucet needs to be updated with the latest keys. Will try locally to see if it's the only issue.


focusing the text entry doesn't work

https://github.com/Akuli/irc-client/blob/5054bbc7d0aad25efb220a2804468f7ee5d1c775/irc_client/__main__.py#L54-L56
This doesn't seem to work. Maybe it focuses the text entry but then after that focuses whatever you clicked?

It actually does work with alt+tab, just not when clicking the text widget.


Bus and Zipkin are used simultaneously in the project, causing engineering links to be less than zipken

Please don't use screenshots. I don't understand the problem because you have not described it. What versions are you using?

Sorry, English is not very good. It may not be well described.
Bus and spring-cloud-zipkin are used at the same time in one project.
Join
org.springframework.cloud
spring-cloud-starter-buamqp

After that, the project is not connected to the Zipkin. Zipkin is started in the way of http: @EnableZipkinServer

Sorry, English is not very good. It may not be well described.
Bus and spring-cloud-zipkin are used at the same time in one project.
Join
org.springframework.cloud
spring-cloud-starter-buamqp

After that, the project is not connected to the Zipkin. Zipkin is started in the way of http: @EnableZipkinServer

Sorry, English is not very good. It may not be well described.
Bus and spring-cloud-zipkin are used at the same time in one project.
Join

org.springframework.cloud
spring-cloud-starter-buamqp

After that, the project is not connected to the Zipkin. Zipkin is started in the way of http: @EnableZipkinServe

My guess is you have a corrupted dependency as bus had no bearing on sleuth or zipkin.


Cant open Radial on GW2 Addon Manager

I cant Open the GW2 addon manager. I tried reinstalling it and then downloading it manually. Still didn't work. I checked the logs and saw this but didn't know what it meant.
I really like radial and i want to have the turtle as well, so I was shocked that it didn't work. Thing is, it still worked fine yesterday
[INFO] core | Addon loader v1.0 (v1.1 r33) initialized
[INFO] core | Loading addons from "./addons" path
[INFO] core | Loading d3d9_wrapper
[INFO] core | Loaded d3d9_wrapper v2.0 r21
[INFO] core | Loading gw2radial
[INFO] core | Loaded gw2radial v2.2 r0
[INFO] core | Done loading addons
[INFO] d3d9_wrapper | Loading system d3d9
[WARN] core | Init called twice without proper unload. If your addon is not working, make sure you handle this situation!
[INFO] d3d9_wrapper | Loading system dxgi
[WARN] core | Init called twice without proper unload. If your addon is not working, make sure you handle this situation!
[INFO] d3d9_wrapper | Loading system d3d11
[INFO] core | Unloading core addon
[INFO] core | Unloaded
I dont know what i should do with this info sadly.

Just deleted the d3d9 and dxgi and got left with this :
[INFO] core | Addon loader v1.0 (v1.1 r33) initialized
[INFO] core | Loading addons from "./addons" path
[INFO] core | Loading d3d9_wrapper
[INFO] core | Loaded d3d9_wrapper v2.0 r21
[INFO] core | Loading gw2radial
[INFO] core | Loaded gw2radial v2.2 r0
[INFO] core | Done loading addons
[INFO] d3d9_wrapper | Loading system d3d11
[INFO] core | Unloading core addon
[INFO] core | Unloaded
Kinda scared to delete the d3d9 wrapper, but maybe i should do that aswell?

Okay deleted that aswell and it just says this:
[INFO] core | Addon loader v1.0 (v1.1 r33) initialized
[INFO] core | Loading addons from "./addons" path
[INFO] core | Loading gw2radial
[WARN] core | Addon "gw2radial" is not loaded due to missing dependency "d3d9_wrapper"
[ERR] core | addons/gw2radial/gw2addon_gw2radial.dll dependency missing
[INFO] core | Done loading addons
[INFO] core | Unloading core addon
[INFO] core | Unloaded
Why does it unload my addons?

You don't want to uninstall anything, the addon won't load without the D3D wrapper. Are you sure you're on the DirectX 11 beta?

Shit, well let me just make a quick install  to get the files back. I dont know if im on the directX 11 Beta. Isnt the launcher DirectX 11?

The DirectX 11 beta is in the graphics options in the game's in-game settings. It's not on by default.

Side help, also had problems for launching new radial alone, few reinstalls with cleanses of main, addon, bin64, uoaom folders, not enough, till cleared settings in uoaom launcher, the bottom left button in addon launcher, then clear all, finally works. hope this helps.

Okay thank you, i will check if i can turn them on.
I also did the full clear,nothing happened. Will try the directX 11 now

HAHAHHAH YES IT WORKED.  The ingame settings, thats it jesus. Thank you so much!


(BKR-1008) Fix Windows user_get error detection

The existing mechanism is tightly coupled to English / ASCII output
and should instead use exit codes.
Fix both the PowerShell and CMD hosts.
Add a new acceptance test so that this can be validated on a
non-English Windows host (for instance Japanse Windows 2012R2
template win-2012r2-ja-x86_64)

FYI @LarissaLane this is a blocker for running Puppet acceptance against Japanese Windows

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3276/

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3277/

I think vmpooler is having issues with 2003r2 - https://jenkins-beaker.delivery.puppetlabs.net/job/qe_beaker_intn-sys_beaker-acceptance-puppet-vpool-puppet-git/2015/agent=windows2003r2,master=centos7/console

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3287/

@puppetlabs-jenkins retest this please

FYI @kevpl PUP-6993 has a bunch of details showing that this PR and PR #1294 pass on both Japanese Windows 2012R2 and standard English Windows 2012R2

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3288/

👍

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3294/

@kevpl looks like we finally got green on this one!


when release training code

Thank you for your work, especially for your open code. I really want to use this to my own project, so could you please tell when you will open your training code?

I am still working to clean it up. There is still a lot to do on the training code for releasing and I am busy with other things. I would guess I can release it in two-three weeks. I will post it here when it is released. Thanks for the interest.

Thank you for your work, especially for your open code.


use dummy trait definition in appconfig webhook

to fix #919
move the basic validation on traits into the preparing validating phase

Signed-off-by: roywang<EMAIL_ADDRESS>

great! please check can it fix #988

great! please check can it fix #988

Checked. It can fix #988.


Suggestion for Upcoming Calendar Widget

Hey,
since one of my favorite apps "Agenda+" is no longer being developed, I have a little great feature suggestion:
Hide Calendar and only show upcoming events in this way:

Is this for Upcoming Calendar Indicator or I suppose it could be more for the Upcoming Calendar Widget itself.
I do wonder, what happens if the given day has more than just one event?

Sorry, of course it is for "Upcoming Calendar Events Widget".
I like the way the appointments are displayed in a large widget.
If a day has more than on event, you will see it in the list. The second event without the data-value.

Interesting for sure. Even in medium widget you will see multiple events for a given day and the proceeding days

Yes, thats OK. But for me the large widge is most important. Especially on the iPad. Then you always have all upcoming events in view on the left side.

Something like this?

Hey @mvan231
really cool. That's how I imagined it.
Thank you very much for the great work 😉😎👍

Glad it was understood well. So would the right side just be blank like that then?

For me it's OK. It depends on the final font size and the length of the event title.
In other widget the event title will be truncated.
e.g.
Birthday from Maximilian Mustermann
--> Birthday from Maxim...
Other question: Is it possible to select the calendars who will displayed in the widget?
At the moment I have two birthday calendars in the calendar selection screen: iOS standard and from Outlook. One is enough ;-)

Other question: Is it possible to select the calendars who will displayed in the widget?
At the moment I have two birthday calendars in the calendar selection screen: iOS standard and from Outlook. One is enough ;-)

Yes it definitely is possible to have a calendar selection. As I was building the latest version of this Upcoming Calendar Widget, I realized that I didn't have a calendar selection included like I do in Upcoming Calendar Indicator.

I have updated the code and placed a version available for you to try.
https://github.com/mvan231/Scriptable/blob/main/Upcoming Calendar Agenda.js
This has transparency as an option if you have it enabled (base code defaults to true).
You need the no-background.js from supermamon for that part to work

Wow ... the first version look really good. Thank you for the great work :-)
While testing, I noticed the following:

With german language I only see the Month + Weekday, but not the day as "number"
I use outlook.com as calendar. outlook.com has its own birthday calendar called "Geburtstage" on german. Also the build in iOS birthday calendar is called "Geburtstage". Although I have selected only one, I see booth because in settings.json only "Geburtstage" is saved. You can see it in the example "Geburtstag von Armin" and "Armin (6. Geburtstag)
Is it possible to display appointments over several days? Example: I have 5 days of vacation (Urlaub). But I only see the first day.
Slightly increase the margin at the top and bottom.

With german language I only see the Month + Weekday, but not the day as "number"

This is interesting, the shortened version of the month name must be longer than what it is in English (3 characters usually). Would just having it display in the locale numeric display suffice?

Although I have selected only one, I see booth because in settings.json only "Geburtstage" is saved. You can see it in the example "Geburtstag von Armin" and "Armin (6. Geburtstag)

Yes I have come into this as well with Birthdays being in my Google and iCloud calendars. Holidays are the same too. I have been considering changing to using the Calendar ID instead of the name, it'll just make the settings file look a bit more strange, but should be okay.

Is it possible to display appointments over several days? Example: I have 5 days of vacation (Urlaub). But I only see the first day.

When you say it is 5 days of vacation, is it a single 5 day long appointment or 5 recurring appointments? If it is the later, then it should display, but if it is the former, then that is why it isn't displaying like you would think

Slightly increase the margin at the top and bottom.

I can't really tell for sure in your screenshot, but it looks like you are showing this in the app instead of in a widget. The display in the app typically looks different than the display in the widget. Maybe try it as a widget and see how it looks. The margin could be increased by adding padding or by allowing one fewer event to be displayed

Did you have any further feedback on this?

After having possibly used this for a while, what are your thoughts on it? Should I release it as another widget?


Cannot access an ME System with a staff of travelling and an Ender IO

I cannot acess a ME Terminal or ME Crafting Terminal from an Ender IO using a Staff of Travelling . I can open my ME Drives, or anything with a GUI from another mod, just not the ME Terminal and Crafting Terminal. Someone said there was a config option however I haven't found it, only something for ME Conduits. I am in 1.7.10 and am using Chicken Chunks <IP_ADDRESS>, AE2 RV2 Beta 9, and Ender IO <IP_ADDRESS>9.

B:enderIoMeAccessEnabled=true
you are using old versions of your mods the current latest is Ender IO <IP_ADDRESS>7 , ChickenChunks 	<IP_ADDRESS> , AE2 RV2 Beta 18 is the current recommended version

You already opened issue #2284 - why did you open a new one?!?
You already got all answers making a new issues with the same text won't get you any more/different answers.

The other thread was closed.

I do believe that this is also configurable in the config so go and check there because it may be enabled so enderIOs can't interact with ME networks :/

If somebody interested, this bugs reproducible with following configuration:

MC 1.7.10
Forge <IP_ADDRESS>8
Applied Energistics2 rv2-stable-10
EnderIO <IP_ADDRESS>1

"personal settings" {
    B:enderIoMeAccessEnabled=true
}


I must be misunderstanding "Add to .vimrc:"

Actual behavior (Required!)
Error detected while processing /home/pi/.vimrc:
line   58:
E492: Not an editor command: Plugin 'artur-shaik/vim-javacomplete2'
line   59:
E492: Not an editor command: NeoBundle 'artur-shaik/vim-javacomplete2'
line   60:
E492: Not an editor command: Plug 'artur-shaik/vim-javacomplete2'
Press ENTER or type command to continue
Expected behavior (Required!)
I expected to see no errors on start-up.
The steps to reproduce actual behavior (Required!)

I made the directory: ~/.vim/bundle
Cloned the project: git clone https://github.com/artur-shaik/vim-javacomplete2.git
Created the file .vimrc and pasted the line Plugin 'artur-shaik/vim-javacomplete2' into it.
Opened a file with vim.
Error message showed up.

Environment (Required!)

OS: Raspbian GNU/Linux 8 (jessie)
Vim version: version 7.4.576
Neovim version: -

Q&A

Yes, I tried minimal .vimrc configuraion.
no, I have enabled logs with JCdebugEnableLogs and can put here content of JCdebugGetLogContent command, if you need.
Never got this far.

Screenshot (Optional)
https://imgur.com/a/03Rqcqn
The output of :redir and :message (Optional)

Do you have any plugin managers installed?

I just realized that: pathogen, Vundle, NeoBundle and vim-plug where plugin-managers.
My issue got solved after reading the Vim-plug manual, thanks.


comment all cv.imshow() and cv.waitkey().

Thanks for your review and update. I believe it would be better to further add a parameter to control the display. I will be fixing this later.


App tiles disappeared

I recently tested your script on a two machines with Win 10 Pro and Home versions (the latest).
In both cases app tiles from star menu disappeared after the reboot. It looks like this:

When I click on any tile with the arrow You will need a new app to open this ms-get-started dialog appears. It's actually not a big deal, because most of the tiles are games etc. but to get rid of it I have to unpin everything from star menu and then pin again.
at first I thought it was not caused by script and tried to find any solution. Microsoft answer does not help at all though.
I attach config I have used (on both machines) so maybe you will solve the problem out.
### Privacy Settings ###
"DisableTelemetry",             # "EnableTelemetry",
"DisableWiFiSense",             # "EnableWiFiSense",
"DisableSmartScreen",         # "EnableSmartScreen",
"DisableWebSearch",             # "EnableWebSearch",
"DisableStartSuggestions",      # "EnableStartSuggestions",
"DisableLocationTracking",      # "EnableLocationTracking",
"DisableMapUpdates",            # "EnableMapUpdates",
"DisableFeedback",              # "EnableFeedback",
"DisableAdvertisingID",         # "EnableAdvertisingID",
"DisableCortana",               # "EnableCortana",
"DisableErrorReporting",        # "EnableErrorReporting",
"SetP2PUpdateLocal",            # "SetP2PUpdateInternet",
"DisableAutoLogger",            # "EnableAutoLogger",
"DisableDiagTrack",             # "EnableDiagTrack",
"DisableWAPPush",               # "EnableWAPPush",

### Service Tweaks ###
"SetUACLow",                  # "SetUACHigh",
# "EnableSharingMappedDrives",  # "DisableSharingMappedDrives",
"DisableAdminShares",           # "EnableAdminShares",
"DisableSMB1",                # "EnableSMB1",
# "SetCurrentNetworkPrivate",     # "SetCurrentNetworkPublic",
"SetUnknownNetworksPrivate",  # "SetUnknownNetworksPublic",
"DisableCtrldFolderAccess",   # "EnableCtrldFolderAccess",
"DisableFirewall",            # "EnableFirewall",
"DisableDefender",            # "EnableDefender",
"DisableUpdateMSRT",          # "EnableUpdateMSRT",
# "DisableUpdateDriver",        # "EnableUpdateDriver",
"DisableUpdateRestart",         # "EnableUpdateRestart",
"DisableHomeGroups",            # "EnableHomeGroups",
"DisableSharedExperiences",     # "EnableSharedExperiences",
"DisableRemoteAssistance",      # "EnableRemoteAssistance",
"DisableRemoteDesktop",       # "EnableRemoteDesktop",
"DisableAutoplay",              # "EnableAutoplay",
"DisableAutorun",               # "EnableAutorun",
"DisableDefragmentation",     # "EnableDefragmentation",
"DisableSuperfetch",          # "EnableSuperfetch",
"DisableIndexing",            # "EnableIndexing",
# "SetBIOSTimeUTC",             # "SetBIOSTimeLocal",
"DisableHibernation",         # "EnableHibernation",
"DisableFastStartup",         # "EnableFastStartup",

### UI Tweaks ###
"DisableActionCenter",          # "EnableActionCenter",
# "DisableLockScreen",            # "EnableLockScreen",
"DisableLockScreenRS1",       # "EnableLockScreenRS1",
"HideNetworkFromLockScreen",    # "ShowNetworkOnLockScreen",
# "HideShutdownFromLockScreen",   # "ShowShutdownOnLockScreen",
"DisableStickyKeys",            # "EnableStickyKeys",
"ShowTaskManagerDetails"        # "HideTaskManagerDetails",
"ShowFileOperationsDetails",    # "HideFileOperationsDetails",
"DisableFileDeleteConfirm",     # "EnableFileDeleteConfirm",
"HideTaskbarSearchBox",         # "ShowTaskbarSearchBox",
"HideTaskView",                 # "ShowTaskView",
"ShowSmallTaskbarIcons",        # "ShowLargeTaskbarIcons",
"ShowTaskbarTitles",            # "HideTaskbarTitles",
"HideTaskbarPeopleIcon",        # "ShowTaskbarPeopleIcon",
"HideTrayIcons",                # "ShowTrayIcons",
"ShowKnownExtensions",          # "HideKnownExtensions",
"HideHiddenFiles",              # "ShowHiddenFiles",
"HideSyncNotifications"         # "ShowSyncNotifications",
"HideRecentShortcuts",          # "ShowRecentShortcuts",
"SetExplorerThisPC",            # "SetExplorerQuickAccess",
"ShowThisPCOnDesktop",          # "HideThisPCFromDesktop",
"HideDesktopFromThisPC",        # "ShowDesktopInThisPC",
"HideDocumentsFromThisPC",      # "ShowDocumentsInThisPC",
"HideDownloadsFromThisPC",      # "ShowDownloadsInThisPC",
"HideMusicFromThisPC",          # "ShowMusicInThisPC",
"HidePicturesFromThisPC",       # "ShowPicturesInThisPC",
"HideVideosFromThisPC",         # "ShowVideosInThisPC",
"Hide3DObjectsFromThisPC",      # "Show3DObjectsInThisPC",
"SetVisualFXPerformance",       # "SetVisualFXAppearance",
# "DisableThumbnails",          # "EnableThumbnails",
"DisableThumbsDB",              # "EnableThumbsDB",
# "AddENKeyboard",              # "RemoveENKeyboard",
"EnableNumlock",              # "DisableNumlock",

### Application Tweaks ###
"DisableOneDrive",              # "EnableOneDrive",
"UninstallOneDrive",            # "InstallOneDrive",
"UninstallMsftBloat",           # "InstallMsftBloat",
"UninstallThirdPartyBloat",     # "InstallThirdPartyBloat",
# "UninstallWindowsStore",      # "InstallWindowsStore",
"DisableConsumerApps",          # "EnableConsumerApps",
"DisableXboxFeatures",          # "EnableXboxFeatures",
"DisableAdobeFlash",            # "EnableAdobeFlash",
# "UninstallMediaPlayer",       # "InstallMediaPlayer",
"UninstallWorkFolders",       # "InstallWorkFolders",
# "InstallLinuxSubsystem",      # "UninstallLinuxSubsystem",
# "InstallHyperV",              # "UninstallHyperV",
# "SetPhotoViewerAssociation",    # "UnsetPhotoViewerAssociation",
# "AddPhotoViewerOpenWith",       # "RemovePhotoViewerOpenWith",
"DisableSearchAppInStore",      # "EnableSearchAppInStore",
"DisableNewAppPrompt",          # "EnableNewAppPrompt",
"EnableF8BootMenu",             # "DisableF8BootMenu",
"SetDEPOptOut",                 # "SetDEPOptIn",

### Server Specific Tweaks ###
# "HideServerManagerOnLogin",   # "ShowServerManagerOnLogin",
# "DisableShutdownTracker",     # "EnableShutdownTracker",
# "DisablePasswordPolicy",      # "EnablePasswordPolicy",
# "DisableCtrlAltDelLogin",     # "EnableCtrlAltDelLogin",
# "DisableIEEnhancedSecurity",  # "EnableIEEnhancedSecurity",

### Auxiliary Functions ###
"WaitForKey",
"Restart"

Additionally I commented the line that deletes the MSN Weather app.

But.. but that was your suggestion! :)
DisableBackgroundApps does that. Tiles are running and fetching their content as background apps. In hindsight, it was probably not a good idea to enable the tweak in default configuration.

The description is short and I didn't get it causes this behaviour. Now it's clear. Thank you.


fix: Call update source hook when checking to see if a source can be handled

Fixes #153

This seems like it can run the risk of double processing the source if the callback actually modifies the source instead of returning a new object. Is that something we should worry and guard against or leave as the responsibility of the hook writer?

I'll protect against that by cloning the original source.

LGTM


[BUG] Many decimal integration test failures for 0.5 on Databricks

A number of unit tests failed on Databricks for the 0.5 nightly integration tests.    It feels almost like there is a change in cudf that is causing this I am going to try and track down what is happening.

Yup I was able to reproduce the failures on the bast 0.5 branch locally.

I went back a couple of days on the plugin and it still fails, this looks very much like a cudf issue.

Yup when I got back to 43b44e1ce447c52113b3abd87da026e9e7725ec9 in cudf all of the tests pass again. I will start to track down the change that caused this to happen

This should be fixed when https://github.com/rapidsai/cudf/pull/7449 is merged and a new cudf-0.19 snapshot is published.

Dependency is merged and tests appear to be passing.


Cow: Watch calendly.com

Cow requests the watch of the watch_keyword calendly\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

calendly\.com has been seen in 11 true positives, 27 false positives, and 0 NAAs.

Rejected by double-beep in Charcoal HQ. Reason: 'too many FPs on-site'


Add support for ag-grid-enterprise

When using the enterprise version of ag-grid a different dependency needs to be loaded (ag-grid-enterprise vs ag-grid).
// index.js

// ag-grid
app.import(app.bowerDirectory + '/ag-grid/dist/ag-grid.js');

// ag-grid-enterprise - needs to be loaded instead of ag-grid.js
app.import(app.bowerDirectory + '/ag-grid-enterprise/dist/ag-grid-enterprise.js');

Perhaps we could set a specific value in the config/environment.js file to indicate which version of ag-grid to use (isAgGridEnterprise: true). Here's an addon that uses the config to manage addon settings: https://github.com/jasonmit/ember-cli-moment-shim#enabling-moment-timezone

Fixed by #4


Some grants are missing from the doc

Hello,
It lacking some GRANTS on MySQL tables from the documentation:
GRANT SELECT ON zabbix.items_applications TO influxdb_zabbix@localhost;
GRANT SELECT ON zabbix.applications TO influxdb_zabbix@localhost;
GRANT SELECT ON zabbix.items TO influxdb_zabbix@localhost;
GRANT SELECT ON zabbix.hosts TO influxdb_zabbix@localhost;
GRANT SELECT ON zabbix.hosts_groups TO influxdb_zabbix@localhost;
GRANT SELECT ON zabbix.groups TO influxdb_zabbix@localhost;
Thx

+1
we have experimented same issue.
Can you confirm the need of the additional grants?
thank you

Tks, fixed


Introduce the TypeBinding type

This PR introduces the TypeBinding type, which represents the application of turbofish upon some LHS declaration or type, which will bind the type arguments of the turbofish to the type parameters in the LHS. This allows us to do things like:
struct Data<T> {
  value: T
}

impl<T> Data<T> {
  fn noop<F>(other: F) -> F {
    other
  }
}

let data = ~Data::<bool>::noop::<u64>(1u64);

previously, we were unable to have different generics between the data type and the internal methods.

Closes #1628
Blocked by #2191

I will admit I've been avoiding this review since it's big and I don't fully understand exactly what is going on, but it still looks good to me.

I'd say about 50% of the green additions are from introducing a new test, hopefully that helps calm your feelings 😄


Fix typos in the parse_[ber|der]_[u32|u64] doc comments.

FYI looks like the Clippy failure is unrelated to this PR.

FYI looks like the Clippy failure is unrelated to this PR.

Applied, thanks!

Applied, thanks!


Remove owner() method from OwningRefMut (#29)

OwningRefMut::owner is inherently unsafe as doing owner().deref() will give you an immutable reference that aliases the stored mutable reference.

Oops, just realized there are some other places in the code that need to be fixed up too.


Declare gregorian_pt_br.js in the index.d.ts

Hello, i'm getting a error when using the pt br language, the import says that the file should be declared in the index.d.ts file

Translation:
"Could not locate the declaration file for the module 'react-date-object/locales/gregorian_pt_br'. '***/frontend/node_modules/react-date-object/locales/gregorian_pt_br.js' implicitly has a 'any' type.
If the 'react-date-object' package does indeed expose this module, try adding a new declaration file (.d.ts) containing the module declare 'react-date-object/locales/gregorian_pt_br';."

Hi.  Please let me know if it doesn't work.


Azure: managed disk and "no availability set" option support

Hi I would like to request the option for those two as it is ideal for Azure VMs. Basically, what we want for every docker-machine is to become a managed disk but I don't see this possible for the current azure driver

I have same problem.
--azure-availability-set is by default 'docker-machine'.
I am also looking for a way to do not create availability-set

I tried using --azure-availability-set with an existing availability set to get managed storage, but it seems that docker machine recreates the supplied availability set.
How do we use managed disk storage with docker-machine? Without managed disk, it seems it is impossible to connect additional storage volumes in Azure.


dependabot doesn't work on dotnet/aspire:  System.InvalidOperationException: Failed to find all versions of .NET Core MSBuild. Call to hostfxr_resolve_sdk2. There may be more details in stderr.

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
nuget
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
@brettfo this is the main repo we're having trouble getting working even after your changes/workarounds. Could you please just fork it and try running dependabot yourself on main?
https://github.com/dotnet/aspire
That seems like it will be much more efficient for everyone.
For example, as of your last change, I now have new errors like
updater |  ---> System.InvalidOperationException: Failed to find all versions of .NET Core MSBuild. Call to hostfxr_resolve_sdk2. There may be more details in stderr.

I've spent a number of hours over the last 2-3 months trying to hackaround things but without being able to run dependabot locally or being familiar with its code it's not super useful and just gets me to another error.
Would that be possible?
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

Just yesterday we merged a PR to update the SDK (#9282) and running locally I don't see the MSBuild issue, I suspect because dotnet/aspire is pinned to SDK 8.0.200 and until yesterday, the NuGet updater was on 8.0.100, but is now 8.0.202.
I'll keep this issue open because there are some errors in the log that I want to dig into a bit.

Installing SDKs on demand would be a long-term solution to this issue. See https://github.com/dependabot/dependabot-core/issues/9286

Looking at the current failures in dotnet/aspire I'm seeing repeated variations of this:
updater | Updating project [/home/dependabot/dependabot-updater/repo/src/Aspire.Hosting.Azure/Aspire.Hosting.Azure.csproj]
updater |   Running for SDK-style project
updater |     Package [Azure.ResourceManager.Authorization] Does not exist as a dependency in [/home/dependabot/dependabot-updater/repo/src/Aspire.Hosting.Azure/Aspire.Hosting.Azure.csproj].

This is obviously incorrect as that dependency is specified here and the package version is specified here and we should be able to navigate to that, but something is going weird.

Digging some more, the update can't be processed because we can't resolve the TFM value of (NetCurrent) because it's coming from the Arcade SDK and we don't currently navigate through SDK imports.  I'll start working on the Ruby side of things to not report a .csproj as relevant if we can't parse a TFM from it.

Any extra proactive logging you can sprinkle as you go along @brettfo might be good, just because the logs so often have not given either of us enough info to guess at the problems as each one popped up. Seems to me it's fine if these logs are quite verbose as there's no reason to look at them unless something broke,

I'm working on PR #9347 now that'll add a warning to the log if a TFM can't be found so we can dig in more.  The warning looks like this:
Excluding project file '/path/to/project.csproj' due to unresolvable target framework

How well does it work on dotnet/aspire with your #9347 changes applied? Does it work, or looks like we get to next layer to peel off?

another example using latest dependabot (today)
updater | Unhandled exception: System.TypeInitializationException: The type initializer for 'NuGetUpdater.Core.MSBuildHelper' threw an exception.
updater |  ---> System.InvalidOperationException: Failed to find all versions of .NET Core MSBuild. Call to hostfxr_resolve_sdk2. There may be more details in stderr.

this can be reproed by cloning https://github.com/danmoseley/performance/commit/c717365379c4f1da6cd1c745b965301bd894374a
Just putting it here in case it's helpful. (It might be good if ...due to unresolvable target framework included the value it got, blank or not)

@danmoseley The MSBuild/SDK resolution was improved last week, are you still seeing this issue in the aspire repo?  If not I'd like to close this issue so I can focus on the other ones.


Generalised Hypergeometric Function

Summary
This PR implements the generalised hypergeometric function:

Which has signature: hypergeometric_pFq(vector a, vector b, real z)
The value itself is calculated by Boosts' boost::math::hypergeometric_pFq
The gradients wrt a and b are given by a Kampé de Fériet function, for example:

Which is implemented as a double infinite sum:

I've put all calculations on the log scale, as the rising-factorial (Pochhammer) calls get very large very quickly.
Tests
fwd,rev, and mix tests are added. I've also added tests to check that the gradients are equivalent to those returned by the existing grad_2F1 function
Side Effects
N/A
Release notes
Added the generalised hypergeometric function
Checklist

[x] Math issue #2509

[x] Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

@SteveBronder that's the last of my updates, should be ready for another look now

What numerical testing has been done on the performance of this implementation?  Especially in regard to numerical accuracy and speed as a function of the a and b coefficients and z?
These power series solutions are incredibly fragile without lots of work not only to avoid overflow/underflow but also transformation to a form that results in sufficiently rapid convergence to avoid residual errors.  Way back in the day I implemented only 2F1 and not the general hypergeometric function exactly because these numerical fragilities proved to be too problematic outside of the most trivial inputs.  Even that implementation of 2F1 is a bit shaky!

On Jun 21, 2021, at 4:20 AM, Andrew Johnson @.***> wrote:
Summary
This PR implements the generalised hypergeometric function:
https://user-images.githubusercontent.com/27717896/122697717-82f5fe00-d278-11eb-8b83-11fe827292a0.png
Which has signature: hypergeometric_pFq(vector a, vector b, real z)
The value itself is calculated by Boosts' boost::math::hypergeometric_pFq
The gradients wrt a and b are given by a Kampé de Fériet function, for example:
https://user-images.githubusercontent.com/27717896/122698129-470f6880-d279-11eb-8f24-47c036d80c49.png
Which is implemented as a double infinite sum:
https://user-images.githubusercontent.com/27717896/122728865-2233e900-d2ab-11eb-874a-bcd2027195a9.png
I've put all calculations on the log scale, as the rising-factorial (Pochhammer) calls get very large very quickly.
Tests
fwd,rev, and mix tests are added. I've also added tests to check that the gradients are equivalent to those returned by the existing grad_2F1 function
Side Effects
N/A
Release notes
Added the generalised hypergeometric function
Checklist
Math issue #2509 https://github.com/stan-dev/math/issues/2509
Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/)

the basic tests are passing
unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards https://github.com/stan-dev/stan/wiki/Code-Quality checks (make cpplint)
the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested
You can view, comment on, or merge this pull request online at:
https://github.com/stan-dev/math/pull/2510 https://github.com/stan-dev/math/pull/2510
Commit Summary
Prim implementation and gradient function
Consistent structure with other grad functions
Progressa
Added reverse implementations
Add missing overloads
Add convergence checks
cpplint
Add documentation
Prim implementation and gradient function
Consistent structure with other grad functions
Progressa
Added reverse implementations
Add missing overloads
Add convergence checks
cpplint
Add documentation
Merge remote-tracking branch 'origin/feature/hyper_pfq' into feature/hyper_pfq
Update convergence checks
Variable names consistent
Prim tests
cpplint
File Changes
M stan/math/fwd/fun.hpp https://github.com/stan-dev/math/pull/2510/files#diff-28779f9b5a9402e5bdfa936e8ff2d5ae2e96578262d6711fb8a3c4bf819d32a4 (1)
A stan/math/fwd/fun/hypergeometric_pFq.hpp https://github.com/stan-dev/math/pull/2510/files#diff-5e581ac41424bebbc238c893315966001f3610cc272c8015c58991a15a4d3a44 (225)
M stan/math/prim/fun.hpp https://github.com/stan-dev/math/pull/2510/files#diff-406ace610a26c43482b6e4c6b6e1637b4655ba74c5afc37b9bd9b342a642e050 (2)
A stan/math/prim/fun/grad_pFq.hpp https://github.com/stan-dev/math/pull/2510/files#diff-e85f152d41969b74104820a73befab7e9860a1965f13b10f6fd3939d0b1eb936 (348)
A stan/math/prim/fun/hypergeometric_pFq.hpp https://github.com/stan-dev/math/pull/2510/files#diff-358fff56ae913fbdd0d2a88aec5e19d7d8559f30bc3321e1043717fed52f4fa9 (53)
M stan/math/rev/fun.hpp https://github.com/stan-dev/math/pull/2510/files#diff-064700b089c9ba1b6013427363c1f0444ab3500844e0ccf0c422fe9a1625b83d (1)
A stan/math/rev/fun/hypergeometric_pFq.hpp https://github.com/stan-dev/math/pull/2510/files#diff-d4f2bf898ef6a07300a1aba5e71a511e110449536fcdbace0be0a3afc2a26b8e (244)
A test/unit/math/fwd/fun/hypergeometric_pFq_test.cpp https://github.com/stan-dev/math/pull/2510/files#diff-9ba4e12ca7890973477ef40a972d0fe6fa8e6abb1c3b1cd836bdb5efef68a602 (109)
A test/unit/math/mix/fun/hypergeometric_pFq_test.cpp https://github.com/stan-dev/math/pull/2510/files#diff-99f1562816107e8b057909abaf2627b8b8c2ae921619fa7300fd44739798fea9 (50)
A test/unit/math/prim/fun/grad_pFq_test.cpp https://github.com/stan-dev/math/pull/2510/files#diff-dca333c9b0c673be2fec5699c9d8690944488fce64f5eb1026c3b76b1aa8aa39 (144)
A test/unit/math/prim/fun/hypergeometric_pFq_test.cpp https://github.com/stan-dev/math/pull/2510/files#diff-1dbf8cd6882cf7f514194c5ee30900a589328a91c1ec6bf2011637a9a95a249a (41)
A test/unit/math/rev/fun/hypergeometric_pFq_test.cpp https://github.com/stan-dev/math/pull/2510/files#diff-165b68f9fdea5e24b1d47e2dc6ab71995f65cb92bc5d36f57225a1834716f0b3 (28)
Patch Links:
https://github.com/stan-dev/math/pull/2510.patch https://github.com/stan-dev/math/pull/2510.patch
https://github.com/stan-dev/math/pull/2510.diff https://github.com/stan-dev/math/pull/2510.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/stan-dev/math/pull/2510, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALU3FWJPDO76H55MCGVWULTT3Y3VANCNFSM47BCLXIA.

It's definitely much less efficient than grad_2F1.
Using the values:
  vector_v a_v(2);
  a_v << 1, 1;
  vector_v b_v(1);
  b_v << 1;
  var z_v = 0.6;

The performance difference between grad_2F1 and grad_pFq is very large:
Run on (8 X 4000 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x4)
  L1 Instruction 32 KiB (x4)
  L2 Unified 256 KiB (x4)
  L3 Unified 8192 KiB (x1)
Load Average: 0.52, 0.83, 1.00
---------------------------------------------------------
Benchmark               Time             CPU   Iterations
---------------------------------------------------------
grad_pFq_bench     708288 ns       708257 ns         1051
grad_2F1_bench       3979 ns         3949 ns       180484

But I'm not aware of any other way of implementing the Kampé de Fériet without resorting to iterating the infinite sum. If it's a choice between slow & available or not available at all, then I'm ok with slow. Also very open to alternative ways to implement this, just let me know

@andrjohns I've been out of this for a while so just throwing it out there that the performance difference might be from all those calls to the log_factorial functions and friends.  The calculation in F32 and the related grad_* versions builds those incrementally through the iterations of the algorithms instead.  Anyway, I would test this across a whole field of values to see where the errors get out of control since with at least one of the related functions we had to get creative with multiple implementations to get good answers.  :+1: to having a slow-but-correct generic implementation if we can show it's correct and over what ranges of parameters.

Hmm good point. I'll have a look into optimising the use of log_rising_factorial and similar, and do some values testing.
I don't have the math-chops to know how to build this incrementally, but if you know of any references/examples then I can have a look at that too

I would say to concentrate first on correctness tests and then tune performance…. The tuning bit can even be done on a second pr, I think (unless you see easy and quick ways to include these now).

:+1: to correctness first but here correctness is also incremental so in the edges of the parameter space is where you need more iterations (so the bound on the number of iterations due to speed of the calculation is important).
@andrjohns if you look at the grad_3F2 and similar functions, I think at this point they all use this algorithm and they all do the calculation incrementally.
Here's an example on the log scale, you have to read down through the loop: https://github.com/stan-dev/math/blob/e22d4664b6e7176db60b08352c76d0489f290147/stan/math/prim/fun/grad_F32.hpp#L69
Here's where the return value is updated: https://github.com/stan-dev/math/blob/e22d4664b6e7176db60b08352c76d0489f290147/stan/math/prim/fun/grad_F32.hpp#L115
I've always wanted to write a templated version of these calculations... :grimacing:
One way to address the performance issue would be to defer to the specialized functions for the p/q values that those are implemented for... (I haven't been active for a while so I don't know what the math lib team would accept).

I've implemented the above iterative approach and relaxed the convergence criteria for the inner infinite sum. Current tests still pass and now it's about ~3.5x faster:
andrew@HomeLinux:~/math$ ./pFq_testing
2021-07-02T14:31:13+08:00
Running ./pFq_testing
Run on (16 X 3700 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x8)
  L1 Instruction 64 KiB (x8)
  L2 Unified 512 KiB (x8)
  L3 Unified 8192 KiB (x2)
Load Average: 2.45, 2.33, 2.23
---------------------------------------------------------
Benchmark               Time             CPU   Iterations
---------------------------------------------------------
grad_pFq_bench     193227 ns       193218 ns         3650
grad_2F1_bench       3618 ns         3618 ns       199577

Will start looking at values and boundaries to see if any more changes are needed

@andrjohns once your finished with the boundaries and other values etc ping me and I'll review! Or is it ready for review now?

Thanks Steve! Still some more work to do, but I'll let you know

As @sakrejda mentioned one has to be careful with the definition of performance, and the corresponding testing requirements, when implementing functions like this.  The accuracy of brute force summation varies strongly with the input values, especially x and y.  Any cap on the number of iterations can introduce significant numerical error for these more problematic inputs, and without a cap the computational time can increase so fast that it’s practically no different than an infinite loop (I don’t say this lightly — the first implementation of the incomplete beta functions derivatives would do this often).  To ensure a reasonable implementation these worst case inputs (usually around the boundaries) need to be tested for worst case performance to see if it’s manageable.  I’m not so much interested in comparisons to 2F1 but rather how the computational cost of pFq generally scales with p and q (and how those interact with x/y).
Most math libraries avoid functions like this unless there are useful properties that can transform the series into something that converges faster.  The 2F1 has the z <-> 1 - z symmetry for example, and even nicer special case can take advantage of recursion relations and asymptotic expansion.  pFq generalizes to the point where there aren’t many of these properties left, which makes it extremely difficult to implement efficiently.  I say this only to note that there is a strong case to not consider the inclusion of functions that don’t admit sufficiently efficient implementations.
Also this is a bit more tangential but the use of pFq for CDF gradients and inverses requires a bit a care.  In those applications pFq doesn’t appear by itself but rather in ratio with other nasty functions, and in order to avoid numerical problems the ratio of power series is best solved at the same time so that common scales can be factored out.  This made the incomplete beta gradients order of magnitudes faster and more stable closer to the boundaries of the input space.

I say this only to note that there is a strong case to not consider the inclusion of functions that don’t admit sufficiently efficient implementations.

I do agree with Michael here although I'm comfortable with looking to see if we can define a range of p/q/x/y values that works.  In the past when users bring up examples of the hypergeometric functions failing it's been a hobby for me to improve the region where they point out issues (I've been doing too much applied work to contribute to Stan math otherwise in the last few years).
Mostly to @andrjohns: Since these functions run fast enough for extensive tests, my approach for the last few was to just run a grid of values and run external comparisons to document that we are calculating what we say we are calculating and that we can expect the function to not hang in a pretty well defined chunk of parameter space.
My suggestion for this function is to test the full grid of values across a range of p/q and at a minimum have a plot of the absolute and relative errors and run times.  In the past that (especially getting good reference values) has taken the bulk of the time but then we can reasonably say the Stan function does what it's supposed to (in the tested range).
For one of the issues I added a pdf that shows where various implementations fall apart in absolute and relative terms: https://github.com/stan-dev/math/files/955767/d_gamma_p_da.pdf
That's the information that made for some entertaining (?) switching between methods here: https://github.com/stan-dev/math/blob/b51f37ad1166853ed2c27f4bcf28615b5c6068e2/stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp#L132
So tl;dr: I'm willing to put in some time to help so we can include these functions but agree we should show that they calculate what we say they calculate.

I'm really only implementing this because I need the 2F2, so would it be simpler if I just restricted the inputs to 2F2 and tested across that range? Alternatively, is there a better approach than the double infinite sum for 2F2 gradients (i.e., some reparamaterisation/reduction that I'm not aware of?)

In that case I would just implement 2F2! What do you need 2F2 for? It might make sense to implement the higher-level function directly if it simplifies the hypergeometric function calculations or makes them more stable..

Can I request 2F1 as well? There's already the gradient.

@spinkney can you say what your use-case is? Do you need it directly or some larger function? We obv. can take this implementation and test it against reference values for p/q 1-5 and potentially we'll just get lucky using the tricks available and make it work while covering a bunch of cases.

@spinkney can you say what your use-case is? Do you need it directly or some larger function?
It's possible I don't need it directly, though maybe in the future. Mostly for jacobi and other polynomial groups. Probably better to just wrap boost's implementation of those directly.

Mostly for jacobi and other polynomial groups. Probably better to just wrap boost's implementation of those directly.

The pattern for other functions is yes wrap Boost and then often do our own implementation for the gradients and then if we need to we can implement the main function.  But as I've said above, I need somebody to prod me to do some more work on Stan math b/c otherwise I just haven't been doing it... so totally open issues for specific functions to add and I'll contribute where I have some knowledge about the calculations.

On my side of things I need the 2F2 for the gradients of the gamma quantile function (i.e., gamma_icdf). Boost didn't have a hypergeometric_2F2, so I figured I would just do the pFq case.
But on a positive note, I've just found the Kampe De Feriet in Mathematica's documentation, and they implement it as an infinite sum over the hypergeometric_pFq (page 36 here). So I might try that and see how the speed and stability changes

re: page 36 there: wow, that definition has a lot of room for pulling out shared computations over iterations!

@sakrejda I was trying to implement their parameterisation, but I've gotten a bit confused. In the last section they have a multiplication from 1 to q, but I can't figure out what that q is supposed be. Any ideas? Highlighted below:

I think it's just one of the six parameters of that version of the function... as a first guess: it looks like that line is pulling one term from (A+C)F(P+S)(...., q + m, ...) in the previous step so my quess b/c of the pFq notation, they mean P+S... but I would have to check (I can look at the original later this morning)

@andrjohns as far as I can tell I was right, the 'q' is from the enclosing sum (so varies with m)

But if q represents P+S, doesn't that it mean it doesn't vary with m? Or are you referring to something else?

Just closing this PR for now while I work up the alternate parameterisation and do so more testing

This is ready for review when anyone has the time

@sakrejda any chance you would be able to look over this? I'll need this to implement the gamma_p_inv and gamma_q_inv functions, which are dependencies for a few quantile functions

@andrjohns I was testing this and the current grad_2F1 and I think we have a problem with values of z between -1 and 0 for both the functions. I don't think we use anything with negative z today but we should fix this or not allow z to be negative.
Assuming that wolfram alpha is correct https://www.wolframalpha.com/input?i=NumberForm[Derivative[1%2C+0%2C+0%2C+0][Hypergeometric2F1][3.70975%2C+1.%2C+2.70975%2C+-0.2]%2C+15]
where I'm testing
a_1 = 3.70975
a_2 = 1
b = 2.70975
z = -0.2

// with wolfram showing
// da_1 -0.0488658806159776
// da_2 -0.193844936204681
// db    0.0677809985598383

I'm getting
// stan grad_2F1 and this pr
da_1 0.0822589
da_2 0.325811
db  -0.114066

Oh shoot, I didn't want to add that here. Ah, I'll fix this. However, the fix includes alternating the signs when z is negative. Here it is in a gist https://gist.github.com/spinkney/61718ddd7fea2de48b5d25eb957a289f

Here's a cleaner implementation https://github.com/stan-dev/math/pull/2721/files#diff-d6dd157904e5dcc168d2ed08ad224701bfbd3ed52cc51a1a52c2f9effd8fa69b

@sakrejda any chance you would be able to look over this? I'll need this to implement the gamma_p_inv and gamma_q_inv functions, which are dependencies for a few quantile functions

@andrjohns: Is your gamma_p_inv and gamma_q_inv implementation still in the works? I was about to create an issue in the general Stan repository and then found this pull request. As you say, they are the backbone of quantile functions for gamma and some gamma-derived distributions, and a proper quantile function would allow for (something like) non-centred parameterisations and correlated (via copulae) sampling for gamma parameters

@sakrejda any chance you would be able to look over this? I'll need this to implement the gamma_p_inv and gamma_q_inv functions, which are dependencies for a few quantile functions

@andrjohns: Is your gamma_p_inv and gamma_q_inv implementation still in the works? I was about to create an issue in the general Stan repository and then found this pull request. As you say, they are the backbone of quantile functions for gamma and some gamma-derived distributions, and a proper quantile function would allow for (something like) non-centred parameterisations and correlated (via copulae) sampling for gamma parameters

Yep, I just need to iron out some issues that @spinkney identified, but it's still progressing

@syclik Now that all has passed, would you mind approving the PR again? Thanks!

@serban-nicusor-toptal would you be able to restart the Jenkins Threading tests for this PR? Looks like they're a bit stuck at the moment


Kaia's African Web3 Engagement Strategy

Description
This submission outlines a strategic initiative to amplify Kaia's presence and understanding in the African digital ecosystem. The proposal leverages authentic, ground-level content to demystify Web3 technologies and showcases Kaia's unique platform capabilities. The deliverables include:

A comprehensive Web3 exploration thread detailing Kaia's services and their practical applications for African entrepreneurs and developers.
A professionally produced promotional video titled "Unlocking Web3 with Kaia," covering Kaia Wave, Portal, Square, Wallet, and Kaiascan.
A street interview documentary featuring unscripted conversations on blockchain perceptions and opportunities, emphasizing Kaia’s accessibility and transformative potential.

These efforts aim to establish a genuine connection with the African audience, fostering education and adoption.
Budget Breakdown
Total Requested: $500
Video Production (2): $400
Thread Writing: $100
Key Performance Indicators (KPIs)

Minimum of 5,000 combined views across all content.
At least 100 direct engagements (comments, shares, and likes).
Demonstrated awareness increase in Kaia's African follower base.
Comprehensive engagement report detailing content reach and success.

Unique Value Proposition
This is more than a marketing campaign; it is a narrative that connects Kaia's innovative platform with Africa's vibrant tech landscape, emphasizing real-world opportunities and transformation.
Bounty track
Community Engagement and Content Creation

you can just make the contents right now and tag KaiaDevIntern (https://x.com/KaiaDevIntern) to get tips


Add search feature

This will likely use google custom search; will require some work on the user side and then tweak some config parameters.
Commenting out the search box until this is done.

For reference, this has gotten slightly easier
https://blog.jeremylikness.com/blog/dynamic-search-in-a-static-hugo-website/

I think this actually just gets handled with some documentation - I did this on the Arrested DevOps podcast and I'm 99% sure I did it all outside the theme.

At the moment this can be accomplished simply via creating pages (nothing special in the theme) but making it documented (and having an example / template for it) is a good idea!
For reference, here's the things needed:
in your config.toml need:
[outputs]
  home = ["HTML", "RSS", "JSON"]
  page = ["HTML", "RSS"]

A shortcode like this: https://github.com/arresteddevops/ado-hugo/blob/main/layouts/shortcodes/staticsearch.html (this can live in the site's layouts/shortcodes directory, doesn't need to be in the theme)
A page of generic template that calls the shortcode, like this one https://github.com/arresteddevops/ado-hugo/blob/main/content/search.md
A json index for the searching like this: https://github.com/arresteddevops/ado-hugo/blob/main/layouts/_default/index.json (I think this gets a problem if you don't have episodes coming off the index?)
JavaScript file in static/js like this https://github.com/arresteddevops/ado-hugo/blob/main/static/js/search.js


Add Event Types

Describe the feature you'd like
Add option to filter events depending upon an event type
Screenshots

Would you like to work on the issue?

[x] Yes

@iamareebjamal can I go ahead with this and for this, I think we'll be needing an m:n relationship between event and event topics


Using TABAdjustBlock  in swift

Hey, first of all congratulations on such a well put and complete library. I'm having an issue adapting this library to my current project in swift. Mainly with the translation below:
Current objc code
- (TABAdjustBlock) animationsForCell
{
    return ^(TABComponentManager * manager) {
        dispatch_async(dispatch_get_main_queue(), ^{
            manager.animation(0).remove();
            manager.animation(1).remove();
            manager.animation(2).width(110).toLongAnimation();
            manager.animation(4).remove();
            manager.animation(3).down(-5).height(12);
            manager.animation(5).down(3).toLongAnimation();
        });
    };
}

Desired swift translation
    func animationForEventCell() -> TABAdjustBlock {
        let block: TABAdjustBlock = { manager in
            manager.animation() // can't set it, doesn't allow params
       }
        return block
    }

Any pointers, or any help you can give me regarding this particular piece? thanks!

Hey, first of all congratulations on such a well put and complete library. I'm having an issue adapting this library to my current project in swift. Mainly with the translation below:
Current objc code
- (TABAdjustBlock) animationsForCell
{
    return ^(TABComponentManager * manager) {
        dispatch_async(dispatch_get_main_queue(), ^{
            manager.animation(0).remove();
            manager.animation(1).remove();
            manager.animation(2).width(110).toLongAnimation();
            manager.animation(4).remove();
            manager.animation(3).down(-5).height(12);
            manager.animation(5).down(3).toLongAnimation();
        });
    };
}

Desired swift translation
    func animationForEventCell() -> TABAdjustBlock {
        let block: TABAdjustBlock = { manager in
            manager.animation() // can't set it, doesn't allow params
       }
        return block
    }

Any pointers, or any help you can give me regarding this particular piece? thanks!

See #64 .

thanks a lot! ✌


Vite 3.0

Please update to Vite 3.0.

Why?

@ElMassimo Cause warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>


[stable/redis-ha] Add securityContext to HAProxy Deployment

Is this a new chart
No
What this PR does / why we need it:
Allows securityContext to be added to HAProxy deployment. Without this, the chart can't, for example, be deployed onto clusters that block root containers.
Also updated the README.md to include Redis Server securityContext that already exists. The statefulset manifest read in this value already but it wasn't in the README.
Which issue this PR fixes
None. This wasn't in a previous issue.
Special notes for your reviewer:
Hi! This my first time contributing to a helm chart. I read through all the guides, so I think I did everything right. But please let me know if i missed something and I'll gladly fix it. Thanks!
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/ok-to-test

/assign @ssalaues

/lgtm


[Feature] - Implement Security Measures

Description
Incorporate security features such as input validation, authentication, and authorization. Use TDD.
Motivation
To protect user data and ensure only authorized access to system functionalities.
Proposed Solution

Write tests for authentication flows and access controls.
Implement role-based access using ASP.NET Identity.
Sanitize inputs and protect against common vulnerabilities (e.g., SQL Injection, XSS).

Acceptance Criteria

[ ] Feature is clearly defined.
[ ] All security tests pass.
[ ] System adheres to best security practices.
[ ] Code is reviewed and approved by at least one other team member.

Additional Info

Document security practices in the project report.
Consider conducting a security audit or peer review.

Microsoft Identity


Moved PipedAsyncWritableChannel to closed source

This change:

Moves PipedAsyncWritableChannel to AmbryLI
Reuses restServerRouterFactory instead of boolean to switch between routers

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

Project coverage is 18.47%. Comparing base (52ba813) to head (2ec6bde).
Report is 129 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (52ba813) and HEAD (2ec6bde). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (52ba813)
HEAD (2ec6bde)

3
1

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2929       +/-   ##
=============================================
- Coverage     64.24%   18.47%   -45.77%
+ Complexity    10398     2934     -7464
=============================================
  Files           840      865       +25
  Lines         71755    73546     +1791
  Branches       8611     8842      +231
=============================================
- Hits          46099    13590    -32509
- Misses        23004    58686    +35682
+ Partials       2652     1270     -1382

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


Issue expanding variables

Going from build 2.1.1 to 2.1.4 the variable expansion seems to have broken. In 2.1.1 specifying "......\JenkinsOctopusPackage${OctopusPackageName}.${ReleaseVersion}.${QABuild}.zip" works just fine. In 2.1.4 it fails with an error.
ERROR: Build step failed with exception
java.io.IOException: Expecting Ant GLOB pattern, but saw 'E:\JenkinsOctopusPackage\VA.ClinicalAPI.<IP_ADDRESS>.zip'. See http://ant.apache.org/manual/Types/fileset.html for syntax

Just started using the plugin and hit the same issue

Hi @jrivord and @dhgoldman,
Thanks for reaching out! Sorry to hear that this isn't working for you.
Is rolling back to 2.1.1 a viable workaround for you while we fix this issue? If this would be helpful, there are instructions here on how to install specific versions of a plugin here: https://www.jenkins.io/doc/book/managing/plugins/#advanced-installation
Kind regards,
Andrew

Hello @jrivord and @dhgoldman,
Thanks for your interest in the plugin. I created a fix and have uploaded version 2.1.5. This should be available in a few days. Please let me know if this issue persists for you after updating.
Cheers,
Corey


Mode manager prevents redundant mode changes

Before executing a requested mode change, i.e. applying the according changes, it is now checking whether the mode is already active. If so, no action is taken, but mode change service request is still returned with success.
https://github.com/micro-ROS/system_modes/issues/60

Thanks for the review, Niels!


Add sample for storage blob batch delete

Added a code sample for azure storage blob to demonstrate the batch delete functionality in the container client.

Can one of the admins verify this patch?

@catalinaperalta
Can you move this file to sdk/storage/azure-storage-blob/samples


Write CSLC raster and correction stats to HDF5

This PR:

writes stats (currently only found in JSON) to HDF5
adds iono and SET correction stat computations

Red curly brackets in pic below show where stats are in HDF5

It seems we are still generating the JSON file for the stats. Would it be possible to remove it?

Do you prefer:

remove JSON generation by default but keep ability to generate JSON
remove ability to generate JSON

Let's keep the ability of generating the JSON file but let's not produce it

also, shall we indicate that stats are actually QA metric by calling them qa_stats?

Let's keep the ability of generating the JSON file but let's not produce it

Currently the HDF5 doesn't include all the QA fields found in the JSON (pixel_classification_percentatges, rfi_info, orbit_info).
 Be aware pixel_classification_percentages that this:
│   ├── topo
  │   │   ├── percent_layover_pixels
  │   │   ├── percent_shadow_pixels
  │   │   └── percent_combined_pixels

should go into the static layers topo product and not in CSLC

Yes, I like that. Be aware pixel_classification_percentages that this:
│   ├── topo
  │   │   ├── percent_layover_pixels
  │   │   ├── percent_shadow_pixels
  │   │   └── percent_combined_pixels

should go into the static layers topo product and not in CSLC

For the sake of consistency, should I add quality_assurance group to the static layer HDF5 with:

move topo percentage over from CSLC HDF5
add stats for each static layer
organization structure below:

science/SENTINEL1/CSLC
science/SENTINEL1/CSLC
├── grids
├── metadata
└── quality_assurance (NEW)
    ├── orbit_info
    │   └── orbit_type
    ├── pixel_classification_percentages
    │   └── topo
    │       ├── percent_layover_pixels
    │       ├── percent_shadow_pixels
    │       └── percent_combined_pixels
    └── stats
        └── static_layers
            └── <layer_name>
                ├── mean
                ├── min
                ├── max
                └── std

Absolutely, let's go for it.

A couple of comments:

let's spell orbit_info with orbit_information and pixel_classification_percentages with pixel_classification
For the burst I processed, both the items in pixel_classification are empty. Is this intentional?
This is what I see in rfi_info (let's spell rfi_information)

is_rfi_info_available    Dataset {SCALAR}
    Data:
         TRUE
rfi_burst_report         Dataset {SCALAR}
    Data:
         "\000"
rfi_mitigation_domain    Dataset {SCALAR}
    Data:
         TRUE
rfi_mitigation_performed Dataset {SCALAR}
    Data:
         TRUE

Is this intentional? For the RFI domain I was expecting a string.

Let's spell stats with statistics and imag with imaginary

pixel_classification for both CSLC and static layers are 0 (I assume that's what you mean by empty) because it's a placeholder field with no computation being done to populate.
rfi_domain should be a string. Since it's a placeholder, I've switch to an empty string as a placeholder value.


When in function argument, array of union produces different type error to when in instantiation of same type

Mild title gore, sorry.

TypeScript Version:  3.2.0-dev.201xxxxx

Search Terms: array union type error
Code
type Foo = 'A' | 'B';
const foo_list: Foo[] = ['A', 'X'];  // Error: Type '"X"' is not assignable to type 'Foo'
declare function bar(x: Foo[]);
bar(['A', 'X']); // Error (x2): Type 'string' is not assignable to type 'Foo'

Expected behavior:
Same error on line 4 as on line 2
Actual behavior:
All elements of the array are highlighted as errors instead, making it difficult to spot which one is wrong.
Playground Link: http://www.typescriptlang.org/play/#src=type Foo %3D 'A' | 'B'%3B
const foo_list%3A Foo[] %3D ['A'%2C 'X']%3B
declare function bar(x%3A Foo[])%3B
bar(['A'%2C 'X'])%3B

Related Issues: Probably #26077 or one of its constituents

This is a bit old, but I'm happy to report it appears to be fixed.