Chapter 4: Notable Failures of the Law of Large Numbers

While the Law of Large Numbers is a profoundly important result, I like many statisticians have come to doubt its universal applicability.

This Law holds for any distribution, minus some pathological examples that only mathematicians have fun with.

I take issue with this assertion. Two important failures off the top of my head:

Fat-tailed distributions - These distributions frequently fail a critical assumption underlying the law of large numbers - namely, that
$$\sum_{n=1}^\infty \frac{Var(X_n)}{n^2} < \infty$$
One example that fails this is the Pareto distribution with $\alpha \in (1,2]$ (which has a divergent variance).  This happens _all the time_ - here's a typical example from Terry Tao's blog (2009).  Likewise, fat-tailed distributions that do satisfy the (weak) law of large numbers only converge to the predicted asymptote rather slowly, rendering the principle ineffective (see Weron et al, International Journal of Modern Physics C (2001))

Flicker Noise (aka 1/f Noise) - Flicker noise is another ubiquitous phenomenon that fails the law of large numbers.  Example: A perfect hour-glass has an average clock-drift of 0 seconds.  However, clock drift is governed by flicker noise, which fails to satisfy the assumptions behind the (weak) law of large numbers.  As a consequence, no matter how many hour-glasses you have, you can't be more accurate than an atomic clock.  This example is from Bill Press (of Numerical Recipes fame), who wrote something of a classic on this subject: Flicker Noises in Astronomy and Elsewhere (1978)

Of course, as you point out in your chapter, one can hold the Law of Large Numbers at arms length with Bayesian analysis.

Many cases of leptokurtotic ("fat-tailed") distributions, except truly
pathological infinite-variance Levy distributions ("humoring mathematicians"),
can be resolved by using Gaussian mixture distributions.
The intuitive idea is that each Gaussian distribution in the mixture
has some probability of being drawn from it. The details are here:
https://git.io/gmix
The statistical problem is the estimation of the GM(n) parameters.
For small-sample sizes, an illustration of Bayesian estimation techniques
would be wonderful. This will turn out to be an exercise in handling
extreme data values, which are frequently mistaken for being outliers.
When robustness is desired for estimating centrality, the median
is easily demonstrated to be appropriate.


升级到3.2.8后序列化错误

升级到3.2.8后报如下错误
[DUBBO] [Serialization Security] Serialized class xx.xx.xx. is not in allow list. Current mode is STRICT, will disallow to deserialize it by default. Please add it into security/serialize.allowlist or follow FAQ to configure it., dubbo version: 3.2.8, current host: xxx.xxx.xxx.xxx, error code: 4-21. This may be caused by , go to https://dubbo.apache.org/faq/4/21 to find instructions.

哥们你怎么解决的

-Ddubbo.application.serialize-check-status=WARN

或者加入 resources/security/serialize.allowlist中。参考官方文档https://dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/serialization/ 和https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/faq/4/21/


publish full-text datasets for selected sites

Publish full-text datasets:

Generate dataset files per site, per day.
Upload to Google Drive.
Automate the workflow.

Selected sites:

http://cnba.live
https://www.orgs.one/
http://qiqi.today
PTT HatePolitics
PTT Gossiping

Done re-parsing from snapshots in backup data.


Update import of GLOBAL_FUNCTIONS

In the process.py file it looks like it's trying to import GLOBAL_FUNCTIONS from ray_process but it doesn't seem to be defined there, rather it's defined in baselines.core.constants. I was running into import issues when trying to call process.

Closing this PR as it looks like https://github.com/mlfoundations/dclm/pull/17 does what I was trying to do and a bit more as well

Hi @humzaiqbal !
Thanks for catching this! Indeed, I created #17 to include this extra file, and was planning to close this PR afterwards.


Scheme Templates

Addresses https://github.com/yonaskolb/XcodeGen/issues/643
This adds support for schemeTemplates at the project level. It functions identically to targetTemplates (in fact it's been refactored to use the exact same code paths). It also sets up the project to support the template structure for any property. Not sure what else would be useful besides target and scheme, but it's there.

@yonaskolb I haven't updated the docs yet because I'm not sure I consider the PR completely finished. Do you think I should integrated support with targetScheme? How do you think that would look with templates?

@yonaskolb CR comments address and docs / changelog added.


[AVM Module Issue]: support for later azapi versions

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
(Optional) Module Version
0.1.0
(Optional) Correlation Id
No response
Description
This module pins azapi provider version 1.9, but at least some other AVMs, such as avm-res-network-virtualnetwork, require later versions (~> 1.13 in that example), which prevents concurrent use of those modules.  Could this module be updated to permit later versions of the azapi provider?
Here's the issue I see on execution where the azapi provider version isn't constrained in my config, just in the referenced modules:
Could not retrieve the list of available versions for provider azure/azapi: no available releases match the given constraints 1.9.0, ~> 1.13

Thank you @MikeDembek for submitting this feedback. We will review and work to update the version
cc @Poven795909

Will test with new AzApi version and will push the changes. Thanks for the feedback

@MikeDembek, apologies for the delay ! through internal testing and discussion, we have decided to wait for v2 for azapi to be released (tentatively by September end or Oct first week) by Hashicorp this to ensure migration to latest version of azapi doesnt cause any breaking change.


Updated file reading logic for prod streamlit

Updated file reading logic so that it can be read from both tests and streamlit (in prod).
No changes in testing / pylint.

Good work, merging!


SAK-33609

SAK-33609 fixed columns in messagetool and changed width from 1200px to 100% in view: "All Messages"
hopefully this time I'm doing this right :-)

Our workflow is against master first and then branch maintainers are responsible for merging into the 12.x maintenance branch.
When we run into the rare situation where a bug only exists in 12.x but not master, then a PR against 12.x might be appropriate.


fix(c++,spark): clean the output directory before running unit test

Reason for this PR

solution to https://github.com/apache/incubator-graphar/issues/584
What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

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

Project coverage is 95.11%. Comparing base (c260513) to head (3a85616).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #641       +/-   ##
===========================================
+ Coverage   62.45%   95.11%   +32.66%
===========================================
  Files          60        8       -52
  Lines        8320      737     -7583
  Branches      877        0      -877
===========================================
- Hits         5196      701     -4495
+ Misses       3124       36     -3088

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


Add format stage to CI

Background
Copy it from https://github.com/ros-controls/ros2_control/blob/master/.github/workflows/format.yml
Instructions
Hi, this is a good-first-issue issue. This means we've worked to make it more legible to people who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.
We're interested in helping you take the first step, and can answer questions and help you out along the way. Note that we're especially interested in contributions from underrepresented groups!
We know that creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
If you have contributed before, consider leaving this PR for someone new, and looking through our general bug issues. Thanks!
🤔 What you will need to know.
Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.
📋 Step by Step

[ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

[ ] 🗄 Create a local workspace for making your changes and testing following these instructions, for Step3 use "Download Source Code" section with these instructions.

[ ] 🍴 Fork the repository using the handy button at the top of the repository page and clone it into ~/ws_ros2_control/src/ros-controls/ros2_controllers, here is a guide that you can follow (You will have to remove or empty the existing ros2_controllers folder before cloning your own fork)

[ ] Checkout a new branch using git checkout -b <branch_name>

[ ] 🤖 Apply pre-commit auto formatting, by running pip3 install pre-commit and running pre-commit install in the ros2_control repo.

[ ] 💾 Commit and Push your changes

[ ] 🔀 Start a Pull Request to request to merge your code into master. There are two ways that you can start a pull request:

If you are not familiar with GitHub or how to create a pull request, here is a guide you can follow on how GitHub works.

[ ] 🏁 Done Ask in comments for a review :)

Is someone else already working on this?
🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone's already started on it.
👥- If someone seems stuck, offer them some help!
🤔❓ Questions?
Don’t hesitate to ask questions or to get help if you feel like you are getting stuck. For example leave a comment below!
Furthermore, you find helpful resources here:

ROS2 Control Contribution Guide
ROS2 Tutorials
ROS Answers

Good luck with your first issue!

This already exists: https://github.com/ros-controls/ros2_controllers/blob/master/.github/workflows/ci-format.yml
If you check the "Actions" tab, it looks like it's been running lately too.

Perfect, done! :D


fix: implement uuid format for string

Description
Implementing UUID format for string type
Related issue(s)
#23

Just realised this conflicts with @dalelane's latest changes, let me rework...

/rtm


smapp crashing

Description
For the last week and a half, smapp has been crashing in my system.  The node starts synchronizing once it launches, but eventually it uses up all 16GB of RAM in the computer in the syncing activations phase.  I have been operating this node for several months now with no issues.
I have tried deleting the configuration folder and doing a full sync to no avail.  The problems seem to have started with version 1.4.6.  I read that the memory leak from 1.4.5 was fixed in 1.4.6.  It seems to persist in my system.
I also installed version 1.5 and it did not address the problem.
Environment
Ubuntu 22.04.4, Intel processor, 16GB of RAM.
Additional Resources
Screenshot attached.

We would need to get node logs and app logs. If possible please also follow: https://github.com/spacemeshos/smapp/issues/1439#issuecomment-1887397768

I read that the memory leak from 1.4.5 was fixed in 1.4.6.

I'm not aware of a memory leak there.

Thanks for your prompt response.  Attached are the requested logs.
sm-logs.zip
Note that I have been monitoring the smapp channel in Discord and several other people have reported similar problems with the app crashing.
I appreciate your assistance.

Hi.  I recently upgraded to version 1.51 and also tried running smapp on a different computer.  It also crashed after using up all the RAM on the system (16GB).  This seems to be a bug and not directly related to my system.
Is there anything I can try to fix the issue?
Thanks for your help.

Hi.  I just configured a clean Ubuntu system with version 1.5.2 of Smapp.  Created a completely new configuration and wallet.  Successfully performed a Quicksync.  The system uses up all 16GB of RAM while synchronizing activations and then crashes.  Have not been able to participate in the network for over a month now.  Any suggestions on how to fix the issue will be appreciated.  Thank you.


[Event Request] Codeunit Gen. Jnl - Post Line, OnBeforeTempOldCustLedgEntryDelete

We are currently implementing a customer on BC14 (they want to use the windows client)
They have a requirement to record shortpays (when the customer payment is less than invoice amount less any deductions/discounts). Earlier this has been done in codeunit 12, ApplyCustLedgEntry function, in a loop applying new payments.
There are currently several events in this function already. But not in the loop applying entries with the needed variables in this function.
In their 2009 code, they have the following function call:
CheckShortpay.Checkshortpay(TempOldCustLedgEntry, NewCVLedgEntryBuf."Document type", NewCVLedgEntryBuf."Document No.", 0, ApplyingDate,NewCVLedgEntryBuf."Entry No.");
this call comes just before the following in the standard code:
TempOldCustLedgEntry.DELETE;
The called function updates the shortpay records that our client has created and maintains. As you can see the call is accessing fields from TempOldCustLedgEntry, NewCVLedgEntryBuf as well as the General Journal.
Is it possible for you to add an event here OnBeforeTempOldCustLedgEntryDelete(TempOldCustLedgEntry, NewCVLedgEntryBuf,  General Journal) ?
Or what is the recommended solution?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Fix Azurite support

Fixes #4288
Microsoft Reviewers: Open in CodeFlow

Will add the tests and refactor the tags after the WE if it hasn't been merged. Azurite won't work on main without it.

In case anyone lands here and is blocked by this in the meantime, you can update to the newer image with:
IResourceBuilder<AzureStorageResource> storage = builder.AddAzureStorage("Storage");
if (builder.Environment.IsDevelopment())
{
    storage.RunAsEmulator().WithAnnotation(new ContainerImageAnnotation
    {
        Registry = "mcr.microsoft.com",
        Image = "azure-storage/azurite",
        Tag = "3.30.0"
    });
}

@rob-king-volpara You can do:
builder.AddAzureStorage("storage")
       .RunAsEmulator(c => c.WithImageTag("3.30.0"));

Yeah I did consider that, but does that mean it would try to use the emulator if I published it to Azure with "azd"?

@rob-king-volpara no RunAs* means only affect the resource in "RunMode".


#744 fix maven version comparison

see:

PR #744

Hmm, just a thought. Keep in mind that a change in the versioning algorithm will possibly cause bug reports with people complaining about the changed behaviour.

there is no need for this PR anymore as the mojo plugin uses ComparableVersion from Maven now


How to retrieve the file to Sync it via Cloud Storage?

How to I Open the file programmatically? I want to do that to syn the file via a cloud storage service. So as backup / restore feature.

I found another way, so there's no need anymore.


Fixed Spelling.

Coverage increased (+0.007%) to 89.992% when pulling 23b9dbbd9f27921d1c5fd404e5eeea0d890895b0 on jimmycasey:master into eb57d6d457002a0bb5336d789a3381a24599affe on apache:master.

good job :)


Splitting the field.py classes and functions into various files and an interpolation module

field.py contains too many classes and methods. The file contents should be reorganised

This has now been fixed with the new fieldfilebuffer.py file in #905


"pyenv versions --skip-aliases" does not skip aliases

I've noticed this when writing https://github.com/yyuu/pyenv-virtualenv/issues/120#issuecomment-160237871.

This is not an issue of pyenv-virtualenv.

Thanks for fixing and sorry for mixing it up.

thank you too


Use RELATED_IMAGE_CERT_MANAGER variable

https://issues.redhat.com/browse/AUTH-108
This PR provides the support for overriding the operand image by using the RELATED_IMAGE_CERT_MANAGER environmental variable.
This feature is required for:

Flexibility in testing
Supporting SHA Digest pinning and supporting the offline installation mode
Respinning the images in case of CVE

For more information, please refer to the OSBS documentation.

@s-urbaniak Ready for the next round of review.

/lgtm
/hold

/unhold


react-css-modules interest?

Is there any interest in integrating react-css-modules into this kit? I can put together a pull request if so.

+1, it looks promising and less restrictive.

+1

+1

Here is where it stands right now. There are issues with hot-reloading and error handling (probably other things too). I am not sure it is worth the added complexity, although I am sure the current issues can be fixed.
Thoughts?
https://github.com/chrisblossom/react-redux-universal-hot-example/tree/feature/add_react-css-modules

+1

@chrisblossom Can you explain a bit about your thinking there? I wasn't expecting the changes of adding ExtractTextPlugin and webpack-isomorphic-tools without its development switch on. Also, is browser-sync necessary? Aren't styles hot reloading without it?

@bdefore When I put this into my personal project I thought I had tried it without the ExtractTextPlugin, but I think I must have just been following directions from the module's readme. The changes to webpack-isomorphic-tools (which were partially a temporary hack) and the addition of browser-sync were due to adding ExtractTextPlugin.
Much cleaner and seems to work so far:
https://github.com/chrisblossom/react-redux-universal-hot-example/commits/feature/add_react-css-modules-2

I've been trying it out and it still doesn't gracefully work with hot reloading. Often I have to manually refresh the page if the CSS class wasn't there prior.

The client and server consistently get out of sync, which (now that I am seeing this again) is why I went to using the ExtractTextPlugin as the module suggested.
Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
 (client) 8jk.1.1.$/=10">
<div data-reactid=".s6b64
Server-side React render was discarded. Make sure that your initial render does not contain any client-side code.

Personally I prefer webpack's local styles without the react-css-modules layer.
Main concern is that references to class names go from code (javascript variable) back toward config (custom parsed string).
Which of the problems it solves do you guys find most compelling?

@kaploink I was bothered by having to go against the standard css-naming convention. I personally reverted back to not using this module and having a bit uglier code using {styles['css-naming']}.
If anyone is wanting to use [react-css-modules] (https://github.com/gajus/react-css-modules) in the future, #693 is the base for getting it to work.
Going to close this for now.

Hey, sorry to comment on such an old issue, but I'm wondering if anyone ever successfully got react-css-modules working with this boilerplate? I am at a fork now between Radium and react-css-modules, and prefer the latter, except in its build-setup complexity.

@isaachinman have you considered using just standard css modules, as implemented by webpack's css loader?  It's designed to work with react out of the box, and is already set up in this repo.
Radium vs react-css-modules is interesting; they're at pretty extreme ends of the spectrum.  Might want to look at some others between, such as aphrodite or JSS.  Here's a great summary of the best current options: https://github.com/oliviertassinari/a-journey-toward-better-style.
Also I think there's recently been a bit of a shift away from css-modules in light of create-react-app deciding to not support them without ejecting.  This issue is what led to one of the css modules creators making and using styled components instead (css in js).
Personally I'm using Radium at the moment, as highest priorities for me are pure js object composition (rules out css modules) and small inline chunks of style (rules out aphrodite/jss, etc).  Downsides of perf hit for repetition in style tag (~25%) and maybe some issues with SSR seem worth the cleaner component composition ability.  Watching closely what happens with MUI styling though, as they have a tonne of expertise in inline styling (currently heading toward JSS).

Hey @kaploink. I guess they are rather extreme options. I have used Radium in previous projects and am (mostly) comfortable with its methodology.
My only concern with Radium is pseudo selectors. I have no idea why one would elect to use JavaScript to replicate functionality that is already baked into all browsers. Can you explain what you mean by "repetition in style tag"?

My only concern with Radium is pseudo selectors. I have no idea why one would elect to use JavaScript to replicate functionality that is already baked into all browsers.

Hey @isaachinman, well the pseudo-selectors are just there to support what people are used to doing with css.  Whether pseudo-selectors are the best way to track hover/active/etc state and associate that with certain styles is another question.  I see them like many other css features - hacks that are handy for common cases, but not generic/pure enough to scale properly to all scenarios (e.g. :hover affect another element's styles).  If it's behaviour/state then I think belongs in js, and styling should be purely to describe actual styles.  Similar for media queries.  Of course, performance considerations complicate things...  Here's example js approach to hover styling (more testable) - boilerplate could be cut down a lot (arrow funcs, es7, maybe HOC): https://facebook.github.io/jest/docs/tutorial-react.html#snapshot-testing

Can you explain what you mean by "repetition in style tag"?

As in "css in js" (aphrodite, jss, etc) store their styles in css classes associated with class tag, so can reuse them across similar elements and avoid styling duplication in the dom; whereas radium and pure inline styles just use the style tag and store all styles against all elements (repeat themselves more, bloating the dom and affecting some performance by ~25% apparently).


Shall we write unit tests?

It would be nice to have at least some basic unit tests written, so that the bot can be easily maintained and extended.
My suggestion is to use minitest.
If @eljojo agrees, I will work on it and send a pull request soon.

Hey Mariano,
I recently haven't worked on the gem myself, but if you'd like to contribute I'd be happy to give feedback and merge :)
Cheers!

Thanks! I'll be glad to send you a PR for review.

Looks like this should be the answer to this q - https://github.com/eljojo/telegram_bot/pull/46
Happy to close? Or we can wait until this PR is merged...


Profile from CSV for any grid

Currently the "from CSV" profile type assumes the profile is on the "height" grid. The choice of grid should be a configuration option.

duplicated as #137


Add default riak_cs_wm_common's multiple_choices callback  [JIRA: RCS-221]

And remove the identical implementations in sub-modules.
Without this default function, riak_cs_wm_common:undefined/2 is
called and eventually code_server:call() is hit unless sub-module
does not implement it. This is one of possible bottleneck in
processing HTTP request in Riak CS.

Checked manually it's working by
> redbug:start("error_handler:undefined_function -> return", [{msgs,100},{max_msg_size,<PHONE_NUMBER>999}]).

and hitting some API with curl curl -v -s -i http://localhost:8080/test-bucket/a .
{error_handler,
                                              undefined_function,
                                              [riak_cs_wm_common,
                                               undefined, ....

@borshop merge

For release note:
Add default callback of multiple_choices to riak_cs_wm_common to prevent bothering code_server, which could possibly be bottleneck.
[posted via JIRA by Kota Uenishi]


Update modules-control-panel.adoc

Indicate how to add the control panel module

@alvarosanchez @melix should should add this to starter when someone adds control-panel feature? https://github.com/micronaut-projects/micronaut-test-resources/pull/476/files

That's the control panel for the test resources module itself. So you could use the control panel in test resources without using control panel in your own app and vice-versa. Maybe the easiest is actually to include the control panel by default in starter when test resources are enabled, it's useful anyway.

include the control panel by default in starter when test resources are enabled

This is what I agree with

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


Some Type are doesn't exported

For example QueryKeys, QuerierInput. I want to using it as directive for query param.

I have pushed a change to export all to the root so that you can import them with a simple import like this:
import {QueryKeys} from '@hexlabs/dynamo-ts';
You can make use of them today with the direct import like this:
import { QueryKeys } from '@hexlabs/dynamo-ts/dist/dynamo-querier';


Update ChartReportPage.jsx

This PR add pan to zoom and show dot only on mouse hover for the chart in the report page.

Can you provide a screen capture of what it looks like now.

Yes @tananaev
https://github.com/user-attachments/assets/cbf9af3e-6397-4d52-871e-7a36a694b23a

It doesn't look like the time is formatter in the Brush.

Thank you, i have two suggestions, i could remove the time or leave it with a good format. see the two outcomes below
https://github.com/user-attachments/assets/8c6c0467-848a-46fc-afc8-743b9437ec9e
https://github.com/user-attachments/assets/c31189d6-43a0-4698-8379-5cc8b93668d6
Which do you suggest?

I guess the second option looks better for now. At least the text is not cut off.


Someone to maintain osx-config-check?

https://github.com/kristovatlas/osx-config-check
For non-techies, it's difficult to know if macOS is (and router, network, vpn... are) correctly set.
OSX-CC is no more updated since 2 years.
Thanks

I'm using lynis to verify my system configurations. It's a commercial software but free for non-commercial use. It's frequently maintained and updated, and is available to various operation systems. The only downside is some of it's recommendation are more suitable for linux distributions. Maybe someone could adopt this project but borrow some ideas from lynis?

@lebensterben Thanks. I have use it and mention it several months/years ago.
Had to change a small explanations to install it on mac, they update it after I had contact them.
Was ok on mac, good recommendations.
Their new plugins seems interesting, firewall, rules, tables... will take a look.

Please file this issue against that repository.


Mailto Linking fails on IOS

Description
All other links work fine: sms, tel, urls EXCEPT mailto.
const url =<EMAIL_ADDRESS>Linking.canOpenURL(url)
.then(supported => {
if (!supported) {
console.log('email failed');
} else {
url = encodeURIComponent(url);
return Linking.openURL(url);
}
})
.catch(err => cosole.log(err));
On a real device, supported is always false
on a simulator, supported is true, but openURL fails with this message
[Unable to open URL<EMAIL_ADDRESS>I already have the info.plist section:
LSApplicationQueriesSchemes

tel
telprompt
sms
mailto
file

as well as the AppDelegate.mm
#import <React/RCTLinkingManager.h>

(BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
return [RCTLinkingManager application:application openURL:url options:options];
}

// Enable Universal links

(BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity
restorationHandler:(nonnull void (^)(NSArray<id> * _Nullable))restorationHandler
{
return [RCTLinkingManager application:application
continueUserActivity:userActivity
restorationHandler:restorationHandler];
}

React Native Version
0.72.3
Output of npx react-native info
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M2 Pro
Memory: 93.53 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.16.1
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.5.1
path: /usr/local/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /Users/saadalla/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.19
path: /usr/bin/javac
Ruby:
version: 2.7.5
path: /Users/saadalla/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.3
wanted: 0.72.3
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
const url =<EMAIL_ADDRESS>Linking.canOpenURL(url)
.then(supported => {
if (!supported) {
console.log('email failed');
} else {
url = encodeURIComponent(url);
return Linking.openURL(url);
}
})
.catch(err => cosole.log(err));
Snack, screenshot, or link to a repository

Here is the reproducible example

The reproducible repohttps://github.com/saadalla/RN-Linking-email-error.git

The repo: https://github.com/saadalla/RN-Linking-email-error.git


Improvement refine tools schema

pick from https://github.com/apache/doris/pull/45778

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


Article needs to be updated to get a SAML setup correctly

The article for the saml2 setup (https://www.baeldung.com/spring-security-saml), fails a SLO. As the it does not mention anything in regard to adding a SP Issuer, which will lead to SP SLO failure, while IDP initiated logins would work well.
The SP Issuer needs to be same as the "Audience Restriction".
I have tried and verified this. As without the SP issuer I can see the following log in my Okta:
Apr 02 19:50:06

Siddharth Baranidharan (User)
User single sign out from app
FAILURE: Issuer does not match
SAML SLO  (AppInstance)
Siddharth Baranidharan  (AppUser)

Requesting to update the document, will help other folks implement without any issues :)

please!! post de solution!


You have defined query method in the repository but you don't have any query lookup strategy defined

env
springboot 2.0.9.RELEASE
jest 6.3.1
spring-boot-starter-data-jest: 3.2.5.RELEASE
error
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertRepository': Invocation of init method failed; nested exception is java.lang.IllegalStateException: You have defined query method in the repository but you don't have any query lookup strategy defined. The infrastructure apparently does not support query methods!
seems cannot use @Query

Hi @Zuckonit , Is "@Query" the only things that doesn't work or other elasticsearch feature work fine ( like save, findByXXX) ?

@Zuckonit  Can you provide us an update for this issue ?

yes only query

Hi @Zuckonit It's seem's that it could be an dependencies conflict.
Indeed, spring-boot-starter-data-jest 3.2.5.RELEASE target SpringBoot 2.1 not 2.0.x.
So spring-data-elasticsearch and spring-data-commons not match.
Try to add this property to your maven / gradle project to override spring-data version :
spring-data-releasetrain.version = Lovelace-SR17


⚠ POST to /auth/login has degraded performance

In fc909ef, POST to /auth/login (https://dev.factiverse.no/v1/auth/login) experienced degraded performance:

HTTP code: 200
Response time: 19525 ms

Resolved: POST to /auth/login performance has improved in 2d25428.


install error

I have installed version 0.1.9 of @cornerstonejs/dicom-codec in my project. After the installation, errors were reported indicating that corresponding files could not be found at:
@cornerstonejs/codec-charls/wasmjs in<EMAIL_ADDRESS>@cornerstonejs/codec-libjpeg-turbo-8bit/wasmjs in<EMAIL_ADDRESS>@cornerstonejs/codec-openjpeg/wasmjs in<EMAIL_ADDRESS>I suspect that the package versions on which your npm package depends may not correspond correctly.

I believe that issue was transient and resolved in 0.1.10

As noted, I believe this is resolved in later version - there was a known issue there.


Update Get-SPEnterpriseSearchCrawlMapping.md

Update example

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Get-SPEnterpriseSearchCrawlMapping.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


optimize: Add a unit test when the initial F is NaN or Inf

Again, I don't recall what exactly I intended with this, it was in my beginnings with Go/Gonum. But now that we have this here anyway: we check for NaN or Inf in the local methods in getStartingLocation but perhaps we could check the initial location at a higher level in Minimize.

I checked the code again and I think it is best to leave it up to individual methods how they deal with NaN/Inf initial function values.


concurrent tree.versions read and tree.versions write

The map versions in MultableTree have concurrent reading and writing, which may cause panic

write function: SaveVersion

tree.versions[version] = true

read function: VersionExists

func (tree *MutableTree) VersionExists(version int64) bool {
	return tree.versions[version]
}

this is fixed in 0.17.3


update package.json on systemjs

it seems that the seed is using angular beta version (can you please update this seeder) 😄

We are going to focus on npm + WebPack from now on.


Updated

Xss hunter payload can be dervied from user input and used with dalfox.
https://medium.com/bugbountywriteup/automating-xss-using-dalfox-gf-and-waybackurls-bc6de16a5c75
As the blog describes dalfox file testxss.txt -b tigv2.xss.ht pipe, we can insert our payload using the -b flag.
./Quickxss target test.xss.ht ==> This would be a efficient formating.
Thanks.

Yes tested and working!

I would like you to double check!
Thanks.

Thanks for contributing to QuickXSS ! @kabilan1290


Update gluon notebooks + Add Gluon RNN

update CNN / inference
add RNN Gluon notebook

interestingly if data had TNC layout, Gluon would be 2x faster.

I think TNC is the equivalent of going batch-first for CNNs, avoids a reshape on the CuDNN level and much faster. I guess for consistency at some point should re-run the notebooks under CUDA 9.1 then to match your examples. Although, might be easier to keep these as just examples and use the multi-gpu for anything close to a benchmark

On this one I get exact same performance between pytorch and gluon on my setup, I think as you said it is a straight call to cudnn


chore: Upgrade Cypress to 10.11.0

SUMMARY
Cypress 10.2.0 is the earliest Cypress version that natively supports Apple Silicon. Almost all changes in this PR were done automatically by Cypress's migration tool and the tests are still working just like in our old v7.0.0 without changes.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

We're entering the modern age! Hooray!

We still have 2 major versions to catch up on ;) But we're getting there!


Improve responsive elements of footer

The footer needs to be tweaked to be more responsive. The links on the left get squished on mobile and site description overlaps.

Fixed


Adding a line for compiling the code with clang.

Enables compilation using clang. Anyone wants to fix it ? Because it's not compiling at the moment. (See travis results below).
Also as an added bonus, fixing the gcc-4.4 test, which wasn't, in fact, working properly.

Let's do this on Jenkins.


create a Tic-Tac-Toe game

Describe the project you want to add with tech stack
HTMl, CSS, JavaScript
Expected behavior
Users can easily play a simple tic tac toe game and it tells the winner

@pranjay-poddar  please assign me this issue

Its already been added


Improve detection for Eclipse 4.8 test source sets in the classpath file

Improve the detection to not rely on the configuration name containing "test" and instead include configurations that extend the "test" configuration or preferably have an inheritable "test" flag/setting on configuration (i.e., any configuration can be marked as "test" without needing "test" in its name).
Expected Behavior
Configurations/source sets that extend the "test" configuration, or preferably have a "test" flag/setting, produce corresponding entries in the .classpath files with a "test" classpath attribute. Buildship would then appropriately flag these as containing test sources.
Current Behavior
The detection for tests source sets is base solely on the name containing case-insensitive "test" in the configuration name (https://github.com/gradle/gradle/pull/9484/files#r426102966). It does not take into consideration that a configuration extends "test" but does not have test in the name. It is based on a "magic" naming convention. It is susceptible to false positive matches 'conTESTant', however unlikely that may be.
Context
My company has over a hundred projects with an "acceptance" configuration that extends the "test" configuration. Using these projects with Gradle 6.4 and Eclipse 4.15 now causes missing classpath dependencies for the "acceptance" source set (most notably the groovy-all). I can't change the configuration names in all of my companies projects; especially being one of the only Eclipse users in the company. I could, however, justify adding a test setting to configurations or if the source set or configuration extends test it could pick up the setting from there.
This is how the "acceptance" source sets are defined:
sourceSets {
    acceptance {
        groovy.srcDir file('src/acceptance/groovy')
        resources.srcDir file('src/acceptance/resources')
        compileClasspath += sourceSets.test.compileClasspath
        runtimeClasspath += sourceSets.test.runtimeClasspath
    }
}

Current Workaround
Augment all Gradle builds via ~/.gradle/init.gradle to modify the eclipse classpath:
allprojects {
    if (project.plugins.hasPlugin(EclipsePlugin)) {
        eclipse.synchronizationTasks {
            eclipse.classpath.file.whenMerged {
                entries.findAll { entry ->
                    entry.class.name in [
                        'org.gradle.plugins.ide.eclipse.model.Library',
                        'org.gradle.plugins.ide.eclipse.model.SourceFolder'
                    ]
                }.each { entry ->
                    if (entry.entryAttributes['gradle_used_by_scope'] == 'acceptance') {
                        entry.entryAttributes['test'] = 'true'
                    }
                }
            }
        }
    }
}

Your Environment
Gradle 6.4 and Eclipse 4.15.

We could do something about this as part of test suites #2792


Fix condition error with accepted_payload_size

The integer comparison will fail when accepted_payload_size is undef.
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Comparison of: Undef Value < Integer, is not possible. Caused by 'Only Strings, Numbers, Timespans, Timestamps, and Versions are comparable'. (file: /puppet/modules/haproxy/manifests/resolver.pp, line: 125, column: 30)

Before I saw this PR, I added a patch for this in a separate pr: https://github.com/puppetlabs/puppetlabs-haproxy/pull/526
Sorry--I would have commented here instead if I had seen this first.
Still, I think the approach I took is probably better, due to:

using puppet's type system for built-in input validation
adding tests

Either way, I hope one of our PRs gets merged.


library_preparation_protocol.library_construction_method.ontology_label differs markedly from text

We might want to check this one as the ontology_text says 10X 5' v2 sequencing but the ontology_label says 10X 3' v2 sequencing. One of them may be a typo.

Project Detail Page
project_id
library_preparation_protocol_id
ontology_id
ontology_label
text

https://data.humancellatlas.org/explore/projects/9d97f01f-9313-416e-9b07-560f048b2350
9d97f01f-9313-416e-9b07-560f048b2350
71f59197-d9fe-4ced-b2c7-43cbfecc5eb4
EFO:0009899
10X 3' v2 sequencing
10X 5' v2 sequencing

For context see
https://docs.google.com/spreadsheets/d/1Wk7SGxEz00AkNokYv3YlFHJVF9U6THKcrvgHARsnau8/edit#gid=0
and
https://github.com/HumanCellAtlas/dcp2/issues/13

This was wrangled by Parisa, I will ask her to clarify which is correct.

I can not fix this issue until Parisa confirms what the correct library preparation technology versions were used for each of the two library preparation protocols in the project.
library_preparation_protocol.uuid   library_preparation_protocol.protocol_core.protocol_id  library_preparation_protocol.protocol_core.protocol_name    library_preparation_protocol.protocol_core.protocol_description    library_preparation_protocol.library_construction_method.text   library_preparation_protocol.library_construction_method.ontology    library_preparation_protocol.library_construction_method.ontology_label library_preparation_protocol.library_construction_kit.retail_name
71f59197-d9fe-4ced-b2c7-43cbfecc5eb4    LP_a30170acbd2e4c58c9e3ce4445691dfe Genomics_prep_10x_5'_v2 The single-cell capturing and downstream library constructions were performed using the Chromium Single Cell 5′ library or 3' v2 library preparation kit according to the manufacturer’s protocol (10x Genomics).    10X  5' v2 sequencing   EFO:0009899 10X 3' v2 sequencing    Chromium Single Cell 5′ v2 library preparation kit
cded2c1e-c49b-4e2c-9b32-6c14553a5f0b    LP_a30170acbd2e4c58c9e3ce4445691dfe.1   Genomics_prep_10x_3'_v2 The single-cell capturing and downstream library constructions were performed using the Chromium Single Cell 5′ library or 3' v2 library preparation kit according to the manufacturer’s protocol (10x Genomics).    10X 3' v2 sequencing    EFO:0009900 10X 5' v2 sequencing    Chromium Single Cell 3′ v2 library preparation kit

I am still blocked from progressing on this update until I get the necessary information from Parisa to my query email of 28/5/2021.

It is 5' and 3' it just seems that the ontologies were accidentally switched. Follow the name and other information for which is which

Thank you @willrockout .

I have swapped the ontology terms and IDs so that they match the library_preparation_protocol.protocol_core.protocol_name

Genomics_prep_10x_5'_v2	-->	10x 5' v2 (EFO:0009900)
Genomics_prep_10x_3'_v2	-->	10x 3' v2 (EFO:0009899)

I am trying to export the updated to the DCP now.

I have export the updated project,
and filled-in the DCP import form

The update should fix the ontology issue.

Thanks, Ray!
Do you know what release this will end up in?
Cheers,
D
On Fri, Jun 11, 2021 at 10:33 AM Ray Stefancsik @.***>
wrote:

I have export the updated project
https://contribute.data.humancellatlas.org/projects/detail?uuid=9d97f01f-9313-416e-9b07-560f048b2350
,
and filled-in the DCP import form
https://docs.google.com/forms/d/e/1FAIpQLSeokUTa-aVXGDdSNODEYetxezasFKp2oVLz65775lgk5t0D2w/viewform?gxids=7628

The update should fix the ontology issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ebi-ait/hca-ebi-wrangler-central/issues/335#issuecomment-859734932,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYW6ENJTLKSNOTX63JOT3LTSJCFLANCNFSM45D7KRZQ
.

--
Dave Rogers
Partner, Clever Canary
M:<PHONE_NUMBER>
http://clevercanary.com
@CleverCanary
@_DaveRogers
https://www.linkedin.com/pub/dave-rogers/0/90/92

Release 7 is the target.

Thank you.
On Fri, Jun 11, 2021 at 10:55 AM Ray Stefancsik @.***>
wrote:

Release 7 is the target.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ebi-ait/hca-ebi-wrangler-central/issues/335#issuecomment-859746192,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYW6EKENPCUZJLZ77U5NFDTSJEZDANCNFSM45D7KRZQ
.

--
Dave Rogers
Partner, Clever Canary
M:<PHONE_NUMBER>
http://clevercanary.com
@CleverCanary
@_DaveRogers
https://www.linkedin.com/pub/dave-rogers/0/90/92


IGNITE-17612 Fix TableScanNode data propagation.

@korlov42  @AMashenkov  plz review ? TC problems are the same as for main branch .NET

@korlov42 @ygerzhedovich guys, plz check it ? thanks !


A non markdown LICENSE file:

Context of Change
LICENSE.md broke packaging
Another option for #3930
Type of Change

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

It's only visible if it's in the develop branch 😑

Might also be useful to tag file with https://spdx.dev/ - but that's a bigger change.


Centralize SSL configuration and certificate provider factory

Is your feature request related to a problem? Please describe.
The TLS/SSL config has not been unified across plugins (otel-trace-source, http, peerforwarder). It should be unifiable so that all plugins could reuse the same config and CertificateProviderFactory.
Describe the solution you'd like
We need to sort out all necessary TLS/SSL config parameters and document them in a separate TLS/SSL module
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This can be solved using plugins similar to what Data Prepper does for authentication (see #464).
Example for the file-based certificates:
http:
  ssl: true
  certificate:
    file:
      certificate_path: /usr/share/my/path/public.cert
      private_key_path: /usr/share/my/path/private.key

Example for the S3-based certificates:
http:
  ssl: true
  certificate:
    s3:
      certificate_uri: s3://mybucket/my/key/public.cert
      private_key_uri: s3://mybucket/my/key/private.key

Example for the ACM-based certificates:
http:
  ssl: true
  certificate:
    acm:
      arn: arn:...
      passphrase: secret

Related issue to add support for AWS secrets manager #1679

This would also be a great addition for Kafka topics


Compilation issues using Clion and MinGW64

Unable to build using apathy with the following;

Clion 2016.1
MinGW-64 3.4
Cmake 3.4.2 (Dont see how this would matter but listing anyways.)

Console output;
In file included from C:\Users\Orcu\ClionProjects\Geckotail\Geckotail-main\src\service\geckoFilesystem.cpp:6:0:
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp: In function 'void* mmap(void*, size_t, int, int, int, off_t)':
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp:323:81: error: 'void* mmap(void*, size_t, int, int, int, off_t)' was declared 'extern' and later 'static' [-fpermissive]
 void* mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset)
                                                                                ^
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp:311:7: error: previous declaration of 'void* mmap(void*, size_t, int, int, int, off_t)' [-fpermissive]
 void* mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset);
       ^
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp: In function 'void munmap(void*, size_t)':
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp:376:38: error: 'void munmap(void*, size_t)' was declared 'extern' and later 'static' [-fpermissive]
 void munmap(void* addr, size_t length)
                                      ^
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp:312:6: error: previous declaration of 'void munmap(void*, size_t)' [-fpermissive]
 void munmap(void* addr, size_t length);
      ^
In file included from C:\Users\Orcu\ClionProjects\Geckotail\Geckotail-main\src\service\geckoFilesystem.cpp:6:0:
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp: At global scope:
C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp:1296:14: error: conflicting declaration 'typedef int mode_t'
  typedef int mode_t;
              ^
In file included from C:/mingw64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:26:0,
                 from C:/Users/Orcu/ClionProjects/Geckotail/Geckotail-main/deps/include/apathy/apathy.hpp:40,
                 from C:\Users\Orcu\ClionProjects\Geckotail\Geckotail-main\src\service\geckoFilesystem.cpp:6:
C:/mingw64/mingw64/x86_64-w64-mingw32/include/sys/types.h:77:17: error: 'mode_t' has a previous declaration as 'typedef _mode_t mode_t'
 typedef _mode_t mode_t;
                 ^

Moving the static keyword from the two function definitions to the declarations shut up the static issue, but the mode_t redefinition still exists. I likely can jerry rig the rest, but i thought i would report this.

should be fixed in current master branch. let me know if it doesnt :)

Everything appears to be compiling now without issue. Nice speedy recovery.

:+1: :)


General updates to the HPC docs page

I've recently started working more with Dask on HPC and thought it is a good opportunity to update the docs page.
High-level changes:

Improve Dask MPI section.
Discuss the differences in deployment model between dask-jobqueue and dask-mpi more thoroughly.
Add Dask Gateway section.
Update the Jupyter section to use the new --jupyter flag.
General hierarchy updates.

It might also be nice to update the High Performance Network section to talk about UCX, but I could only find NVIDIA/GPU specific examples. It would be good to be more generic here and just talk about IB. cc @pentschev in case you have thoughts
I also haven't added a GPU section, but it might be useful to folks and we could talk at a high level and then direct them to RAPIDS docs for this. Wanted to check with folks like @mrocklin, @jrbourbeau, @fjetter before doing this. I can always add this in a follow up.
cc @kmpaul for dask-mpi

Thanks for the reviews @kmpaul @betatim. I'm keen to get this merged tomorrow if there are no further comments.
@jrbourbeau the RTD CI seems to be failing with a whole load of errors. I'd be surprised if this PR introduced them. Are things in a broken state generally?

It might also be nice to update the High Performance Network section to talk about UCX, but I could only find NVIDIA/GPU specific examples. It would be good to be more generic here and just talk about IB. cc @pentschev in case you have thoughts

This may be useful, I'm only not sure if there are any non-GPU InfiniBand users out there currently. We can always say using protocol="ucx" will enable InfiniBand support (although IPoIB may be available for those machines where IB interfaces have proper routing/IP addresses configured even without UCX and the user explicitly identifies the ibX network interface for comms), but I'm not currently aware of any CPU-only benchmarking either, although I think this is something we could do.
Do you have something more specific in mind you would like to have documented other than the general guidelines I mentioned above?

@pentschev there are definitely folks out there using IPoIB as many docs pages and examples show how to set your interface to the IB one. I just wondered what the current state of non-GPU UCX in Dask is and whether we should point folks to it?

@pentschev there are definitely folks out there using IPoIB as many docs pages and examples show how to set your interface to the IB one. I just wondered what the current state of non-GPU UCX in Dask is and whether we should point folks to it?

I'm not familiar with any technical shortcomings, for all I know it should all "just work". Pointing users to it seems like a great idea, we would essentially need to tell them to use protocol="ucx" and specify --interface pointing scheduler and workers to an IB interface, that should be all. The only point I was trying to make previously is that we (RAPIDS) haven't tested CPU-only workflows with IB, but there's no reason to believe they wouldn't work.


feat(opentelemetry): sampling rate configuration option

Summary
Sampling rate can now be configured by plugin (OTel) instead of it just being a global setting
If not configured, the global setting still applies.
This also fixes a small bug where, in the edge case of opentelemetry being used for propagation only (instrumentations disabled), the sampled flag was incorrectly set to true although no span was sampled for that request.
Includes tests to cover more configuration scenarios (esp. different sampling rates) and verify propagation is done correctly.
Checklist

[x] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[x] (no) There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

new configuration field for Opentelemetry: config.sampling_rate that allows setting sampling_rate "by plugin" instead of globally.

Issue reference
KAG-3126

@chobits @brentos - please proved some feedback.


Pod to service connectivity lost after upgrade to microk8s snap version 1.18.8

inspection-report-20200828_084931.tar.gz
We have upgraded our microk8s one node instance running on Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-112-generic x86_64) from snap version 1.18.6 to snap version 1.18.8. After the upgrade everything was first looking fine. Then after a reboot of the node, all of our pods lost connectivity to all services (type ClusterIP) which they are talking to. We noticed that pod to pod connectivity ist still working. Only pod to service connectivity is affected. Here's an example of a pod and a service:
this@citbuild:~$ kubectl get pod mds-mongodb-deploy-6d769cbbc9-xjrmf -o wide
NAME                                  READY   STATUS    RESTARTS   AGE     IP          NODE         NOMINATED NODE   READINESS GATES
mds-mongodb-deploy-6d769cbbc9-xjrmf   1/1     Running   18         2d19h   <IP_ADDRESS>   citads-dev   <none>           <none>
this@citbuild:~$ kubectl get svc mongodb
NAME      TYPE       CLUSTER-IP      EXTERNAL-IP   PORT(S)           AGE
mongodb   NodePort   <IP_ADDRESS>   <none>        27017:31712/TCP   65d

Then, from an other pod we see
/ # nc -v <IP_ADDRESS> 27017
<IP_ADDRESS> (<IP_ADDRESS>:27017) open

but
/ # nc -v <IP_ADDRESS> 27017
nc: <IP_ADDRESS> (<IP_ADDRESS>:27017): Connection timed out

We have checked the kube-proxy logs and iptables on the node citads-dev according to the k8s networking troubleshooting guide and both look ok (glad to look more closely, if anyone has specific things to check).
Does anyone have any hints on how to analyze this further? Feel free to let us know, of you need more information.

@mkretz I see that there are services reported with kubectl get svc but the ServiceList in kubectl cluster-info --dump is almost empty.  Is there anything special with the deployment you have? Anything that may interfere with the network/firewall of the node? How did you do the upgrade? Just checked that it has been months since we pushed anything to the 1.18 branch [1] so the only thing that changed should be the k8s binaries but I do not see anything in the change log [2].
[1] https://github.com/ubuntu/microk8s/commits/1.18
[2] https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.18.md#downloads-for-v1188

@ktsakalozos the point about the service list not matching is indeed strange. We will investigate that. Thanks for the hint!
There is nothing special about the deployment, at least not intentionally. It's a snap-based microk8s on an Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-112-generic x86_64) server.


Unable to login using the new Fine-grained PATs, even with all open permissions

Extension version: v0.80.1
VSCode Version: 1.86.1
OS: Ubuntu-22.04 / Windows-11 / AlmaLinux-9
Repository Clone Configuration (single repository/fork of an upstream repository): single repository (private repo on my github.com account)
Github Product (Github.com/Github Enterprise version x.x.x): github.com
Tested with Code-Server
Tested inside docker containers
Tested inside podman containers

Steps to Reproduce:

Create a New Fine-Grained PAT with all permissions

Login into the extension.
Cancel the login with device code flow.
Login with PAT.
Enter the PAT when prompted.
Get the error.

Expected result: The login should succeed.
Error log: On VSCode
2024-02-14 18:20:55.397 [info] Logging in for the following scopes: read:user repo user:email workflow
2024-02-14 18:20:55.403 [info] Trying device code flow... (read:user repo user:email workflow)
2024-02-14 18:20:58.381 [error] User Cancelled
2024-02-14 18:21:29.362 [info] Trying to retrieve PAT... (read:user repo user:email workflow)
2024-02-14 18:21:58.695 [info] Getting token scopes...
2024-02-14 18:21:59.077 [error] The provided token does not match the requested scopes: read:user repo user:email workflow
2024-02-14 18:21:59.078 [error] Error: No auth flow succeeded.

Error log: On Code-Server with the same versions as mentioned above.
2024-02-14 18:15:28.793 [info] Logging in for the following scopes: read:user repo user:email workflow
2024-02-14 18:15:28.824 [info] Trying device code flow... (read:user repo user:email workflow)
2024-02-14 18:15:32.660 [error] User Cancelled
2024-02-14 18:15:34.181 [info] Trying to retrieve PAT... (read:user repo user:email workflow)
2024-02-14 18:15:42.359 [info] Getting token scopes...
2024-02-14 18:15:43.000 [error] The provided token does not match the requested scopes: read:user repo user:email workflow
2024-02-14 18:15:43.001 [error] Error: No auth flow succeeded.
	at a.GitHubServer.login (/usr/lib/code-server/lib/vscode/extensions/github-authentication/dist/extension.js:2:260240)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async a.GitHubAuthenticationProvider.createSession (/usr/lib/code-server/lib/vscode/extensions/github-authentication/dist/extension.js:2:256713)

The plugin works well with the classic token, but I couldn't figure out the scope for the fine-grained token. So I started with bare-minimum permissions on the fine-grained token and with each failure added new permissions.
I ended up with the most open permissions possible and still I was not able to log in with the fine-grained token.
I tried this on VS Code on Linux (Ubuntu and Almalinux9) and Windows-11. Furthermore, I tried this with Code-Server on Linux with containers (podman as well as docker) and without containers on Ubuntu/Almalinux9. Each time I ensured that the versions for VS Code and extension is same. Did a lot of permutation and combinations with other versions (older) of VS Code and extension but each time the issue persists when I use the new fine-grained PAT. However, each time it works when I use the old classic token.
The error doesn't feel to be related to VS Code/Code-Server.
This issue is not breaking my workflow. It was something that I thought of trying while I was tinkering with the new fine-grained PAT's.
Question: Is this a bug, or something that is not yet implemented, or I'm doing something wrong, or it's a classic it works on your system but not on mine case?

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

The provided token does not match the requested scopes: read:user repo user:email workflow

PAT v2 scopes I guess maybe don't have the same scopes as the classic scopes... Since it's unclear how to map the old scopes to the new scopes, I can at least ask the user something like... "we couldn't validate that this token has enough permissions for the requesting extension. Things may not work as expected. Are you sure you want to continue?"

@TylerLeonhardt

I can at least ask the user something like... "we couldn't validate that this token has enough permissions for the requesting extension. Things may not work as expected. Are you sure you want to continue?"

Something similar (error message) should be enough for the time being and would be a better than the current message. However, since the PATv2 is not yet implemented, it would be better to explicitly inform the user that it's not yet supported and use the PATv1. Further, the type of PAT can be determined by the user input since the classic PATs start with ghp_ and the PATv2s start with github_pat_. So even before the API request is made, this message can be displayed.
In the long term, till PATv2s are not GA, this message should do the trick but PATv2 implementation might become the requirement once they are GA or even before as the PATv2s provide better access control at the repository level.
Maybe, a one-to-many relationship w.r.t. scopes can be done where a multiple scopes from PATv2 are mapped to a single PATv1 scope. Another way could be to check against a pre-defined list of PATv2 scopes, since we have a finite number of scopes required for this to work in PATv2.
I think that the  scopes: read:user repo user:email workflow from PATv1 are similar to the combination of scopes  Read and Write access to code, commit statuses, issues, pull requests, and repository hooks and  Read access to email addresses from PATv2.
What do you think?

it would be better to explicitly inform the user that it's not yet supported and use the PATv1

This is a good point. We should do this instead.
I agree that once PATv2 goes GA, we probably need to support this better. Your suggestions makes sense. Maybe a mapping is a good start, and pragmatic... especially since the PAT auth is really for only:

GitHub.com auth with Code - OSS and not VS Code (we don't allow PATs for VS Code auth because Settings Sync cannot use PATs)
GitHub Enterprise auth

It's not used by many users.


Support CreatePCA pattern for NAA apps

This PR adds two new public APIs:

createNestablePublicClientApplication and createStandardPublicClientApplication as exportable functions.
Moving these functions out of PCA class helps us to eventually clean up and provide a better size output for NAA only apps.

The usage pattern still remains the same:

Create nestedPCA if the OperatingContext matches
Fall back to standardPCA as default

PublicClientNext will eventually see removal in any NAA support as we make changes. We will add notice that PCANext will not be following semver in the upcoming releases, so we can experiment with the future changes using that class once this pattern is adapted.

any chance you can merge https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/7081 into here while you're changing this? I don't seem to have whatever permissions are required to get a working build.

any chance you can merge #7081 into here while you're changing this? I don't seem to have whatever permissions are required to get a working build.

Sure. I can.

any chance you can merge #7081 into here while you're changing this? I don't seem to have whatever permissions are required to get a working build.

Sure. I can.

I pulled these into the cache PR.


Minor revisions to readme and changelog.

Clarified python versions in installation instructions.
Minor edit to changelog, removed version 1.4.5 as it was never released.

I would like to keep the installation instructions as short as possible, in my opinion going into too much detail for rarely used Python versions just confuses most other users...
We cannot support Python 3.3 because it is not supported anymore by numpy's C API. But we could however support Python 3.4. Is there are reason why it would be good to support Python 3.4? Tensorflow also only supports Python 3.5 and later (https://pypi.org/project/tensorflow/#files) and matplotlib only support Python 3.6 and later (https://pypi.org/project/matplotlib/#files).

Closed, used https://github.com/hickford/primesieve-python/commit/18385506977a1f2382bc85e0e14fe12bd65f0587 instead.


aws ecs support

Motivation
Let's say you want to know if there're volumes attached to a task definition. It should be possible to retrieve it.
Desired Behavior
Be able to search all data&resources defined in ECS.
Additional Context
No response

https://github.com/someengineering/resoto/pull/1169


Fix the decrepit documentation with tut

tut supports inline examples.  We have an existing solution with the code_ref tag, but we're not using it to great effect.  I find interspersing the code examples with the docs makes it more likely the two will line up, and that friction points become more obvious.  It's being used successfully on doobie and cats, and I think it is a good fit for us.

Work is already underway in the topic/tut branch.

This is actually happening on tut-this-time-i-mean-it.  See #546.


The accuracy of nccopy documentation, NUG entries need to be verified

As reported by @lesserwhirls:
PR #1087 introduced an alternative form for per-variable chunking, as described below:
So using nccopy, you can set a chunkspec based on dimensions like so:
-c dim1/chunkSize2,dim2/chunkSize2,dim3/chunkSize3

According to this PR, it looks like the chunkspec was extended to allow a per-variable chunking, using
-c var:c1,c2,...ck

where var is the name of the variable and ci is the chunksize for the ith dimension of that variable. However, I don't see this second form documented in the man page of nccopy , and the entry in the NUG describing the chunkspec option says that you cannot use nccopy to chunk variables independently.
It is unclear if this new form was added and the supporting documentation was never updated, or if the new form was removed at some point.  Either way, we just need to verify that the documentation is accurate.  Tagging @DennisHeimbigner in as well.

It looks like the man page is updated and correct - the issue was that I was looking at the output of nccopy -h, which does not show an example of the variable level chunking syntax (might be too much text to add there, though). The NUG page should be updated. @ethanrd


0.4.1

[x] Content modification
[x] Spell check
[x] Formatting keywords
[x] Removing more-information tab (it will be modified and added in the next release)
[ ] Font and style change
[x] Add additional screenshots where it is required

Font and style changes will be added in the next release.


I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Sorry, your issue will be closed as you did not submit your information in the correct format.


Firefox no longer shutting down on Windows bot

During the unit tests Firefox is hanging and is stuck open, which then causes the bot to crash when it attempts to wipe out the install.

This was from python 3.9 causing the font unit tests to fail.


Remove InstructionAnnotation

HGV toll is the default for motorways and trunks in a lot of countries. Displaying a toll warning for Toll.HGV isn't that helpful for truck drivers and will confuse owners of non-HGV vehicles.

Have a look at https://discuss.graphhopper.com/t/using-instruction-annotations/6005
I think we should get rid of annotations in general :).

Agreed but that would require changes on the client side if i'm not mistaken?

If you want to show the same information on the client as it was before, yes. But I think for the change on the GraphHopper side it should be enough to just remove the annotation handling in the Instruction generation.

@boldtrn i've completely removed the InstructionAnnotation

Thanks, good idea to remove that (have changed the title of this issue accordingly). Can you also have a look into the gh maps JS code? (we can later add support for toll, ferry, ... via path details)

@karussell i've removed the annotation handling from instructions.js and updated the API documentation

Since this is a breaking change, should we mention it in the changelog?

@karussell @boldtrn done

Thanks!


Carriage are a little too independent

Carriages should get their speed from the train, to ensure its consistent
Carriages should perhaps also always get their position based off the train, so its impossible for gaps to open up.

We could also then even represent the carriage drawing routine as 2 points on a track (one for each wheel pivot point), instead of a single point with an angle. This would better mimic how a train goes round a corner in the real world :)

Yeah, having two points makes sense for hit testing too as per #15. There wouldn't be any gaps between carriages if we properly knew where they were

Started work within #22


ForeignKey in resource: AttributeError: 'str' object has no attribute '_saved_in_db'

class Category(CoreModel):
    parent = fields.ForeignKeyField('models.Category', related_name='children', null=True)

class CategoryResource(CustomModel):
    fields = [..., Field('parent', input_=inputs.ForeignKey(Category, null=True))]

I added the input to do the nullable field, now I can create an object with blank input, but I can't create an object with selected parent and get that error:
web      | Traceback (most recent call last):
web      |   File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 398, in run_asgi
web      |     result = await app(self.scope, self.receive, self.send)
web      |   File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
web      |     return await self.app(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 208, in __call__
web      |     await super().__call__(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 112, in __call__
web      |     await self.middleware_stack(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 181, in __call__
web      |     raise exc from None
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in __call__
web      |     await self.app(scope, receive, _send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 86, in __call__
web      |     await self.simple_response(scope, receive, send, request_headers=headers)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 142, in simple_response
web      |     await self.app(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
web      |     raise exc from None
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 71, in __call__
web      |     await self.app(scope, receive, sender)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 580, in __call__
web      |     await route.handle(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 390, in handle
web      |     await self.app(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 208, in __call__
web      |     await super().__call__(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 112, in __call__
web      |     await self.middleware_stack(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 181, in __call__
web      |     raise exc from None
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in __call__
web      |     await self.app(scope, receive, _send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 25, in __call__
web      |     response = await self.dispatch_func(request, self.call_next)
web      |   File "/usr/local/lib/python3.9/site-packages/fastapi_admin/providers/login.py", line 135, in authenticate
web      |     response = await call_next(request)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 45, in call_next
web      |     task.result()
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
web      |     await self.app(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 25, in __call__
web      |     response = await self.dispatch_func(request, self.call_next)
web      |   File "/usr/local/lib/python3.9/site-packages/fastapi_admin/middlewares.py", line 19, in language_processor
web      |     response = await call_next(request)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 45, in call_next
web      |     task.result()
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
web      |     await self.app(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
web      |     raise exc from None
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 71, in __call__
web      |     await self.app(scope, receive, sender)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 580, in __call__
web      |     await route.handle(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 241, in handle
web      |     await self.app(scope, receive, send)
web      |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 52, in app
web      |     response = await func(request)
web      |   File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 219, in app
web      |     raw_response = await run_endpoint_function(
web      |   File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 152, in run_endpoint_function
web      |     return await dependant.call(**values)
web      |   File "/usr/local/lib/python3.9/site-packages/fastapi_admin/routes/resources.py", line 211, in create
web      |     obj = await model.create(**data, using_db=conn)
web      |   File "/usr/local/lib/python3.9/site-packages/tortoise/models.py", line 1102, in create
web      |     instance = cls(**kwargs)
web      |   File "/usr/local/lib/python3.9/site-packages/tortoise/models.py", line 655, in __init__
web      |     for key in meta.fields.difference(self._set_kwargs(kwargs)):
web      |   File "/usr/local/lib/python3.9/site-packages/tortoise/models.py", line 670, in _set_kwargs
web      |     if value and not value._saved_in_db:
web      | AttributeError: 'str' object has no attribute '_saved_in_db'

I have exactly the same problem, @MalikDeveloper2077 did you manage to solve it somehow?

@WojtekNosal Hello, not yet

@MalikDeveloper2077 a bit hacky but I've managed to get it working:
add custom fk input
from fastapi_admin.widgets.inputs import ForeignKey
from starlette.requests import Request

class CustomForeignKey(ForeignKey):
    async def parse_value(self, request: Request, value: Any):
        is_nullable = self.context.get("null", False) is True
        if not value and is_nullable:
            return None
        model = self.model
        field_pk_attr = model._meta.pk_attr
        obj = await model.get(**{field_pk_attr: value})
        return obj

then in your model just use new input:
Field(
    name="name",
    label="Some label",
    input_=CustomForeignKey(MyModel, default=None, null=True),
 ),


[#287] Google Places Autocomplete Filter

Resolves #287
Motivation and context

Autofill is not working on all addresses, whoever has time to look at this bug
ex: https://www.hellogov.app/O34QJGN5I

Before

After

What I did

Remove validation for public establishments in Google places Autocomplete request:
https://developers.google.com/places/web-service/autocomplete

This documentation clearly supports removal of the "establishment" filter for residential addresses: https://developers.google.com/places/supported_types


Fix nginx bad gateway errors

I experienced this on a client site so it is pretty hard to add reproducing steps but the idea is if you have a page that needs a higher fastcgi buffer size you get a 502 error "Bad Gateway" from nginx.
This took a while to track back down but I isolated it to adding these two lines to the nginx-vhost.conf.j2 file.
NOTE: I expect there will be changes to this before it is merged.  These settings match Pantheon's settings so maybe they should be configurable in config.yml instead of directly adding them to this file?  I do think that a default setting for these could be higher though, so that it just works out of the box.

We've experienced this issue too but added the changes via "extra_parameters".
extra_parameters: |
      fastcgi_buffers 16 16k;
          fastcgi_buffer_size 32k;

Yeah, I'd recommend going @joestewart's route—I don't want to add such a fine grained default (especially hardcoded) to the Nginx file, unless it's something that is necessary on 80%+ sites.
Thanks for the PR, though!

@joestewart Thanks for the tip!

We have the same problems with big drupal projects.
How about a global config variable like nginx_fastcgi_buffers

@b-connect - It would need to be a configuration per-server-block, and I am also leery of making it too customizable, because if you don't know what you're doing/why that error occurs, you could shoot yourself in the foot by setting a value higher/too high. See: https://gist.github.com/magnetikonline/11312172#introduction
I haven't personally run into this issue on a D8 build yet, so I'm wondering if, in the cases where this happens, something's storing a ton of data in cookies or other headers?

I'm trying to add above entries in nginx_vhosts: [] like below
nginx_vhosts: [
    extra_parameters: |
          fastcgi_buffers 16 16k;
              fastcgi_buffer_size 32k;
  ]

but it giving error
ERROR! Syntax Error while loading YAML.
  found character '|' that cannot start any token

The error appears to have been in '/Users/sukhjindersingh/Sites/drupal-vm/provisioning/roles/geerlingguy.nginx/defaults/main.yml': line 57, column 23, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

nginx_vhosts: [
    extra_parameters: |
                      ^ here

@sukhjindersingh - That looks like a YAML syntax error.
You'd need to add a full host like:
nginx_hosts:
  - server_name: "{{ drupal_domain }} www.{{ drupal_domain }}"
    root: "{{ drupal_core_path }}"
    is_php: true
    extra_parameters: |
          listen 443 ssl;
          ssl_certificate     /vagrant/example.crt;
          ssl_certificate_key /vagrant/example.key;
          ssl_protocols       TLSv1.1 TLSv1.2;
          ssl_ciphers         HIGH:!aNULL:!MD5;


Allow passing in custom db

It would be very useful to be able to define a file with mappings that could be passed as an argument/config option to the hook so that a user could define their own outside of those shipped with the hook

Hi @joshuata, thanks for this suggestion. You can now use --db to pass your custom mapping as a json file.
See https://github.com/floatingpurr/sync_with_poetry/releases/tag/0.4.0 for more


Release v0.1.0

locally still some LATEX errors for PDF generation....maybe gone away on CI or needs still to be fixed

@hsonne you can merge if you think everything is ok!


Make unpacker for uGMT internal muons

Need to find out if the format is the same as for uGMT output muons.

An unpacker has been implemented with https://github.com/thomreis/cmssw/commit/d6a0ce95de26afc3abad7a74550f4b18bf847269
No packer has been added yet and the code is yet pushed to cms-l1t-offline

Merged in CMSSW 8_1_X
https://github.com/cms-l1t-offline/cmssw/commit/4c175fc8f7e5f432aa6464cb4f6ebf03e330771e


Add support to Scrollbar to make trail and bar always shown

For web, it's nice to have the scrollbar on the side to scroll through large amounts of content.
Scrollbar Code:
Scrollbar(
            hoverThickness: 15.0,
            radius: Radius.zero,
            showTrackOnHover: true,
            thickness: 15.0,
            isAlwaysShown: true,
            controller: _scrollController,
            child: ...
),

Default behavior while not hovered over:

Behavior that reflects the web platform: (Only happens in Flutter when hovering over the bar)

Web Scrollbar on Flutter.dev:

Is it possible to add a boolean property to the Scrollbar class to enable the trail and deeper scrollbar color all of the time?

Hi @msoham123
Sorry I'm a bit confused with the issue description. Have you tried isAlwaysShown property?
Can you please describe your proposal better? What exactly do you want to achieve?
Thank you

@pedromassango No problem. I should have been a little more specific. If you take a look at the image that shows the standard scrollbar (the one on flutter.dev), you can see that the path that the scrollbar takes is greyed out a bit. However, in flutter, this greyed out behavior only happens when you hover over the scrollbar. I was making a request to add a parameter to keep this greyed out behavior active at all times in order to better reflect the behavior seen with a conventional website.

/cc @Piinks

Hi @msoham123 thanks for filing! Currently, the material/Scrollbar behaves this way in accordance with MaterialDesign. We could expose these properties there, or it might be better to do so on the RawScrollbar. No sure yet. :)

@Piinks Makes sense, considering that the scrollbar was originally implemented for mobile devices. Is this an easy change to make? I could try writing a PR myself, but I'm not sure I understand exactly how the scrollbar works in Flutter.


Test on commenting should accept commented tags.

Challenge Comment out HTML has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Should pass the test as only the H2 is displayed.

@dagatsoin
Thanks for reporting this. But your code is incorrect.
GitHub Issues are for reporting bugs on the website only.
Please use the Help chat room for getting challenge related help.
Happy Coding.


Install yamllint in the TravisCI environment

This is to resolve this failure:
https://app.travis-ci.com/github/stolostron/governance-policy-framework/jobs/585004169
Signed-off-by: mprahl<EMAIL_ADDRESS>

@dhaiducek @ChunxiAlexLuo I didn't have a way to test this unfortunately, but this is based on the documentation here:
https://docs.travis-ci.com/user/installing-dependencies/


State doesn't update

For some reason the states of my buttons doesn't update on every device. Maybe same reason the color doesn't change as it should by template.

Seems activity has kinda dies on this. Has is been abandoned after the official Drag and Drop HA UI update?

For some reason the states of my buttons doesn't update on every device.

Doesn't update ever, or stops updating after a while? It sounds like you might be experiencing an issue where a mobile app stops updating or fails to update after a period of inactivity.

Stops updating. First it works normally.

The dev has vanished. Im abandoning this, doesn't seem supported anymore.

I have the same issue, but I dont use the mobile app, I use the chrome browser on my desktop pc.


Error when passing in a default to bn.push

Bottleneck doesn't seem to be well behaved if you pass in default values for bn.push:
Default states n=None (and works with no value):
python
In [1]: import bottleneck as bn

In [4]: import numpy as np

In [5]: a=np.array([1,2,3,4])

In [7]: bn.push(a)
Out[7]: array([1, 2, 3, 4])

In [8]: bn.push?
Docstring:
push(a, n=None, axis=-1)
...
n : {int, None}, optional

but when you pass in None, it raises:
In [9]: bn.push(a, n=None)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-9-d7ea6fc52366> in <module>()
----> 1 bn.push(a, n=None)

TypeError: `n` must be an integer

This is only really impactful when building a function that uses bottleneck, (which we're increasingly doing in xarray)

Thanks for the bug report.
OK, some notes for reference either for me when I get to it or someone else if they'd like to give a try making a PR.
First make failing unit test.
Then special case push here where n_obj is parsed:
    /* ddof */
    if (n_obj == NULL) {
        n = -1;
    }
    else {
        n = PyArray_PyIntAsInt(n_obj);
        if (error_converting(n)) {
            TYPE_ERR("`n` must be an integer");
            return NULL;
        }
        if (n < 0 && parse == PARSE_PUSH) {
            VALUE_ERR("`n` must be nonnegative");
            return NULL;
        }
    }

From how the parsing of axis_obj is handled you get the idea of how to special case.

OK, I fixed it. It's in master. Give it a try.


⚠ Spryr has degraded performance

In 42d021c, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4840 ms

Resolved: Spryr performance has improved in badeef4 after 7 minutes.


Right align the text inside the cards

Center align the text inside the cards

I am interested. Can you assign me to this issue? Thanks!

Hi @alexandramj92 , Sure :+1:

@alexandramj92 ,
This is a plugin based issue...

Add the functionality button in toolbox.
Create the required class and export it to new-board component

Please feel free to join our IRC channel for further communication.
Thanks

@alexandramj92 are you working on this issue?


Revise Operation Form

Describe the task
AC:

Remove Reporting Activities, Process Flow Diagram, and Boundary Map fields from Operation Form

Removing fields as shown here: https://www.figma.com/file/LsDmLDCdnJqI8UahyqvOD8/OBPS-App-Designs?type=design&node-id=3422%3A2265&mode=design&t=9gY7L4rgyithbn3W-1

so the updated screen should look like this:
https://www.figma.com/file/LsDmLDCdnJqI8UahyqvOD8/OBPS-App-Designs?type=design&node-id=2669%3A4745&mode=design&t=9gY7L4rgyithbn3W-1

Under 'Please provide information about the GHG emissions...",

Remove 2022 Attributable Emissions Field
Remove SWRS Facility ID
BCGHG ID should be prepopulated.
if they select 'no' to "Did you submit a GHG emissions report for reporting year 2022?", they should NOT be able to fill out/edit their BCGHG ID.
Wireframe: https://www.figma.com/file/LsDmLDCdnJqI8UahyqvOD8/OBPS-App-Designs?type=design&node-id=2669%3A4745&mode=design&t=vNEAKgcCX2f1IfPT-1

Opt-in Information

delete document upload for Opt-in Signed Statutory Declaration

HIDE Multiple Operators information section

(may be needed in the future), including the "Does the operation have multiple operators?" radio buttons.
Wireframe: https://www.figma.com/file/LsDmLDCdnJqI8UahyqvOD8/OBPS-App-Designs?type=design&node-id=2669%3A4745&mode=design&t=vNEAKgcCX2f1IfPT-1

Point of Contact

Remove fields: Mailing address, municipality, province and postal code.
https://www.figma.com/file/LsDmLDCdnJqI8UahyqvOD8/OBPS-App-Designs?type=design&node-id=2669%3A5433&mode=design&t=vNEAKgcCX2f1IfPT-1

Additional context

Add any other context about the task here.
Or here

Note: related ticket https://github.com/orgs/bcgov/projects/122/views/2?filterQuery=operation&pane=issue&itemId=50447776


Add driver fields to the connection open request

Usage and product changes
Added and populated driver name and version fields to the Connection.Open request payload.
Note: despite proto3 being able to handle added fields, due to a library packaging issue, older versions of TypeDB cannot handle new fields. This means that this change breaks compatibility with TypeDB server 2.25.x and earlier.

Another thing to roll into the backwards compatibility break is refactoring ReadableConceptTree's empty leaf node to represent empty sub-aggregates

We preserve this PR until 3.0.0 as it breaks backward compatibility, and we don't want to break it until 3.0.0.

It is probably now implemented in 3.0, and the PR can be closed. @flyingsilverfin let's have a brief check a bit later


Problems with results containing inaccurate words such as "bicyclebi", "bicyclebike", "bicycle motorbike", and "the".

When the given text_prompt is “motorbike . bicycle . the telegraph pole ”, the result will contain “bicyclebi, telegraph pole, bicyclebike， telegraph, bicycle motorbike， the". I'd like to get some accurate categories that agree with the words I'm given. I know that raising the threshold or setting a condition to filter the recognition results would solve this problem, but it would result in a lot of missed boxes. How can I solve this problem?

and those with #, such as '###bi'.

Hi, I just have the same problem. Do you find a solution?

this happens a lot... still don't know how to handle it

Same issue... I have tried grounding dino reconstructed by mmlab and it didn't suffer mixing prompts, but it failed in dealing with same noun such as the prompts "Red Vehicle" and "Green Vehicle", which resulted in that the label obtained was assigned to a different object.


Documentation

I understand that Doxygen is supposed to auto-generate the documentation from comments in the source code. But to be helpful to all the newbie coders, this info really ought to be on the web somewhere. Maybe I'm just spoiled by Javadocs but this would be nice

++
I was thinking that Github does have a webspace available to projects, but I don't believe it will run php as needed. There have been a few servers up now and then that hold them, but the official one will probably be hosted at something like docs.arduboy.com? Suggestions?

docs.arduboy.com? Suggestions?

Why create a docs subdomain? What's wrong with a directory under the main domain?
arduboy.com/docs/


some skipped steps are not marked properly

When a step has if: statement and is skipped due to the expression is false, then the step is not always marked as skipped in github web UI. See run:
https://github.com/cppfw/utki/runs/3072012314?check_suite_focus=true
The set PACKAGE_VERSION step is skipped and is properly marked with empty circle icon with slash inside.
The deploy conan package step is skipped as well, but not marked with proper icon. Also it can be unfolded and there are some logs there:
deploy conan package Removed container: d32d134a6bbb6e8755066919930600040db12ae487a7b04bf4fdd2bb50dee293
  🐳  docker volume rm act-ci

Though the actual step is not executed.
Both of those skipped steps have same if: startsWith(github.ref, 'refs/tags/') statement.

this seems working with the latest snapshot

works in release 0.0.3


Fix RTL4b: use client.channels.get.

I'm merging this and #198 as they're blocking others and I suspect they are uncontroversial.


Add missing configurations for VMware

fixes #1369

Is this the minimal set necessary, or is this simply enabling more flags and one of them happens to do the trick? (How much testing has this had?)

The minimal set is CONFIG_VMWARE_PVSCSI for #1369 (maybe #1368 too).
But I think all adding configs are needs for running on VMware.

VMWARE_BALLOON

This is VMware physical memory management driver which acts like a "balloon" that can be inflated to reclaim physical pages by reserving them in the guest and invalidating them in the monitor, freeing up the underlying machine pages so they can be allocated to other guests. The balloon can also be deflated to allow the guest to use more physical memory.

VMWARE_PVSCSI

This driver supports VMware's para virtualized SCSI HBA

VMWARE_VMCI_VSOCKETS (depends on VSOCKETS)

This module implements a VMCI transport for Virtual Sockets.
Enable this transport if your Virtual Machine runs on a VMware hypervisor.

How much testing has this had?

I confirmed that .iso including this change works like v18.06.1-ce do.

Information about Linux driver for VMware: https://kb.vmware.com/s/article/2073804

Sorry, I am new to this project.. can someone explain how to actually build this PR (or boot2docker in general)? Thanks :)

FYI there is also PR #1372, which partially overlaps with the listed modules.

How much testing has this had?

I have combined the kernel options from this and #1372 PRs and built an image which successfully run on my VMware ESXi server and detected the persistent hard drive (thus, my issue #1368 will be resolved with this PR) and also successfully passed my automatic stress-testing suite (it uses quite a few of Docker features and some extra Cgroup capabilities).
@unsignedint To build boot2docker.iso, run these two commands:
docker built -t boot2docker .
docker run --rm boot2docker > boot2docker.iso

Here is the image I have built: https://drive.google.com/file/d/1uIeMp5UE6xswZdoU4Xn7nOAvsJ-cefix/view?usp=sharing

Thanks! 🙏


Improve dev experience by using local S3

Description
Linked to Issue 217. Developing locally is not possible if the developer does not have an AWS S3 access.
What was done
We used localstack to solve this issue.

Still need to solve failing tests.

Thanks a lot for the PR @Acruve15 🙏
I added a few comments but this is looking really good! I have one extra request: is this running in the CI tests?

Hey @frgfm, localstack was added on part of the tests, tell me if it's good for you, thx

Any update @Acruve15 ? :smiley:
It would be a shame that we don't use your work!

Hi @Acruve15, very nice addition! I tried to run this locally but make test fails on the docker-compose exec localstack command. If I issue the command by hand again it works. Any idea ?

Should be solved

@frgfm thx for merging!


DO NOT REVIEW: Add partitions ring support

What this PR does:
Ignore this PR. I've opened just to have a place where we can have an easier conversation while working on adding support for the partitions ring used by the experimental Mimir ingest storage. This will will be upstream in separate (smaller) PRs.
Which issue(s) this PR fixes:
N/A
Checklist

[ ] Tests updated
[ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Everything I wanted to upstream has been upstreamed, so closing it.


Split blocks after match statements

This change is

crates/cairo-lang-lowering/src/inline/mod.rs line 104 at r4 (raw file):
Previously, yuvalsw wrote…
Done.

yeah, I was wrong.