dateutil parser breaks search for dates provided in ISO 8601 format by adding timezone offset

Searching with dates in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ) fails due to the dateutil parser adding the timezone offset before sending to the CMR query. The CMR query then fails because the date string is no longer matches the ISO 8601 format that the date was originally in.
Example:
#!/usr/bin/env python

import earthaccess

COLLECTION_SHORTNAME = 'SPURS2_ARGO'
START_DATE = '2019-03-10T00:00:00Z'
END_DATE = '2019-03-11T23:59:59Z'

auth = earthaccess.login()

cmr_search = earthaccess.DataGranules(auth). \
        short_name(COLLECTION_SHORTNAME).temporal(START_DATE, END_DATE)

results = cmr_search.get()

Fails with the following error:
Traceback (most recent call last):
  File "/lib/python3.11/site-packages/cmr/queries.py", line 357, in convert_to_string
    return date.strftime(iso_8601)
           ^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'strftime'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/projects/testearthaccess.py", line 12, in <module>
    short_name(COLLECTION_SHORTNAME).temporal(START_DATE, END_DATE)
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.11/site-packages/earthaccess/search.py", line 611, in temporal
    super().temporal(parsed_from, parsed_to, exclude_boundary)
  File "/lib/python3.11/site-packages/cmr/queries.py", line 368, in temporal
    date_from = convert_to_string(date_from)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.11/site-packages/cmr/queries.py", line 361, in convert_to_string
    datetime.strptime(date, iso_8601)
  File<EMAIL_ADDRESS>line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '2019-03-10T00:00:00+00:00Z' does not match format '%Y-%m-%dT%H:%M:%SZ'

It looks like earthaccess always adds a Z to datestrings, irrespective of whether the datetime that's being formatted has a timezone specified or not:
https://github.com/nsidc/earthaccess/blob/main/earthaccess/search.py#L276
This really should do something like:
      if date_from.tzinfo:
          # eg: '2015-09-25T23:14:42.588601+00:00'
          return date_from.isoformat()
      else:
          # No timezone present - assume UTC.
          # eg: '2015-09-25T23:14:42.588601Z'
          return date_from.isoformat() + 'Z'

But looking at that stacktrace, the cmr package initially ties to convert a datetime object to a string, and if that fails, ensures the string is formatted correctly.
I think earthaccess could just pass datetimes to cmr directly...

I like what you're suggesting @jhkennedy! and I'm not sure if this is related to #190

Fixed by #546


[Polish] Improve TripPlanForm's Plan button visibility

Current idea: Put it on top of everything else and pin it to the bottom of the page.

Done.


ETFs and Mutual Funds missing dividends since 2019-01-01

MWE:
import finnhub
from datetime import date
stock = 'VTI'
print(finnhub_client.stock_dividends(stock, _from="2019-01-01", to=date.today()))
returns []
print(finnhub_client.stock_dividends(stock, _from="2018-01-01", to=date.today()))
returns [{'symbol': 'VTI', 'date': '2018-06-22', 'amount': 0.6034, 'adjustedAmount': 0.6034, 'payDate': '2018-06-27', 'recordDate': '2018-06-25', 'declarationDate': '2018-06-20', 'currency': 'USD'}, {'symbol': 'VTI', 'date': '2018-03-22', 'amount': 0.5661, 'adjustedAmount': 0.5661, 'payDate': '2018-03-27', 'recordDate': '2018-03-23', 'declarationDate': '2018-03-20', 'currency': 'USD'}]
Is there a different API call to obtain recent dividend information for ETFs and Mutual Funds?

Looks like dividend history for ETFs and Mutual Funds is WIP.

Sorry for the late reply. We don't have dividends data for ETFs at this point. We are workin hard on it

Originally posted by @finnhubio in https://github.com/finnhubio/Finnhub-API/issues/90#issuecomment-629725365

Hi there, I know the reply is probably late but ETFs dividends have been fully available on our API for a while now.


ci: removing linkage-monitor from required checks

Somehow I missed to update the required checks of this repository when I was removing linkage-monitor from the required checks. Rectifying the configuration.
https://github.com/googleapis/java-notification/pull/413#issuecomment-918476342
@Neenu1995
But I guess this PR requires "linkage-monitor" to be passed. Would you update the repository settings to remove "linkage-monitor" from the required checks?

Now it's failing at
Error:  Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.2.7:flatten (flatten) on project google-cloud-notification: failed to create a clean pom: unable to create flattened dependencies: caught exception when flattening dependencies: Failed to read artifact descriptor for com.fasterxml.jackson.core:jackson-core::2.12.5: Could not find artifact com.fasterxml.jackson:jackson-base:pom:2.12.5 -> [Help 1]

It seems that https://github.com/googleapis/java-notification/pull/413#pullrequestreview-754039876 needs to get merged first.


tf.data.experimental.assert_cardinality incompatible with INFINITE_CARDINALITY

System information

Have I written custom code: yes
OS Platform and Distribution: Ubuntu 18.04
TensorFlow installed from: binary
TensorFlow version: v1.12.1-47912-gec43aacb56f 2.5.0-dev20201219
Python version: 3.7.7

Describe the current behavior: tf.data.experimental.assert_cardinality  can be used to fix Dataset.cardinality in instances where it cannot be inferred. In situations where the cardinality is infinite, this raises an error where it shouldn't.
Describe the expected behavior if ds = ds_base.apply(tf.data.experimental.assert_cardinality(tf.data.INFINITE_CARDINALITY), then an error should be raised if ds_base stops producing elements, as opposed to when the first element is produced.
Standalone code to reproduce the issue
Notebook
Code (same as notebook):
import tensorflow as tf

ds = tf.data.Dataset.range(5).repeat().flat_map(lambda i: tf.data.Dataset.range(i))
print(ds.cardinality() == tf.data.INFINITE_CARDINALITY)  # False
ds = ds.apply(tf.data.experimental.assert_cardinality(tf.data.INFINITE_CARDINALITY))
print(ds.cardinality() == tf.data.INFINITE_CARDINALITY)  # True

for example in ds.take(1):
    pass
# tensorflow.python.framework.errors_impl.FailedPreconditionError:
# Input dataset was expected to contain -1 elements but contained at least 1 element.

@jackd,
As per the documentation, this behavior seems to be expected. What do you think?

I think tf.data.INFINITE_CARDINALITY should consistently be used to indicate infinite cardinality, regardless of how it is encoded. I can understand why this error occurs, but I would consider it a bugged edge-case.
At the very least I would expect an error when creating  tf.data.experimental.assert_cardinality with a negative cardinality value, though that would just make me change this from a bug report to a feature request.

Thanks for reporting this @jackd! I agree with your assessment that it's a bugged edge-case, and submitted a fix so that asserting infinite cardinality will work as you described.


Adding support for 3rd party LLM providers via OpenAI Package

Tested with both OpenAI and Azure OpenAI, working.

@rvanasa , tested on both OpenAI and Azure, Works Perfectly!

Awesome! LGTM; I'll publish this as part of version 0.5.0 this weekend. Thanks again!


tlv8: unmarshal (silent) bug

Servus,
as previously mentioned, I have been playing with hap as well and used your library to test the correctness of my implementation.
While trying to debug my tlv8 unmarshal implementation, I found a bug in the tlv8.Unmarshal function. Please find below a test which marshals a struct, unmarshals it and compare the initial and final structs.
func TestMarhsalUnmarshalDefaultVideoStreamConfiguration(t *testing.T) {
	want := rtp.DefaultVideoStreamConfiguration()
	buf, err := Marshal(want)
	if err != nil {
		t.Fatal(err)
	}

	var is rtp.VideoStreamConfiguration
	err = Unmarshal(buf, &is)
	if err != nil {
		t.Fatal(err)
	}

	if reflect.DeepEqual(is, want) == false {
		t.Fatalf("is=%+v want=%+v", is, want)
	}
}

I get the following error (as you can see the Parameters, Levels and other attributes differ):
is={Codecs:[{Type:0 Parameters:{Profiles:[] Levels:[] Packetizations:[]} Attributes:[{Width:1920 Height:1080 Framerate:30} {Width:1280 Height:720 Framerate:30} {Width:640 Height:360 Framerate:30} {Width:480 Height:270 Framerate:30} {Width:320 Height:180 Framerate:30} {Width:1280 Height:960 Framerate:30} {Width:1024 Height:768 Framerate:30} {Width:640 Height:480 Framerate:30} {Width:480 Height:360 Framerate:30} {Width:320 Height:240 Framerate:15}]}]}

want={Codecs:[{Type:0 Parameters:{Profiles:[{Id:0} {Id:1} {Id:2}] Levels:[{Level:0} {Level:1} {Level:2}] Packetizations:[{Mode:0}]} Attributes:[{Width:1920 Height:1080 Framerate:30} {Width:1280 Height:720 Framerate:30} {Width:640 Height:360 Framerate:30} {Width:480 Height:270 Framerate:30} {Width:320 Height:180 Framerate:30} {Width:1280 Height:960 Framerate:30} {Width:1024 Height:768 Framerate:30} {Width:640 Height:480 Framerate:30} {Width:480 Height:360 Framerate:30} {Width:320 Height:240 Framerate:15}]}]}

FYI, my tlv8 implementation is split in 2 steps:

construct an (un)marshaller based exclusively on the reflect.Type (a nested tree of func(io.Reader, reflect.Value) error)
call this (un)marshaller with the reflect.Value

This way, the first step can be cached based on the type and the whole process is a bit cleaner and faster.

I will never repeat it enough: huge thanks for your amazing work on this library!

I've added a fix in branch tlv8-unmarshal-bug. Does this resolve your issue?

tlv8-unmarshal-bug solves the issue for unmarshalling tlv8 data marshaled with hap :+1:

There is still one incompatibility, since my library does not add an empty 0-tag to separate list items, which hap.Unmarshal expects wile unmarshalling (but the specification is not clear at all, how lists should be encoded, only the section 5.12 mentions separator item).
		type codec struct {
			Attributes []struct {
				Width     uint16 `tlv8:"7"`
				Height    uint16 `tlv8:"8"`
				Framerate byte   `tlv8:"9"`
			} `tlv8:"3"`
		}
		conf := codec{
			Attributes: []struct {
				Width     uint16 `tlv8:"7"`
				Height    uint16 `tlv8:"8"`
				Framerate byte   `tlv8:"9"`
			}{
				{1920, 1080, 30},
				{320, 240, 15},
			},
		}
// gohmbrige: [3 11 7 2 128 7 8 2 56 4 9 1 30     3 11 7 2 64 1 8 2 240 0 9 1 15]
// hap:       [3 11 7 2 128 7 8 2 56 4 9 1 30 0 0 3 11 7 2 64 1 8 2 240 0 9 1 15]

When unmarshalled, my library detects that the tag 3 gets repeated and appends a new element.
hap will discard everything after the first element (Attributes will only contain {Width: 1920, Height: 1080, Framerate: 30}).
Anyway, since this is an unspecified behavior, this is not really a bug.

You're right, the separator item is not defined. But as you've pointed out, section 5.12 mentions kTLVType_Separator as type 0xFF. So this means that as separator item should actually be 0xFF 0x00 and not 0x00 0x00! We might be both wrong. 😄

Actually in 5.12 Pairing the separator is 0xFF
but in table 9-24 Supported RTP Configuration the delimiter is 0x00 :roll_eyes:

14.1.1

There may be multiple, separate TLV items of the same type if separated by a TLV item of a different type.

So the separator (or delimiter) is likely needed only within list containing only simple types (so actually useless in the case of pairing :laughing: )


Allow to annotate native methods with enclosing library

Async Profiler provides insights into native code but currently there seems to be no way to determine the origin of a certain method.
My use case is to automatically analyze and highlight certain native code (e.g. in flamegraphs). E.g. I would like to determine CPU time consumed by libjvm.so and libmyagent.so.
Determining library from method name is difficult. One library may contain symbols from hundreds of different namespaces. Multiple libraries may contain the exact same symbol.
It would be useful to have an option similar to -a to annotate native methods with e.g. _[n:libjvm.so].

Added profiler.sh -l option with its agent equivalent lib.
The format follows perf convention, i.e. library.so`function_name.
Example:


Loop Closure Message

General
This PR adds a new message type for publishing LCs. Generally, the type is independent of the LC's source and defines all needed params in the msg.
Changelog

Added LC message definition

@cynosure4sure At the moment the message contains the pose delta as PoseWithCovariance and there is an additional field for the quality/confidence.  I don't think we need both, wdyt? Would you rather have a 6Dof cov or confidence between [0,1]?

@LBern thanks for the PR. 6DOF covariance is very helpful and in that case quality is not necessary. However, it is my understanding that the LC will be only verified and published on maplab side hence on the receiving end no checks will be performed. If this is the case then quality is not necessary at all especially with 6DOF covariance.

Thank you @LBern
Lgtm


chore: release 1.1.0

:robot: I have created a release *beep* *boop*
1.1.0 (2019-06-05)
Features

support apiEndpoint override in client constructor (#219) (c8e6ca0)

Release is at https://github.com/googleapis/nodejs-bigquery-data-transfer/releases/tag/v1.1.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Fix 'import parsl.multiprocessing'

Due to a duplicate parsl.multiprocessing name, one defined in parsl/__init__.py by import parsl, and the other defined by the module namespace of parsl/multiprocessing.py, behaviour of imports of parsl.multiprocessing were inconsistent:
>>> from parsl.multiprocessing import MacSafeQueue
>>> MacSafeQueue
<class 'parsl.multiprocessing.MacSafeQueue'>
>>> import parsl.multiprocessing
>>> parsl.multiprocessing.MacSafeQueue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'multiprocessing' has no attribute 'MacSafeQueue'

This PR removes the duplicate definitions of parsl.multiprocessing, making the intended parsl module exposed in both import cases, and using a private (_underscored) alias for the internal import in parsl/init.py
Type of change

Bug fix (non-breaking change that fixes an issue)

@khk-globus I'm vaguely surprised that neither flake8 nor mypy thought this was a problem


Need more information

Some questions that remain unanswered:

Do I need to run the cmdlets on all my servers with agents? Just one? Also, it doesn't currently say where to run the cmdlet (ie on the servers where the agents reside). We shouldn't assume people know this.
How do I check my current agent version?

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

ID: 2ca26ebb-5558-75b9-7394-862bbd22b120
Version Independent ID: e84b2a95-67ad-7e54-d4c7-977e01a0d3ea
Content: Enable Azure Active Directory Connect cloud sync password writeback
Content Source: articles/active-directory/authentication/tutorial-enable-cloud-sync-sspr-writeback.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@JeffBley
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@JeffBley Thanks for asking this. I corrected the doc to say you only need to run it on one server. There is nothing wrong with running it on multiple servers, but it's unnecessary. We don't have a supported way to check current version at this time. Should that become available, it will be added to the topic.
#please-close


Regression on systemd service

I just noticed #31 introduced a regression when running homeage as a service, symlinks are no longer created on startup. Haven't had time to investigate yet, I simply reverted to the previous commit for now.
I only have a Github token as a secret and the symlink is not being created when activating new HM builds.
let secrets = { pkgs, config, ... }: {
  homeage = {
    identityPaths = [ "~/.ssh/id_ed25519" ];
    pkg = pkgs.rage;

    file."github-token" = {
      source = ./github.age;
      path = "github-notifications-token";
      symlinks = [ "${config.xdg.configHome}/secrets/github" ];
    };
  };
};
in [ secrets ]

The way the systemd service works now is it cleans up secrets when the service stops. Could you give the output of systemctl status --user github-token-secret.service. Symlinks still work fine for me on the most recent branch, so my guess is something is causing the service to stop.

@jordanisaacs I deleted the secrets folder where the symlink is created, then updated homeage to the latest commit and rebuilt my configuration. The symlink is not created again, and restarting the github-token-secret.service didn't help.
Is that expected with the new changes?
$ systemctl --user status github-token-secret.service
● github-token-secret.service - Decrypt github-token secret
     Loaded: loaded (/home/gvolpe/.config/systemd/user/github-token-secret.service; enabled; preset: enabled)
     Active: active (exited) since Wed 2022-09-28 10:11:43 CEST; 10s ago
    Process: 1023958 ExecStart=/nix/store/5vspsflvaq2i6avpnbwbqf67ygk96p1i-github-token-decrypt (code=exited, status=0/SUCC>
   Main PID: 1023958 (code=exited, status=0/SUCCESS)
        CPU: 14ms

Sep 28 10:11:43 tongfang-amd systemd[1766]: Starting Decrypt github-token secret...
Sep 28 10:11:43 tongfang-amd 5vspsflvaq2i6avpnbwbqf67ygk96p1i-github-token-decrypt[1023958]: Decrypting secret /nix/store/b>
Sep 28 10:11:43 tongfang-amd systemd[1766]: Finished Decrypt github-token secret.


RCS-ui domestic standing order consent details process implementation

Description

[ ] Add support to present the domestic standing order consent details on RCS user interface Here
[ ] Add mock for domestic scheduled payment consent details here

Acceptance criteria

[ ] The consent page mock render properly with the consent details mocked.
[ ] The consent details page is render properly with all components need it.
[ ] The consent details (response from RCS-backend) is populated properly in the consent details page with no errors.

Hey team! Please add your planning poker estimate with ZenHub @andra-racovita @mariantiris


Cannot read property 'id' of undefined - react-modal: No elements were found for selector .app.

Did a fresh pull, configured my .env and used npm install, npm run dev to start the app.
Sign-in and using the /listings/ page works fine. Once I jump to the /listings/[id] (e.g. /listings/26) page it crashes with the following error.

event - build page: /listings/[id]
wait  - compiling...
event - compiled successfully
undefined
TypeError: Cannot read property 'id' of undefined
    at Function.getInitialProps (webpack-internal:///./pages/listings/[id].js:60:145)
    at process._tickCallback (internal/process/next_tick.js:68:7)

The app is working without any issues in my local (windows) dev environment, but once I go live and deploy on a Linux Ubuntu 20.04 with nginx the error appears.
Any help is appreciated

You can check your nginx conf file, if you set HTTP to HTTPS redirect. If you set, please make sure the redirect syntax you write is return 307 https://xxx.xxx.com$request_uri;  rather than return 301.


Move swerve drives throughout climb

Codecov Report

Merging #34 into master will decrease coverage by 0.39%.
The diff coverage is 22.22%.

@@            Coverage Diff            @@
##           master      #34     +/-   ##
=========================================
- Coverage   78.77%   78.37%   -0.4%
=========================================
  Files          18       18
  Lines        1140     1147      +7
  Branches      116      116
=========================================
+ Hits          898      899      +1
- Misses        218      224      +6
  Partials       24       24

Impacted Files
Coverage Δ

components/climb.py
65.64% <100%> (ø)
:arrow_up:

automations/climb.py
32.07% <12.5%> (-2.71%)
:arrow_down:

Continue to review full report at Codecov.

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


rerender

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

OK, https://github.com/conda-forge/pytorch-cpu-feedstock/issues/100 can & should be solved differently; no need for this PR in any meaningful way


elInput.intlTelInput is not a function

Hi a am getting  below error when the following code runs
this.elInput = jQuery(this.el).find('ng2intltelinput');
this.elInput.intlTelInput();
platform-browser.umd.js:962 ORIGINAL EXCEPTION: TypeError: this.elInput.intlTelInput is not a function

Hi,
Sorry for response lately.
It should be as following.
this.elInput = jQuery(this.el).find('.ng2intltelinput');
You are missed "." in selector "ng2intltelinput".
Thanks

It still throws the same error.Can u please guide?


Correct DaoCloud's URL on Crunchbase

Correcting DaoCloud's url on Crunchbase. Thanks. 😃

Deploy preview for landscape ready!
Built with commit c1f3820f418e95122a3d997f03fea68c22ffb46f
https://deploy-preview-440--landscape.netlify.com

Fixed, thank you. Could I please encourage you to either:

Start Tweeting again on the account listed on Crunchbase: https://twitter.com/daocloudio
If you've lost that account, create a new one and put in on Crunchbase, or
If you don't want to Tweet (since it doesn't work in China), delete the Twitter account.

We'll soon be adding a sort by last tweet function and you don't want Daocloud to show up there.

Thanks, Dan. I temporarily removed DaoCloud's Twitter account on Crunchbase.


Update CODE_93, PDF417, and AZTEC documentation for iOS

https://github.com/phonegap/phonegap-plugin-barcodescanner/pull/338 added support for CODE_93, PDF417, and AZTEC on iOS.
This PR updates the readme to reflect those changes.

I don't have an iPhone, so i can't test if PDF417 works on iOS. Anyone can confirm this?

@jadenv do you have some examples of those bar codes that I can test against?

I've been scanning drivers licenses with PDF417 on an iPhone and can confirm it works.
@macdonst The original PR https://github.com/phonegap/phonegap-plugin-barcodescanner/pull/338 that added the functionality has some examples you can test quick.
I just about ended up selecting a different library for my project because this project didn't support PDF417 (according to the readme at least), but so glad I ran that PR. Hope this can get merged so people looking for PDF417 support on iPhone don't dismiss this project as an option 😄


Fix unflatten array

Coverage increased (+0.06%) to 90.916% when pulling adb343adc73be79f5fa90a97ed7d1afb1664b210 on fix-unflatten-array into aadf1d9d715144487949e1a9fe093427ddd876dc on master.


Update profile.json in README.md, fix json syntax errors

Fix this errors from https://console.aws.amazon.com/iam/home#roles:
If I use example from profile.json:
«This policy contains the following JSON error on line 16: Expected ',' instead of '"'»
If I use example from README.md:
«This policy contains the following JSON error on line 83: Bad string»

Thanks!


Fix Tags being a Brick Class in the previous PR

We introduced brick:Class in https://github.com/BrickSchema/Brick/pull/58. However, it accidentally changed Tags to be Brick Classes too. This PR fixes it.

I think the fix is good, but maybe a better implementation would be to take Tag out of the roots dictionary in generate_brick.py and declare it separately to be an owl:Class. That way, we don't have the special case inside the define_rootclasses method. What do you think?

LGTM! :shipit:


Fix ECMA 262 \Z and \z tests

The old test was incorrect because "\Z" is actually valid. It matches a
literal Z in ECMA 262.

I don't think that any tests for \Z should be added at all unless the specification clarifies the mode which should be used for ECMA 262 regexps, as \Z behavior depends on the mode.

That said, a js-based impl can trivially pass both the modified test here and the unicode regex test by trying to use Unicode mode, and if that throws on RegExp construction, using the non-Unicode mode.
And, arguably, that impl should also pass these tests, unless the mode is explicitly clarified in the JSON Schema spec.
Hence I don't think that there should be any tests for \Z at all unless the spec is clarified.

@ChALkeR I agree with everything you're saying, but you know more about JS than I do :)

I put back the original test. @ChALkeR feel free to suggest what you think this should look like; I'm happy to change to be what you think is more correct.

I don't think any of these Javascript-specific regex tests are very useful, especially if, as @ChALkeR points out, different modes may need to be used, which makes this very implementation dependent. But... I could be wrong because I'm no Javascript expert. I was just playing around with them on some regex sites and thought the tests could be improved. Maybe not?

If this is ambiguity that needs resolving in the spec, yes, let's axe the relevant tests entirely, get the spec clarified, and then add them to the future draft, similar to #309.
Sound reasonable?

Wondering if the "\S" tests are in the same boat?

Seems likely if they too differ under those two different sections.


feat: add URIs to schema

what

add URIs as a new field

why

supporting using multiple URIs for testing multiple targets with the same parameters
https://github.com/coreruleset/go-ftw/issues/256

Does this PR break the axiom that 1 test = 1 request? Or has that already been broken?
What is the goal with this change? To reduce duplication? How useful would it be? E.g. do we have lots of tests that would then become 1 single test?

Does this PR break the axiom that 1 test = 1 request? Or has that already been broken?

That was never the case, technically, since even the old framework supported "stages".

What is the goal with this change? To reduce duplication?

Yes, mainly. For example, when testing rule exclusions, you often need to test multiple URI paths, while all other test data remains the same.

How useful would this be in practice? E.g. do we have lots of tests that would then become 1 single test?

Yes, most notably in plugins.

I may be misunderstanding this change, but it looks like a very significant change.

No, it should be straight forward and is backwards compatible.

While poring over the unix RCE FPs, I had a thought. Instead of making URIs an additional field, we could make "dynamic tests" a feature of go-ftw. There might be other use cases for "generating" tests, e.g., for word lists, and with the approach here we would need to modify the schema for every single option. However, if we introduce a templating mechanism (like you had already suggested once), we could generate tests from arbitrary data. We could instead extend the schema with something like this:
# ...
templates:
    - key: uri
       values:
         - /get
         - /get?foo=bar
     - key: command
        values:
         - php
         - php%20foo

key would designate the template key and values a list of values. The templates could be Go template patterns, e.g.,
# ...
input:
  uri: "{{ uri }}"
  method: POST
  data: "cmd={{ command }}"

The set of tests would be the cross product of all combinations. We could maybe distinguish these "template tests" from existing tests by introducing a new "template test" type.
What do you think?

You are getting nearer a vision I had this retreat about how the future will look like for writing a rule.
It definitely implies adding templating. Also, 99% of our tests only need one template. We tend to repeat 90% of the text we do in tests.
I plan to write a blog post about this, but will take me some time to process when heading back tomorrow.
Another good source of inspiration could be... nuclei templates.


[Home page]: add Netlify link per OSS plan requirements

Summary
Netlify Open Source plan requirements:

Justification
We're upgrading our Netlify plan to Open Source team in order to add more collaborators.
"Must have" functionality
Link to Netlify services somewhere on our main page.
cc: @carbon-design-system/design we'd need to figure out where we want this/what it should look like.

...or you may create your own link. Are there any requirements for this or can it simply be a link to Neflify?
The example icons and badges are pretty large and would stand out on the homepage.

Does main page mean the website home page or like the main carbon repo page? I don't think its normal for people to put devops things on the product homepages.

@designertyler it can simply be a link to Netlify.
@aagonzales this means our home page. It's been approved by @kuehndaniel and @shinytoyrobots. They have examples of other sites who use their open source plan and most of them seem to be including the link in the footer.

Not inactive, this is a Netlify OSS plan requirement we need to address.

Not stale

Still needed


[CS2103T-T12-4] TutAssistor

TutAssistor helps private tutors to manage tuition class time slots. It enables tutors to resolve conflicts in their tuition schedule and manage their students more efficiently. It is optimised for use via a Command Line Interface (CLI).

Codecov Report

Merging #97 (e999446) into master (ba53b8c) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head e999446 differs from pull request most recent head 4c78318. Consider uploading reports for the commit 4c78318 to get more accurate results

@@            Coverage Diff            @@
##             master      #97   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Non-determinism in the go build cache test

This PR introduced a test that repeated builds don't grow the go build cache (if you are building the same code at the same place, you would expect every package to be a cache hit). However, this has flaked at least once:
https://github.com/pulumi/pulumi-kubernetes-operator/actions/runs/4125036191/jobs/7125062959#step:9:502
One idea: set GODEBUG=gocachehash=1 when testing the cache. I don't see any flag that just reports misses, but it might give some clues.

Fixed by #416


Question about 'controller_node' line 230

Hi,
Thank you for providing this repository. I am having trouble understanding the logic behind the matrix defined on line 230. I am trying to design a controller for my own drone with different parameters. Could you please explain how you derived the throttles_to_normalized_torques_and_thrust_ matrix?
Here is the link to the specific line of code: https://github.com/SaxionMechatronics/px4_offboard_lowlevel/blob/82f4a24ffda4e8169e6e5bc1dd54238c77302807/src/controller_node.cpp#L230
Additionally, I am curious about how you calculated the omega-to-PWM coefficient.
https://github.com/SaxionMechatronics/px4_offboard_lowlevel/blob/82f4a24ffda4e8169e6e5bc1dd54238c77302807/config/uav_parameters/x500_param.yaml#L15
I really appreciate any help you can provide.

@ayhamalharbat could explain the matrix?
To get the omega_to_pwm_coefficient we mounted the motor on a thrust stand from tyto robotics equipped with an tachometer. Using this setup we measured the speed of the motor with propeller for different PWM inputs. We then fit a polynonominal to this function, you can find how we did that in this script:
https://github.com/SaxionMechatronics/px4_offboard_lowlevel/blob/82f4a24ffda4e8169e6e5bc1dd54238c77302807/scripts/identification.py#L110C1-L115C32


Is this project alive ?

I was thinking about using it for a Common Operational Picture web app. Is the project still live or should I move onto something else ?

It is, I just haven't had time over the last few months.  I was hoping some people would help contribute to it.

Well, it takes time.. and a working example(s) will help foster adaption. If you want govt agencies to adopt, you need to have paid support in place. Unfortunately in this day and age, you need to be more proactive for others to invest in the project.  Cesiumjs is complex library and its challenging to wrap in angular.


Scheduled scan: "User does not exist and could not be created: System"

A scheduled scan gives a "User does not exist and could not be created: System" error.
I am running Alfresco 6.2.2 runs on a container platform (Openshift 3.11 and 4.x).
The repository runs as user 'alfresco', not 'root'.

I am going to test this functionality and say you.

Any progress on this issue?

Hi!
I have a hard work in my company. Can you create a user named System with admin permissions and test with this user?
I testing code the next week and I hope fix the problem.
Thank you and best regards.

System user exists already:
__
We couldn't create user 00260028 Wrapped Exception (with status template): 00261413 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/person/people.post.json.js': 00261412 The built-in authority 'System' is a user, but not a Person (i.e. it does not have a profile)..
And when a set 'alfviral.on_read=TRUE' in alfviral.properties the repository does not start:
org.alfresco.error.AlfrescoRuntimeException: 00260039 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.content.ContentServicePolicies$OnContentReadPolicy.onContentRead(org.alfresco.service.cmr.repository.NodeRef) in transaction 2d236006-73e5-42a7-9b47-86a491ba1b25
at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:262)
..........
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:481)
........
I think this is caused by the same root cause (no valid SecureContext?)

Cheers,
Has anyone been able to find the root cause for this error or a possible solution?

I'm sorry it took so long.
Try changing the System user to admin in the alfviral-context.xml file in subsystems/Security/alfviral:
     <property name="runAsUser">
         <value>System</value>
     </property>

by:
     <property name="runAsUser">
         <value>admin</value>
     </property>

And tell me.


Data appearing in facility after a merge that was not visible before

Overview
When merging two facilities, there is data that will sometimes appear in the facility profile after a merge, that was not visible before the merge.
Expected Behavior
The data that we see in facility profiles before a merge is the data that we can expect to see in the merged facility profile.
Actual Behavior
When looking at two facilities to be merged, the facility data (name & address) are almost identical. After a merge, new facility data shows up that does not match the data we saw before the merge.
Steps to Reproduce
This one is tricky to reproduce (although I have run into it 3 or four times now), because you only know it happened after a merge is complete and then it's hard to find another example. I did a screen record of running a few merges in hopes that one would produce the bug. You can see an example of the bug starting at minute 1:15 in the recording. The recording is too big to attach to this issue, but including a link to it.
Demo
https://drive.google.com/file/d/199haxxKRkX9kEnnLyNoAtL33nPO-fsPK/view?usp=sharing
Additional context
The times that I have run into this issue have all been with Soorty facilities (if you search Soorty as a facility name). There are a ton of these facilities in the OAR and the data is quite messy, so we have been doing a bunch of splitting and re-merging to clean it up (this is where we've been running into that split bug a lot). I'm wondering if because we've been doing all of that splitting and re-merging if there's some hidden historical data that's hanging on to some records? Although it's curious that it wouldn't always show up and only appears after a merge.
cc: @katieashaw @isaacokunato

This happens from time to time, still an issue. It's not clear why it happens.


About update and bug fix

作者最近忙于学业..可能在暑期以后继续这个插件的更新，会尽量去解决已知的bug
The author has been busy with his studies recently... May continue to update this plugin after the summer, and will try to solve the known bugs

Real time rendering makes authoring of complex math notation so much more efficient. It would be great if you find the time to evolve this extension further. I would particularly welcome if the xy-package could optionally be loaded. This package is available in MathJax.


Lab 13 - Not getting expected result in guide

Lab: 13
Task: 3
Step: 2
Description of issue
When selecting "Azure Virtual machines (VMs)" under the "Connect a Data Source" section (screenshot below), I am not taken to a list of virtual machines. You are prompted to create a data collection rule. The screenshot shows where you are taken instead, when clicking "Azure Virtual machines (VMs)".
Repro steps:

In the Azure portal, navigate back to the Log Analytics workspaces blade, and, in the list of workspaces, click the entry representing the workspace you created in the previous task.

On the Log Analytics workspace blade, on the Overview page, in the Connect a Data Source section, click the Azure Virtual machines (VMs) entry.

In the list of virtual machines, locate the entry representing the Azure VM myVM you deployed in the first task of this exercise and note that it is listed as Not connected.

The exercise was edited to reflect updated methods in the Azure portal.


Support mock backend initialization and start before module init phase

Description:
In the current mock implementation in the test framework, the mocking is done after the module initialisation for the ballerina package.
We need a way to do this before module initialisation to cater for the clients to make calls to backend during initialisation for various optimisations.
Describe your problem(s)
Please refer https://github.com/ballerina-platform/ballerina-lang/issues/29901# for one such requirement.
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This can be supported if we can mock 'new()'

Closing since there is a solution for this as mentioned in https://github.com/ballerina-platform/ballerina-lang/issues/29901#issuecomment-824920940


Windows Decoding White Image

thanks to @wh201906 for the vla fix with #10 pr, there seems to be a dart side issue while constructing an image sent from the native side.

https://github.com/folksable/blurhash_ffi/pull/10#issuecomment-1840703640
I just tested them and I also got the blank image view when decoding.
However, it looks like the decoding result from the native C code is good. I added some code to print the decoding result and tested them on both Windows and Linux, then I got the same result.

Patch to show the head and the end of the decoding result
diff --git a/lib/blurhash.dart b/lib/blurhash.dart
index 63d8de9..29f719b 100644
--- a/lib/blurhash.dart
+++ b/lib/blurhash.dart
@@ -341,6 +341,38 @@ class BlurhashFFI {
     return completer.future;
   }

+  void printUint8ListInHex(Uint8List list) {
+    print("data length: " + list.length.toString());
+    print("head:");
+    int printLength = list.length > 256 ? 256 : list.length;
+    String hexString = "";
+    int i = 0;
+    for (i = 0; i < printLength; i++) {
+      hexString += list[i].toRadixString(16).padLeft(2, '0');
+      if (i % 16 == 15) {
+        print(hexString);
+        hexString = "";
+      }
+    }
+    if (i % 16 == 15) {
+      print(hexString);
+    }
+
+    print("end:");
+    int startLength = list.length > 256 ? list.length - 256 : 0;
+    Uint8List lastBytes = list.sublist(startLength);
+    for (i = 0; i < printLength; i++) {
+      hexString += lastBytes[i].toRadixString(16).padLeft(2, '0');
+      if (i % 16 == 15) {
+        print(hexString);
+        hexString = "";
+      }
+    }
+    if (i % 16 == 15) {
+      print(hexString);
+    }
+  }
+
   void isolateEntryPoint(SendPort sendPort) async {
     void onSend(dynamic data) {
       try {
@@ -366,6 +398,7 @@ class BlurhashFFI {
           data.free();
           final Uint8List resultImage =
               result.asTypedList(data.width * data.height * data.channels);
+          printUint8ListInHex(resultImage);
           _bindings.freePixelArray(result);
           final _DecodeResponse response =
               _DecodeResponse(data.id, resultImage);

Test result for the 3 images in the example

Result on linux
linux
flutter: data length: 57600
flutter: head:
flutter: 004346ff004346ff004346ff004346ff
flutter: 004346ff004346ff004346ff004346ff
flutter: 004246ff004246ff004245ff004245ff
flutter: 004245ff004245ff004144ff004144ff
flutter: 004144ff004043ff034043ff0e4042ff
flutter: 163f42ff1c3f42ff223f41ff263e41ff
flutter: 2b3e40ff2f3d3fff333d3fff363c3eff
flutter: 393c3eff3d3b3dff403b3cff433a3bff
flutter: 463a3bff48393aff4b3939ff4e3838ff
flutter: 503737ff523736ff553635ff573534ff
flutter: 593534ff5b3433ff5d3331ff5f3330ff
flutter: 61322fff63312eff64312dff66302cff
flutter: 682f2bff692f2aff6a2e29ff6c2d28ff
flutter: 6d2d26ff6e2c25ff6f2c24ff712b23ff
flutter: 722b22ff722a21ff732a20ff74291fff
flutter: 75291eff75281dff76281cff77281bff
flutter: end:
flutter: b64536ffb64536ffb74536ffb74636ff
flutter: b84636ffb84637ffb84737ffb84737ff
flutter: b84737ffb84737ffb84838ffb74838ff
flutter: b74838ffb64838ffb64839ffb54839ff
flutter: b44939ffb34939ffb24939ffb1493aff
flutter: af493affae493affac493affab493bff
flutter: a9493bffa7493bffa5493bffa3493cff
flutter: a1493cff9f493cff9c493cff9a493cff
flutter: 97493dff95493dff92493dff8f493dff
flutter: 8c493eff89493eff86493eff83483eff
flutter: 7f483eff7c483eff78483fff75483fff
flutter: 71483fff6e483fff6a473fff66473fff
flutter: 624740ff5f4740ff5b4740ff574740ff
flutter: 534740ff504740ff4c4640ff494640ff
flutter: 454640ff424640ff3f4640ff3d4640ff
flutter: 3b4641ff394641ff384641ff374641ff
flutter: data length: 57600
flutter: head:
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff060000ff120000ff
flutter: 1a0000ff210000ff270000ff2c0c0cff
flutter: 311818ff352121ff3a2828ff3e2e2eff
flutter: 413333ff453838ff493c3cff4c4040ff
flutter: 4f4444ff524848ff554b4bff584f4fff
flutter: 5b5252ff5d5555ff605757ff625a5aff
flutter: 655c5cff675f5fff696161ff6b6363ff
flutter: 6d6565ff6f6767ff716868ff736a6aff
flutter: 746c6cff766d6dff776e6eff786f6fff
flutter: 7a7070ff7b7171ff7c7272ff7d7373ff
flutter: 7e7474ff7f7474ff7f7575ff807575ff
flutter: 807575ff817575ff817575ff817575ff
flutter: 817575ff827575ff817575ff817474ff
flutter: end:
flutter: 4c4a4aff4a4949ff494848ff474747ff
flutter: 454545ff434444ff414242ff3e4040ff
flutter: 3b3e3eff383c3cff353939ff313636ff
flutter: 2c3434ff273030ff222d2dff1b2929ff
flutter: 122525ff042020ff001a1aff001313ff
flutter: 000808ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: data length: 57600
flutter: head:
flutter: 3d4d43ff3d4d43ff3e4d44ff3f4d44ff
flutter: 404d44ff414e45ff434f45ff454f46ff
flutter: 475047ff4a5147ff4c5248ff4f5349ff
flutter: 52544aff54554bff57564cff5a574dff
flutter: 5d584eff605a4fff635b50ff655c51ff
flutter: 685d52ff6b5e53ff6d5f54ff706055ff
flutter: 736156ff756257ff776357ff7a6458ff
flutter: 7c6559ff7e6659ff80675aff82675aff
flutter: 84685aff85685aff87695bff88695bff
flutter: 8a6a5bff8b6a5bff8c6a5aff8d6a5aff
flutter: 8e6a5aff8f6a59ff906a59ff906a58ff
flutter: 916a58ff916957ff926956ff926955ff
flutter: 926855ff926854ff926753ff926652ff
flutter: 926651ff926550ff91644fff91634eff
flutter: 90634dff90624bff8f614bff8f604aff
flutter: 8e6049ff8d5f48ff8c5e47ff8c5e47ff
flutter: end:
flutter: b18a73ffb38d74ffb59076ffb79278ff
flutter: b9957affbb987cffbd9b7effbf9e80ff
flutter: c1a182ffc3a484ffc5a686ffc7a988ff
flutter: c9ac8affcbae8cffccb18effceb390ff
flutter: d0b592ffd2b893ffd3ba95ffd5bc97ff
flutter: d6be98ffd7c09affd9c19bffdac39cff
flutter: dbc49effdcc69fffddc7a0ffdec8a1ff
flutter: dec9a2ffdfcaa3ffdfcba3ffe0cca4ff
flutter: e0cca5ffe1cda5ffe1cda6ffe1cda6ff
flutter: e1cea7ffe1cea7ffe1cea7ffe1cea7ff
flutter: e1cea7ffe1cea7ffe1cda8ffe0cda8ff
flutter: e0cda7ffe0cda7ffdfcca7ffdfcca7ff
flutter: dfcba7ffdecba7ffdecaa7ffddcaa6ff
flutter: ddcaa6ffddc9a6ffdcc9a6ffdcc8a6ff
flutter: dcc8a6ffdbc8a5ffdbc7a5ffdbc7a5ff
flutter: dbc7a5ffdbc7a5ffdac7a5ffdac7a5ff

Result on Windows
windows
flutter: data length: 57600
flutter: head:
flutter: 004346ff004346ff004346ff004346ff
flutter: 004346ff004346ff004346ff004346ff
flutter: 004246ff004246ff004245ff004245ff
flutter: 004245ff004245ff004144ff004144ff
flutter: 004144ff004043ff034043ff0e4042ff
flutter: 163f42ff1c3f42ff223f41ff263e41ff
flutter: 2b3e40ff2f3d3fff333d3fff363c3eff
flutter: 393c3eff3d3b3dff403b3cff433a3bff
flutter: 463a3bff48393aff4b3939ff4e3838ff
flutter: 503737ff523736ff553635ff573534ff
flutter: 593534ff5b3433ff5d3331ff5f3330ff
flutter: 61322fff63312eff64312dff66302cff
flutter: 682f2bff692f2aff6a2e29ff6c2d28ff
flutter: 6d2d26ff6e2c25ff6f2c24ff712b23ff
flutter: 722b22ff722a21ff732a20ff74291fff
flutter: 75291eff75281dff76281cff77281bff
flutter: end:
flutter: b64536ffb64536ffb74536ffb74636ff
flutter: b84636ffb84637ffb84737ffb84737ff
flutter: b84737ffb84737ffb84838ffb74838ff
flutter: b74838ffb64838ffb64839ffb54839ff
flutter: b44939ffb34939ffb24939ffb1493aff
flutter: af493affae493affac493affab493bff
flutter: a9493bffa7493bffa5493bffa3493cff
flutter: a1493cff9f493cff9c493cff9a493cff
flutter: 97493dff95493dff92493dff8f493dff
flutter: 8c493eff89493eff86493eff83483eff
flutter: 7f483eff7c483eff78483fff75483fff
flutter: 71483fff6e483fff6a473fff66473fff
flutter: 624740ff5f4740ff5b4740ff574740ff
flutter: 534740ff504740ff4c4640ff494640ff
flutter: 454640ff424640ff3f4640ff3d4640ff
flutter: 3b4641ff394641ff384641ff374641ff
flutter: data length: 57600
flutter: head:
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff060000ff120000ff
flutter: 1a0000ff210000ff270000ff2c0c0cff
flutter: 311818ff352121ff3a2828ff3e2e2eff
flutter: 413333ff453838ff493c3cff4c4040ff
flutter: 4f4444ff524848ff554b4bff584f4fff
flutter: 5b5252ff5d5555ff605757ff625a5aff
flutter: 655c5cff675f5fff696161ff6b6363ff
flutter: 6d6565ff6f6767ff716868ff736a6aff
flutter: 746c6cff766d6dff776e6eff786f6fff
flutter: 7a7070ff7b7171ff7c7272ff7d7373ff
flutter: 7e7474ff7f7474ff7f7575ff807575ff
flutter: 807575ff817575ff817575ff817575ff
flutter: 817575ff827575ff817575ff817474ff
flutter: end:
flutter: 4c4a4aff4a4949ff494848ff474747ff
flutter: 454545ff434444ff414242ff3e4040ff
flutter: 3b3e3eff383c3cff353939ff313636ff
flutter: 2c3434ff273030ff222d2dff1b2929ff
flutter: 122525ff042020ff001a1aff001313ff
flutter: 000808ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: 000000ff000000ff000000ff000000ff
flutter: data length: 57600
flutter: head:
flutter: 3d4d43ff3d4d43ff3e4d44ff3f4d44ff
flutter: 404d44ff414e45ff434f45ff454f46ff
flutter: 475047ff4a5147ff4c5248ff4f5349ff
flutter: 52544aff54554bff57564cff5a574dff
flutter: 5d584eff605a4fff635b50ff655c51ff
flutter: 685d52ff6b5e53ff6d5f54ff706055ff
flutter: 736156ff756257ff776357ff7a6458ff
flutter: 7c6559ff7e6659ff80675aff82675aff
flutter: 84685aff85685aff87695bff88695bff
flutter: 8a6a5bff8b6a5bff8c6a5aff8d6a5aff
flutter: 8e6a5aff8f6a59ff906a59ff906a58ff
flutter: 916a58ff916957ff926956ff926955ff
flutter: 926855ff926854ff926753ff926652ff
flutter: 926651ff926550ff91644fff91634eff
flutter: 90634dff90624bff8f614bff8f604aff
flutter: 8e6049ff8d5f48ff8c5e47ff8c5e47ff
flutter: end:
flutter: b18a73ffb38d74ffb59076ffb79278ff
flutter: b9957affbb987cffbd9b7effbf9e80ff
flutter: c1a182ffc3a484ffc5a686ffc7a988ff
flutter: c9ac8affcbae8cffccb18effceb390ff
flutter: d0b592ffd2b893ffd3ba95ffd5bc97ff
flutter: d6be98ffd7c09affd9c19bffdac39cff
flutter: dbc49effdcc69fffddc7a0ffdec8a1ff
flutter: dec9a2ffdfcaa3ffdfcba3ffe0cca4ff
flutter: e0cca5ffe1cda5ffe1cda6ffe1cda6ff
flutter: e1cea7ffe1cea7ffe1cea7ffe1cea7ff
flutter: e1cea7ffe1cea7ffe1cda8ffe0cda8ff
flutter: e0cda7ffe0cda7ffdfcca7ffdfcca7ff
flutter: dfcba7ffdecba7ffdecaa7ffddcaa6ff
flutter: ddcaa6ffddc9a6ffdcc9a6ffdcc8a6ff
flutter: dcc8a6ffdbc8a5ffdbc7a5ffdbc7a5ff
flutter: dbc7a5ffdbc7a5ffdac7a5ffdac7a5ff

(They are identical)
So I guess it's something wrong in the Dart side.

Same problem exists on linux/android too. On this os image in most cases fine, in rare cases first pixels get corrupted and contains garbage values. I found some memory problems and fix it. After that on linux/android image always correct. Not tested on windows.

@iliser I just tested your fork on Windows and it is fixed. Thanks!

(Ah how can I forgot to deallocate the memory in #10)

Thank you @iliser for the observation and thank yoy @wh201906 for confirming windows fix


Crash when clicked on 0 followers button

Describe the bug
App crashes when clicked on 0 followers button
2021-04-16 17:37:28.304 8589-8589/com.vaibhav.sociofy E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.vaibhav.sociofy, PID: 8589
    java.lang.IllegalArgumentException: Invalid Query. A non-empty array is required for 'in' filters.
        at com.google.firebase.firestore.Query.validateDisjunctiveFilterElements(Query.java:488)

To Reproduce
Steps to reproduce the behavior:

Go to app and click on 0 followers

Expected behavior
Not crash

Thanks for pointing out , i will correct it.
Still a lot of work left to complete app
Thankyou.

Fixed


prometheus-federator k8s 1.28 chart support

This issue is to implement the chart changes & perform the required testing to support k8s 1.28. The generic process that's applicable for most charts is described here. Please adjust the steps to fit your respective chart wherever required. Perform the steps below:

[ ] Once you pick up the issue for your chart, apply the label [zube]: Working to the issue
Note: If this is an upstream chart (ex: istio) and if the upstream chart doesn't support k8s 1.28 then this exercise is not applicable to you. Just add a comment that the upstream chart doesn't support k8s 1.28 and apply the label [zube]: Done. If this is not an upstream chart then proceed to the next step.
[ ] Update kube-version annotation in Chart.yaml to catalog.cattle.io/kube-version: '>= 1.23.0-0' or catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.29.0-0'
[ ] Follow the usual process to add a new chart version and file a PR to the rancher/charts:dev-v2.8 branch. Link the PR to the issue.
[ ] Perform the usual Developer testing and if everything looks good then merge the PR. After merging the PR,  apply the label [zube]: To Test. Tag the respective QA team members.
[ ] Perform below testing

[ ] Spin up Rancher 2.8 with k8s 1.27
[ ] Add a downstream cluster with k8s 1.28
[ ] Point the Rancher charts repository of the downstream cluster to dev-v2.8 branch
[ ] Install the dev version of the chart. Verify that the installation is successful
[ ] Perform chart functionality testing (any tests in QA test plans for the chart)
[ ] Uninstall the chart. Verify that the uninstallation is successful
[ ] Install the prod version of the chart. Verify that the installation is successful
[ ] Upgrade to the dev version of the chart. Verify that the upgrade is successful
[ ] Add a downstream cluster with k8s 1.27
[ ] Install the prod version of the chart
[ ] Upgrade the k8s version of the downstream cluster to 1.28. Verify the chart still works after the upgrade
[ ] Perform any additional testing specific to your chart if required

[ ] If the testing passes then apply the label [zube]: Done. If you are blocked with any steps, add a comment with details and apply the label [zube]: Blocked

SURE-7733

Pass Verified in rancher v2.8.3-rc2. Below are the test cases.
Local Cluster

Provisioned Rancher with local k8s v1.27.9+k3s1 cluster.
Installed prometheus-federator: 103.0.1+up0.4.0
Create a new project, namespace with at least one workload on it so you can track pod metrics.
Under the cluster view hit monitoring > project monitors and click the project you created.
Verify that metrics are flowing and graph are displaying correct data.
Upgraded Local cluster to k8s v1.28.5+k3s1
Verified configured project still projecting logs correct metrics and data.

Downstream Cluster

Provisioned downstream k8s v1.27.9 cluster.
Installed prometheus-federator:103.0.1+up0.4.0
Create a new project, namespace with at least one workload on it so you can track pod metrics.
Under the cluster view hit monitoring > project monitors and click the project you created.
Verify that metrics are flowing and graph are displaying correct data.
Upgraded Local cluster to k8s v1.28.5
Verified configured project still projecting logs correct metrics and data.


[dashmachine] remove DashMachine

Description of the change
Dashmachine has been abandonware for quite a while now, the issues and PR's are piling up and the maintainer is unactive
This creates significant security risks.
It's also quite a niche chart, with good alternative readily available
Benefits

Not hosting potential security hazards

Possible drawbacks

People can't collaborate on the chart anymore (although they first need to start collaborating on the actual software imho)

Applicable issues

fixes #545

Additional information

Checklist

[ ] Chart version bumped in Chart.yaml according to semver.
[X] Title of the PR starts with chart name (e.g. [home-assistant])
[ ] Chart is using our common library as a dependency.
[ ] (optional) Variables are documented in the README.md

Normally it's considered best practice to deprecate the chart before deleting the files. See https://helm.sh/docs/topics/charts/#deprecating-charts.
I suggest keeping this PR open until a deprecated chart version has been merged.

@bjw-s good point.
done see: #549

I've merged #549, but of course that now introduces a merge conflict for this PR 😓

@bjw-s No problem, fixed!

Shoot.


Add limit parameter on Search

Added limit parameter on search with a value of 50. Closes #746

What is the motivation behind this?

@FilipMessa So now on web version, when on a mobile resolution, the whole body is scrollable. That creates performance issues on resizing, for example, as we are re-rendering 200 cards. This is a temporary solution as discussed with @JoseDuSV for optimization purposes. Ideally, when pagination is implemented in Tequila, we should implement it with pagination with a load more button for example.


Use nox instead of tox

Cleaner version of CI pipeline that includes nox instead of tox.

replace tox with nox


Add realworld opensource application to README?

Programming a realworld application is much different than samples. I suggest that maintaining a list of opensource projects which based on Fabulous.

There is a list: https://github.com/jimbobbennett/Awesome-Fabulous/blob/master/README.md


Trigger onChange only when content changes for auto save functionality

Feature
current behavior
Right now editor onChange is triggered on both contentt and focus change. I want an auto save function but with the current behavior it effects performance and onChange is called on focus too.
expected behavior
Is there any way I can trigger onChange only when the user is writing/content changes?
I tried comparing the new contentState with the previous contentState it works partially as with this approach bold, italic stylings don't work.

I found the solution. this is my new onChange handler that will call the save api only when the content changes and also preservers the styling/selection state.
`
           handleEditorChange = async (editorState) => {
	const currentContentState = this.state.editorState.getCurrentContent();
	const newContentState = editorState.getCurrentContent();
	const currentSelectionState = this.state.editorState.getSelection();
	const newSelectionState = editorState.getSelection();

	if (currentContentState !== newContentState) {
		await this.saveContent();
		this.setState({ editorState });
	} else if (currentSelectionState !== newSelectionState) {
		this.setState({ editorState });
	}
};`

`
PS: You need to call setState in both content and selection state to make it work smoothly. (and its better if your save function is debounced.

I found the solution. this is my new onChange handler that will call the save api only when the content changes and also preservers the styling/selection state.
`
           handleEditorChange = async (editorState) => {
	const currentContentState = this.state.editorState.getCurrentContent();
	const newContentState = editorState.getCurrentContent();
	const currentSelectionState = this.state.editorState.getSelection();
	const newSelectionState = editorState.getSelection();

	if (currentContentState !== newContentState) {
		await this.saveContent();
		this.setState({ editorState });
	} else if (currentSelectionState !== newSelectionState) {
		this.setState({ editorState });
	}
};`

`
PS: You need to call setState in both content and selection state to make it work smoothly. (and its better if your save function is debounced.


Missing CryptographicKeys and InputClaims from RelyingParty definition

This documentation is missing at least these two elements I have seen (and am using myself) to process client_assertions passed as part of the token request. are these features unsupported or undocumented? (they certainly work), e.g.:
  <RelyingParty>
    <DefaultUserJourney ReferenceId="InvitationRedemption" />
    <TechnicalProfile Id="PolicyProfile">
      <DisplayName>PolicyProfile</DisplayName>
      <Protocol Name="OpenIdConnect" />
      <CryptographicKeys>
        <Key Id="client_secret" StorageReferenceId="B2C_1A_InvitationSigningKey" />
      </CryptographicKeys>
      <InputClaims>
        <InputClaim ClaimTypeReferenceId="email" PartnerClaimType="email" Required="true" />
      </InputClaims>
      <OutputClaims>
        <OutputClaim ClaimTypeReferenceId="displayName" />
        <OutputClaim ClaimTypeReferenceId="givenName" />
        <OutputClaim ClaimTypeReferenceId="surname" />
        <OutputClaim ClaimTypeReferenceId="email" />
        <OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="sub"/>
        <OutputClaim ClaimTypeReferenceId="tenantId" AlwaysUseDefaultValue="true" DefaultValue="{Policy:TenantObjectId}" />
      </OutputClaims>
      <SubjectNamingInfo ClaimType="sub" />
    </TechnicalProfile>
  </RelyingParty>

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

ID: 1e3ce49f-746e-9326-9846-32d569558b65
Version Independent ID: 4978d164-555d-b3cc-2989-5246b0f44313
Content: RelyingParty - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/relyingparty.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

Hello @mrochon , thanks for taking time to share your valuable feedback! We are taking a look into this and will get back to you soon.


Return array of iptc keywords instead of just the first

When getting the iptc data from an image, only one "Keyword" is returned. This PR allows multiple keywords to be returned in an array.

Thanks.


add standalone syntax highlighter

output the following output

ansi color (256color, true color)
HTML

also provide command line interface

support pygments style color theme (https://pygments.org/docs/styledevelopment/#creating-own-styles)

add basic functionality in commit d6d26889e1dd136bd4566a728ff44032c327a037

add html formatter in commit a6bdf2613967c0dcb50ec483cc0261a245308d56


Update client:core to 2.1.4

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client", artifactId = "core" } ]

labels: library-update, semver-patch

Coverage remained the same at 91.379% when pulling c42effcedc61a36033436694679b2a6d05161c7f on svc-as24-fizz-readonly4:update/client-2.1.4 into d7b2aa05674e8f964c84fe4bd6640131b02eaace on AutoScout24:master.


@JacobLinCool合著

> @JacobLinCool合著
Originally posted by @Wdtwsm777 in https://github.com/Outlaw999/Special-enigma/issues/1#issuecomment-1680580350

#1


Make Mouse without borders work again

Microsoft PowerToys version
0.85.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
Connect two systems, Windows 10 and windows 11.
When on Windows 11 moving to windows 10 mouse will work for a bit, then hang, then work then hang.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

/reportbug

More info on this:
The system I am currently connected to has no issues but when I move to an adjacent system the mouse will freeze for ~4 seconds, then move normally for ~8 seconds, then repeats.
Also one system shows

The other shows:

This is resolved, it turns out my work laptop was switched to a public network, switching it to a private network fixed the issue.


Add auv_msgs

Fixing the extra line that creeped in during a merge right around my edit...

Should be fixed now


Errors after uninstalling snapshot

Here's how I got stuck up. I had three versions installed
* 2.2.1-SNAPSHOT-2016-04-23-a (set by /Users/sudhanshuraheja/.swiftenv/version)
  DEVELOPMENT-SNAPSHOT-2016-05-31-a
  2.2

I first moved to the development snapshot - swiftenv global DEVELOPMENT-SNAPSHOT-2016-05-31-a and then uninstalled 2.2.1-SNAPSHOT-2016-04-23-a by using swiftenv uninstall 2.2.1-SNAPSHOT-2016-04-23-a
Then I started getting these errors:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

I now I get them everytime I run swiftenv versions
I'm on OSX 10.11.5 and installed SwiftEnv via Brew.

Um, this is not an issue, sorry, I was inside a folder which didn't exist anymore.


Reduce GCP Fixed Costs by 50%

Reference Issues or PRs
Fixes https://github.com/nebari-dev/nebari/issues/2452

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[x] Other (please describe):  Make cost optimized E2 instances on GCP the default for node groups.

Testing

[x] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

❓ Are we sure that the e2 is suitable for the user and worker node groups? It seems like for the worker group especially, they might handicap performance. Additionally, they do not support GPU's. I think it might be better to run the General node group on the e2-highmem-4 and the user and worker node groups on the n4-standard-4. Especially with them scaling down to zero now, I think that would be an acceptable tradeoff for performance vs price.

Great points, I looked into it a bit more.
It looks like CPU performance (Coremark score) is roughly equal between the 2 types.

Also, for GPU instances, we usually create new node groups specifically for the gpu profiles although it is not fully documented at the moment e.g. (image below) so I don't see that as an issue for the user or worker node defaults since they would not use these default node groups for their gpu instances.

The only disadvantage I see is the maximum egress is down from 10 to 8 Gbps, but I believe the cost savings is worth the 20% reduction in bandwidth for most users though it's just a hunch.

@dcmcand any further concerns or comments?

I still feel a bit of concern, specifically around the dask worker. However, I have no data to actually justify by concern.
If someone upgrades and then applies the new config, it will result in the nodes being replaced. Do we have any concerns about that?
I also feel like we should make sure we document this change and how to restore the original functionality. Maybe in the FAQ? But probably also in the release notes.

I still feel a bit of concern, specifically around the dask worker. However, I have no data to actually justify by concern.
If someone upgrades and then applies the new config, it will result in the nodes being replaced. Do we have any concerns about that?

We've added node types to the nebari config that is created when running nebari init so if people have node types in their config (as is the default), then they won't be affected by this change.  Assuming they don't, the nodes will be replaced.  This causes Nebari to be unusable for about ~15 minutes as the nodes are switched out, but shouldn't cause a problem otherwise.  I tested this on a deployment and it worked as expected.

I also feel like we should make sure we document this change and how to restore the original functionality. Maybe in the FAQ? But probably also in the release notes.

I'll document it in the Nebari upgrade command so that users will be notified if this will affect them and what they need to add to their config so that it won't affect them, and we can copy something similar to the release notes.

sounds good. thanks @Adam-D-Lewis

We don't know what the next Nebari version will be at the moment (2024.5.2 vs 2024.6.1) so I opened a separate PR and assigned it to the 2024.5.2 milestone. https://github.com/nebari-dev/nebari/pull/2466.  My thought is that we merge this as is and make sure to merge the other in with the appropriate version number during the next release step.


General questions

I don't know a lot about webrtc so i have some questions about it.

Is possible to handle and controll the broadcaster from node so it will stream just to allowed subscribers?
Is WebRTC a good solution against expensive AMS with flash component?

I'm also I don't know about WebRTC. I'm doing a research. What I need is something similar to this question. I want to create a Video Conference that is broadcasting (many-to-one and one-to-many, for example, 1-to-1000)?
Lets say we have 1000 broadcasters "B1", "B2", ...,B1000 sending video/audio stream directly to a main broadcast-controller "BC". Then "BC" should select a broadcaster and broadcast back only the broadcaster selected, for example "B2".  So, all the broadcasters will receive the streaming from "BC" which is re-streaming the "B2" video/audio.
The problem is: if is possible to create this Broadcast-Controller, which receives 1000 attendees: B1, B2, ..., B1000. It means "BC" must receive 1000 streams and send 1 stream to 1000 attendees. Each stream is ~40KB/s which means BC needs 40MB/s outgoing Internet speed to maintain this broadcast.


Remove the "return this" idiom used for call chaining (RFC 29)

Methods in the standard library returning their receiver for call chaining have been updated to return either None or some useful value. Generalised chaining (as in RFC 25) should be used as a replacement for this idiom.
Closes #1457.

Changelog entry updated.


Convert robot qpos to robot joint positions

Is your feature request related to a problem? Please describe.
Is there an easy way to get the robot's joint positions given the robot's qpos (i.e. the robot state from here)?
Describe the solution you'd like
A function which converts the robot qpos to the robot's joint positions.
Describe alternatives you've considered
I'm sure there is a way to manually calculate this, but I'm not sure how exactly to do this / if there are any libraries which could be used.
Additional context
N/A

What you need is called the forward kinematics. Many libraries are able to do it. In sapien, we have integrated the pinocchio library to compute this without changing the simulation state. You can do
model = articulation.create_pinocchio_model()
model.compute_forward_kinematics(qpos)
link_pose = model.get_link_pose(link_idx) # link idx is the index of the link in articulation.get_links()
# Then if you need the joint pose instead, you can do
joint_pose = link_pose * joint.get_pose_in_child()  # assuming the link is the child of the joint

Alternatively, you can also find plenty of libraries to support forward kinematics with URDF input.

I see, thanks!
What is the type of articulation? I tried:
loader: sapien.URDFLoader = scene.create_urdf_loader()
robot: sapien.Articulation = loader.load("./assets/robot/panda/panda.urdf")
model = robot.create_pinocchio_model()

Here, robot is of type sapien.core.pysapien.Articulation but this does not seem to have an attribute create_pinocchio_model.
Also, what is the type of joint?

The create_pinocchio_model function is defined on sapien.core.pysapien.Articulation here. Are you using the latest version?
joint is returned by articulation.get_joints()

That fixed it, thanks!


Timeout from Pool- possible crosstalk between different pools in same application?

Environment
HikariCP version: 3.1.0
JDK version     : 1.8.0_91
Database        : MySQL
Driver version  : 8.0.11

After upgrading both driver from (5.6.xx) to 8.0.11 and HikariCP from 2.3.5 to 3.1.0 we are seeing intermittent timeouts (once or twice a day) from the connection pool.
Our application talks to 6 different databases, and each has a separate pool. What we are seeing is that once any particular pool has an issue, like a connection is broken/new connection is being added, sometimes it would disrupt our master database pool, causing timeouts for a few hundred milliseconds before returning to normal.
In some cases, application doesn't do criss-cross of connections- like acquiring one connection from a pool and waiting on the other pool- this doesn't seem to be the case. See logs below:
12 Sep 2018 23:03:46,092 -[HikariPool-3 housekeeper]-[]- DEBUG - HikariPool.logPoolState(411) - HikariPool-3 - Before cleanup stats (total=2, active=0, idle=2, waiting=0)
12 Sep 2018 23:03:46,924 -[HikariPool-3 housekeeper]-[]- DEBUG - HikariPool.logPoolState(411) - HikariPool-3 - After cleanup  stats (total=2, active=0, idle=2, waiting=0)
12 Sep 2018 23:03:46,096 -[HikariPool-1 housekeeper]-[]- DEBUG - HikariPool.logPoolState(411) - HikariPool-1 - Pool stats (total=10, active=0, idle=10, waiting=0)
12 Sep 2018 23:03:46,949 -[http-nio-8080-exec-9]-[19109153419:65]-  WARN - PoolBase.isConnectionAlive(175) - HikariPool-2 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@68cc0ffe (No operations allowed after connection closed.)
12 Sep 2018 23:03:46,986 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(129) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@68cc0ffe: (connection is dead)
12 Sep 2018 23:03:47,007 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(138) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@68cc0ffe failed
at com.zaxxer.hikari.pool.HikariPool.lambda$closeConnection$1(HikariPool.java:441)
12 Sep 2018 23:03:47,056 -[HikariPool-2 connection adder]-[19109153419:65]- DEBUG - HikariPool$PoolEntryCreator.call(709) - HikariPool-2 - Added connection com.mysql.cj.jdbc.ConnectionImpl@2d4038b5
12 Sep 2018 23:03:47,057 -[HikariPool-2 connection adder]-[19109153419:65]- DEBUG - HikariPool.logPoolState(411) - HikariPool-2 - After adding stats (total=10, active=0, idle=10, waiting=0)
12 Sep 2018 23:03:47,314 -[http-nio-8080-exec-48]-[1085842046:20]-  WARN - PoolBase.isConnectionAlive(175) - HikariPool-2 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@29f105c5 (No operations allowed after connection closed.)
12 Sep 2018 23:03:47,318 -[http-nio-8080-exec-53]-[1085841999:29]-  WARN - PoolBase.isConnectionAlive(175) - HikariPool-2 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@1892aa25 (No operations allowed after connection closed.)
12 Sep 2018 23:03:47,316 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(129) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@29f105c5: (connection is dead)
12 Sep 2018 23:03:47,332 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(138) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@29f105c5 failed
at com.zaxxer.hikari.pool.HikariPool.lambda$closeConnection$1(HikariPool.java:441)
12 Sep 2018 23:03:47,332 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(129) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@1892aa25: (connection is dead)
12 Sep 2018 23:03:47,332 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(138) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@1892aa25 failed
at com.zaxxer.hikari.pool.HikariPool.lambda$closeConnection$1(HikariPool.java:441)
12 Sep 2018 23:03:47,357 -[HikariPool-2 connection adder]-[19109153419:65]- DEBUG - HikariPool$PoolEntryCreator.call(709) - HikariPool-2 - Added connection com.mysql.cj.jdbc.ConnectionImpl@6c7d328e
12 Sep 2018 23:03:47,380 -[HikariPool-2 connection adder]-[19109153419:65]- DEBUG - HikariPool$PoolEntryCreator.call(709) - HikariPool-2 - Added connection com.mysql.cj.jdbc.ConnectionImpl@5ddbdcc5
12 Sep 2018 23:03:47,383 -[HikariPool-2 connection adder]-[19109153419:65]- DEBUG - HikariPool.logPoolState(411) - HikariPool-2 - After adding stats (total=10, active=1, idle=9, waiting=0)
12 Sep 2018 23:03:47,439 -[http-nio-8080-exec-3]-[19109179197:7]-  WARN - PoolBase.isConnectionAlive(175) - HikariPool-2 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@296500f0 (No operations allowed after connection closed.)
12 Sep 2018 23:03:47,466 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(129) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@296500f0: (connection is dead)
12 Sep 2018 23:03:47,467 -[HikariPool-2 connection closer]-[19109153419:65]- DEBUG - PoolBase.quietlyCloseConnection(138) - HikariPool-2 - Closing connection com.mysql.cj.jdbc.ConnectionImpl@296500f0 failed
at com.zaxxer.hikari.pool.HikariPool.lambda$closeConnection$1(HikariPool.java:441)
12 Sep 2018 23:03:47,480 -[HikariPool-2 connection adder]-[19109153419:65]- DEBUG - HikariPool$PoolEntryCreator.call(709) - HikariPool-2 - Added connection com.mysql.cj.jdbc.ConnectionImpl@c52cdc1
12 Sep 2018 23:03:47,511 -[HikariPool-2 connection adder]-[19109153419:65]- DEBUG - HikariPool.logPoolState(411) - HikariPool-2 - After adding stats (total=10, active=3, idle=7, waiting=0)
12 Sep 2018 23:03:47,787 -[http-nio-8080-exec-92]-[1085842478:16]- DEBUG - HikariPool.logPoolState(411) - HikariPool-1 - Timeout failure stats (total=10, active=10, idle=0, waiting=41)
12 Sep 2018 23:03:47,788 -[ThreadPoolTaskExecutor-6]-[19084462804:3]- DEBUG - HikariPool.logPoolState(411) - HikariPool-1 - Timeout failure stats (total=10, active=10, idle=0, waiting=41)
12 Sep 2018 23:03:47,788 -[http-nio-8080-exec-81]-[1680751179:77]- DEBUG - HikariPool.logPoolState(411) - HikariPool-1 - Timeout failure stats (total=10, active=10, idle=0, waiting=40)
12 Sep 2018 23:03:47,788 -[http-nio-8080-exec-37]-[1680751016:7]- DEBUG - HikariPool.logPoolState(411) - HikariPool-1 - Timeout failure stats (total=10, active=10, idle=0, waiting=40)
12 Sep 2018 23:03:47,789 -[http-nio-8080-exec-30]-[1680753095:21]- DEBUG - HikariPool.logPoolState(411) - HikariPool-1 - Timeout failure stats (total=10, active=10, idle=0, waiting=41)
12 Sep 2018 23:03:47,791 -[http-nio-8080-exec-89]-[19109186187:12]- DEBUG - HikariPool.logPoolState(411) - HikariPool-1 - Timeout failure stats (total=10, active=10, idle=0, waiting=41)

Have you searched the CLOSED issues already? How about checking stackoverflow?

Are you tracking pool statistics? Such as average time a connection is out of the pool?  41 waiting threads indicates that queries are running very slow in that pool...

@amanullah92 The message Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@68cc0ffe (No operations allowed after connection closed.) typically indicates that the database-side is closing connections before they have reached their maxLifetime.
The fact that the validation failures in HikariPool-2 at 23:03:46,949 thru 23:03:47,439 are so  near the timeouts experienced in HikariPool-1 starting at 23:03:47,787 is "suspicious".  In the legal field there is a maxim that there are no coincidences.
Having inspected the code, I find no static state that could be shared between pools.  My suspicions fall on the database, and why connections were closed (from the database-side) coincidentally close to the timeouts.  Have you checked the database logs at the same timestamp?  (Both servers use NTP, right?!)
It would be useful to take a connection that failed validation, for example ConnectionImpl@68cc0ffe, and look back in the log to find when it was created.  What you are looking for is: what is the time difference between creation and validation failure?  I would suggest trying to find the shorted time difference between creation and validation failure, and set the maxLifetime to a minute or so shorter than that time.

This almost seems to indicate synchronization within the driver, if the databases are truly separate...

Any update on this issue?

Yes, we removed the cross talk angle by making sure validation failures don't occur- but the intermittent timeouts remained.
It turned out that there was an anti-virus (TrendMicro Deep Security Agent) upgrade on the machines which was causing this. Not sure exactly how- we are following up with their team on this. But after disabling the anti-virus, we got rid of this behaviour.
Will update here when we get to the root of this. For now, we are pretty happy to get rid of this!


Investigate Jasper as a new theme

https://jekyllthemes.io/theme/jasper

Done a lot of work with this as the theme for version 2. Closing.


Enable nodejs single span ingestion tests

Depends on #848
Depends on DataDog/dd-trace-js#2779
Description
This will enable the new single span ingestion tests for Node.js, when it's ready.
Check list
Your PR is not ready to be reviewed? Please save it as a draft :pray:

[x] Follows the style guidelines of this project (See how to easily lint the code)
[ ] CI is passing
[ ] There is at least one approval from code owners

Yes to all? Feel free to merge it whenever you want :heart:

Updating your branch, something is brokken on php.


Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for xethron/migrations-generator dev-master -> satisfiable by xethron/migrations-generator[dev-master].
- xethron/migrations-generator dev-master requires way/generators 2.* -> no matching package found.
Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
In my composer file:
"require-dev": {
"way/generators": "~3.0",
"xethron/migrations-generator": "dev-master"
}

Confirmed

My apologies, I forgot to add this in the readme.
You'll have to add this to your composer.json:
"repositories": [
    {
        "type": "git",
        "url": "git@github.com:jamisonvalenta/Laravel-4-Generators.git"
    }
]

Let me know if you still have any issues.

It need username and password for this?
Loading composer repositories with package information
Cloning failed using an ssh key for authentication, enter your GitHub credential
s to access private repos
A token will be created and stored in ".../Compos
er/auth.json", your password will never be stored
To revoke access to this token you can visit https://github.com/settings/applica
tions
Username:

I am still having this problem.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for xethron/migrations-generator dev-master -> satisfiable by xethron/migrations-generator[dev-master].
- xethron/migrations-generator dev-master requires way/generators 2.* -> no matching package found.
Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

My composer file:
"require-dev": {
    "fzaninotto/faker": "~1.4",
    "mockery/mockery": "0.9.*",
    "phpunit/phpunit": "~4.0",
    "phpspec/phpspec": "~2.1",
    "xethron/migrations-generator": "dev-l5",
    "way/generators": "dev-feature/laravel-five-stable",
    "way/generators": "~3.0",
    "xethron/migrations-generator": "dev-master",
    "way/generators": "dev-master"
},

"repositories": [
    {
        "type": "git",
        "url": "git@github.com:jamisonvalenta/Laravel-4-Generators.git"
    }
],

@JeremyMulvihill What is your Laravel version?

My Laravel version is 5.1

@JeremyMulvihill  try with
    "way/generators": "~2.0",


added ArangoDB framework

There are a number of changes outside of arangodb.  It isn't clear why this is the case.   Could remove these or rebase as appropriate.

Investigating a little... the changes in question came from the Mesosphere team.  It appears to the a rebase issue.   Please rebase to version-1.x and only provide in the PR the changes necessary for Arango only.   It is likely you will need to force push to this PR after your rebase.
Thanks!

As commented earlier, I believe that we should have made this pull request against the version-1.x branch, which does contain the changes outside the ArangoDB area. I do not know how to "rebase" a pull request. I have asked Frank Celler to investigate.

@kensipe I've tried to change the branch to version-1.x, but the github API does not allow the change. I need to create a new request.

@kensipe please see https://github.com/mesosphere/universe/pull/170


Update IPEX version and add support for BF16 inference

This modification brings the Intel® Extension for PyTorch version up to the latest, alongside enhancements to the quantization pipeline, enabling BF16 inference.
Disclaimer: Additional revisions to the Readme will be addressed in the forthcoming PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mzyczyns Please confirm that you have tested the updated code for all the variations and I will merge the PR. Thanks


Is there a brpc version which can match protobuf-3.8.x for using with TF2.0?

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
No
Describe the solution you'd like (描述你期望的解决方法)
I hope developers can upgrade the brpc with protobuf 3.8.x.
Describe alternatives you've considered (描述你想到的折衷方案)
Additional context/screenshots (更多上下文/截图)

https://github.com/apache/incubator-brpc/issues/1242

#1242

Thanks!


Upgrade to Avalonia 11.0.0-rc1.1

Hello ! I have upgraded the project dependencies to the latest Avalonia release candidate.
Changes were minimal and I was able to run the desktop demo project without issues.
I have not tested the web demo yet, will do later when I have installed the workload, but i don't expect any issues.
If there's any changes needed please let me know, i'll be happy to implement them ^^

tagging @wieslawsoltes in case this didn't reach him, hope thats ok

main branch updated, nuget here https://www.nuget.org/packages/Avalonia.Skia.Lottie/11.0.0-rc1.1


Update README.md

fixed typo

Hi @leomicheloni , thanks for merging this. I'd be happy to help out on this project, there seem to be a few 'todos'?


SOLR-17030: Open TransactionLog for extension.

TransactionLog is already extended by HdfsTransactionLog. But the extension basically relies on an empty protected constructor, and HdfsTransactionLog re-implements everything.
We want to open more TransactionLog to extension so that an extending class could leverage the logic present in TransactionLog, and override mainly how output/input streams are opened. This extension will be used by an EncryptionTransactionLog in solr-sandbox.
No functional change, only some refactoring.
The change consists in introducing OutputStreamOpener and ChannelInputStreamOpener so that an extending class can replace the defaults by a custom implementation (e.g. stream openers supporting encryption).
Also fix the various flush() calls to ensure the delegate streams are also flushed.

before merging could you run a few rounds of the CloudIndexing benchmark (https://github.com/apache/solr/blob/main/solr/benchmark/src/java/org/apache/solr/bench/index/CloudIndexing.java#L51)? I would like to see if we can check for performance regressions.
the benchmark is not perfect by any means, and I would like to see if there are improvements that can be made to it so we can more easily use it for cases like these.

Thanks Alex for the review and questions. Good point with the indexing benchmark.
So I ran it to confirm there is no perf impact.
I ran the benchmark twice with the current code (baseline):
# Run complete. Total time: 00:25:22

Benchmark               (nodeCount)  (numReplicas)  (numShards)  (preGenerate)  (useSmallDocs)   Mode  Cnt     Score      Error  Units
CloudIndexing.indexDoc            4              1            4          50000            true  thrpt    4  8167.548 ± 5407.518  ops/s
CloudIndexing.indexDoc            4              1            4          50000           false  thrpt    4   664.634 ±  207.693  ops/s
CloudIndexing.indexDoc            4              3            4          50000            true  thrpt    4  3153.489 ± 2220.162  ops/s
CloudIndexing.indexDoc            4              3            4          50000           false  thrpt    4   196.909 ±  168.691  ops/s

# Run complete. Total time: 00:26:35

Benchmark               (nodeCount)  (numReplicas)  (numShards)  (preGenerate)  (useSmallDocs)   Mode  Cnt     Score      Error  Units
CloudIndexing.indexDoc            4              1            4          50000            true  thrpt    4  7850.734 ± 7853.495  ops/s
CloudIndexing.indexDoc            4              1            4          50000           false  thrpt    4   718.769 ±  144.427  ops/s
CloudIndexing.indexDoc            4              3            4          50000            true  thrpt    4  3121.904 ± 1488.081  ops/s
CloudIndexing.indexDoc            4              3            4          50000           false  thrpt    4   208.965 ±  279.114  ops/s

And I ran the benchmark twice with the new code:
# Run complete. Total time: 00:25:34

Benchmark               (nodeCount)  (numReplicas)  (numShards)  (preGenerate)  (useSmallDocs)   Mode  Cnt     Score      Error  Units
CloudIndexing.indexDoc            4              1            4          50000            true  thrpt    4  7987.105 ± 7236.395  ops/s
CloudIndexing.indexDoc            4              1            4          50000           false  thrpt    4   720.472 ±  240.961  ops/s
CloudIndexing.indexDoc            4              3            4          50000            true  thrpt    4  3337.063 ± 2887.649  ops/s
CloudIndexing.indexDoc            4              3            4          50000           false  thrpt    4   199.760 ±  288.116  ops/s

# Run complete. Total time: 00:26:27

Benchmark               (nodeCount)  (numReplicas)  (numShards)  (preGenerate)  (useSmallDocs)   Mode  Cnt     Score      Error  Units
CloudIndexing.indexDoc            4              1            4          50000            true  thrpt    4  7851.275 ± 5788.400  ops/s
CloudIndexing.indexDoc            4              1            4          50000           false  thrpt    4   741.718 ±  158.800  ops/s
CloudIndexing.indexDoc            4              3            4          50000            true  thrpt    4  3034.854 ± 2308.357  ops/s
CloudIndexing.indexDoc            4              3            4          50000           false  thrpt    4   210.943 ±  254.704  ops/s

thank you for giving the benchmarks a go


textillate with script fonts?

Does textillate not work well with script fonts?
Right now im trying to animate a script font as a large header (~42px):
http://www.fontsquirrel.com/fonts/kaushan-script
Im just using in: { effect: 'flipInY' }
Firefox is pretty cool with it. Chrome, however, cuts off the edges (that would normally appear outside the box) and does not animate very well.
I tried giving each span-wrapped letter a width, which helps but it still animates strange.
.homeWrapper h2 span span span:last-child { width: 27px; margin-left: -6px; }
Cut off during animation, then when finished it snaps to full width.
Ideas?

We are experiencing the same frustrating problem. Were you able to find a fix for this?

...a day late and a dollar short, but in case anyone else runs into this problem in the future, I came up with an easy fix. Simply add padding to the textillate span, then set an equal but negative margin. (Tested and works in Safari, Firefox, & Chrome.)
`.text-to-textillate {
position: absolute;
color: #000;
}
.text-to-textillate span {
font-family: 'Arial';
padding: 50px;
margin: -50px;
}`


Issue with original select values

Hi there,
I'm trying to use selectric to replace woocommerce select attribute on product page.
But it looks like not behaving well.
I have 2 selects 'Color' and 'Size' and selectric is set $(select).selectric();
So I first select 'Color', and in original select, only selected option remains, and all others are removed from DOM.
<select name="color">
<option value="">Choose an option</option>
<option value="black">Black</option>
</select>

Then I select 'Size' and in this one everything is in place in original select ,and all goes well.
Now I wan't to select another color, and I do so, but original  don't changes, leaving only first option there, the markup stays as aboe.
Since there is some AJAX which is getting price for selected attribute, this is then breaking it because it needs original select item to get values from.Then I need to select empty value to restore functionality.
I'm not sure why is this happening.
Also, I'm not able to re-init the select back to original.
I have tried
$('select').selectric('refresh');
and then to loop $.each but non of them was returning value to initial 'Choose.. '
BR
V

Hrm. What does the initialization of Selectric look like on Color and Size ? Can't think of anything that would remove <option> elements from the DOM.
So, Color influences the available Size options; is this bi-directional?

Hi,
I just fire $('select').selectric(); so it's fired for all.
If I remove selectric and leave only default selects, then no issues.
I have also checked the woocommerce functions there is nothing there messsing the select, it just fires 'on change'.


revert the Scanpy tutorial to the updated correct version

@nomadscientist hopefully it fixes stuff
checked against commit abbe1e4 to fix changes that PR 'Tutorial Monocle3 R notebook - WIP #3893' made to scrna-case_JUPYTER-trajectories tutorial

ah sorry @wee-snufkin, there is a small conflict now with the tuotrial title after merging @nomadscientist's PR, can you resolve it?

ah sorry @wee-snufkin, there is a small conflict now with the tuotrial title after merging @nomadscientist's PR, can you resolve it?

should be resolved now!

EXCELLENT SAVE @wee-snufkin , you rock


Continue completion if the item's word has matched.

For example, In typescript-language-server, we can complete in the below position.
import { } from '|';

And then, we can type @ to choose the scoped module. But nvim-compe will close the popup menu.
The reason is that determine returns empty if we type @.
It is awesome if nvim-compe continues the current completion.
I have no idea for it for now.

Wait, isn't that the current behaviour already? or do I misunderstood you.
https://user-images.githubusercontent.com/51877647/107204780-ab9afb00-6a2f-11eb-8049-d0e6050d84ca.mp4

Try with this config. I think the behavior will be improved.
Pattern.set_filetype_config('typescript', {
  keyword_pattern = [[\%(/\h\?\w*\|\h\w*\)]];
})
Pattern.set_filetype_config('typescript', {
  keyword_pattern = [[\%(@\w*\|\h\w*\)]];
})
Pattern.set_filetype_config('typescriptreact', {
  keyword_pattern = [[\%(@\w*\|\h\w*\)]];
})
Pattern.set_filetype_config('javascript', {
  keyword_pattern = [[\%(@\w*\|\h\w*\)]];
})
Pattern.set_filetype_config('javascriptreact', {
  keyword_pattern = [[\%(@\w*\|\h\w*\)]];
})

You're right, that is so much better! Maybe that should be the default?

If it's better and if it will become default, can it also be enabled for Vue?

I think it should be enabled for all JS/TS related filetypes like Vue, Svelte, etc.

Certainly, On second thoughts, my proposed solution would not improve this case... (because the first char is @)
So probably, we should improve the keyword pattern.

...wait. If @ is trigger character, my proposed solution is correct way. I will check it.

Ah. the @ is trigger character. so if we determine keyword pattern by returned items is still a good idea... maybe.

It is hard to implement, I think. I will tackle it if I have spent time.

We can improve the default keyword-pattern at the moment.

Hm... I will investigate What is VSCode does.

I think this is something needed in general;
Currently, after the initial completion list is generated, and the user enters an additional character, the completion list is only filtetered down and sources are not called to provide additional completions based on the new partial input.
I can force compe to regenerate the completion list by preessing Ctrl-Space, but it would be nice to allow a source to indicate that new items can be generated.
I can achieve this behaviour in compe-tabnine if I set context.manual to true in the determine callback, but this seems hacky.
Any other way to achive this?

@tzachar This issue does not relate to your problem. You can use incomplete flags that can be found in compe_tags source.

@tzachar This issue does not relate to your problem. You can use incomplete flags that can be found in compe_tags source.

Cool.

This issue is really important. I'm tackling it so other work will stop.


Disable tailcall optimizations

Somehow clang is erroring out with armv7:
ld: warning: building for iOS, but linking in .tbd file (/home/nick/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for iOS Simulator
ld: armv7 has no pc-rel bx thumb instruction. Can't fix up branch to _objc_autoreleaseReturnValue@0x00000000 in __ZL65_logos_property$_ungrouped$YTMainAppControlsOverlayView$pipButtonP28YTMainAppControlsOverlayViewP13objc_selector in '__ZL65_logos_property$_ungrouped$YTMainAppControlsOverlayView$pipButtonP28YTMainAppControlsOverlayViewP13objc_selector' from /home/nick/pip/.theos/obj/armv7/Tweak.xm.0d37458a.o
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)

@nicknitewolf This sounds like an edge case with your development tool. Or, did you find that YouPiP tweak doesn't work correctly on armv7 devices?

Something is definitely wrong with the tool I’m using, I’ll look into it. However, shouldn’t we be dropping armv7 support soon since apple has already EOLed all the 32bit ios devices

YouPiP's target deployment matches with the lowest iOS version supported by the YouTube app. Currently, it's iOS 10 and iOS 10 has 32-bits.

YouPiP's target deployment matches with the lowest iOS version supported by the YouTube app. Currently, it's iOS 10 and iOS 10 has 32-bits.

eh it really should target ios13, probably can change it in the makefile

@nicknitewolf Just checked on App Store. It targets iOS 11 now.


Update outdated kubernetes-api.md file in the dev-1.19-ko.7

#25522
Update outdated kubernetes-api.md in the upstream/dev-1.19-ko.7 branch.
The following file was missing in PR #25529 , so this PR updates of it.

[x] content/en/docs/concepts/overview/kubernetes-api.md 1 file changed, 39 insertions(+), 19 deletions(-)

/assign @seokho-son

감사합니다!
반영한 후 처리했습니다. :-)

/lgtm
/approve


Don't know how to produce datasets for cycleGAN.

Hey Im wondering how to produce my on datasets for cycleGAN.
In cyclegan.py I see
 real_A = Variable(batch["A"].type(Tensor))   real_B = Variable(batch["B"].type(Tensor))
I want to know where we define the batch['A'], is it because of the foldername and defalutly defined in dataloader?
I want to know where we define this mechanism since the input data belong to different classes and I want to distinguish it.
THX.

ohhh I find it in datasets.py

ohhh I find it in datasets.py