No jobReference when timeout

I got the following error when I run a heavy load job which cause a TIMEOUT. Such that the jobComplete is false. And the jobReference is undefined in this case.
https://cloud.google.com/bigquery/querying-data
TypeError: Cannot read property 'jobId' of undefined at responseHandler (.........../node_modules/gcloud/lib/bigquery/index.js:394:43)

Is this fixed in #431?

It's another issues. it's not fixed in #431
I want to ask the response from google bigquery, according to https://cloud.google.com/bigquery/querying-data

If the query timeout expires before the query has finished, the method will return jobComplete=false, and you must call jobs.getQueryResults as described next. The query job will continue to run even after the timeout period until it finishes, either successfully or because an error has occurred.

I have tested on it before, the response does not return the jobReference.jobId. So it cause error in this line https://github.com/GoogleCloudPlatform/gcloud-node/blob/master/lib/bigquery/index.js#L394

Okay, thanks for explaining, and sorry for the delay. I'll take a look at this asap.

I can't reproduce so far. I ran a query and specified timeoutMs: 0 to force a jobComplete = false. The response from the API returned, as expected, jobComplete = false, but jobReference was always present.
According to the API docs (Search "jobReference": https://cloud.google.com/bigquery/docs/reference/v2/jobs/query):

jobReference: Reference to the Job that was created to run the query. This field will be present even if the original request timed out...

I'm not sure how the response could have come back without that to cause that error. Can you try to reproduce the error using our master branch (npm install --save googlecloudplatform/gcloud-node), and let me know if you still get the error?

I can reproduce on master (b094aa22d42e75d4c707105caeb4d6f8e9540124) with this query:
SELECT
          test_id,
          log_time,
          connection_spec.client_ip,
          connection_spec.server_ip,
          paris_traceroute_hop.src_ip,
          paris_traceroute_hop.dest_ip,
          paris_traceroute_hop.src_hostname,
          paris_traceroute_hop.dest_hostname
        FROM [measurement-lab:m_lab.2014_10]
        WHERE
          project = 3
          AND connection_spec.client_ip = "<IP_ADDRESS>"
          AND connection_spec.server_ip LIKE '217.163.1.%'
        ORDER BY test_id DESC;

and this code:
bigquery.query(query, function(err, rows, nextQuery) {
  if (nextQuery) {
    bigquery.query(nextQuery, function(err, rows, nextQuery) {});
  }
});

The first query will succeed, and the second will hit this:
TypeError: Cannot read property 'jobId' of undefined at responseHandler (.../gcloud/lib/bigquery/index.js:399:43)

This is what the response object looks like for the second query:
{ kind: 'bigquery#getQueryResultsResponse',
I20150421-16:03:11.819(-4)?   etag: '"uT9StUUc54UCg_Qc3k6xlS99DVE/s-JNbnKyojd-gIIcRpOEggyGqe4"',
I20150421-16:03:11.819(-4)?   jobComplete: false }

Sorry for the slow attention to this issue, @jdcc. I'll be taking another look today to try to get to the bottom of this.

I'm unfortunately still unable to reproduce. According to the docs and in my experience, a jobReference is always returned. @jdcc or @sunnychow would one of you be able to provide a consistently reproducible query I can run from a query on public data? As an example, something like SELECT url FROM [publicdata:samples.github_nested]. Until then, I'm unfortunately unsure how to resolve.

I'm seeing it consistently on my system. With my data, of course. I'll see if I can generate an example with public data. Meantime, could you put a guard in the code to check when this situation occurs and output to the console? At is is, we can't even tell which of the queries is the one that is timing out.
If as you say, this situation has not happened in your experience, then that message will never trigger. No harm, no foul. If, on the other hand, the message does trigger, then we can provide you with more details to help resolve the issue.
The error message I am seeing is:
{code}
TypeError: Cannot read property 'jobId' of undefined
at responseHandler (/usr/local/brightcove/bigquery-metrics/node_modules/gcloud/lib/bigquery/index.js:384:43)
at /usr/local/brightcove/bigquery-metrics/node_modules/gcloud/lib/common/util.js:672:11
at Object.handleResp (/usr/local/brightcove/bigquery-metrics/node_modules/gcloud/lib/common/util.js:193:3)
at Request._callback (/usr/local/brightcove/bigquery-metrics/node_modules/gcloud/lib/common/util.js:667:12)
at Request.self.callback (/usr/local/brightcove/bigquery-metrics/node_modules/gcloud/node_modules/request/request.js:354:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/usr/local/brightcove/bigquery-metrics/node_modules/gcloud/node_modules/request/request.js:1207:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (/usr/local/brightcove/bigquery-metrics/node_modules/gcloud/node_modules/request/request.js:1153:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
{code}

@gquinones I've put up a repo for debugging: stephenplusplus/gcloud-node-bigquery-debug. You can install this with npm in your project to debug:
$ npm install --save stephenplusplus/gcloud-node-bigquery-debug

A new error should come through when this issue appears. You can log and paste the error.response property here to help us see what the API returns.
@jgeewax do you know someone who can help us with this issue? In summary, when calling BigQuery#query, there is evidently sometimes a response from the API (either Jobs.query or Jobs.getQueryResults) that doesn't include jobReference.
According to the JSON API docs, jobReference is guaranteed to exist, but as seen here, it's not coming back.

@stephenplusplus Will do.

@stephenplusplus Bad news, I'm afraid:
TypeError: undefined is not a function
at responseHandler (/Users/gquinones/work/bigquery-metrics/node_modules/gcloud/lib/bigquery/index.js:389:15)
at /Users/gquinones/work/bigquery-metrics/node_modules/gcloud/lib/common/util.js:684:11
at Object.handleResp (/Users/gquinones/work/bigquery-metrics/node_modules/gcloud/lib/common/util.js:205:3)
at Request._callback (/Users/gquinones/work/bigquery-metrics/node_modules/gcloud/lib/common/util.js:679:12)
at Request.self.callback (/Users/gquinones/work/bigquery-metrics/node_modules/gcloud/node_modules/request/request.js:354:22)
at Request.emit (events.js:98:17)
at Request. (/Users/gquinones/work/bigquery-metrics/node_modules/gcloud/node_modules/request/request.js:1207:14)
at Request.emit (events.js:117:20)
at IncomingMessage. (/Users/gquinones/work/bigquery-metrics/node_modules/gcloud/node_modules/request/request.js:1153:12)
at IncomingMessage.emit (events.js:117:20)

Sorry, if you un- and re-install my fork, it should be fixed.

NP; Will do.
BTW, I'm wondering if the timeout is coming from http and not bigQuery, and therefore the existence guarantee does not apply.

Got it!
error: Error encountered for browsers: {"errors":[{}],"message":"API Error: jobReference not returned.","response":{"kind":"bigquery#getQueryResultsResponse","etag":""Gn3Hpo5WaKnpFuT457VBDNMgZBw/BgHAJI-EM7PuCe8xgQX1MgWbQRo"","jobComplete":false}}

Great, thanks! That appears to be aligned with what @jdcc gets, as well. I think I'll have to defer until @jgeewax can hopefully provide or find us some help.
For now, I've changed the error.response property to be the full request object, including all kinds of details about the http request and response. Feel free to look through there for anything out of the ordinary.

@stephenplusplus FYI that the query eventually completed and returned results normally, so the issue is dealing with jobs that are in progress. The jobId is available in the response, just not where it was expected. I pulled it from the response and then used the jobs API to status the job.
The response, edited for brevity was:
An error occurred connecting to Big Query or sending data to graphite for browsers: {"errors":[{}],"message":"API Error: jobReference not returned.","response":{"statusCode":200,"body":"{\n "kind": "bigquery#getQueryResultsResponse",\n "etag": "\"Gn3Hpo5WaKnpFuT457VBDNMgZBw/SVn2n7BA1Kb6sfMPuqUQ3Ix7XNI\"",\n "jobComplete": false\n}\n","headers":{"expires":"Wed, 10 Jun 2015 17:42:01 GMT","date":"Wed, 10 Jun 2015 17:42:01 GMT","cache-control":"private, max-age=0, must-revalidate, no-transform","etag":""Gn3Hpo5WaKnpFuT457VBDNMgZBw/SVn2n7BA1Kb6sfMPuqUQ3Ix7XNI"","vary":"Origin","content-type":"application/json; charset=UTF-8","x-content-type-options":"nosniff","x-frame-options":"SAMEORIGIN","x-xss-protection":"1; mode=block","content-length":"143","server":"GSE","alternate-protocol":"443:quic,p=1"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.googleapis.com","port":null,"hostname":"www.googleapis.com","hash":null,"search":"?job[bigQuery][projectId]=rising-ocean-426&job[id]=job_XAZJFpqS5nG62vcKXzPADPTsKH4&query=
SELECT
time_stamp, time, platform, event,
...
","query":"job[bigQuery][projectId]=rising-ocean-426&job[id]=job_XAZJFpqS5nG62vcKXzPADPTsKH4&query=
SELECT
time_stamp, time, platform, event,
…","pathname":"/bigquery/v2/projects/rising-ocean-426/queries/job_XAZJFpqS5nG62vcKXzPADPTsKH4","path":"/bigquery/v2/projects/rising-ocean-426/queries/job_XAZJFpqS5nG62vcKXzPADPTsKH4?job[bigQuery][projectId]=rising-ocean-426&job[id]=job_XAZJFpqS5nG62vcKXzPADPTsKH4&query=
SELECT
time_stamp, time, platform, event,
...","href":"https://www.googleapis.com/bigquery/v2/projects/rising-ocean-426/queries/job_XAZJFpqS5nG62vcKXzPADPTsKH4?job[bigQuery][projectId]=rising-ocean-426&job[id]=job_XAZJFpqS5nG62vcKXzPADPTsKH4&query=
SELECT
time_stamp, time, platform, event,
….
"},"method":"GET","headers":{"Authorization":"Bearer ya29.jgHbYohM_g6PPiPhI_HZZwk-ZmS84vrguYzMEiz29fCRbEnfW2hFru-sKkpse_r9GlJX3PzC76I1bg","User-Agent":"gcloud-node/0.15.0"}}}}

I was able to reproduce this error as soon as I put my code that works locally up to GCE.
@gquinones could you re- and un-install my fork again? I made some changes that should work around the issue.


Code refactor

Done. I will merge it after sleeping if there is no problem (and think about enableLayerLinking)


add topics

I suggest adding topics such as time, timer in the About section at https://github.com/0382/time-f

Good suggestion, thank you.


Removing cargo dependency

Hi there,
One of the things i dislike most from using this project is that it takes a long time to build and has a lot of dependencies, namely due to cargo.
I wonder if its feasible to use cargo metadata output to achieve the same goal? Its supposed to be a somewhat stable format, and everything from metadata.patch.crates to resolved dependencies is there.
Thanks!

Maybe, you can give it a try. This project uses cargo to download dependencies, copy them to target/patch, modify them, and then update cargo.toml to use them.


Player arguments for Citra MMJ

I had issues launching 3ds ROMs from Daijisho using Citra MMJ as it was coming out with Invalid ROM file errors.
What solved this is changing the parameters in Player arguments for "org.citra.emu - antutu" from "-e GamePath {file.path}" to "-e GamePath {file.uri}". After this, I can launch the 3ds ROMs just fine.
Would be great if this is set to default or documented down somewhere.

Sorry. But I have dropped out citra updating support. Too many repeating requests everywhere asking the same questions. Because citra at this point has too much app generations, forks and versions. And inconsistent behaviours even with the exact same app. I made the conclusion that the fragmentations are not manageable by myself.


Envoy crashes when using admin.access_log.filter in config

If we use admin.access_log.filter, Envoy immediately crashes on startup. I couldn't find a way to prevent the crash.
Please, see the config along with the startup log attached.
Checked on 1.18.3.
admin:
  access_log:
  - name: envoy.access_loggers.stream
    typed_config:
      "@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog

    # !!! If we comment out the following two lines, the problem disappears
    filter:
      not_health_check_filter:  {}

Config: envoy.yaml.txt
Startup log: envoy-crash.log

I might know what the root cause of the issue is since I implemented this change
I might be able to take a look at it but I am OOO next two weeks so if anyone wants to get it before me, go ahead.


Issue/143/readthedocs

At least got it to populate the API, e.g.,
https://lsstdescrail.readthedocs.io/en/issue-143-readthedocs/api.html

Does the fact that it's not finding the docstrings mean that we are incomplete in our docs/requirements.txt?  It sounds like readthedocs actually has to have everything install and then uses python to actually grab the docstrings, so if we're missing dependencies then that might be why it's failing.  I think we are a bit incomplete there, I was just looking through the setup.py and checking which packages we don't have listed, I'll update in a minute, and we can see if that fixes things.


fix to compile

A few things:

it's considered a bad practice to declare using namespace std in a source file (especially in a header file!) - the current namespace gets cluttered with many names from std (I had several collisions when trying to compile)
I bumped the version of C++ used to C++17 (in order to avoid issues with using the std::gcc function)
I made the code in explicit_tree_aut_test more structured
I dropped the requirements for CMake version 2.x.y
due to the change to C++17, I needed to change some code using std::ptr_fun to lambdas

One more thing: I changed the hard-coded path to VATA to be provided in environment, e.g. by
export VATA_PATH=/home/user/ondra/vata/build/cli/vata


Add - new snippet: Observables as outputs

Here is a new snippet. Hope you like it :)

fixes #163


acme.json always at root

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?

[ ] Yes
[X] No

What did you do?
I got LetsEncrypt working now, but I noticed something was off in that when I restart the server it appears to recreate the certificate again.  The commands I am using to configure traefik are:
  - --certificatesresolvers.default.acme.httpchallenge.entrypoint=http
  -<EMAIL_ADDRESS>  - --certificatesResolvers.default.acme.storage=/letsencrypt/acme.json

I have this volumes block on the service
volumes:
  - letsencrypt:/letsencrypt

To correspond to the following in the top level compose file:
volumes:
  letsencrypt:

I see the volume when I do docker volume ls but when I try to view it's contents it is empty using this command
docker run -it -v edge_letsencrypt:/mnt bash ls -la //mnt

What did you expect to see?
acme.json present
What did you see instead?
/mnt was empty
Output of traefik version: (What version of Traefik are you using?)

$ docker run traefik:v2.0.0-rc3 version
Version:      2.0.0-rc3
Codename:     montdor
Go version:   go1.13
Built:        2019-09-10T17:10:04Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
# (paste your configuration here)

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

I also tried to see what's inside the overlay2 folders to peek into the details
/host/var/lib/docker/overlay2 # find . -name "acme.json"
./4f82ac74bd8b3d0fe4de3aafb5a54cc93707219a0677edf22df0180be2d579c7/diff/acme.json
./4f82ac74bd8b3d0fe4de3aafb5a54cc93707219a0677edf22df0180be2d579c7/merged/acme.json
/host/var/lib/docker/overlay2 #

The files are there and are not empty (they actually contain the proper data)

https://community.containo.us/t/letsencrypt-json-file-is-not-being-stored/1470/9

Issue is still persisting after the 2,0.0 release

The problem is in the CLI configuration, environment variable configuration works
  TRAEFIK_CERTIFICATESRESOLVERS_DEFAULT_ACME_EMAIL<EMAIL_ADDRESS>  TRAEFIK_CERTIFICATESRESOLVERS_DEFAULT_ACME_HTTPCHALLENGE_ENTRYPOINT: http
  TRAEFIK_CERTIFICATESRESOLVERS_DEFAULT_ACME_STORAGE: /etc/traefik/acme/default.json

It's just a problem related to case:
  - --certificatesresolvers.default.acme.httpchallenge.entrypoint=http
  -<EMAIL_ADDRESS>  - --certificatesResolvers.default.acme.storage=/letsencrypt/acme.json

certificatesresolvers vs certificatesResolvers => you need to use the same case
  - --certificatesresolvers.default.acme.httpchallenge.entrypoint=http
  -<EMAIL_ADDRESS>  - --certificatesresolvers.default.acme.storage=/letsencrypt/acme.json

or
  - --certificatesResolvers.default.acme.httpchallenge.entrypoint=http
  -<EMAIL_ADDRESS>  - --certificatesResolvers.default.acme.storage=/letsencrypt/acme.json

it would be nice to have an error message that says it or at least make sure the documentation pages were consistent on this one.  II think I copied from two different pages and eventually got the issue.

In the next path release, the problem will be fixed: https://github.com/containous/traefik/pull/5438
The case will no longer need to be consistent.

Closed by #5438.


Enhancement request: add custom UIView in place of SwipeActionButton (UIButton)

It would be nice to have SwipeAction more customizable by adding a custom UIVIew instead of using the SwipeActionButton (UIButton) mandatory.
Please see also this issue (#160) and this pull request (#161). It was a first attempt to add a UISwitch along with the SwipeActionButton.

@kurabi I agree with you to have this long term solution. By the way I think we should do a code refactoring before having this new feature in place.  At the moment code is too tied to the SwipeActionButton class. What do you think?

@kurabi any idea when this will be done?


No select2/compat/inputData

I'm using Select2JS 4.0.5 with PHP and jQuery 3.2.1. jQuery is included first, then right after that select2js then after that the rest of JS libraries. My code
if ($("#company").length > 0){  // The code below works with typeaheadJS
$('#company').select2()({
source: function (query, syncResults, asyncResults) {
        $.ajax({
            url: "common/search.php",
            data: 'query=' + query,
            dataType: "json",
            type: "POST",
            success: function (data) {
                asyncResults($.map(data, function (item) {
                    return item;
                }));
            }
        });
    }
});
}

I keep getting Error: No select2/compat/inputData
Similar questions said that if I include the full version instead and this error will be fixed. I if I do that, the error would become
TypeError: $(...).select2(...) is not a function

I think you need to pass the object as a parameter of select2. Basically
$('#company').select2()({ ... });
instead of
$('#company').select2()({ ... });
https://select2.org/data-sources/ajax


Add Counter-Strike 1.6

Can't add this yet until the issue with the UDP logger breaking RCON is fixed


When using Dataview Query, unable to use Board View

What would you like to be added?
Enable the use of Board Views when using a Dataview Query. Unable to create board columns or drag-drop items to new "status" columns.
Why is this needed?
Many users have constructed projects and tasks by not using folder structure.  The use of Dataview is really powerful/helpful, but we can't use a Board View to change status.

The major features of board view is always available for Dataview projects. Unfortunately, Dataview projects are limited to be read only due to technical reasons, especially for DQL. You can go to #143 for more information. Drap & drop card between columns requires changing on note properties, so this is currently unsupported.
Regarding creating new column in board view, we can open another issue to track it. It's a useful feature imo. The compatibility with the Dataview source is well worth considering.


Update Authorization Request to accept any content-type

My authorization endpoint only accept'Application/Json',
I was consistently receiving an error when trying to authorize a private channel, even after adding the following headers:
client.privateChannel(
'App.Models.User.6',
authorizationDelegate: EndpointAuthorizableChannelTokenAuthorizationDelegate.forPrivateChannel(
        .........
	headers: {
	'Accept':  'application/json',
	......
	},
),
);

Upon closer inspection and thorough network debugging, I discovered that the content-type was being overwritten later in the code:
http_token_authorization_delegate.dart:
Future<T> authorizationData(String  socketId, String  channelName) async {
....
headers: {
  ...headers,
  'content-type': 'application/x-www-form-urlencoded'
},..

Your consideration in accepting this pull request is highly appreciated. I have found this package to be incredibly helpful, and I'm excited to contribute to its improvement. Please review and merge at your earliest convenience.
Keep coding! 👋

I appreciate the effort you put into the PR and your idea. I fixed it in v1.2.2 with different approach, though, since the approach provided in the PR wouldn't be intuitive for developers. However, I am very grateful for your effort, thank you!


Support for logitech G pro keyboard?

What are you experiencing an issue with?

[ ] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[x] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Explain here what should happen.
Actual behavior:
Explain here what happened instead.
How often does this problem occur?

This problem occurs... (Fill in here)
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

What is the version of Aurora you are experiencing this issue with?

My version is... (Fill in here)
Does the previous version of Aurora have this issue?
The previous version, (Fill in the version here), did/did not have this issue.
Please include any logs, screenshots, or files that are related to this issue:

For logs, you can use: http://pastebin.com/
For screenshots, you can use: http://imgur.com/
For files, you can use: http://www.tinyupload.com/ , https://www.dropbox.com/ , or attach them to the issue.

If that keyboard is supported by the sdk, which I can't find hard evidence of, but I assume it works, it'll just work in Aurora using a layout similar to it selected. If it isn't supported by the sdk I can't really do anything.


feat(build): circle release build automation

Short description of what this resolves:
Release automation based on a tagged commit (named release: v0.0.1) with the following content:

The version in docs/antora.yml changed to matching tag
Release notes named after tag tag.adoc in docs/modules/ROOT/pages/release_notes/
New release included in docs/modules/ROOT/pages/release_notes.adoc

The after-release commit should revert docs/antora.yml version to latest.
NOTE: future releases should have that automated.
Changes proposed in this pull request:

splits Make target for docker-push for -latest and -versioned
changes docker registry to quay.io
enhances circleci build setup with new release containing:

trigger on tags
pushing docker image for tag
goreleaser to release binaries and associated release notes

release notes for v0.0.1

Fixes #163 #164
Pre-merge steps

[ ] populate quay.io credentials in circle-ci (QUAY_AUTH_JSON)
[ ] add Github personal token for goreleaser to push from circle-ci

Post-merge steps

[ ] tag and push

change antora.yaml version to match created tag

[ ] revert antora.yaml version to latest

Here's created release with custom notes https://github.com/bartoszmajsak/istio-workspace/releases/tag/v0.0.1

Built images can be found here https://quay.io/repository/bmajsak/istio-workspace?tab=tags

@aslakknutsen I was thinking about the follow-up task for publishing latest docker images on every successful build on master, but in this case, we should have a way to publish snapshot binary on its own. Could be done by "moving tag" on GH, but I don't like this idea a lot. So I wonder do we need that at all?

If you like the image about I can add that to the docs ;)

Nice! You do the pre/post steps?

Nice! You do the pre/post steps?

Yeah, adding the script in a bit.

@aslakknutsen I tried to automate adding release notes to the .adoc file by using glob pattern, but it seems antora doesn't have an easy way to scan directories during build (all what I get is relative path to the docs project, which is not what we need). I tried to port https://github.com/asciidoctor/asciidoctor-extensions-lab/tree/master/lib/glob-include-processor to js.
So the script shipped with bf57c3f will simply append .adoc file based on the tag you provide.

@aslakknutsen I was thinking about the follow-up task for publishing latest docker images on every successful build on master, but in this case, we should have a way to publish snapshot binary on its own. Could be done by "moving tag" on GH, but I don't like this idea a lot. So I wonder do we need that at all?

Not sure if Latest means the latest commit or latest release. I would say release. So a push to :latest should be part of the release script. Not to say we couldn't have a :snapshot or similar as well on master builds. But as far as snapshot client storage, good q. Script to extract from Container image? hehe


Missing AR posting profile setup details

Missing AR posting profile setup details.

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

ID: fcd8a0e7-3907-8028-028f-0532499960f1
Version Independent ID: 3042ea7f-2536-0de6-701a-be357dd519a0
Content: Set up a free text invoice
Content Source: dynamicsax2012-technet/set-up-a-free-text-invoice.md
Product: dynamicsax-2012
GitHub Login: @Khairunj

No wear it is mentioned that Number sequences cannot be manual. It is a system constraint. If you try to make the number sequence in the AR parameters for "Free text invoice" as manual, when you try and post system will give an error "Voucher number cannot be selected automatically".


Not supported on BLU smartphone

Tested the component on MotoG4, Samsung and BLU Studio Mega. Didn't work only on BLU device.
BLU products: https://bluproducts.com/home/
BLU Studio Mega: https://www.gsmarena.com/blu_studio_mega-8709.php

@lucasgouvea This is strange, because this library is simply a UI layer and it will be visible on all platforms where React Native is runnable. Are you able to run React Native apps on those mobile?

Sorry, the issue is on RNCamera.


Users can produce more receiving addresses than gap limit

The gap limit for BIP32/44 wallets is 20 but we don't enforce this on the 'Request' button.
The user can generate as many payment requests as they like and if the first 20 are never paid there's a gap.
This won't affect MBHD but other wallets might have problems syncing from the same seed/ pub key.
This was raised here by reddit user kinoshitajona:
http://www.reddit.com/r/Bitcoin/comments/35puyz/synchronize_bip32_hd_wallet_between_phone_and/
Suggest enforce gap limit on display of request screen if there are 20 unpaid requests.
Gap limit is a bit nerdy to explain but most users won't encounter this message in normal use.

What if the user abandons those earlier requests (i.e. they are never going to get paid) and deletes them from Payments? I'm assuming that so long at least one of those addresses receives funds then the gap limit is reset to the most recent funded address. This means that we need to keep at least one open/available to ensure the user can recover from locking themselves out.
In terms of the UI, we will want a combination of:

enable/disable the Request button depending on gap status
ongoing note below the Request button to indicate that it is disabled: "Gap limit exceeded. See Help for details."
(we could extend this message area to also include a note about being disabled due to synchronization but that might just be obvious)
warning alert each time they trigger the gap limit so they know this behaviour is generally wrong and they may need to spend their way out of it

The relevant section in BIP 44 is here: https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#Address_gap_limit

Oh yeah it'll be a bit clumsy as it seems like an unnecessary restriction but it's likely people will share seeds/ pubkeys between wallets.
Note that the spec states that it users should be warned but we should probably make it not possible to make a gap (people ignore warnings, especially obtuse ones)

I would suggest that there should be an extra confirmation question after clicking on "Delete request":
"Do You really want to delete this receiving address? You should not delete more than 20 unused receiving addresses, because that could lead to compatibility problems with other wallet software. You have already deleted x receiving addresses. Please check, that You really don't want to use this receiving address anymore."

In economics there is a famous essay about a Broken Windown, written in 1850 by Frederic Bastiat:
http://www.econlib.org/library/Bastiat/basEss1.html
He introduces the principle of 'that which is seen and unseen'.
@wodry's last comment is similar: as we are in a thread about gap limits such a confirmation question makes sense. This is what is seen. However, what is NOT seen is that almost always someone deleting a payment request does not have to concern themselves with gap limits. It is a nerdy technical thing that 99% + users will never have to know about. Let's not bother them with this geeky stuff.
Thus it makes more sense only to inform users about gap limits when they actually hit it, which is on the click on the 'Request' button when a new address would create a BIP44 breaking gap.

Note that the BIP32 spec does not mention gap limits:
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
I propose we use the BIP44 gap limit of 20 for all the MBHD wallets on KISS grounds.

Added in a check when Payment Request is opened. If the user is at the gap limit of 20 unpaid requests (since the last paid one) then the same receiving address is used.
The user gets a note to read the 'Gap limit' help article which I will write next.
Awaiting review and closing.

Just been checking this and I'm seeing a gap limit of less than 20 being enforced. My process was as follows:

Start with wallet containing a few old and deleted payment requests and some unconfirmed transactions (a bit messy)
Click Request until message appears. 9 items in list.
Send a payment to most recently generated address (shows up unconfirmed)
Start hammering the Request button. Additional 9 items in list before message.

Since this could have been induced by a messy wallet, I continued as follows:

Perform a Repair Wallet - all transactions confirm (residue of the mempool issue?)
Send a payment to most recently generated address (shows up unconfirmed)
Once again hammer the Request button. Additional 8 items in list before message appears.

It may be that under the covers the gap limit is being handled correctly, but the UI is lacking sufficient feedback (e.g. deleted payment requests). There are a couple of ways to help the user (show paths/unused addresses etc) but since it is a corner case for the average mainstream user a bit of education about paying into the most recently generated address would probably be sufficient.
I'll bounce this back as I'm concerned that paying into a recent address didn't reset the gap to 20.

I have pushed code that improves the gap calculation.
It checks more carefully the key usage and will now either return the gap or an Optional.absent() if the current algorithm cannot figure it out.
I have a wallet where the number of change addresses issues is 300, but the number of receive addresses is 90 or so. The algorithm doesn't work the gap out in this case but everywhere else it can work it out.
Given that this is 'an edge case of a wallet that probably would not be seen in production' I think this is ok for now.
We can always refine the gap algorithm in the future if we need to and the UI will respond appropriately.
Awaiting review (WalletService#gap is the method) and closing.

I just did a seed restore of one of the wallets where the change addresses got ahead of the external addresses (for whatever reason - IDK) and the restore went fine and it is now correctly working out the gap.

Looking at this a bit more:

the index for the EXTERNAL (receive) addresses get incremented every time the user presses the request button
the index for the INTERNAL (change) addresses gets incremented every time the user does a send

Verified working. The gap limit was around 11 in a messy wallet, but for a clean wallet is was 20 then after an unconfirmed spend to the most recent address permitted a further 20 to be generated. Thus we can safely say we adhere to BIP44.
Closing.


reuse: 0.6.0 -> 0.7.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/reuse/versions.
meta.description for reuse is: '"A tool for compliance with the REUSE Initiative recommendations"'.
meta.homepage for reuse is: '"https://github.com/fsfe/reuse-tool"
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.7.0 with grep in /nix/store/ldhv3m5k9v9an90vayjwk6l2ldxf7flr-reuse-0.7.0

directory tree listing: https://gist.github.com/c68120ee2d25f18fa060e88f200c104c

du listing: https://gist.github.com/7d8832de3e5405ae491254fba6f5c358

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
reuse

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ldhv3m5k9v9an90vayjwk6l2ldxf7flr-reuse-0.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A reuse https://github.com/r-ryantm/nixpkgs/archive/b2ad20d5b52db507e7fed050504352b1c735af7b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ldhv3m5k9v9an90vayjwk6l2ldxf7flr-reuse-0.7.0
ls -la /nix/store/ldhv3m5k9v9an90vayjwk6l2ldxf7flr-reuse-0.7.0/bin

cc @FlorianFranzen for testing.

https://github.com/fsfe/reuse-tool/blob/master/CHANGELOG.md


warning H5Tcopy(): not a datatype or dataset

Reported here https://groups.google.com/g/votca/c/FT_Xu85qmfA/m/NZiWJENfCQAJ
HDF5-DIAG: Error detected in HDF5 (1.10.7) thread 0:
  #000: H5T.c line 1708 in H5Tcopy(): not a datatype or dataset
    major: Invalid arguments to routine
    minor: Inappropriate type

@jkrajniak this is new under >=hdf5-1.1

I am confused because in the command he is running nor .hdf5 is parsed.

I guess it is a warning that also shows up when hdf5 reader is initialized.

unless I am missing something, an hdf5 reader is not even initialized, because the factories just take pointer to the constructor.

@jkrajniak ping

@JensWehner ping

Didn't you want to fix that?

Do we have it reproducible?

I still do not know where it comes from


Enhanced regex and err msg for PR title validation

Fixes ISVISSUE-420
Summary:

The standard regex for PR title validation now checks for a simplified semantic version string (accepting only hyphenated build tags)
There is a specific check for prefix "v" in the semver portion of a PR title that provides additional error info

Update 1:

There was one duplicate test case that I changed to validate that a
prefixed version such as (v1.0.1) would fail.
There was another test case with a non-semantic version of (1) that is
no longer valid with this new code

Update 2:

Correct linting error due to new code in parse_pr_title function
Elaborate in comment that the new code is for a specific failure case

@Allda please review upon your return to office tomorrow.


MapControl children behaviours different in Creators update

Please investigate this: https://social.msdn.microsoft.com/Forums/en-US/ab97e870-346c-4e82-8966-4f0c1b952338/uwp-mapcontrol-children-not-fixed-positioned-anymore-after-w10-creators-update?forum=wpdevelop

This doesn't appear to be an issue with the sample, but rather an issue with the platform. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


Kernel Panic with long script

Describe the bug
The game starts fine, but as soon as I enter the battle room of my game, there is a fatal crash, described as a kernel panic by the GB Studio emulator.
To Reproduce

In the "On Init" portion of battle avatar, attach a script to the B button with 7 different attack options, controlled by a switch case. Which case is executed is controlled by the player setting their attack options in game.
Each of these 7 cases contains around 10-15 events, including launching a projectile.
the system works when there are only 6 calls to the launch projectile event, but as soon as I add the 7th call, the game crashes.
If I remove all the attack logic, and have only 7 launch projectile calls, it works. It also works if I remove one of the 7 projectile calls, and leave the rest of the attack logic.

Expected behavior
If this truly is a bug, I would simply desire the game not to crash. However, if this is simply a case of my script being too long for the game to process, perhaps a warning in the GUI when scripts become too long would be helpful.
Screenshots

Platform (please complete the following information):

Windows 10
GB Studio 3.0.2

Additional context

I believe that this was caused by my script being too long, because if I removed everything else being done as a part of the attack system and only had 7 projectile event calls, it worked fine. As a result, I am not entirely sure this is a bug so much as me running out of memory for the script. I was trying to do quite a lot in a single script.
For the time being, I was able to remedy the issue by changing how the attacks work, simultaneously shrinking the script and removing 3 of the 7 projectile calls.

That screen is more trouble than it's worth. It also sometimes show up when trying to load saved data, lol.

That screen is more trouble than it's worth. It also sometimes show up when trying to load saved data, lol.

It’s not more trouble than it’s worth because if it wasn’t this screen, the game would just crash or show you garbled tiles

That screen is more trouble than it's worth. It also sometimes show up when trying to load saved data, lol.

It’s not more trouble than it’s worth because if it wasn’t this screen, the game would just crash or show you garbled tiles

^ This. Having this screen gives game devs a chance to debug their games, and has already resulted in bug fixes behind the scenes as well.

That screen is more trouble than it's worth. It also sometimes show up when trying to load saved data, lol.

It’s not more trouble than it’s worth because if it wasn’t this screen, the game would just crash or show you garbled tiles

^ This. Having this screen gives game devs a chance to debug their games, and has already resulted in bug fixes behind the scenes as well.


STORM-2782 - refactor partial key grouping

Still +1 this is just a squashed version of #2379 so I am not going to wait the full 24 hours (because it is technically the same code)


fixing broken link

Fixing broken link for deploying Enterprise-Scale implementation option.

@victorar : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; merging. Thanks @victorar


Can Redhook (or other project) hook into Rust code?

If something is compiled with -C prefer-dynamic, can, for example, <std::fs::File as std::io::Write>::write be instrumented by LD_PRELOAD to inject failures?

Looks like the answer is yes, if you're willing to dig out the mangled name, and of course if the Rust compiler version is the same (since there's no stable ABI). If I cargo new --bin hello and cargo new p, edit p/Cargo.toml to make it a dylib and depend on libc, and then put the following in p/src/lib.rs:
#![allow(bad_style)]

extern crate libc;

use std::fmt::Arguments;
use std::mem::transmute;
use libc::{c_char, c_void};

#[link(name="dl")]
extern {
    fn dlsym(handle: *const c_void, symbol: *const c_char) -> *const c_void;
}

const RTLD_NEXT: *const c_void = -1isize as *const c_void;

#[no_mangle]
pub unsafe fn _ZN2io5stdio6_print20h47445faa595ef503E6gE(args: Arguments) {
    let ptr: unsafe extern fn(args: Arguments) =
        transmute(dlsym(RTLD_NEXT, b"_ZN2io5stdio6_print20h47445faa595ef503E6gE\0".as_ptr() as *const _));
    ptr(args);
    ptr(args);
}

then I can build both with -C prefer-dynamic as follows:
titan:~/src/rust/t/p geofft$ cargo rustc -- -C prefer-dynamic
   Compiling libc v0.2.9
   Compiling p v0.1.0 (file:///home/geofft/src/rust/t/p)
titan:~/src/rust/t/p geofft$ cd ../hello
titan:~/src/rust/t/hello geofft$ cargo rustc -- -C prefer-dynamic
   Compiling hello v0.1.0 (file:///home/geofft/src/rust/t/hello)
titan:~/src/rust/t/hello geofft$ LD_PRELOAD=../p/target/debug/libp.so target/debug/hello
Hello, world!
Hello, world!

The difference with what redhook does already is that this is a pub unsafe fn, not a pub unsafe extern fn. I don't think there's a good way to programmatically derive the mangled name from the actual one, especially because the crate's name is not part of it and the crate's random ID is. If it's still useful for you with this restriction, I'm happy to add something to the syntax to let you drop the extern from redhook's generated code.

I was just curious.
When Rust's stable ABI land and there be libstd in distros like today's libc, will Redhook extend its scope to also cover hooking into Rust?


Update docker-compose.yml

check-caps is not needed anymore

thanks !
one of the undetected inprovements


Popover.Provider similar to Tooltip.Provider

Describe the feature in detail (code, mocks, or screenshots encouraged)
Would be nice to have a Popover.Provider to enable groups of popovers similar to how tooltips are handled. I'd like to have popovers seamlessly transition into each other (if their triggers are adjacent) instead of closing and opening a new one. Currently this is partially possible with Tooltips if you use multiple triggers under a single Root with a single Tooltip.Content and the customAnchor prop.
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response

Can you provide some more detail/images/video about what you're looking to accomplish?
I'll be upfront and say it's unlikely we'll have a Popover.Provider, but perhaps there's a way we can make what you're trying to do a bit easier, I just need to see it.

Sure, I found a good example of what I'm trying to accomplish in the floating-ui issues here. I believe this should be relatively straight-forward to accomplish in svelte. I'll update once I get something working with svelte floating-ui.

Got it working pretty easily with floating ui
https://github.com/user-attachments/assets/4877ea2f-ea8a-4b61-9a90-77732acf3491
and the code I used to get this effect, note: I'm using the watch utility from runed.
 let navTooltipOpen = $state(false)
 let navTooltipContent = $state('')
 let tooltipAnchor = $derived(document.getElementById(navTooltipContent))
const floating = useFloating({
   whileElementsMounted: autoUpdate,
   get open() {
     return navTooltipOpen
   },
   onOpenChange: (v) => (navTooltipOpen = v),
   placement: 'right',
   get middleware() {
     return [offset(16)]
   },
 })
 watch(
   () => navTooltipContent,
   () => {
     floating.elements.reference = tooltipAnchor
   },
 )```

Mind dropping a stackblitz or similar to demonstrate this behavior using Svelte 5 and floating UI? It will help me determine/test some ideas I may have to solve this 😃

Sure thing, here's a sveltelab repl, let me know if there's anything wrong with it.

Allow me to chime in:
@huntabyte, @anatolzak once did something similar that I copied for a project.
Hope it helps, at least in regard to comparing against @raymonddaikon's example for the best approach forward.

Demo: https://dynamic-tooltip-svelte.vercel.app/
Repo: https://github.com/anatolzak/dynamic-tooltip-svelte


Edge Driver no longer works with Windows 10 1809 and Beyond

Prior to Windows 10 1809 Microsoft offered a stand-alone Edge webdriver that worked with SeleniumBasic.  Starting Windows 10 1809 they include Edge webdriver with release in system32 and sysWOW64.  I tried both and they don't work.

it's working for me : i've downloaded the Driver here : https://download.microsoft.com/download/F/8/A/F8AF50AB-3C3A-4BC4-8773-DC27B32988DD/MicrosoftWebDriver.exe
following instructions here : https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
I have Windows10 build 1803.
And Edge 17.17134. As explained on the website above, you have to download the appropriate driver for your version.
And rename the MicrosoftWebDriver.exe into edgedriver.exe before copying it to SeleniumBasic folder installation.

It also worked for me on Build 1803.  It stopped working on Build 1809.  Build 1809 has OS Build 17763.  You'll notice there is no stand-a-lone WebDriver for this version.  It is build into the Windows release and in System32 directory.  If or when you update it will be obvious.

any release soon ? if no...bad news...
anyway, I'm using Chromedriver, which is working well as well.


Support labels in reference search

Implements general navigation for labels, goto def, rename and gives labels their own semantic highlighting class.
Fixes #6966

bors r+


add authorization feature

In the currently mesher version, don't support authorization for third party system. So I do  a authorization interface in the mesher.

not only example, but docs

@tianxiaoliang   Examples and docs already done. What else needs to be modified?

you indeed implement the funtion of authorization, but there is no extension for developer to extend theire own auth module

@tianxiaoliang  I have always though different  auth plugin name to invocation different auth systems in the same handler chain.

@tianxiaoliang  Already modify the mentioned review.

@tianxiaoliang #84  Already merge multiple commit records and optimize the code.


JavaScript Code Style for gulpfile.js

Hi,
I just installed SublimeLinter - jscs plugin to my text editor (ST3).
As you can see here on my screenshot, it shows me an error.

Error says : Line must be at 80 characteres.
Do you think we need to make a PR to fix this ?
Thanks!
Antoine

Yep, that seems like right.

I think this may still be an issue. We definitely wouldn’t mind a PR to fix this.


With Bundler.with_original_env MRI ruby installed gem failed to load intermittently from jruby

I am trying to run ruby code with MRI ruby from jruby via subprocess
Environment details:

jruby:  1.7.19 (1.9.3p551)
bundler: 1.13.2
MRI ruby: 1.9.3

defect_test.rb
require 'rubygems'
require 'bundler'

def run_general_script
	command = "C:/dev/Ruby193/bin/ruby.exe C:/Users/abchavan/dev/test.txt"
	script_result, results_err, results_out = '', '', ''
	status = IO::popen4(command) do |pid, stdin, stdout, stderr|
		stdin.close
		[
            Thread.new(stdout) do |stdout_io|
              stdout_io.each_line { |l| results_out += l }
              stdout_io.close
            end,

            Thread.new(stderr) do |stderr_io|
              stderr_io.each_line { |l| results_err += l }
            end
          ].each(&:join)
	end

	puts results_out
	puts results_err
end

threads = []
1000.times do |i|
	puts i
	threads << Thread.new { Bundler.with_original_env { run_general_script } }
end
threads.each(&:join)

test.txt
require 'rubygems'
require 'rack'

puts "executing ruby file"

to run the program using jruby:
jruby C:\Users\abchavan\defect_test.rb
After running this program 2-3 times, you will get following error
C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:526:in `join': can't convert nil into String (TypeError)
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:526:in `rescue in find_home'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:512:in `find_home'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:1070:in `user_home'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:64:in `default_path'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb:63:in `path='
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb:29:in `initialize'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:395:in `new'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:395:in `paths'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:416:in `path'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:383:in `dirs'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:268:in `_all'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:411:in `each'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:443:in `find'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:443:in `find_by_path'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:206:in `try_activate'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
        from C:/dev/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
        from C:/Users/abchavan/dev/test.txt:2:in `<main>'

I also check this issue with latest version of Bundler gem above v1.13.2 eg v1.15.4 issue is still there

This seems to be happening deep in RubyGems and I'm not seeing Bundler in the stack trace, what's the output of gem env?

This is happening with all the installed gem only.
If I have added following content in test.text file
require 'rubygems'
require 'rexml/document'
require 'net/http'
require 'uri'
require 'rack'
require 'json'

Then you will get error for "require 'rack'" line only.
I also check this without Bundler.with_original_env with following line
threads << Thread.new {  run_general_script  }
I ran this 4-5 times it doesn't throw any error
jruby: gem env output
- RUBYGEMS VERSION: 2.4.5
- RUBY VERSION: 1.9.3 (2015-01-29 patchlevel 551) [java]
- INSTALLATION DIRECTORY: C:/dev/jruby/lib/ruby/gems/shared
- RUBY EXECUTABLE: C:/dev/jruby/bin/jruby.exe
- EXECUTABLE DIRECTORY: C:/dev/jruby/bin
- SPEC CACHE DIRECTORY: C:/Users/abchavan/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: C:/dev/jruby/etc
- RUBYGEMS PLATFORMS:
  - ruby
  - universal-java-1.8
- GEM PATHS:
   - C:/dev/jruby/lib/ruby/gems/shared
- GEM CONFIGURATION:
   - :update_sources => true
   - :verbose => true
   - :backtrace => false
   - :bulk_threshold => 1000
   - "install" => "--no-rdoc --no-ri --env-shebang"
   - "update" => "--no-rdoc --no-ri --env-shebang"
- REMOTE SOURCES:
   - https://rubygems.org/
- SHELL PATH:
   - C:\dev\jruby\bin
   - c:\dev\torquebox\jboss\bin
   - C:\Windows\system32
   - C:\Windows
   - C:\Windows\System32\Wbem
   - C:\Windows\System32\WindowsPowerShell\v1.0\
   - C:\dev\java\bin

MRI ruby: gem env output
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.29
  - RUBY VERSION: 1.9.3 (2014-11-13 patchlevel 551) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/dev/Ruby193/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: C:/dev/Ruby193/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/dev/Ruby193/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/dev/Ruby193/lib/ruby/gems/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

any update on this?

I'd recommend updated to the latest released RubyGems version, 2.6.11, since the error you're running into is happening inside RUbyGems

Ok, I will check and confirm

@segiddins Thank you for help, it looks like a issue of rubygems with windows environment, I will open this issue there.


Stop notifying about updates

Issue Type: Feature Request
There's an update notificaiton every time I open the program. I don't wan't to see this notification.
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:38:57.434Z)
OS version: Windows_NT x64 10.0.17134

"update.channel": "none",

As @usernamehw mentioned, you can use that setting to disable updating.


Region page does not load magento 2.3.6

I tried to access the region page in the admin section and i got this error
Type Error occurred when creating object: Eadesigndev\RomCity\Model\ResourceModel\Collection\Grid\Collection\Interceptor
Magento 2.3.6

Facing same error

I get this error:
Type Error occurred when creating object: Eadesigndev\RomCity\Model\ResourceModel\Collection\Grid\Collection\Interceptor, Argument 5 passed to Eadesigndev\RomCity\Model\ResourceModel\Collection\Grid\Collection\Interceptor::__construct() must implement interface Magento\Store\Model\StoreManagerInterface, string given, called in /app/e6qirincwb4nk/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121

I have same error too

@NoslenZuir did you find any solution for this?


Add support to store logs and kubeconfig as artifacts

This commit enables us to store install timing, kubeconfig and
openshift_install log as artifacts for the ocp install on AWS and
Azure jobs.

This PR depends on https://github.com/openshift-scale/scale-ci-deploy/pull/39.

@jtaleric PTAL.

Thanks for the review @jtaleric and @mohit-sheth.


Budget App

Prerequisites

[X] Non-Plagarized Project
[X] I checked to make sure that this issue has not already been filed

Description
Budget App with the balance, income and expense flexible list. Also added Chart to Compare.
Tech Stack
Web Development (HTML,CSS,JS)

@abhijeet007rocks8, review this PR.


Question:Which IDE you recommend for developing robot cases in python3 env

Hi,
I want to know which IDE you recommend for developing robot cases in python3 env. RIDE is out of maintenance and I can't find a good tool to develop, run and debug cases.
B.R.
Luis

Good question with no single right answer. Because this issue tracker is only for bug reports and enhancement requests, the question should be be asked on the available support forums.


[W7][T09-1] Lee Yu Choy

Updated find command to case-insensitive and allow keyword to include address and email
JUnit test has been updated accordingly.

Great work! 👍
At the moment, your find command is able to search for Person attributes such as Name, Address, Email, but not Phone.
Perhaps you might have missed that out :)

Excellent work updating this feature!
The commits are also done in an incremental way that reflects each changes at each point of time!

LGTM. Excellent work on the feature!


I want to add a password generation webApp

Hey @DHEERAJHARODE , Can I proceed with this issue ?
Have A look ->

@DHEERAJHARODE Assign me this issue

I wish to contribute. Kindly assign this to me.

Please assign me. I want to do it.

I want to contributr.. Please assign it to me

Guys chill, I have created this issue and already created pr 3days back. :)


Adding sort option for start time

Thanks @AnushaGaddala . ECA check failed. Did you sign ECA using<EMAIL_ADDRESS>The email that you used for signing ECA has to be the same email as your GitHub email.

Thanks. The ECA check passed.

Adding sort option for start time

Thanks. The ECA check passed.

How can i verify my changes


Question about crashes

Hello,
I have a question about the last code example with crash. I've read carefully how delegates work (http://csharpindepth.com/Articles/Chapter2/Events.aspx) but I still cannot understand why and where it would crash. If the user taps a label on a cell that should mean this cell is visible and could not been garbage collected.
Could you please give more details on it? What line would it crash at and how was it possible?
Thank you in advance

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

ID: 8b6d7825-14ee-ac0c-41ea-48bf372a381d
Version Independent ID: a347f0a0-b21c-1d6e-df4d-61dbb344666f
Content: New Reference Counting System - Xamarin
Content Source: docs/ios/internals/newrefcount.md
Service: unspecified
GitHub Login: @bradumbaugh
Microsoft Alias: brumbaug

Hi @Synthezator, thanks for the comment.
In this sample, the GetCell method creates a UITableViewCell, adds a text view to it, and sets up a C# delegate to handle the text view's TouchDown event.
While the C# UITableViewCell wraps an analogous native (Objective-C) UITableViewCell object, the delegate for the TouchDown event exists only in C# - there's no analog on the native side.
This means that the native (Objective-C) UITableViewCell (and its text view) have a dependency on C# code (specifically, on the TouchDown delegate). If that dependency isn't available when the TouchDown event actually occurs, it will lead to a crash. This can happen if the C# UITableViewCell has been garbage collected before that event occurs.
The new reference counting system helps prevent these types of confusing situations by making sure that "derived" objects – C# objects that wrap native objects but also augment them with extra state/functionality in C# – are still available when necessary.

Hi @bradumbaugh , thank you for the response. It's almost clear now.
So the C# UITableViewCell could be garbage collected while it's visible just because there is no references from other C# objects, and Mono GC doesn't know about references from Objective-C objects, right?

Hi @Synthezator, you're right – when the managed UITableViewCell isn't referenced by other C# objects, it becomes eligible for garbage collection. However, since in this case it contains state that shouldn't be lost – the TouchDown delegate – Xamarin.iOS (with "new reference counting") will automatically keep the object alive despite a lack of managed references to it.


Godot fails to compile nested recursive namespace names with cryptic error messages

Godot version
v4.0.beta5.mono.official [89a33d28f]
System information
Windows 10 x64
Issue description
If you add a C# script with nesting namespace lines that use the same name as a higher namespace name, Godot fails to compile, but gives an odd error about Godot.SourceGenerators temporary files instead of the problem file in question.
Steps to reproduce
To reproduce the error, just add the below class to a C# script in a Godot 4 project and then build:
using Godot;

namespace SpaceA.SpaceB
{
    namespace SpaceA
    {
        public partial class Foo : Node {}
    }
}

Minimal reproduction project
Just add the above code to a C# script in an empty project.

To cite CONTRIBUTING.md

On the contributors' end, recreating a test project from scratch takes valuable time that can be saved by uploading a minimal project.

To speed up our work, please upload a minimal project that isolates and reproduces the issue. This is always the best way for us to fix it. We recommend attaching a ZIP file with the minimal project directly to the bug report, by drag and dropping the file in the GitHub edition field. This ensures the file can remain available for a long period of time. Only use third-party file hosts if your ZIP file isn't accepted by GitHub because it's too large.
We recommend always attaching a minimal reproduction project, even if the issue may seem simple to reproduce manually.

Please upload a MRP to the issue's description.

Updated original post per request.


Only show queries/mutations based on directive

Hi all,
we have a bit of a specific use-case. We created a custom directive which indicates whether a query/mutation can only be called internally or also externally. For external calls, we have a dedicated API framework which allows our customers to use Oauth to generate a token and call the query or mutation from within their solution.
We are looking at a tool which can automatically generate documentation. However this should only show the public queries/mutations based on the directive that is set. I haven't seen anything related to this so I was just wondering if there is a way to achieve this?
So basically we only want to show the queries and mutations if the directive is set to @public.
Thanks,
Bram

Hi @brampurnot
Thanks for the suggestion. We currently have the opposite feature that hide a schema entity based on a directive, see skipDirective.
But, it makes sense to support this requirement, and itshould be fairly easy and quick to have a negate attribute to the directive expression (eg !), and/or add an onlyDirective option: skipDirective !@public == onlyDirective @public.

It will take a bit longer as I realized that this use case requires checking the whether the directive location is possible to avoid false positive, ie onlyDocDirective should only apply on type that can have the matching directive (eg @public).

No worries! Take whatever time you need.

@brampurnot - onlyDocDirective now available with the release 1.21.0, more in the documentation.


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Cloudflare.Warp
Package Version
24.3.409.0
Please describe the changes you would like to see
There is a new release.
I was unable to find again the package in the repository.

@Edoardo66 - Seems Cloudflare.Warp meets some special case and should be entirely removed from the repository. I can help submitting the manifest, but I think the same problem may occur and block the PR.

[!NOTE]
Manifest is valid and able to install in Windows Sandbox if modify InstallerUrl to a pre-downloaded local server URL.

Related issues or pull requests

#145124
#144984
#141535

[!NOTE]
Pull request #147041 failed to resolve this issue. And this issue seems blocked by external reason. https://github.com/microsoft/winget-pkgs/labels/In-PR should be removed from this issue.


(PUP-10650) Remove PTypeType and PTypeSetType from RichData

The RichData alias included Type and TypeSet which correspond to PTypeType and
PTypeSetType. While pcore can serialize those objects, we don't in practice.
Also if lookup returns a large hiera hash that happens to include a top-level
pcore_version key, then pops will perform full type inference on the hash,
thinking it's a TypeSetType#instance?. To avoid that pitfall remove the Type and
TypeSet types from RichData.
The Type and TypeSet types were missing from the
'rich_data_compatibile_types` shared context. So the TypeCalculator specs were
never testing that they were instances of RichData. Had the types been included,
then this commit would have removed them.

This is a follow up to #8029
@hlindberg Thoughts about removing PTypeType and PTypeSetType from RichData in Puppet 7? There are no tests so it's not clear what might break.

Conceptually they should be included in RichData as without them it isn't possible to serialize them and if that is ever wanted (i.e. if a self describing serialization is wanted - which I think is very useful) would need to change it back, or invent yet another type for that and change serialization to be based on it.
The real problem is that PTypeSetType falls back to the generic instance? method which performs a type inference. it is slow to infer the type of a large hash (to for example get something like Hash[String[1,10], Integer[0,100]] back. It then checks if something of that type is assignable to the type it is testing for. That is bad and sad because a Hash type is not a kind of TypeSet type - so it went to all that trouble only to come up with false.
I think the correct thing to do here is to have an instance? method for PTypeSetType that looks like this:
def instance?(o, guard = nil)
  return o.is_a?(PTypeSetType)
end

And if PTypeType does not have a similar instance? then do the corresponding thing there.

CLA signed by all contributors.

Hey, Henrik. Does the type inference in https://github.com/puppetlabs/puppet/pull/8295/files#diff-f785281ca267e80edf86ce03848c3ecaR352-R362 seem correct to you? It's assuming it receives a Hash rather than a PTypeSetType, which seemed sane to me based on how I thought things worked, but I might be missing something.

@justinstoller I think there is a confusion over serialization of a PTypeSetType and an instance of that type at runtime. In the type inference, the way I see it, an instance of a Hash is never a PTypeSetType instance so basically the performance problem is because the inference for the PTypeSetType falls back to the default which is to infer the type of the value it is checking and then checking of the returned type is TypeSet - and it never will no matter how many keys that hash includes from what a PTypeSetType instance looks like when it is serialized.
You can verify this by having a hash that is the serialization of a TypeSet and see that the unmodified code never takes that as being an instance of TypeSet. (I kind of did that by setting up a small experiment and running it in the debugger). So - I believe that my 3 line suggestion above is all that is needed to cure the performance problem. (Also look at PTypeType if it has the same problem - it too should also only look at the instance type and not fall back to the expensive default behavior.

I should add that was also fooled at first and thought it would make sense to look at keys in the hash. It was when I stepped through the code that I realized that it will never take a Hash instance to be an instance of TypeSet (or Type) in this case. The external representation of those as Hashes are defined by the RichData "human readable" serialization format that is now in use - and that format is never interpreted directly by the type system.
Hope that makes it more clear what is going on...

Also, while the patch that was made speeds things up it would in the odd case (if the "magic keys" are in the hash) fall back to the default behaviour - and that would never take a hash as being a typeset. So while that "works" it isn't the correct solution.

@hlindberg thanks for the comments. Earlier you suggested

Speeding up the inference is still of value - there may be some obvious things that can be done to make it faster to discriminate if a hash could possibly represent a type or typeset.

And in this comment:

I think it is may be as easy as checking if it has the key "pcore_uri" - which should be present and signifies that "this is something that has to do with pcore"

I'm happy to change PTypeSetType#instance? to check if o.is_a?(PTypeSetType), but when would the "if a hash could possibly represent a type or typeset" check occur? Would that be in the PTypeSetType#assignable? method? Currently it inherits the base implementation.

@joshcooper sorry about that, I was fooled by the idea that it would possibly accept a hash instance as a typeset instance. But I was wrong.
I think the instance? method should be implemented as I suggested. And there is never the need to fall back to the default (inherited behaviour) since at runtime an instance of TypeSet is never an instance of Hash.

Switching to is_a? will be done in https://github.com/puppetlabs/puppet/pull/8307. I'm going to close this as won't do.


Exclude certain folders from the task list

I am using a template Folder, and the templates also contain Task templates, e.g.

[ ] Upload invoices {{YYYY-MM}}

that I use for recurring tasks.
These tasks are then picked up by the Checklist. Ideally I would be able to just specify one (or more) folders, from which the tasks are ignored, then I could jsut exclude my template folder from the checklist.

Otherwise a great tool! Thank you!

Hey, I just found out, that if you use the glob pattern in settings to exclude the path e.g. to your templates folder, it needs to end with a comma, also when you only have one entry. Maybe it works for you, too.
!{YourPathTo/Templates/**,}

!{YourPathTo/Templates/**,}

Hi @schneiderlars where and how would you fill this in? I can't find it in the plugins settings. Maybe that way I can exclude my Kanbans from showing up in Checklist. I use those differently, and they don't need to show up in Checklist.


[Settings] Dashboard: Adding feature switch to settings page if module panel clicked.

Summary of the Pull Request
Implementing feature: In dashboard page switch to corresponding settings page if a module panel is clicked.

PR Checklist

[x] Closes: #29501
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Tested locally

Fixes #29501

Thank you for opening the PR. This changed the style by quite a bit. Every panel is now much lighter and looks like it has a border around? Is there a way to keep the previous style? Also, why can't we click the disabled modules?

Thank you, eagle eye @jaimecbernardo for spotting this :-) I had to zoom in into a snapshot pic to see the differences, but there were some. Thanks a lot
Mole-eye-Laszlo


Ansible: Ansible Linter related fixes

Correct a number of ansible linter errors related to structure / task names etc.
Also add 3 new exclusions to the linter excludes, as a large number of changes would need to be made and tested.

'no-free-form' # Exclude As Requires Significant Changes ( 196 changes required )

'fqcn[action]' # Exclude As Requires Significant Changes ( 249 changes required )

'args[module]' # Exclude Experimental Rule Validation ( Prevents 4 experimental warnings )

[X] commit message has one of the standard prefixes

[X] VPC/QPC not applicable for this PR

@steelhead31 some new errors were introduced.


Error handling

Related Issue

Closes: #775
Description of Changes

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Original
Updated

Please provide any necessary screenshots to illustrate the changes made.

Cool, We will add more cases and perfect error handling in this pR only.


Ubuntu Lucid Support for devstack

The changes were surprisingly minimal

Modified get_packages so it could be used to specify which pip packages should be installed on a per distribution basis.
Added files/dist/lucid to keep distro specific changes separate
Modified what packages could be installed for lucid

Hello!  Merge requests for devstack are now being done through gerritt:
http://wiki.openstack.org/GerritWorkflow
https://launchpad.net/devstack
The master repo is here: https://github.com/openstack-dev/devstack
It is a bit of work to get started, but if you are able to propose this to the main project that would be great.

Wow, I must rebase/squish and destroy my history in order to submit a patch?
Sad Thrawn01 is Sad =(


As a User I want to be able to download the prevalence data I have selected using the existing filters

Add a download button to the Table controls panel

This is great! Thank you!!!  I the downloaded table, can we have the same order of columns as in the table on the website? And we don't need the column further details. It also seems that when I load the csv locally that it has problems with ü and ä. Can we fix that?


"reload..." message should have a timestamp

Would something like this be alright
restarting...
restarted January 26th 2016, 4:06:11 pm

Sure. You could even be more succinct if you like. Also the restarting... line probably wouldn't be necessary anymore. Your call though on all of it.

I've made a pull request for it here #72. I know there are a lot of commits, but the end result works. Also it updates standard to 10.0.2 which was necessary for the build to pass on nodejs 0.1 and 0.12.

@alallier You should probably close this issue now

I will close when the feature branch makes it into master

So when you merge v2.0.0 into master?

Correct


Change most embedded apps startup page titles to the label of the button that opened the embedded app

@lucasvanhalst also don't uppercase the title of events/appointments/...


testsuite: utils: move the interrupt_util.h into testsuite

The interrupt_util.h provides utils of trigger irq, now move them into
testsuite. All of the needed test cases can make use of them.
The tests/kernel/gen_isr_table and test/kernel/interrupt  testcases both need the function of triggering an interrupt.
Now try to move them info testsuite. Other test cases could also leverage this if necessary.
Signed-off-by: Enjia Mai<EMAIL_ADDRESS>

FWIW: even better would be to abstract this out into an "arch_trigger_irq()" API maintained by the architecture. It's true we only use this for test code right now, but software interrupt control is something we probably want to provide to applications too.

Got it, I think it's a really good idea and interesting.  I will try to understand the whole mechanism deeper and do this, thank you!


I'm sorry, did you test it at all?

You must have a mistake somewhere.
If the value is 1 or more when you dipit, there will be an error.
And if the value is 0, then you just can't deposit coins

Nope, this project was just a mock and there never was a plan to make it into production ready code. There's only a simulation script running against forked state which just checks for execution. You can deposit fine.

I'm sorry I misinterpreted the error.
The mistake is that a person must first allow a contract such as ETH to spend his money to that contract.
This can only be done personally by the person through the ETH contract.
It won't go through the transaction if you don't do this.
If you don't do this, the contract will give an error in the gas calculation and the amount of gas will be high,
If you specify a small amount of gas yourself and execute the transaction, then the commission for debiting ETH will not pass and the stabel coin will be credited.
Translated with www.DeepL.com/Translator (free version)

More precisely, the eth coin will not be credited, but your contract coins will be credited.

I tested on the BSC network, but they are the same.
Both there and there for external coin entry. confirmation for coin withdrawal must be done personally by the wallet on the contract of that coin.

The only thing that happens in tranzation is that it allows you to spend coins that are on the contract, not on a person's wallet.

he problem with sending ERC-20 to any contract is that the contract is not aware of that transaction. There's no function that's called when the tokens are received, so it's not possible to assign that balance to a specific sender. This is why things like decentralised exchanges use approve and transferFrom. In this case a contract can transfer user's tokens itself, in which case it knows that the user has that number of tokens.
More recent token standards like ERC-721 (non-fungible tokens), and ERC-777 solve this problem with hooks. An ERC-777 token contract for example calls the receiving contract before the tokens are sent. If the receiving contract does not implement the token receiver hook, the transaction is reverted. This way it's possible to: 1) assign a token balance to a user on transfer and 2) prevent tokens being sent to a contract that does not support it.

i.e. before sending ERC-20 coins to the contract the person has to do it himself:
( your contract )
amount ( the amount he will transfer)
and only after that transferFrom


Hi!

Hi idk how thia project works, i just want to build a segway battery diagnostic that tell me if cells are good enough, there is a list of materials and processes i have to do to build it??.
Thank for your work, hope we can talk!

Migu...
This is code that I wrote to document and help people understand the Segway
I2 lithium battery BMS responses.
It's useful, but not meant to be a product... just a guide and a learning
tool.
To use the tool you're going to need an Arduino, and some electronics
engineering skis and confidence working around high voltage (70v)
batteries.  You can seriously hurt yourself and damage your equipment.
On Sun, Jun 28, 2020, 9:14 AM Migu5499<EMAIL_ADDRESS>wrote:

Hi idk how thia project works, i just want to build a segway battery
diagnostic that tell me if cells are good enough, there is a list of
materials and processes i have to do to build it??.
Thank for your work, hope we can talk!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/martinbogo/i2-battery-diagnostics/issues/6, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5KKIVYC636KD6ROJF7UTRY5F5DANCNFSM4OKRSVOQ
.

Nice thank you for your fast reply, im a e-scooter fixer so i have knowledge about high voltage, but im a little noob building this things but sure i want to try build a segway battery checker!!


Duplicate functions

Looks like lines 47-65 are duplicated at 149-167.

I dare say you're right. Copy/paste instead of cut/paste I expect. Thanks!


BUG: Customer Reviews Section Being Unprofessional

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?

Upon reaching the end of the reviews, it shows empty spaces to the right for 2 spaces (this may be because there isn't enough reviews, which means we either add 2 more, or remove the last 2), but worse is that when clicking next, it shows an entire frame of no reviews, before clicking next to go to the beginning. This is not user friendly design, and must be enhanced ASAP! (Front facing bug)
Please assign GSSoC'24 and other related tags, and assign it to me. Would love to get my hands greasy by solving this issue!
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue
[X] I check the issue doesn't exist

duplicate as #141


Revise sticky table header

@fspoettel I integrated your feedback and updated the pull request. I chose the simpler approach with Lodash's debounce which we use at other places too.


Make an alternative method while cloning

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[x] New feature provided

[ ] Improve performance

Related issues

https://github.com/apache/skywalking/issues/4331

New feature or improvement
Make an alternative method while cloning and reformat some code blocks

Preiview: https://github.com/JohnNiang/skywalking/blob/chore/doc/docs/en/guides/How-to-build.md

Codecov Report

Merging #4333 into master will not change coverage.
The diff coverage is 93.75%.

@@           Coverage Diff           @@
##           master    #4333   +/-   ##
=======================================
  Coverage   27.01%   27.01%
=======================================
  Files        1176     1176
  Lines       25677    25677
  Branches     3664     3664
=======================================
  Hits         6936     6936
  Misses      18128    18128
  Partials      613      613

Impacted Files
Coverage Δ

.../core/profile/analyze/ProfileAnalyzeCollector.java
100% <ø> (ø)
:arrow_up:

...lking/oap/query/graphql/resolver/ProfileQuery.java
0% <0%> (ø)
:arrow_up:

...p/server/core/profile/analyze/ProfileAnalyzer.java
77.77% <100%> (ø)
:arrow_up:

...oap/server/core/query/entity/ProfileStackTree.java
100% <100%> (ø)
:arrow_up:

.../server/core/profile/analyze/ProfileStackNode.java
90.38% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix for #2877 - add nonanalyzed (i.e. keyword) 'name' field to package search

To whom it may concern,
I fixed the bug to the best of my understanding, but I still have a few issues. I'm "prematurely" opening this PR with the purpose of receiving some review, feedback, and help.
See some code comments about the fix inline.
About my status:

I managed to set up and run warehouse in a container (😄)
I couldn't get the tests to execute :. When I run "make tests" I get the following error:

    env: ‘bin/tests’: No such file or directory
    Makefile:99: recipe for target 'tests' failed

I couldn't replicate the bug on my PC, hence I couldn't make sure the bug is solved. Finding "bad" examples is hard even in production, and the test ES probably has much fewer packages. The bug can probably be fabricated by adding carefully named mock packages to the index, but I've no idea how to do that.

The "tests" I did run were making sure that 1) search still works, 2) make initdb still succeeds and 3) the ES search query contains the new search field, name.keyword.

Any help and guidance would be appreciated.
Thanks!

I couldn't get the tests to execute :. When I run "make tests" I get the following error:

Is there more to this error? I would imagine there would be a stack trace or something similar above what you included.

I couldn't replicate the bug on my PC, hence I couldn't make sure the bug is solved. Finding "bad" examples is hard even in production, and the test ES probably has much fewer packages. The bug can probably be fabricated by adding carefully named mock packages to the index, but I've no idea how to do that.

You can upload new distributions directly to your development instance of Warehouse with twine, see http://warehouse.readthedocs.io/development/reviewing-patches/#testing-with-twine for instructions. I like to use https://github.com/pypa/sampleproject for this purpose, and modify it as needed.
You should be able to reproduce this by adding two new packages to your development instance.
You'll need to run make reindex afterwards to rebuild the elasticsearch index to include the new packages.

You'll need to run make reindex afterwards to rebuild the elasticsearch index to include the new packages.

With #4328 that shouldn't be the case as long as the workers are running!

@selotape it sounds like you're using a bit of a non-standard environment to develop warehouse.
Could you help us by describing how you're running warehouse? Our expected development environment is documented at https://warehouse.readthedocs.io/development/getting-started/#detailed-installation-instructions, if you're diverging from that too much it can be difficult for contributors to assist you.
If you're running into snags with the documented setup, that's a bug and we encourage you to file an issue!

Oh yeah, forgot that we fixed that!

@ewdurbin ,
about my setup, I did follow the "detailed installation instructions", but I'm not familiar with docker so I may have gotten some things wrong.
My main OS is windows 10 so I installed ubuntu on the WSL. I installed docker CE in windows and docker and docker-compose on the Ubuntu. I also followed the "quirks" section. After all this I ran make serve and make initdb and things seemed to run well, including all the sanity tests (except make tests...).
Is there anything specific I can check and show you to make sure I'm set up properly?
And about the tests, the following is all I get when I run make tests from the project root -

I find the "no such file" error strange, because the bin/tests file does exist -

...maybe it's somehow related to the fact that I'm user root on the Ubuntu... and the docker can't see the tests...?
Any other suggestions for how to run the tests?
Thanks!

btw, make lint also doesn't work for me. It looks like a python3.6 issue -

Is the python3.6 supposed to be installed on the container or on the Ubuntu?

@selotape I'm so sorry for the delay in response! Short answer: we're in IRC most weekdays around 10am-5pm US Eastern Time, come talk with us?
Longer answer: From December 2017 till the end of April 2018, PyPI had funding to get the new site up and running and perform the switchover. Then the grant money ran out. Then the Packaging Working Group, seeking donations and further grants to fund more work, got some new funding, and we're getting our momentum back on Warehouse work and being able to spend more time helping contributors. So if you come talk with us in IRC sometime soon we should be able to help you get your setup fixed! Or if you'll be at PyCon North America in May, talk with us during the sprints!
Thanks and sorry again.


Updating Sub document

I have no idea how to update a sub document in Lite DB. For example, I have a document like this one.
{     "name": "user1",     "Addr": "Address",     "service": [{         "name": "Service1",         "type": "Service type1"     }, {         "name": "service2",         "type": "service type2"     }] }
I want to add or remove services to the customer.  I have no idea how to do it.

Hi @anishpsla, you cannot access sub document only. You must read your document "User", insert/update "Services" and save "User" again. Something like this:
public class User
{
    public string Name { get; set; }
    public string Addr { get; set; }
    public List<Service> Service { get; set; }
}

public class Service
{
    public string Name { get; set; }
    public string Type { get; set; }
}

var u = users.FindById(123);

u.Services.Add(new Service { Name = "s1", Type = "t1" });

users.Update(u);

            using (var db = new LiteDatabase(@"MyData.db"))
            {
                var CustomerTbl = db.GetCollection<Customer_model>("customer");
                var cus = CustomerTbl.FindById(cusid);
                cus.Service.Add(new CusService { Name = "BB", Type="Test"});
                CustomerTbl.Update(cus);
            }

Causing

NullReferenceException: Object reference not set to an instance of an object.

Error on line

cus.Service.Add(new CusService { Name = "BB", Type="Test"});

Post your Customer_model class to check if has an ID identifacation, and how you are inserting your customer.

Customer_mode class have id of type integer. Also 'cus' variable have data in it. the next line causing problem.

Can you post an gist unit test of this problem? I will need debug this code to know where problem is.

Thanks for your help. Finally, I find the solution. Here is the raw, code
using (var db = new LiteDatabase(@"MyData.db"))
            {
                var CustomerTbl = db.GetCollection<Customer_model>("customer");
                List<CusService> test = new List<CusService>();
                var ResultSet = CustomerTbl.Find(x => x.Id.Equals(23));
                foreach (var result in ResultSet)
                {
                    test = result.Service;
                }
                var test13 = new CusService { Name = "CA", Type = "123" };
                test.Add(test13);

                var CustomerInfo = new Customer_model
                {
                    Id=23,
                    Name = "asdfsd",
                    Addr = "sdfsd",
                    Service = test
                };
                CustomerTbl.Update(CustomerInfo);
            }


Disable flaky test

Description
Disable flaky test.
Test Plan
N/A

Current dependencies on/for this PR:

main

PR #10390   👈

This comment was auto-generated by Graphite.


No pokemon !

Hello,
The pokemons are no more displayed in the newest version 0.10 and 0.11, but the version 0.0.7 though !
Regards,
Onarki

Have you made sure to check the server status on a site like ispokemongodownornot.com?
Currently Pokemon Trainer Club login is experiencing major latency.


somaticInteraction color - wrong direction

Thanks for this great/very useful maftools!
I began to use somaticInteraction to test some mutation interactions (using the latest github version, details below). Though the somaticInteraction calculation result shows the interaction are mutually exclusive but somehow the color scale is opposite for some cases:

When I switched to an older version of maftools (maftools_2.2.0) , the color looks ok now:

I am guessing there might be an issue with the color in the somaticInteractions (though when I am running the included laml demo samples, the color looks correct).
> packageVersion("maftools")
[1] ‘2.4.5’
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-conda_cos6-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /home/ipstone/miniconda3/lib/libopenblasp-r0.3.7.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] ipfun_0.0.1       data.table_1.12.8 maftools_2.4.05

loaded via a namespace (and not attached):
 [1] compiler_3.6.1     Matrix_1.2-18      tools_3.6.1        RColorBrewer_1.1-2
 [5] survival_3.1-8     R.methodsS3_1.8.0  splines_3.6.1      grid_3.6.1
 [9] R.utils_2.9.2      R.oo_1.23.0        lattice_0.20-38

I suspect now, it might be the older version of other packages such as RColorBrewer etc. causing this issue (I remembered when installing the github version of maftools there was prompt to update other dependent packages - which I didn't do).
I will test again on a clean install on arch Linux to see if this is the cause.

Could you provide me with a reproducible example? I have tested it on multiple tcga cohorts and it seems to be fine.

Thanks @PoisonAlien : I think it's most likely due to other 'outdated' package on my system - I am closing this ticket.


Getting-Started tutorial: Report and problems/solutions list

meteor 1.6.1, node v8.9.4, osX 10.12.6
METEOR_PACKAGE_DIRS="---cut---/Vulcan/packages" meteor --port 3000 --settings settings.json

First error
I20180501-11:38:44.417(2)? url:  /
I20180501-11:38:44.565(2)? { Error: // Component Step3 is not registered
I20180501-11:38:44.566(2)?     at Object.get (packages/vulcan:lib/lib/modules/components.js:16:13)
I20180501-11:38:44.566(2)?     at Object.step2 (packages/getting-started/lib/modules/checks.js:22:23)
I20180501-11:38:44.566(2)?     at Nav.React.createElement.React.createElement._.range.map.i (packages/getting-started/lib/components/other/Nav.jsx:22:20)
I20180501-11:38:44.567(2)?     at Array.map (<anonymous>)
I20180501-11:38:44.567(2)?     at Nav (packages/getting-started/lib/components/other/Nav.jsx:20:26)
...
W20180501-11:38:44.573(2)? (STDERR) 2018-05-01T09:38:44.418Z 'error while server-rendering'
...

Solution : uncomment registerComponent in Step3.js then
 url:  /
I20180501-11:45:03.197(2)? { Error: // Component Step4 is not registered
I20180501-11:45:03.198(2)?     at Object.get (packages/vulcan:lib/lib/modules/components.js:16:13)
I20180501-11:45:03.198(2)?     at Object.step3 (packages/getting-started/lib/modules/checks.js:26:25)
I20180501-11:45:03.199(2)?     at Nav.React.createElement.React.createElement._.range.map.i (packages/getting-started/lib/components/other/Nav.jsx:22:20)
I20180501-11:45:03.199(2)?     at Array.map (<anonymous>)
I20180501-11:45:03.199(2)?     at Nav (packages/getting-started/lib/components/other/Nav.jsx:20:26)
...

Solution : uncomment import '../components/steps/Step4.jsx'; in components.js
--> ok now I can access to tutorial
At Step1 : "By the way, when developing locally you can review all your routes using the Routes dashboard. " with link to http://localhost:3000/routes , when you try to access this route
I20180501-11:52:48.770(2)? url:  /routes
I20180501-11:52:48.802(2)? { Error: // Component undefined is not registered
I20180501-11:52:48.803(2)?     at Object.get (packages/vulcan:lib/lib/modules/components.js:16:13)
I20180501-11:52:48.804(2)?     at DatatableCell (packages/vulcan:core/lib/modules/components/Datatable.jsx:237:41)
....

No solution ...
At Step2 : "You can review them all by accessing the Components dashboard " with link to http://localhost:3000/components, same here where you try to access this route
I20180501-12:08:32.653(2)? url:  /components
I20180501-12:08:32.656(2)? { Error: // Component undefined is not registered
I20180501-12:08:32.656(2)?     at Object.get (packages/vulcan:lib/lib/modules/components.js:16:13)
I20180501-12:08:32.656(2)?     at DatatableCell (packages/vulcan:core/lib/modules/components/Datatable.jsx:237:41)
...

No solution ...
At Step4, after uncommenting the ModalTrigger in Step4.js
I20180501-12:19:17.003(2)? url:  /step/4
I20180501-12:19:17.005(2)? { Error: // Component ModalTrigger is not registered
I20180501-12:19:17.005(2)?     at Object.get (packages/vulcan:lib/lib/modules/components.js:16:13)
I20180501-12:19:17.005(2)?     at Step4 (packages/getting-started/lib/components/steps/Step4.jsx:25:17)
....

Blocked ...
To be continued

About the routes and component dashboards: you must have the debug package enabled.
Add one line to your .meteor/packages file:
vulcan:debug
About the modal component, you must have the ui-bootstrap package, the ui components were very recently moved out of the core package, so the tutorial has not been updated yet.
Adding the following line to your .meteor/packages file should solve it:
vulcan:ui-bootstrap

Thank you @Apollinaire
meteor add vulcan:debug
   vulcan:debug: Vulcan debug package
meteor add vulcan:ui-bootstrap
 => Errors while parsing arguments:
While adding package vulcan:ui-bootstrap:
error: no such package

Error: // Component Step3 is not registered

This was because I was testing some code on devel to tell you when you try to use an unregistered component, but it turned out to be a bad idea because the error was triggered even for checks for that component's existence (which the getting-started package uses). Shouldn't happen anymore.

Btw you can switch your main Vulcan repo to master to get around these issues, the devel branch is always a little more unstable.

ISS to Osaka, at step10 now, everything is green, continuing the mission ...

step13 : login form has a strange look

Great! Can I close this issue?

I'd rather like exposed Step17 "clones" problem to be explained before closing ;)

I'm not sure about this bug. I was thinking I'd fix it when switching to Apollo v2.x.
https://github.com/VulcanJS/Vulcan/issues/1951


New Device Showing as Fan Not Thermostat

I am so glad you made this plugin, mine was nowhere near as good as this!
I am having an issue and wondering where to start to debug. I had to get a new wifi module, so had to add my unit to kumo again. When the new unit appeared in HomeKit after my homebridge 'saw' it, it came up as a fan, heater/cooler, dehumidifier, and general power switch. When these are grouped together (which is how I normally keep things) it appears as a fan, not a thermostat. So I cannot see the temperature in the tile anymore.
Any idea how I fix this?

vs

Weird. Mine has the same temperature icon as the lower image in your post. But with the "4 off" text underneath. I tried playing with the settings and was unable to get the fan icon to appear. Do you recall what settings you had previously had to try to reproduce?

I'm going to close.
You might want to try the simpleDuctless accessory as that only involves the HeaterCooler. The downside is that you can't control the dehumidier using that.