Setting to track/expose how much of my living cost is covered by Gratipay

If we're talking about donation based payroll, it makes sense to be able to see how much of your living cost the Gratipay covers.  It may also help teams communicate their flow, but right now I am talking about individuals.
I see it like a form to enter variable that gives a fixed amount of value that you need weekly.

If entered, it becomes public info.
When compared with your weekly income, a graph is shown.

The value is recorded every time. The change of value may come with comment to make you keep track of your requirements and reasons for the raise. The goal is to have a clean interface that will allow people to start adding to their living cost, and compare it using timeline. I would personally try to see how much do I need to spend on food every week, then raise it from "most cheap healthy food" to "comfortable food" bar, then separately "living cost" and "communication" and "transportation".

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/20414385-setting-to-track-expose-how-much-of-my-living-cost-is-covered-by-gratipay?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

@techtonik:

If entered, it becomes public info.

I'd like the info, but don't like the idea of it defaulting to public.


Building after a fork

What's the best way of building the project with go when you have forked the project? It seems to have issues with finding the packages that are within the local directory. The GO* variables are all setup, but using go build in the root keep failing.
My go build keeps failing with the packages local. I can use go get to get the packages but that just places them in those directories. I'd like to make improvements to the packages.
Here's an example
../../adrianco/spigo/actors/edda/edda.go:5:2: cannot find package "github.com/adrianco/spigo/tooling/archaius" in any of:
    /Users/me/tools/go/src/github.com/adrianco/spigo/tooling/archaius (from $GOROOT)
    /Users/me/projects/gocode/src/github.com/adrianco/spigo/tooling/archaius (from $GOPATH)

Settings:
GOROOT=/Users/me/tools/go
GOPATH=/Users/me/projects/gocode

I'm not sure how to handle this. When I was working with a modified fork of someone elses code I manually changed the includes to reference it.

I'll give that a shot. It seems to be an as designed limitation in go.

This might help -
http://code.openark.org/blog/development/forking-golang-repositories-on-github-and-managing-the-import-path
On Wed, Jun 1, 2016 at 8:56 PM, Henri van den Bulk<EMAIL_ADDRESS>
wrote:

I'll give that a shot. It seems to be an as designed limitation in go.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/adrianco/spigo/issues/70#issuecomment-223189521, or mute
the thread
https://github.com/notifications/unsubscribe/ACWGWFhT6UDw8hiRxrIypZyqOJfNdPEEks5qHlSKgaJpZM4IjcZd
.

Thanks @hubayirp that's a great help. Closing issue.


Dart models must include toMap&fromMap besides toJson&fromJson

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v14.15.3
Amplify CLI Version
7.6.4
What operating system are you using?
Ubuntu
Amplify Codegen Command
codegen, codegen models
Describe the bug
The generated models code should include toJson&fromJson for normal json(String) instead of using them for (Map).
Also the (Map) class should have toMap&fromMap instead of using toJson&fromJson.
like this:
 Map<String, dynamic> toMap() {
    return {
      'id': id,
      'title': title,
      'icon': icon,
    });
  }

  factory Course.fromMap(Map<String, dynamic> map) {
    return Course(
      id: map['id'],
      title: map['title'],
      icon: map['icon'] ?? '',
      );
  }

  String toJson() => json.encode(toMap());

  factory Course.fromJson(String source) => Course.fromMap(json.decode(source));

Expected behavior
Have model like this:
 Map<String, dynamic> toMap() {
    return {
      'id': id,
      'title': title,
      'icon': icon,
    });
  }

  factory Course.fromMap(Map<String, dynamic> map) {
    return Course(
      id: map['id'],
      title: map['title'],
      icon: map['icon'] ?? '',
      );
  }

  String toJson() => json.encode(toMap());

  factory Course.fromJson(String source) => Course.fromMap(json.decode(source));

Reproduction steps

just generate the models

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Hi @Abdelazeem777 Thanks for bringing this to our attention. We will discuss supporting this for Dart Models internally and get back on this.

Resolved in https://github.com/aws-amplify/amplify-codegen/pull/491


WHERE is ignored if there is a GROUP BY

Actually no, WHERE is ignored bu SQLparser if it is after the GROUP BY


The copyright year in the footer is 2015

The copyright year in the footer is 2015. Isn't it better to take the current year in the template? I would love to fix this.

I believe the copyright notice should also say "Copyright ©" in full, since the "©" symbol by itself bears no legal meaning.

Putting a copyright notice under a page is useless anyway: websites are © by default, so in fact we could just get rid of it as well

Okay, so we remove the copyright text from the footer?

It's okay. You can leave it as is for now :)
Op zo 31 jul. 2016 20:11 schreef Serkan Yildiz<EMAIL_ADDRESS>
Okay, so we remove the copyright text from the footer?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/iRail/hyperRail/issues/216#issuecomment-236446837,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVLwS1nelP5LtA9UR49WaUDS8x5u2Akks5qbOU6gaJpZM4JXS-S
.


S3fs doesn't check again if file exists

In this code snippet, I check if s3 path exists, then create it by subprocess of aws cli, and then check it again.

import s3fs
import subprocess

s3fs_obj = s3fs.S3FileSystem()

src = 's3://bucket/src'
dst = 's3://bucket/dst'
print(s3fs_obj.exists(dst))
es, out = subprocess.getstatusoutput(f'aws s3 cp {src} {dst} ')

print(es)
print(s3fs_obj.exists(dst))

The results are:

False
0
False

And if I try to open the "dst" path, it fails on "FileNotFoundError".

This is expected and a necessary optimisation, since listing lookups on s3 are relatively expensive. You can always use invalidate_cache or one of the refresh=True arguments, or don't use the "dircache" at all.

Arguments controlling the directories cache:
        Parameters
        ----------
        use_listings_cache: bool
            If False, this cache never returns items, but always reports KeyError,
            and setting items has no effect
        listings_expiry_time: int or float (optional)
            Time in seconds that a listing is considered valid. If None,
            listings do not expire.
        max_paths: int (optional)
            The number of most recent listings that are considered valid; 'recent'
            refers to when the entry was set.

Thank you!
But how does it explain the "FileNotFoundError? "open" is a GET request, not list.

But how does it explain the "FileNotFoundError? "open" is a GET request, not list.

Open needs file information (size, etag, etc), so it also uses the cache. Not sure, but cat/get probably will work fine.


Removed R jobs from workflow

Fix #59

Fix #59

And amend the commits to have one commit.

And amend the commits to have one commit.

Ok


[BUG] url autocomplete window doesn't go away until application restart

Insomnia Version: <IP_ADDRESS>41
Operating System:  macOs 10.14.5

Details
Sometimes, when typing an url the autocomplete window shows up and does not go away (only solution is to close and reopen the application).
If you click on one item, the url stays the same, but in the "Url preview" under the "Query" tab you can see that the item was actually prepended to the url.

Closing as stale. We have a similar bug on latest version https://github.com/Kong/insomnia/issues/5214


Fixing team name to slug convertion

Coverage decreased (-0.1%) to 95.726% when pulling 776b1218544783fcdb7fdcd07a44dfce8a3bb05c on dev into cce692d142dc936d40eb166ee0f38132473294ac on master.

Coverage decreased (-0.1%) to 95.726% when pulling 776b1218544783fcdb7fdcd07a44dfce8a3bb05c on dev into cce692d142dc936d40eb166ee0f38132473294ac on master.

Coverage decreased (-0.1%) to 95.726% when pulling a918d521c930c1d2f7cd801df93ad6003f3bfa58 on dev into cce692d142dc936d40eb166ee0f38132473294ac on master.


Playwright Integration

Incorporate Playwright for e2e testing scenarios across multiple browsers.
Main purpose is to exercise the demo application and ensure correct behavior.
Follow-up
When running in CI for all browsers, the webkit case fails in demo1 with this error:

Error: page.screenshot: Cannot take screenshot larger than 32767 pixels on any dimension

This is because the page has no overflow, and ends up being 15 pages "tall".
May require dynamically resizing the viewport for webkit; see this ticket https://github.com/microsoft/playwright/issues/13339
If the fix in that ticket works for all browsers, leave it in.  It was not required for Chrome Desktop Windows (local dev).

Basic integration via Actions is complete.  There are some issues with webkit that may be addressed separately.


How to move several annotation boxes together?

Hi
Thanks for sharing the great tool !
When I annotate a video, I want move several bboxes together, is there any method make it possible?

@nmanovic
Probably in a video several objects can move the same way at approximately the same speed

@bsekachev , probably we should not guess. I will close the issue.
@JimXu1989 , if you can describe the scenario in more details, don't hesitate to reopen.

@nmanovic
Probably in a video several objects can move the same way at approximately the same speed

That's the point!


ixmp[tests] <= 3.6.0 not installable ← codecov yanked from PyPI

The codecov Python package was long ago deprecated (1, 2) and we stopped using it at the time, but it remained in the "tests" set of optional dependencies up to and including ixmp 3.6.0.
Recently the package was entirely deleted from PyPI, without prior announcement, which means pip is not able to satisfy requirements for ixmp[tests] for any released version, which means these are not installable. For more information:

codecov/python-standard#31
https://community.codecov.com/t/codecov-yanked-from-pypi-all-versions/4259
https://about.codecov.io/blog/message-regarding-the-pypi-package/

Per the last two links, the Codecov maintainers may create a new empty package and re-upload this to PyPI.
Mitigation

#476 removed the dependency on codecov from the main branch.
CI workflows for downstream packages (message-ix, message-ix-models, message-data) can pip install "ixmp @ git+https://github.com/iiasa/ixmp.git@main" to work.

Resolution

If codecov is re-uploaded to PyPI, nothing further.
If not, release ixmp 3.7.0, with release notes indicating how to install the tests dependencies for ixmp <= 3.6.0.

Resolution

If codecov is re-uploaded to PyPI, nothing further.

This happened, so closing.


Support python 3.13

Test on Python 3.13, for which torch 2.5 added support.

(And drop python 3.10)


Settings up NLog with VB.

I am using NLog for the first time with Visual Basic.

In your tutorial you suggest defining the logger like this:

private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
But in Visual Basic I can't use the Static keyword:
Private m_logger As NLog.Logger = LogManager.GetCurrentClassLogger()
Please confirm.

Are there any DLL files that need to be deployed with the application that uses this logger?

Here is an example log entry:

2019-01-03 16:07:50.8120|ERROR|GoogleAuthandSync.Program|RESULT_FAILED_OAUTH
Why does it now actually show the exception content in any detail?

Using static is just an optimization, and not required. But in VB there should be a shared-keyword instead that should work just like static.

@snakefoot I can't use shared either. I think the reason is because I have declared my logger variable in the "module" scope. I did this so that other methods would have access to the object.
If I declare it inside a method then I can use static. But that implies I have to declare the logging in every method. Confused.

Module scope should be the same as static. Again just an optimization not a requirement
Sent from my Sony Xperia
---- ajtruckle wrote ----
@snakefoothttps://github.com/snakefoot I can't use shared either. I think the reason is because I have declared my logger variable in the "module" scope. I did this so that other methods would have access to the object.
If I declare it inside a method then I can use static. But that implies I have to declare the logging in every method. Confused.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/issues/3065#issuecomment-451219702, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK-fnJhTiCsH_aTbe-NaAO6FZftmdh_Jks5u_kB-gaJpZM4ZoXvO.

OK, thanks. Now, what about changing it to do a detailed log for exceptions? As I mentioned on SO?

Thank you. :)


doc: update 404 response page

Attempts to display the offending URL that got you to the 404 response
page aren't working, so just display a simple message.
Add an option asking the user to add /latest to the URL (we recently
moved the master-branch documentation down into /latest instead of being
in the root folder).
Signed-off-by: David B. Kinder<EMAIL_ADDRESS>

Codecov Report

Merging #9948 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #9948   +/-   ##
======================================
  Coverage    52.5%   52.5%
======================================
  Files         213     213
  Lines       26078   26078
  Branches     5624    5624
======================================
  Hits        13691   13691
  Misses      10136   10136
  Partials     2251    2251

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 3259ac0...271b825. Read the comment docs.


WIP: Feature/add igeometryfeature

Big rewrite to prepare for NTS. See #1118 to discuss.

It's great to see some activity towards NTS. But could I maybe suggest to publish a stable release 3.0, before tackling all this major refactoring?
There are people who depend on a 'stable' version of Mapsui. The 2.0 release is pretty much a full year old by now, and the master branch has received many changes and fixes over the last year. I am currently using the 3.0.0-alpha tags as replacement for a a stable version in my projects, since 2.0.x does not have the necessary features and fixes. (And I assume there are others who do the same, or maybe some people are simply stuck with 2.0.x since they don't dare to try anything labeled 'alpha').
Considering this situation, I'd highly recommend to prepare a stable release now and approach the rocky road toward NTS after that (which could then result in a version 4.0?). A stable release once a year is not a bad idea, and it would certainly help many users to have some solid ground to step on, instead of treading through an ever-changing swamp of alpha versions ;)
@pauldendulk Do you have any thoughts on this?

@janusw Yes, that makes sense. There should be a 3.0 release without NTS or preparations for NTS. There will probably be some more fixes coming in after the release but we will have to update the NTS branch for this.

@janusw Yes, that makes sense.

Good to hear that you agree :)

There should be a 3.0 release without NTS or preparations for NTS. There will probably be some more fixes coming in after the release but we will have to update the NTS branch for this.

Yeah, the 3.0 release does not need to happen  immediately, of course. But maybe one could either branch off a stable release-3.0 branch before applying the NTS-related changes, or alternatively make the NTS preparations on a devel/unstable/future branch? (Not sure where you'd like your master branch to be.)

Yeah, the 3.0 release does not need to happen immediately, of course. But maybe one could either branch off a stable release-3.0 branch before applying the NTS-related changes, or alternatively make the NTS preparations on a devel/unstable/future branch? (Not sure where you'd like your master branch to be.)

Yes, this is how we did it in the past. Branch the release and develop in master. Do some patches from the release branch. Yet, I only want to do the really necessary work in the release branch because there is too little time to maintain branches that are far apart.


new README

Pull Request Test Coverage Report for Build 573

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.13%

Totals

Change from base Build 571:
0.0%

Covered Lines:
969

Relevant Lines:
1511

💛  - Coveralls


Async support?

It looks like right now this crate is synchronous-only. Do you have any interest in expanding to async drivers? E.g. sqlx for postgres?

Yes, this is possible to implement without a lot of trouble.
Database drivers that I'm currently using either:

already support async (postgres via tokio-postgres, mysql via mysql-async),
execute the query in the current thread anyway (SQLite and DuckDB).

So I don't think there even is a need for something heavy such as sqlx.

The biggest pain point will be a whole new API, ideally in a separate crate. I think that most of the code can be reused, since it preforms only sync work. The only thing that will need to be rewritten is implementation of the API, namely Connector, Statement, ResultRead and Append.
Is this something that would be very useful to you?

This issue is not a priority for me atm, so if anyone else wants it implemented, upvote the issue.

async support would be helpful for me as well


India site: Deploy models

Deploy new site model that does site solar for new client

This can be in this repo, after #79

-[ ] Add module for Ad app like so https://github.com/openclimatefix/ocf-infrastructure/commit/c4eea72c433791774926a818b16cc585b825d314

[ ] Add terraform variable for HF token and access it from AWS secrets manager
[ ] Create a DAG for Ad model like so https://github.com/openclimatefix/ocf-infrastructure/commit/4d421e0d5480ebc45b046229788f276ecba818aa
[ ] Add a generic variable for use USE_SATELLITE for India like so https://github.com/openclimatefix/ocf-infrastructure/commit/f04eb29aab1492df318aef18cb8ca05b414921c0 (set to "true" for ad models, but default to "false" otherwise)

Currently deployed, but producing zeros

Currently it doesnt look like the satellite values have been normalized

Need to further look at NWP, slightly suprised by sr

For satellite data, it looks the values are between 0 and 335 in the zarr file. It looks ocf_datapipes normalizes with these values - https://github.com/openclimatefix/ocf_datapipes/blob/4bf534e999c6b28efb7889587adbfddc1d007cb0/ocf_datapipes/utils/consts.py.
Need to check the training dataset

Have deployed a baseline model to dev and prod now, some outstanding tasks still which can be listed on client-private


Select field will not remove "has-error" class until subsequent update

This is a bug with Liveview: https://github.com/phoenixframework/phoenix_live_view/issues/1313
But the issue is closed in their repo, so I'm not sure if they are willing to fix that TBH.
The way to reproduce this is simple, just have a form with 2 fields, one a normal input field and the other one a select field. Also, add a prompt to the select field.
The first step is to change the text input field, doing that, the phx-change validation event will return that the select field is required and will add the has-error class to it.
Now, just select a valid option in the select field. What should happen is that the select field will not have an error anymore and the has-error class would be removed.
But LiveView will not update that, it will keep the last class information there, in this case, the has-error class. To fix it, you need to issue a new validation event by typing something in the text input for example.
One workaround for this is to add a dynamic id, this is what I did:
<.select
      id={if Keyword.get(f.errors, :state), do: "state-select-error-id", else: "state-select-id"}
      options={[
        Alabama: "AL",
        Alaska: "AK"
      ]}
      form={f}
      field={:state}
      prompt="Choose the state"
    />

Doing that will make the select update correctly since LiveView will see it as a new dom element. But this is just a workaround for a real problem.
I'm not sure if you guys can fix this in any other way, but I wanted to just let you know about the issue. Maybe you can at least add a comment in your documentation to make people aware of the workaround.

Thanks for reporting - weird they're not fixing it. Maybe we can automatically do the ID switch

Done in v1.1.0 with the new <.field> component. https://github.com/petalframework/petal_components/commit/791276f7b97e66ab3e69966df07e4cf145a55b71


Can't upload my annotation file (coco format)

Hi,
I'm trying to upload my annotation file (coco format)
The images were loaded with no issues, but when trying to upload the annotations (zip file) I got the following error:
Could not upload annotation for the task 92382
Error: tus: unexpected response while creating upload, originated from request (method: POST, url: https://app.cvat.ai/api/jobs/91972/annotations/, response code: 409, response text: "File with same name already exists", request id: n/a).
The structure is as follows:
cvat_data_test_coco.zip
-> annotations -> instances_default.json
-> images -> 000000.jpg, 000001.jpg, 000002.jpg
The annotation file looks as follows:
{"licenses": [{"name": "", "id": 0, "url": ""}], "info": {"contributor": "", "date_created": "", "description": "", "url": "", "version": "", "year": ""}, "categories": [{"id": 1, "name": "product", "supercategory": ""}, {"id": 2, "name": "credit_card", "supercategory": ""}, {"id": 3, "name": "phone", "supercategory": ""}, {"id": 4, "name": "wallet", "supercategory": ""}, {"id": 5, "name": "hands_only", "supercategory": ""}, {"id": 6, "name": "other", "supercategory": ""}], "images": [{"id": 1, "width": 1920, "height": 1080, "file_name": "/Users/davidshaer/Desktop/composite/projects/fujitsu-scan-avoidance/products_tracking_data_collection/post_processing_results/cvat_data_test_coco/images/000001.jpg", "license": 0, "flickr_url": "", "coco_url": "", "date_captured": 0}, {"id": 2, "width": 1920, "height": 1080, "file_name": "/Users/davidshaer/Desktop/composite/projects/fujitsu-scan-avoidance/products_tracking_data_collection/post_processing_results/cvat_data_test_coco/images/000000.jpg", "license": 0, "flickr_url": "", "coco_url": "", "date_captured": 0}, {"id": 3, "width": 1920, "height": 1080, "file_name": "/Users/davidshaer/Desktop/composite/projects/fujitsu-scan-avoidance/products_tracking_data_collection/post_processing_results/cvat_data_test_coco/images/000002.jpg", "license": 0, "flickr_url": "", "coco_url": "", "date_captured": 0}], "annotations": [{"id": 1, "image_id": 1, "category_id": 1, "segmentation": [], "area": 45466, "bbox": [916, 339, 179, 254], "iscrowd": 0, "attributes": {"occluded": false, "track_id": 1, "keyframe": true}}, {"id": 2, "image_id": 2, "category_id": 1, "segmentation": [], "area": 45466, "bbox": [916, 339, 179, 254], "iscrowd": 0, "attributes": {"occluded": false, "track_id": 2, "keyframe": true}}, {"id": 3, "image_id": 3, "category_id": 1, "segmentation": [], "area": 45466, "bbox": [916, 339, 179, 254], "iscrowd": 0, "attributes": {"occluded": false, "track_id": 3, "keyframe": true}}]}
Environment:
mac os
CVAT online
Any help will be appreciated
Thanks
David

Hi, thank for reporting the problem. As a workaround, please rename the file and try to upload it again.


Okta Auth Provider PR

Description
This change adds the Okta Auth Provider. It is based on @reedloden 's PR for the original bitly versionhttps://github.com/bitly/oauth2_proxy/pull/528/commits/6bbc9b981d183a5695c497cbb94ca9340d73bbfd
Motivation and Context
To support Okta authentication and authorization.  Okta is an SSO provider with a large market share that provides OIDC support. This change allows users to configure the oauth2_proxy to support Okta as an IDP.
How Has This Been Tested?

Checklist:

[X ] My change requires a change to the documentation or CHANGELOG.
[ ] I have updated the documentation/CHANGELOG accordingly.
[ X] I have created a feature (non-master) branch for my PR.

I just configured Okta with the generic OpenID provider and it seems to work fine (granted my usecase is very simple, just putting an application behind SSO without passing on any user details to the application). I'm curious what the benefit of this is compared to using the generic OpenID provider?
Also, I assume that additional functionality is why you need to use a custom authorization server. As you mentioned this isn't available on all Okta plans, can you add something to the docs about why this is required and if not completely required what the caveats are if this is not done and the default authorization server is used instead?

You are correct, my mistake. I was trying to bring pusher in line with our bit.ly fork but now I see that's not necessary.

I think it would be useful to have a section on configuring Okta in the docs. Currently the Openid connect provider only explains how to configure Dex, that section could possibly be expanded to cover multiple providers.

I agree it would be useful to have some docs. @mikesiegel or @ReillyProcentive would one of you be able to push a PR for them?

Sure thing @steakunderscore

Opened https://github.com/pusher/oauth2_proxy/pull/235


Extension 2.0 - Chrome

@pramukhg,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

"name": "clarity-tools",

do we need the lock file? I thought that package.json was sufficient

Refers to: package-lock.json:2 in ebbec28. [](commit_id = ebbec286aaab6da3a696de864d419d33350fc0ed, deletion_comment = False)

it seems strange to me that we are adding individual listeners that each just handle one request type. Shouldn't we have a single listener with a switch inside it?

Refers to: src/extension/instrument.ts:68 in ebbec28. [](commit_id = ebbec286aaab6da3a696de864d419d33350fc0ed, deletion_comment = False)


ubuntu 14.04 SR300 driver installation issue, distorted/flickering depth image and no infrared image

Required Info

Camera Model
SR300

Firmware Version
How do I get the firmware version?

Operating System & Version
Ubuntu 14.04.5 LTS \n \l

Kernel Version (Linux Only)
4.4.0-040400-generic

Build System
Makefile

Nvidia driver version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  367.48  Sat Sep  3 18:21:08 PDT 2016
GCC version:  gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~14.04.1)
Hello, everyone
I am installing the drivers for SR300, but when I run ./bin/cpp-capture, then the depth image flickers and is distorted. There is also no infrared image visible, just like the #266 describes.
But I choose the setp:
Updated 4.4 Stable Kernel
Run the following script to install necessary dependencies (GCC 4.9 compiler and openssl) and update kernel to v4.4-wily
./scripts/install_dependencies-4.4.sh
Run the following script to patch uvcvideo.ko
./scripts/patch-uvcvideo-4.4.sh v4.4-wily (note the argument provided to this version of the script)
This script involves shallow cloning the Linux source repository (~100mb), and may take a while
but when finished ./scripts/patch-uvcvideo-4.4.sh v4.4-wily, it outputs that
cp:Will not using "/usr/src/linux-headers-4.4.0-31-generic/.config" to cover the just created ". /.config"
cp:Will not using "/usr/src/linux-headers-4.4.0-38-generic/.config"  to cover the just created ". /.config"
Check installation by examining the last 50 lines of the dmesg log:
sudo dmesg | tail -n 50, it outputs
[10009.641288]  [] warn_slowpath_fmt+0x5c/0x80
[10009.641296]  [] ? uvc_ioctl_enum_fmt+0x9d/0xc0 [uvcvideo]
[10009.641306]  [] v4l_enum_fmt+0xd86/0x10f0 [videodev]
[10009.641316]  [] __video_do_ioctl+0x291/0x310 [videodev]
[10009.641321]  [] ? terminate_walk+0x64/0xd0
[10009.641326]  [] ? path_openat+0x492/0x1280
[10009.641336]  [] video_usercopy+0x33e/0x550 [videodev]
[10009.641345]  [] ? video_ioctl2+0x20/0x20 [videodev]
[10009.641355]  [] video_ioctl2+0x15/0x20 [videodev]
[10009.641363]  [] v4l2_ioctl+0xd3/0xe0 [videodev]
[10009.641370]  [] do_vfs_ioctl+0x298/0x480
[10009.641376]  [] ? putname+0x54/0x60
[10009.641382]  [] ? do_sys_open+0x1af/0x230
[10009.641390]  [] SyS_ioctl+0x79/0x90
[10009.641398]  [] entry_SYSCALL_64_fastpath+0x16/0x75
[10009.641402] ---[ end trace 24dd434cad4e8b7a ]---
[10009.641406] ------------[ cut here ]------------
[10009.641416] WARNING: CPU: 0 PID: 2491 at /home/kernel/COD/linux/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd86/0x10f0 videodev
[10009.641418] Unknown pixelformat 0x00000000
[10009.641420] Modules linked in: snd_usb_audio snd_usbmidi_lib btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c nvidia_uvm(POE) cmac bnep rfcomm binfmt_misc nls_iso8859_1 nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) snd_hda_codec_hdmi snd_hda_codec_generic arc4 iwlmvm mac80211 uvcvideo intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp videobuf2_vmalloc btusb videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev kvm btrtl btbcm btintel i915 media bluetooth iwlwifi irqbypass hp_wmi snd_hda_intel snd_hda_codec snd_hda_core cfg80211 snd_hwdep crct10dif_pclmul sparse_keymap crc32_pclmul drm_kms_helper hp_wireless wmi aesni_intel drm snd_pcm aes_x86_64 lrw hp_accel gf128mul glue_helper ablk_helper cryptd i2c_algo_bit fb_sys_fops syscopyarea lis3lv02d rtsx_pci_ms memstick snd_seq_midi joydev input_leds serio_raw input_polldev snd_seq_midi_event sysfillrect snd_rawmidi snd_seq parport_pc snd_seq_device sysimgblt ppdev processor_thermal_device snd_timer intel_soc_dts_iosf int3403_thermal int340x_thermal_zone int3400_thermal i2c_hid acpi_thermal_rel mei_me intel_lpss_acpi intel_lpss shpchp mac_hid video acpi_pad mei lp pinctrl_sunrisepoint pinctrl_intel parport snd soundcore hid_generic usbhid hid rtsx_pci_sdmmc psmouse ahci r8169 rtsx_pci mii libahci fjes
[10009.641535] CPU: 0 PID: 2491 Comm: AudioThread Tainted: P        W  OE   4.4.0-040400-generic #201601101930
[10009.641538] Hardware name: HP HP Pavilion Notebook/820D, BIOS F.09 07/19/2016
[10009.641540]<PHONE_NUMBER>000000 000000009dd19b66 ffff880245143bf0 ffffffff813c8d94
[10009.641545]  ffff880245143c38 ffff880245143c28 ffffffff8107dba2 ffff880245143da0
[10009.641575]<PHONE_NUMBER>000000<PHONE_NUMBER>000000 ffff88021c4a8000<PHONE_NUMBER>000040
[10009.641610] Call Trace:
[10009.641624]  [] dump_stack+0x44/0x60
[10009.641636]  [] warn_slowpath_common+0x82/0xc0
[10009.641649]  [] warn_slowpath_fmt+0x5c/0x80
[10009.641668]  [] ? uvc_ioctl_enum_fmt+0x9d/0xc0 [uvcvideo]
[10009.641686]  [] v4l_enum_fmt+0xd86/0x10f0 [videodev]
[10009.641705]  [] __video_do_ioctl+0x291/0x310 [videodev]
[10009.641719]  [] ? terminate_walk+0x64/0xd0
[10009.641733]  [] ? path_openat+0x492/0x1280
[10009.641750]  [] video_usercopy+0x33e/0x550 [videodev]
[10009.641765]  [] ? video_ioctl2+0x20/0x20 [videodev]
[10009.641779]  [] video_ioctl2+0x15/0x20 [videodev]
[10009.641793]  [] v4l2_ioctl+0xd3/0xe0 [videodev]
[10009.641806]  [] do_vfs_ioctl+0x298/0x480
[10009.641817]  [] ? putname+0x54/0x60
[10009.641825]  [] ? do_sys_open+0x1af/0x230
[10009.641836]  [] SyS_ioctl+0x79/0x90
[10009.641847]  [] entry_SYSCALL_64_fastpath+0x16/0x75
[10009.641855] ---[ end trace 24dd434cad4e8b7b ]---
[10357.281979] uvcvideo: Non-zero status (-71) in video completion handler.
[10357.287097] uvcvideo: Non-zero status (-71) in video completion handler.
[10648.649570] usb 1-1: USB disconnect, device number 10
[10648.649578] usb 1-1.2: USB disconnect, device number 11
[10648.847355] usb 2-1: USB disconnect, device number 6
[10648.847364] usb 2-1.1: USB disconnect, device number 7

I have the same issues. An help could be very appreciated

The file "patch-uvcvideo-4.4.sh" has to be updated as it fails to resolve the target version correctly in case of multiple 4.4.0-x kernel headers available ("/usr/src/linux-headers-4.4.0-31... and ..4.4.0.-38 in your case).
In the meanwhile, you can replace the following line in the patch
CONFIG_LOCATION=/usr/src/linux-headers-$RAW_TAG-generic/*
with the following (assuming that you'd want to use the latest version available):
CONFIG_LOCATION=$(ls -d /usr/src/linux-headers-$RAW_TAG-generic/ | tail -n1)*

I applied the patch but when I restarted the pc, it still does not find the module.
the error is:
rs::error was thrown when calling rs_create_context-api_version:11100-:      uvcvideo kernel module is not loaded

The uvcdriver module is loaded on demand, when a first uvc device is attached.
You can run 'lsusb' and look for '8086:0aa5' string, which isSR300's VID/PID.
In case your device is not listed, re-plug/switch usb port to re-enumerate the device and to load the driver.
In case it still fails- collect and share the outputs of 'lsusb' and 'dmesg' for further inspection

hi!
when I turn on the computer and run "lsusb"
I have: Bus 004 Device 002: ID 8086:0a80 Intel Corp.
but still...  video4linux seems not installing, so I have the same error when I want to run any application for R200, this error message:
rs::error was thrown when calling rs_create_context-api_version:11100-: uvcvideo kernel module is not loaded
And only when I run this command: sudo modprobe uvcvideo
It seems to work

Apparently the installation process did not work well on your system, but the info you provided is insufficient to assess it.
Please elaborate on both the installation and runtime steps performed:
Did you follow the Linux installation chapter in the manual, and applied udev rules as specified ?
What is the 'dmesg' output when the modified './scripts/patch-uvcvideo-4.4.sh v4.4-wily' script is finished?
What is the 'dmesg' output when you plug in R200 camera?
What is the output of 'lsusb -t' with R200 attached?
What do you mean by 'seems to work' ? Are you able to see all the advertised video outputs correctly? Does it apply for R200, SR300 or both ?

Done as followed:
My problem is that
when finished ./scripts/patch-uvcvideo-4.4.sh v4.4-wily, it outputs that
cp:Will not using "/usr/src/linux-headers-4.4.0-31-generic/.config" to cover the just created ". /.config"
cp:Will not using "/usr/src/linux-headers-4.4.0-38-generic/.config" to cover the just created ". /.config"
which can't make  my  uvcvideo  installed correctly.
so I change the file /scripts/patch-uvcvideo-4.4.sh, just like ev-mp says:
replacing the line CONFIG_LOCATION=/usr/src/linux-headers-$RAW_TAG-generic/*
with the following (assuming that my version is  4.4.0-040400-generic):
CONFIG_LOCATION=$(ls -d /usr/src/linux-headers-4.4.0-0404-generic)*
then rerun the patch ./scripts/patch-uvcvideo-4.4.sh v4.4-wily and finish the following steps as Video4Linux backend describes.
Finally, the image displays correctly.
Done


chore: add comments

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Docs

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Explain and link angular2-template-loader

Other information:

thanks!


sslmode=require without an sslcert= won't enforce SSL mode

Bug description
This popped up while chatting with the PlanetScale folks.
Right now if you add sslmode=require to your connection string, but don't specify a sslcert=<path>, we will allow non-SSL connections.
This is confusing since you explicitly set sslmode=require. Perhaps sslmode defaults to prefer or disabled?
For example:
mysql://USER:PASSWORD@HOST:PORT/DATABASE?sslmode=require

How to reproduce

Get a connection string for a database that supports SSL

Try connecting to it without providing an SSL certificate
$ DATABASE_URL="mysql://user:pass@host:3306/prisma?sslmode=require" npx prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "prisma" at "host:3306"
Error: undefined: Database error
Error querying the database: Server error: `ERROR HY000 (1105): unknown error: Code: UNAVAILABLE
server does not allow insecure connections, client must use SSL/TLS

With a sslcert=cert.pem
$ DATABASE_URL="mysql://user:pass@host:3306/prisma?sslmode=require&sslcert=/etc/ssl/cert.pem'"
npx prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "prisma" at "host:3306"

🚀  Your database is now in sync with your schema. Done in 2.49s

✔ Generated Prisma Client (2.25.0) to ./node_modules/@prisma/client in 498ms

Note: For PlanetScale you can use DATABASE_URL="mysql://user:pass@host:3306/prisma?sslmode=require&sslcert=/etc/ssl/cert.pem, where /etc/ssl/cert.pem (e.g. on MacOS) refers to the system certificate store as their certificate is via Let's Encrypt.
Note: We can talk to PlanetScale to get a password to reproduce
Expected behavior
A couple options:

We don't try to connect and throw an error saying that sslmode=require must include sslcert=<path>
We try to load the operating system's default certificate (some conte)

Context

Internal discussion

Note: Example connection string to test this with available in internal discussion, https://prisma-company.slack.com/archives/C01CUJDJ7UN/p1628773204021000?thread_ts=1628696494.011900&cid=C01CUJDJ7UN

Someone from PlanetScale played around with mysql_async, and observed this:

So I did a little testing, and mysql_async provides really nice defaults for this when using it directly with no need to configure Root CAs etc.
The mysql_async::SslOpts::default() object already returns what we need here. It enforces hostname validation and uses system roots (pretty much like how https works).
#[tokio::main]
async fn main() -> Result<(), mysql_async::Error> {
    let url =<EMAIL_ADDRESS>    let builder = mysql_async::OptsBuilder::from_opts(mysql_async::Opts::from_url(url).unwrap());
    let pool = mysql_async::Pool::new(builder.ssl_opts(mysql_async::SslOpts::default()));
    let _conn = pool.get_conn().await?;
    println!("Successfully connected to PlanetScale!");
    Ok(())
}

https://prisma-company.slack.com/archives/C01CUJDJ7UN/p1628762626020200?thread_ts=1628696494.011900&cid=C01CUJDJ7UN

I have opened https://github.com/prisma/quaint/pull/312 which I think greatly improves the user experience here. It means the URL still needs sslaccept=strict (which I think should also be documented, I only found that flag looking at the code).
Ideally I'd argue that sslaccept=strict should be the default mode for when SSL is enabled and that folks will have to opt into unsafe behavior explicitly, but I don't know how breaking that would be for the Prisma community and you all can probably better judge that.

Quick research update here:
It looks like https://www.prisma.io/docs/concepts/database-connectors/mysql#configuring-an-ssl-connection is wrong, our MySQL connector currently does not even support a sslmode parameter at all but that is a PostgreSQL only thing (and how the broken documentation probably came to be). Will investigate a bit further and see what actually does exist and how it works before making suggestions on how to proceed here.

@janpio My PR also fixes honoring sslmode more like in the documentation, except that it removes preferred as an option since the from what I could find the underlying driver doesn't support that.

The PlanetScale problem got "fixed" in context of https://github.com/prisma/prisma/issues/8843.
There is no sslmode for MySQL, so the documentation was updated to not contain that any more.


arch: Add instruction size and PC set methods

Add the instruction size of a static instruction. x86 and arm decoders add now the instruction size to the macro instruction. However, microops are still handled by the fetch stage which is not nice.
Furthermore, we add a set method to the PC state. It allows setting a PC state to acertain address.
Both methods are required for the decoupled front-end.
Change-Id: I311fe3f637e867c42dee7781f5373ea2e69e2072

Thanks, @powerjg for looking into that.
First of all, I have to say I am myself not very happy with the way it's implemented. It was more of a hack as I need the size for the decoupled front-end.
In particular I don't like the way I pass the size from the macroops to the microops (The changes in fetch.cc).
I hope someone can give me feedback on the idiomatic way I should do it.

To make sure I understand correct. I.e. in for RISC-V you mean moving the set function a few lines up into
Decoder::decode(ExtMachInst mach_inst, Addr addr) starting at 678? If so that's a good idea, I can do that.
Good point as well. I only tested the decoupled front end with those three ISA's that's why I only changed it there. However, I'll do it for the other ISA's as well. Therefore, question back: If I understand the code correctly have all other ISA's fixed size instructions of size 4 (All implement some kind of ...PCState<4>). Is that correct?

Thanks, @powerjg for looking into that.
First of all, I have to say I am myself not very happy with the way it's implemented. It was more of a hack as I need the size for the decoupled front-end. In particular I don't like the way I pass the size from the macroops to the microops (The changes in fetch.cc).

I think you can do this in decode as well. I believe all of the micro-ops are generated when the macro-op StaticInst is created. You may have to add an optional size parameter and change the decoders a bit more.

I hope someone can give me feedback on the idiomatic way I should do it.

To make sure I understand correct. I.e. in for RISC-V you mean moving the set function a few lines up into
Decoder::decode(ExtMachInst mach_inst, Addr addr) starting at 678? If so that's a good idea, I can do that.

That was exactly what I was thinking. 👍

Good point as well. I only tested the decoupled front end with those three ISA's that's why I only changed it there. However, I'll do it for the other ISA's as well. Therefore, question back: If I understand the code correctly have all other ISA's fixed size instructions of size 4 (All implement some kind of ...PCState<4>). Is that correct?

I don't have enough confidence to say that's right 😄. Personally, I suggest keeping the size 0 for the instructions if we're not confident in what the size should be. Then, we just need to make sure there isn't a terrible failure condition when the size is 0 (e.g., we should fatal and say that FDIP isn't compatible with an ISA that doesn't implement the size).

Ok I fixed now 1. and 2. according your suggestion.
The micro-ops bit I need to check. I guess I need a bit a better understanding.

This looks good to me! Thanks for all of the updates.

I have to say thank you @powerjg and @andysan for all the suggestions and help. Now I also like the solution much more


ISPN-5632 Address rework comments for ISPN-5293

https://issues.jboss.org/browse/ISPN-5632

Covered the majority of comments.  The 2 main outstanding ones already have issues logged (primarily replication timeout and cache loader spliterator rewrite).

Updated and rebased.

Integrated, thanks @wburns


Remove period from ID in indices that don't have line numbers.

Do this right - when there is no line number, the code still appends a period at the end of the id. Find where this string is compiled and put period before line number and not after id
iconography
locations
search
inscriptions list which doesn't have periods.

Closing with commit 5d285522


Adhere to oss-checklist for proper major release

OSS Project Checklist
A copy of the below checklist could be obtained from oss-checklist (Help us make it better!)
Pre-checks

[x] Able to explain your project in a tweet ?
[x] Choose a name for the project
[x] Check if domain name / App name is available ?
[x] List and learn tools required for the project
[x] Prepare mock-up and one page design document, if needed to explain to collaborators
[x] List previous / similar implementations and learn from them
[ ] Start a blog post to document the journey ( if time permits ) Mention idea + helpful resources.
[x] Ask if project could be solved in a modular way by dividing into sub-problems and creating a separate project for the sub-problems.

Project Creation

[x] Create a Repository in any of the Source Control Management sites

Github ( Free public repos )
Gitlab ( Free public and private repos + CI  + docker registry )
Bitbucket ( Free public and private repos )

[ ] Create a README.md (check below for more)
[x] Create a LICENSE file (choose one before)
[x] Create a CODE_OF_CONDUCT.md
[ ] Create a CONTRIBUTING.md
[x] Create a .gitignore
[x] Create Gitter chatroom (if needed)

README.md Checklist

[ ] Title
[ ] Logo
[ ] Badges
[ ] Description
[ ] Prerequisite for using software ( if any )
[ ] Install
[ ] Example Usage
[ ] Screenshots and GIFs

For command line apps, try asciinema
For mac GUI screenshots, use [Cmd+Shift+3] or [Cmd+Shift+4] or [Cmd+Shift+4,SpaceBar]
For mac GUI GIF creation, try kap
For Ubuntu GUI Screenshots, use [Shift+PrintScr] or Shutter
For Ubuntu GUI GIF creation, try silentcast

[ ] Benchmarks
[ ] Contributors
[ ] Backers and Sponsors
[x] Attributions ( mention 3rd party libs used etc. )
[x] Security

[x] Post maintainer's PGP fingerprint for reporting security vulnerabilities
[x] Share keybase profile for making the reporting process easier.

Coding Phase

[x] Install required developer tools

Compiler
Linter
Formatter
Build Tool
Other

[ ] Basic code complete
[ ] Write tests and keep watch on code coverage
[x] Setup CI

AppVeyor - CI/CD for Windows developers.
CircleCI - Docker-based building with support of customized workflows.
Codefresh - Docker-native CI/CD.
Codeship - Continuous integration, delivery, and deployment.
continuousphp - CI/CD for PHP applications.
DeployHQ - Deployment automation.
Sauce Labs - Cross-browser testing, Selenium testing, and mobile testing.
Semaphore - Fast automated CI/CD.
Shippable - DevOps automation.
Travis-CI - Automated CI/CD for Open Source.

[x] Host the documentation of the code somewhere if the project is a software library
[x] Use Github issues ( or other tools ) for tracking backlogs
[x] Encourage OSS culture by having labels like "help wanted" "easy-to-contribute" etc.
[x] Contribute to other OSS projects on which the current project is dependent on ( if possible )

File bug reports
Improve docs
Suggest feature
Learn by reading code

Release Phase

[ ] Package software in CI or manually in local
[ ] Publish in registries (npm, docker hub etc.) or markets (Android store, App Store etc.)
[ ] Create the release version, description, link for downloading the release etc. in release page ( example: Github release page)

Post-release

[ ] Publish the blog post
[ ] Tweet
[ ] Hackernews
[ ] Product Hunt
[ ] Send PR to awesome-* github repository
[ ] Reddit
[ ] Hashnode
[ ] Linkedin
[ ] Edit Wikipedia pages (if related)
[ ] Prepare slides and give talks (if possible)

https://github.com/microplan-xyz/microplan/pull/85


Enable i18n with fr(French) for website

Like done with es here: https://github.com/cncf/tag-app-delivery/pull/594, this PR is enabling the website in fr.
Here are the 2 pages translated in French to review at this stage:

website/config.toml
website/i18n/fr.toml

The 35 other pages website/content/fr are still in English in order to have the website working in French, with default pages still in English. They will be translased in the future in dedicated PRs, to be managed in more granular ways/reviews.
When this PR will be ready, the goal will be to have the reviews from:

[ ]  @abangser and team for consistency with other entries
[ ]  @antoine-sncf for the French translation
[ ] The existing French translation group (who translated the CNCF glossary recently)

Ready for your review when you have a minute @abangser and @antoine-sncf, thanks!

Actually back to draft, as I need to remove the symlinks like in there https://github.com/cncf/tag-app-delivery/pull/599. Still working on this.


Styling of hover should be changed for "Back-to-top" button

I want to work on this issue as a part of GSSOC'21

Hi, i want to contribute as a participant of gssoc'21

I am doing web dev from last 1 year.
I am also selected as a participant under GSSOC 2021.
Kindly assign this task to me.

Can I contribute to this issue?

I want to work on this issue as a part of GSSOC'21

Is this issue open for all?? If not can i work on this issue

I would love to contribute to this issue, under GSSoC'21.

Hey!!! I want to give assisstance to your nice project as a GSSOC participany?

Heyy!!! I want to give assisstance to your nice project as a GSSOC participant?

I'm a GSSOC participant and I would like to work on this issue. Could you please assign it to me?

I am a GSSoc participant and want to work on this issue. I have started learning HTML and CSS so would be able to contribute to this project.

Issue has been resolved in #56


iOS side of receiving shared text strings by other apps missing in the docs

Hi, I have been looking for a way of sharing plain text strings between 2 Flutter apps I'm  working on, after days of research I was able to share a piece of text between the two apps using the share official plugin and Intent receiver on Android using a piece of documentation.
The problem is only the Android part is documented, no mention of achieving it on iOS, I have tried several options :

URLLauncher plugin official plugin couldn't open custom URL Scheme other than the web, sms stuffs,
The share plugin on iOS couldn't show my app among options of receiving text apps . I didn't find docs on how to make my app appear as a receiver of text shared by other apps and how to handle the incoming text in the receiver app.

Briefly there are 2 main problems :
i. App A wants to share a piece of string data so app B has to show up in the options of receiving that data, here my app was not among the options.
ii. If the data is shared with the app B, how will the app B handle the incoming data.

I have finally been able to do it using both the URLLauncher and the UniLinks plugins by configuring the iOS list config file.


UnicodeEncodeError

View In Browser plugin v2.0.0, Python 3
Traceback (most recent call last):
File "D:\Program Files\Sublime Text 3\sublime_plugin.py", line 543, in run_
return self.run(edit, **args)
File "ViewInBrowserCommand in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\View In Browser.sublime-package", line 198, in run
File "ViewInBrowserCommand in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\View In Browser.sublime-package", line 173, in loadPluginSettings
File "ViewInBrowserCommand in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\View In Browser.sublime-package", line 82, in getBaseCommand
File "ViewInBrowserCommand in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\View In Browser.sublime-package", line 64, in expandWindowsUserShellFolder
File "ViewInBrowserCommand in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\View In Browser.sublime-package", line 134, in getWindowsUserShellFolders
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range(128)

I hava met the same problem.
How can i resolve it?


Rainwater harvesting in Java

Have you read the Contributing Guidelines on Pull Requests?
Yes
(Write your answer here.)
Description
This is code for finding the max amount of water that can be trapped between a given lengths of walls.
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Issue #1116
(Write your answer here.)

@iamrajiv @atarax665 @siddharth25pandey @Kajol-Kumari please review this.


Update Composer dependencies (2020-05-21-00-10)

Visual regression test passed!
View the visual regression test report


Can't reconnect to TOR nodes after migration

Background
Migrated from 0.12.1 to commit hash 213b264e4c0f92a23c7dd8a42e0b68e4958a7e3a (master at the time)
There were a good many TOR nodes that were previously connected to our node.
Channels and peers with tor nodes didn't reconnect after migration, they remain inactive, we are using clear net only.
Is there a current strategy to reconnect with these nodes?

@guggero is this possible?.. connecting with an existing tor peer from clearnet after a migration?

If you're on clear net only, you'll have to wait for Tor nodes to reconnect to you.

@wpaulino the only way to force the Tor nodes to reconnect would be to lncli connect pubkey@newIP:9735 or by restarting their node, which will effectively perform checks on peers and channels on startup, etc, etc. Is this correct?
Is there any way to avoid this from happening in the future? If we were both tor and clear net, then this wouldn't be an issue I presume?

We have reconnection logic, regardless of what network you're running on, that runs after a peer disconnects, so a restart or manual reconnection aren't needed. There could be an issue with the reconnection logic though as noted in https://github.com/lightningnetwork/lnd/issues/5189. Are you able to get in contact with the other node and see why it's not reconnecting to you?

Is there any way to avoid this from happening in the future? If we were both tor and clear net, then this wouldn't be an issue I presume?

It would only help in that you are now also able to reconnect to them through Tor, but they should still be able to reconnect to you regardless. All of your traffic would also go through Tor until we have #5042.

@wpaulino thanks for the information. We had two tor-only node peers reboot their nodes and the channels have since become active. That's why I figured the reconnection through lncli would perform the same function.
Can I fetch any logs/info from our node to see if it really is the issues pointed out in #5189?

We would need the remote node's logs to see why they aren't reconnecting (assuming you don't see any rejected reconnection attempts from them in your logs).


No indexes in Kibana

I have installed the pfelk in docker from the zip provided and run the sh script for creating templates and dashboards.
All seems ok, the port 5140 of logstash is receving packet, checked with tcpdump and saw logs from firewall ip, but the dashborad shows me an error and I cannot see any index in the kibana dashborad management

These are the logs of logstash
[INFO ] 2021-05-13 12:31:41.197 [[pfelk]-pipeline-manager] elasticsearch - New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["http://es01:9200"]}
[ERROR] 2021-05-13 12:31:41.270 [[pfelk]-pipeline-manager] javapipeline - Pipeline error {:pipeline_id=>"pfelk", :exception=>#<Grok::PatternError: pattern %{HAPROXY} not defined>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/jls-grok-0.11.5/lib/grok-pure.rb:123:in `block in compile'", "org/jruby/RubyKernel.java:1442:in `loop'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/jls-grok-0.11.5/lib/grok-pure.rb:93:in `compile'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.3.0/lib/logstash/filters/grok.rb:288:in `block in register'", "org/jruby/RubyArray.java:1809:in `each'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.3.0/lib/logstash/filters/grok.rb:282:in `block in register'", "org/jruby/RubyHash.java:1415:in `each'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.3.0/lib/logstash/filters/grok.rb:277:in `register'", "org/logstash/config/ir/compiler/AbstractFilterDelegatorExt.java:75:in `register'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:228:in `block in register_plugins'", "org/jruby/RubyArray.java:1809:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:227:in `register_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:586:in `maybe_setup_out_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:240:in `start_workers'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:185:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:137:in `block in start'"], "pipeline.sources"=>["/etc/pfelk/conf.d/01-inputs.conf", "/etc/pfelk/conf.d/02-types.conf", "/etc/pfelk/conf.d/03-filter.conf", "/etc/pfelk/conf.d/05-apps.conf", "/etc/pfelk/conf.d/20-interfaces.conf", "/etc/pfelk/conf.d/30-geoip.conf", "/etc/pfelk/conf.d/37-enhanced_user_agent.conf", "/etc/pfelk/conf.d/38-enhanced_url.conf", "/etc/pfelk/conf.d/45-cleanup.conf", "/etc/pfelk/conf.d/50-outputs.conf"], :thread=>"#<Thread:0x78d20b07@/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:125 run>"}
[INFO ] 2021-05-13 12:31:41.271 [[pfelk]-pipeline-manager] javapipeline - Pipeline terminated {"pipeline.id"=>"pfelk"}
[ERROR] 2021-05-13 12:31:41.277 [Converge PipelineAction::Create<pfelk>] agent - Failed to execute action {:id=>:pfelk, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create<pfelk>, action_result: false", :backtrace=>nil}
[INFO ] 2021-05-13 12:31:41.325 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}
[INFO ] 2021-05-13 12:31:42.323 [[.monitoring-logstash]-pipeline-manager] javapipeline - Pipeline terminated {"pipeline.id"=>".monitoring-logstash"}
[INFO ] 2021-05-13 12:31:43.319 [LogStash::Runner] runner - Logstash shut down.
Using bundled JDK: /usr/share/logstash/jdk

are you sure that the path are all correct? Cause in the docker-compose I see:
      - ./etc/pfelk/conf.d/patterns/:/etc/pfelk/patterns:ro
      - ./etc/pfelk/conf.d/databases/:/etc/pfelk/databases:ro

but these directories are empty. The files are in /etc/pfelk/patterns and /etc/pfelk/databases  on the host

So after doing all from scratch  and without using the zip file, all seems to work!
There are some problems with the zip !

@riccardospeggiorin-centropaghe Thank you for this.  I spent too much time trying to figure out this issue.  Can you reopen this issue as I think the zip should be fixed?

No problem. There are some files that are missing, like the first post

I was able to resolve this to some extent by modifying the docker-compose.yml and correcting the paths for patterns and databases. Indexes are now populating, but none of the dashboards will load. Instead, I get a variety of errors regarding "Terms."

Given that @riccardospeggiorin-centropaghe stated that everything seems to work after copying everything down manually, it seems to me that there must be other issues with .zip beyond the incorrect paths in the docker-compose.yml.

The docker-compose.yml in main has the correct paths. Can use `wget https://raw.githubusercontent.com/pfelk/docker/main/docker-compose.yml' as a workaround until .zip is fixed.


Wired rebar (erlang package manager) to support discovery of licenses in...

... erlang projects
Testing for core rebar functionality
Updated the README to include rebar.

It appears there is an issue with the python test, I am not sure the correct path to install erlang/rebar into the vm for testing. If anyone has any ideas I would love to hear them! Thanks for the awesome tool!

Thanks for putting this together @gregdurham. To get the tests running, I think you'll have to configure .travis.yml much like we do for gradle.  That is, wget rebar and make sure it's somewhere on the PATH.  Our travis vm is ruby, so most other things need to be manually installed.  I don't know whether erlang itself is installed on the vm, so if not, there's probably more work to do.
I'm not sure what's going on with the python tests.  There's a chance NPM was down.  But we can figure that out after the erlang tests are passing.

Thank you so much for all the tips, Ill get this updated!

Thanks @mainej! I am going to try and put something together for the travis piece, the biggest issue is that build times will drastically increase due rebar requiring erlang, which will most likely need to be built from source on these boxes. The only other solution is to switch them to erlang machines (do they include Ruby?) the issue there is that the script param expects a make command, which is not needed for this project.

@mainej, rebar is now part of the build, was significantly easier than I expected to add it. All of the Erlang tests are now passing. The only test failing now is the python test from earlier. Thanks again!

@gregdurham thanks for making those tweaks and getting the rebar integration test running.  I definitely want to get this merged, but I'm on vacation so it will have to wait until early March, unless @flavorjones can get to it.  The pip integration test is still broken, and perhaps the gradle test under JRuby, but I think those are unrelated to this PR.
If you have time and interest the rebar_command and rebar_deps_dir config options need to be wired up before they will work:

[ ] They should be settable as CLI options, much like gradle_command.
[ ] They should be passed into LicenseFinder::Core,
[ ] handled (and maybe, defaulted) in LicenseFinder::Configuration,
[ ] and passed through to LicenseFinder::PackageManager.
[ ] They should be documented in the configuration section of the README.

If you don't have time to get to this, I'll do it soon after merging.

Thank you for the very detailed instructions, the latest should include the changes to make it wired into the configuration. Also, I think for future use this could be documented on the wiki, as it was very helpful.


The text field icon should be also gray in SVG, like in the standard icon in text field

What Angular MDC version are you using?
v0.42.1

@ofekashery Use of SVG inside mdc-text-field is not officially supported yet, there is an open issue to add full support.
In the meantime, use the following Sass to achieve a gray SVG icon inside mdc-text-field.
.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon {
  fill: rgba(0, 0, 0, 0.54);
}

That's exactly what I added, thanks

Closing. As part of #1517, I've included an example for this. After MDC officially supports svg with mdc-text-field, any workarounds can be removed.


Question: Recurring events

Hey, great library.
I was just curious about when recurring events will be implemented, since I saw you have it on the todo list.
This is just a question, not a demand or anything like that.

Hi @PodaruDragos
This would be nice to implement, perhaps cuz I didnt yet reach a point of really needing it in my work, so I always allocate the time for other work that have higher priority. So I really can't say when I would do it. I'm so sorry. And I welcome any PRs for improvments.


Add more holtWinters functions

This adds holtWintersConfidenceBands(seriesList, delta=3) and holtWintersAberration(seriesList, delta=3) functions, of use in anomaly detection.
The only one missing is holtWintersConfidenceArea. I think that this is implementable — it needs to be rewritten in Metrics() to an areaBetween that takes holtWintersConfidenceBands as seriesList. But that's a little subtle for me, and I don't use the cairo renderer anyway, so I leave it up to someone else.
Mostly completes #66.

LGTM.
Thanks!


Bug: Salesforce Component doesnot have a way to pass login details or client

Describe the bug
For using salesforce componet in karavan, there is no provision to provide Salesforce login (security)details like login URl, keystore, password etc.
To take an example, AWS S3 component has "Component security properties" where such properties can be added.
Is there a way we can pass that infroamtion to Saleforce componet?
Steps to reproduce the behavior

Go to karavan.space
Choose Salesforce component.

Variant
Vs Code Extension
Container Management (if applicable)
None
Operating System (if applicable)
None
Version
4.7.0
Relevant log output
No response

You configure this in the salesforce component level.
Alternative is to use the salesforce source kamelet that allows to configure this in karavan


How to add custom label instand of @"{{" and@ "}}"

I want to define my custom label like .
Because the server couldn't deliver me @"{{" or @"}}" because of it will mix the json data。
The server just give me the string like ,I want the GRMustache will repalce it with the string like

Please forgive my terrible English.

Hello @JokerXu.
Mustache is about injecting named values. For example: inject the number of players here, their names there, and their scores here. And those names must be enclosed in tags: {{playerCount}}, {{name}}, {{score}}.
As a Mustache engine, it can use arbitrary strings for delimiting tags: you can use <% name %>...<% score %>, or BEGIN name END...BEGIN score END.
So you have to ask yourself if this is what you want. Can you express your needs in terms of names and tags delimiters?
I'm not sure you can, because you ask for defining your "custom label".
So I'm wondering if the best tool for the job is -[NSString stringByReplacingOccurrencesOfString:withString:]: https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/index.html#//apple_ref/occ/instm/NSString/stringByReplacingOccurrencesOfString:withString:
Please investigate this simple solution.

Thank you very much.
I know  -[NSString stringByReplacingOccurrencesOfString:withString:]:
But I think your tools is more efficiency than it at first...Now I figure out..
I am a Chinese .and I join in apple developer family  less than two years.And my English is so terrible.
Your this project is very efficacious to solve the problem for  data and model to generate html string. However,your project lack of Chinese blog to tell us how to use it,in google,I can't find any useful Chinese blog.
So I want to write a blog in Chinese language to support your project and help the people who not good at english.Although I am clumsy，but I want try,and tring..
I hope we can become  friends.I don't know what's IM you use.My<EMAIL_ADDRESS>And I want to communicate with you by IM or any methods.
And I hope someday,You can visit Beijing,China,My country.
And I will improve my English to welcome you.
Of course,I'll treat you😄😄

It's so kind of you!
I would be very proud if a Chinese blog would talk about GRMustache. Many Chinese people have show interest in the repository. Such a blog would surely be very helpful to them.
When somebody asks a question about GRMustache, I always answer, when I have the time. This is the same for you. So please dare asking questions.


Stack overflow from deep_nesting1_negative_test.dart

Analyzer Feedback from IntelliJ
Version information

IDEA 171.SNAPSHOT
1.22.0-dev.10.6
IC-171.SNAPSHOT, JRE 1.8.0_112-b16x64 Oracle Corporation, OS Mac OS X(x86_64) v10.12.2 unknown, screens 1440x900  Retina

Exception
Dart analysis server, SDK version 1.22.0-dev.10.6, server version 1.17.0, error: Task failed: ParseDartTask for source /Users/messick/src/dart-sdk/sdk/tests/language/deep_nesting1_negative_test.dart
Unexpected exception while performing ParseDartTask for source /Users/messick/src/dart-sdk/sdk/tests/language/deep_nesting1_negative_test.dart
#0      AnalysisTask._safelyPerform (package:analyzer/task/model.dart:333)
#1      AnalysisTask.perform (package:analyzer/task/model.dart:220)
#2      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284)
#3      AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:255)
#4      AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package:analyzer/src/context/context.dart:1199)
#5      _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:189)
#6      AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1197)
#7      PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:369)
#8      AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:997)
#9      Future.Future.delayed.<anonymous closure> (dart:async/future.dart:268)
#10     _rootRun (dart:async/zone.dart:1146)
#11     _CustomZone.run (dart:async/zone.dart:1026)
#12     _CustomZone.runGuarded (dart:async/zone.dart:924)
#13     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#14     _rootRun (dart:async/zone.dart:1150)
#15     _CustomZone.run (dart:async/zone.dart:1026)
#16     _CustomZone.runGuarded (dart:async/zone.dart:924)
#17     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#18     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:16)
#19     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#20     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
#21     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)

Caused by Stack Overflow
#0      AnalysisTask._safelyPerform (package:analyzer/task/model.dart:322)
#1      AnalysisTask.perform (package:analyzer/task/model.dart:220)
#2      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284)
#3      AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:255)
#4      AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package:analyzer/src/context/context.dart:1199)
#5      _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart)
#6      PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:553)
#7      AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:997)
#8      Future.Future.delayed.<anonymous closure> (dart:async/future.dart:268)
#9      _rootRun (dart:async/zone.dart)
#10     _CustomZone.runGuarded (dart:async/zone.dart)
#11     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#12     _rootRun (dart:async/zone.dart)
#13     _CustomZone.runGuarded (dart:async/zone.dart)
#14     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#15     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart)
#16     _Timer._runTimers (dart:isolate-patch/timer_impl.dart)
#17     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)
#18     _CustomZone.runGuarded (dart:async/zone.dart)
#19     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#20     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart)
#21     _Timer._runTimers (dart:isolate-patch/timer_impl.dart)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)
#23     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)

1487005359057 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_default_values_test.dart","errors":[]}}
1487005359058 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_default_values_test.dart","errors":[]}}
1487005359059 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_import_test.dart","errors":[]}}
1487005359061 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/sub/sub.dart","errors":[]}}
1487005359064 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_import_test.dart","errors":[]}}
1487005359065 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_import_test.dart","errors":[]}}
1487005359066 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/sub/sub.dart","errors":[]}}
1487005359066 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/sub/sub.dart","errors":[]}}
1487005359067 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_metadata_test.dart","errors":[]}}
1487005359071 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_metadata_test.dart","errors":[]}}
1487005359072 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_metadata_test.dart","errors":[]}}
1487005359073 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type2_test.dart","errors":[]}}
1487005359077 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type2_test.dart","errors":[]}}
1487005359078 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type2_test.dart","errors":[]}}
1487005359082 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type_test.dart","errors":[]}}
1487005359086 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type_test.dart","errors":[]}}
1487005359088 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type_test.dart","errors":[{"severity":"ERROR","type":"COMPILE_TIME_ERROR","location"
1487005359089 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type_variable_test.dart","errors":[]}}
1487005359092 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type_variable_test.dart","errors":[]}}
1487005359094 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_type_variable_test.dart","errors":[{"severity":"WARNING","type":"STATIC_TYPE_WARNING
1487005359097 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_typedef_test.dart","errors":[{"severity":"ERROR","type":"SYNTACTIC_ERROR","location"
1487005359101 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_typedef_test.dart","errors":[{"severity":"ERROR","type":"SYNTACTIC_ERROR","location"
1487005359102 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/cyclic_typedef_test.dart","errors":[{"severity":"ERROR","type":"SYNTACTIC_ERROR","location"
1487005359103 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/dangling_else_test.dart","errors":[]}}
1487005359109 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/dangling_else_test.dart","errors":[]}}
1487005359111 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/dangling_else_test.dart","errors":[]}}
1487005359112 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/dead_field_access_test.dart","errors":[]}}
1487005359115 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/dead_field_access_test.dart","errors":[]}}
1487005359116 <= {"event":"analysis.errors","params":{"file":"/Users/messick/src/dart-sdk/sdk/tests/language/dead_field_access_test.dart","errors":[]}}
1487005364663 <= {"event":"server.error","params":{"isFatal":false,"message":"Task failed: ParseDartTask for source /Users/messick/src/dart-sdk/sdk/tests/language/deep_nesting1_negative_test.dart","st

Dart analysis server, SDK version 1.22.0-dev.10.6, server version 1.17.0, error: Task failed: ParseDartTask for source /Users/messick/src/dart-sdk/sdk/tests/language/deep_nesting1_negative_test.dart
Unexpected exception while performing ParseDartTask for source /Users/messick/src/dart-sdk/sdk/tests/language/deep_nesting1_negative_test.dart
#0      AnalysisTask._safelyPerform (package:analyzer/task/model.dart:333)
#1      AnalysisTask.perform (package:analyzer/task/model.dart:220)
#2      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284)
#3      AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:255)
#4      AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package:analyzer/src/context/context.dart:1199)
#5      _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:189)
#6      AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1197)
#7      PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:369)
#8      AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:997)
#9      Future.Future.delayed.<anonymous closure> (dart:async/future.dart:268)
#10     _rootRun (dart:async/zone.dart:1146)
#11     _CustomZone.run (dart:async/zone.dart:1026)
#12     _CustomZone.runGuarded (dart:async/zone.dart:924)
#13     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#14     _rootRun (dart:async/zone.dart:1150)
#15     _CustomZone.run (dart:async/zone.dart:1026)
#16     _CustomZone.runGuarded (dart:async/zone.dart:924)
#17     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#18     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:16)
#19     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#20     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
#21     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)

Caused by Stack Overflow
#0      AnalysisTask._safelyPerform (package:analyzer/task/model.dart:322)
#1      AnalysisTask.perform (package:analyzer/task/model.dart:220)
#2      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284)
#3      AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:255)
#4      AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package:analyzer/src/context/context.dart:1199)
#5      _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart)
#6      PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:553)
#7      AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:997)
#8      Future.Future.delayed.<anonymous closure> (dart:async/future.dart:268)
#9      _rootRun (dart:async/zone.dart)
#10     _CustomZone.runGuarded (dart:async/zone.dart)
#11     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#12     _rootRun (dart:async/zone.dart)
#13     _CustomZone.runGuarded (dart:async/zone.dart)
#14     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)
#15     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart)
#16     _Timer._runTimers (dart:isolate-patch/timer_impl.dart)
#17     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)
#18     _CustomZone.runGuarded (dart:async/zone.dart)
#19     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)

Unfortunately we won't be able to reproduce very old analyzer stack traces. Please file a new issue if you are seeing analysis server crashes with a recent SDK.


Cannot retrieve the token. Timeout exceeded

When I try to get the token by Command-line interface
Any ideas?
Thanks!

Google changed the log in UI, therefore the current implementation doesn't works. There's required to adapt the code, but I don't have time now. Feel free to open a PR.

This should be fixed with #2. Closing for now.


maintain cluster active connection counter for circuit breaker

What type of PR is this?
feature

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

how should i get the cluster id? Using cluster name will exceed the stack size limit

It's quite confusing

Some files need to be updated, please run 'make gen' and include any changed files in your PR

/hold

/unhold

I use a special way to reject connection, plz check MARK_REJECTED macro.

met some errors when using bpf_spin_lock:
has to have BTF in order to use bpf_spin_lock (98 line(s) omitted)

In kmesh we donot create bpf map within cilium lib. It is from c code.
Not sure https://blog.csdn.net/superbfly/article/details/128204317 can help

In kmesh we donot create bpf map within cilium lib. It is from c code.
Not sure https://blog.csdn.net/superbfly/article/details/128204317 can help

tried it before, not work. I am using atomic apis now.

One last comment: we should delete map_of_cluster_stats when a cluster is removed, but i donot see this

ok, i will delete them in user space.

envoy also supports config for per-host max connection thresholds(host is namely endpoint). Do we need this?

Yes， but istio doesnot support it. And so we cannot get per host circuit breaker settings

this pr needs another review :)

Please solve the conflicts


This fixes issue #936 by linting the whole package

You need to set let g:ale_go_staticcheck_lint_package = 1 in order to enable the new logic.

@w0rp updated the PR with docs and tests...

Cheers! :beers:


Applying to images>256

Thanks for this great new work.
Is there a way to adapt this to images >256 pixels size? Like using tiles or mosaic?

Yes, the method for arbitrary size is presented in this paper, and our Colab provides examples.


drivers: i2s: intel_s1000: Support for fractional divider to generate BCLK

Fix for #7699

Codecov Report

Merging #7707 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7707   +/-   ##
=======================================
  Coverage   55.01%   55.01%
=======================================
  Files         483      483
  Lines       53952    53952
  Branches    10495    10495
=======================================
  Hits        29682    29682
  Misses      19984    19984
  Partials     4286     4286

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 b1e06f2...6733f19. Read the comment docs.

Sathish, i still see many places where the old way of replacing const with volatile is still existing. I would rather prefer you modifying the existing commit instead of going in for a new commit in "change registers pointer type". That way it's easy for me to figure out what has changed from my code.

@nashif Please merge when you get a chance.


Fix OmniLight/SpotLight shadow opacity calculation

When turning off the shadow property of OmniLight/SpotLight, the shadow was still rendered while the shadow atlas was no longer updated. This PR fixes the shadow opacity calculation so that it behaves the same as for directional lights. There is still some room for improvement, e.g. clear/free the shadow buffer(if possible) but that would require a significantly more complex approach.

Does it fix it for lightmap baking?

Does it fix it for lightmap baking?

I didn't implement shadow_opacity in the lightmapper. I'm not sure how difficult this would be.


When is the paper scheduled for release?

I am under the impression we've fallen behind the original time-line significantly. Do we have a target date for releasing the paper?
One reason I am asking is that I have mostly adapted GPT-Neo and GPT-J to work with this library and want to know if I am on a time-crunch to finish it to get it into the paper.

Hi @StellaAthena, according to the recently updated readme,
A frozen v1 release of the benchmark is targeted for the end of September. A paper introducing the benchmark, and including all task submitters as co-authors, will be published shortly afterwards.

Thanks! I totally missed that.

You are definitely correct that we've fallen behind the original timeline! We're still editing and finalizing tasks, and paper writing and analysis are still in early stages. We will work to better communicate timeline with contributors. One of the first steps is that we will create an email list for discussion with contributors within the next ~1.5 weeks.

You are definitely correct that we've fallen behind the original timeline! We're still editing and finalizing tasks, and paper writing and analysis are still in early stages. We will work to better communicate timeline with contributors. One of the first steps is that we will create an email list for discussion with contributors within the next ~1.5 weeks.

Thanks @Sohl-Dickstein! If we plan to do collaborative writing, I have seen some other projects use GitHub as a paper writing platform with Manubot.

You are definitely correct that we've fallen behind the original timeline! We're still editing and finalizing tasks, and paper writing and analysis are still in early stages. We will work to better communicate timeline with contributors. One of the first steps is that we will create an email list for discussion with contributors within the next ~1.5 weeks.

Thanks @Sohl-Dickstein! If we plan to do collaborative writing, I have seen some other projects use GitHub as a paper writing platform with Manubot.

I like Overleaf, personally. It also has Github integration.

You are definitely correct that we've fallen behind the original timeline! We're still editing and finalizing tasks, and paper writing and analysis are still in early stages. We will work to better communicate timeline with contributors. One of the first steps is that we will create an email list for discussion with contributors within the next ~1.5 weeks.

Thanks @Sohl-Dickstein! If we plan to do collaborative writing, I have seen some other projects use GitHub as a paper writing platform with Manubot.

I like Overleaf, personally. It also has Github integration.

I love Overleaf too, but I think Manubot is more scalable, especially when we have hundreds of authors. With Manubot, authors use GitHub pull request to edit the manuscript, and moderators can review and approve the edits (just like BIG-bench task submission). I have never used Manubot; the suggestion is just from my observation of the COVID-19 literature review project.

If we plan to do collaborative writing, I have seen some other projects use GitHub as a paper writing platform with Manubot.

I think it's an excellent idea.
Papers with hundreds of co-authors are sometimes criticized for the fact that the vast majority of the co-authors haven't even seen the paper before the publication, not to mention writing it.
Allowing the participants to meaningfully contribute to the paper's text will mitigate such a criticism, and will set a new high standard for future collaborative projects.

With Manubot, authors use GitHub pull request to edit the manuscript, and moderators can review and approve the edits (just like BIG-bench task submission).

I think it's a perfect approach for such a collaboration. The organizers remain in full control over the final text, but allow contributors to propose improvements.

Any updates? Seems that the author list spreadsheet is stuck in

Status
Number

Yes
127

Maybe
10

TBD
68

Total
205

state for quite a while.

@Sohl-Dickstein any updates?

Apologies for the long silence! We have been working on finalizing the benchmark tasks, running evaluations, and putting together a draft. We will share a detailed update and timeline with all BIG-bench contributors in the next day or two over email. Please stay tuned!

Thanks for the detailed update via email today!

@guygurari when are the task authors who signed up for the draft making process expected to start contributing to the same?

Soon! We need to get the paper draft to some minimal level of structure + quality before 1) the potential benefits outweigh the certain overhead of organizing collaborative writing among a very large group, 2) we have something substantial enough that it can meaningfully go through the Google (and OpenAI) internal paper approval processes, and 3) it's in a fit enough state that we're not embarrassed to share it.
This has taken us longer than we initially planned -- both because it's been much more work than expected, and, candidly, because the lack of a hard external deadline has made it harder to maintain the degree of focus we managed for earlier BIG-bench stages. But -- we are close.
Guy and Kristen will also be sending out an update email soon.

Hi folks, any updates on the progress?

Your question is super-timely! Expect something (finally!)  in the next few days...


aborting

for this book
https://learning.oreilly.com/library/view/pyspark-recipes-a/9781484231418/
if works only if I add -kindle option
othw get error namespace something not found
I copied the leftover from Books
Frank Kane_s Taming Big Data with Apache Spark and Python<PHONE_NUMBER>945).zip

Could you paste the error please?

I tried again after wiping the Books folder and it worked
closing this

Unhandled Exception: 'Namespace' object has no attribute 'no_kindle' (type: AttributeError)

but deleting the Books and retrying it works .. so it's kind of wired

Thanks, fixed!


Add version badge

The version badge prefixes versions with "v", but InvUI's versions don't start with "v".


Replaced the 'Add location' button with 'Edit location' button when user clicks yes in similar image dialog

Description
There was an Issue to change the name of the 'add location' button's text to 'edit location' if the user was copying the location of a recently uploaded image.
Fixes: #5669
What changes did you make and why?
We were able to do this by editing "UploadMediaDetailFragment.java". We wrote code that replaced the button if the user clicks yes for the similar image dialog, which fixed the issue.
Tests performed
We followed the guide given in the issue to reproduce the results and when we performed them with the newly written code, it produced the expected behavior.
Tested betaDebug on Pixel 8 with API level 34.
Screenshot

Thanks! :-)


tflint: 0.23.1 -> 0.24.0

Motivation for this change
https://github.com/terraform-linters/tflint/releases/tag/v0.24.0
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111476 run on x86_64-darwin 1

1 package built:

tflint

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111476 run on x86_64-darwin 1

1 package built:

tflint


Inconsistant padding on y axis

The documentation states that y and y2 axis padding will be treated as pixels. However I'm getting a different amount of padding depending on how large the y axis scale is:

If both the y and y2 axis have similar scales then there's no issue:

Here's the config:
padding: {
  right: 20,
  top: 20,
},
axis: {
  x: {
    height: 40,
    type: 'timeseries',
    tick: {
      centered: true,
      culling: {
        max: 5
      },
      fit: true,
      format: '%b %_d',
    }
  },
  y: {
    min: 1,
    padding: {top:40, bottom: 10},
  },
  y2: {
    show: false,
    min: 1,
    padding: {top:40, bottom: 10}
  }
},
color: {
  pattern: ['#489ed3', '#ffb115']
},
grid: {
  y: {
    show: true,
  }
},
point: {
  r: 5
},

Ok so taking away min:1 on y and y2 fixes the issue so may be worth looking at but close if you want.

Removing min:1 fixes the issue


Abstract away console logging?

Hello team! This is awesome so far.
One thing I'm getting, especially running PGLite in a test suite, is quite a lot of log spew:
console.log
  Running in main thread, faking onCustomMessage
  at Object.log [as 69039092] (node_modules/@electric-sql/pglite/dist/postgres.js:9:79806)

console.warn
  prerun(C-web) worker= false
  ...
  etc

I can patch the console implementation to get around this for now, but it would great if you had some sort of verbose/quite mode, or a way to abstract away the informational messages if I don't need them.
Thanks!

Hey @jamesgpearce
Thanks for the report (I'm excited by the concept of TinyBase havingPGlite support!)
That's some stray debug logging that we meant to silence.
@pmp-p could you tidy this up, I think it may be coming some an Emscripten block? Could we swap it to Module.print() so it picked up the the debug level in the main PGlite code?


S110272: Client metrics should record all component ready events inst…

…ead of one per component per session
This commit fixes two problems related to component ready events.
Problem 1: Component ready events are not sent if they have already been sent in the existing session. Therefore, if another action occurs in the same session that triggers the same component ready event, it will not be sent.
Fix 1: All component ready events should be sent.
Problem 2: The component ready time is recorded as (time component ready event is created) - (session start time). However, it is assumed that actions are the events that lead to component ready events, not sessions. Therefore, component ready times should be (time component ready event is created) - (action start time).
As an example of the problem, consider the following sequence of events:

User navigates to a page a time T
System starts session at time T
User gets a cup of coffee
User interacts with the application at time T+coffeeTime
System records action at time T+coffeeTime
System instantiates a component
System records component ready at time T+coffeeTime+C

With out this change: the component ready time will be recorded as (T+coffeeTime+C) - (T) = coffeeTime+C. The component ready time includes the coffeeTime!
Fix 2: Component ready start time should equal action start time, not session start time.
With this change: the component ready time will be recorded as (T+coffeeTime+C) - (T+coffeeTime) = C. This accurately reflects the component ready time.

can you also build the result file grunt build and bump the version?

Just waiting for Marc to leave his 2 cents. The code changes look good.

Do we have an example traces to illustrate problem 2.  I would love to see a component ready time recorded that includes coffee time.  I'm not sure I see those in the data

The problem is that the user can now open the QDP, which is not a navigation (new session) but is an action (new trace). In this scenario, we weren't seeing any component ready times. With these changes, we'll always see component ready times for traces that don't start new sessions.
We also feel like limiting component readies to just the first time for each component doesn't make too much sense. There's usually an action in between. This is definitely true for the React/Redux code, but the ExtJS code is probably muddier wrt component readies.


Write manual test xases for "NorthCarolinaPage"

Please write a manual test case for the following pages manual test which involves breaking down the functionality of the webpage into specific steps that can be tested.
NorthCarolinaPage: https://prayersconnect.com/mosques/search/Smithfield%252C%2520North%2520Carolina%252C%2520United%2520States/35.4786152%2C-78.375024/35.4786152%2C-78.375024
Please use this Google doc for your test cases.
https://docs.google.com/spreadsheets/d/1O1NJRmobfNfk6cGgc5BWHCMhRSjF6vJK3C-AljYxgHo/edit?usp=sharing

https://docs.google.com/spreadsheets/d/1O1NJRmobfNfk6cGgc5BWHCMhRSjF6vJK3C-AljYxgHo/edit#gid=1982729820

Thank you.


Query to assess impact of inaccurate sizes attribute per <img>

Create HTTP Archive query similar to https://github.com/HTTPArchive/almanac.httparchive.org/blob/main/sql/2022/media/image_srcset_sizes_per_image_accuracy_impact.sql, only that it should be scoped to cover exclusively WordPress sites

cc @ankitrox @vishalkakadiya

@felixarntz I have added a PR for this. Can you review it in your free time? Thank you!

https://github.com/GoogleChromeLabs/wpp-research/pull/19