Can't autocomplete list of strings when union string | string is present

TypeScript Version:  3.2.1-dev.20181127

Search Terms:
Tried Domain: Completion Lists github label, didn't find a duplicate, there is probably one somewhere...
Code
type ListOrString = 'one' | 'two' | string;
const str: ListOrString = '';// Trigger autocomplete

Expected behavior:
Autocomplete shows

one
two

Actual behavior:
Only word suggestions.

Duplicate of #12687
The union type is simplified into a normal-form via subtype reduction; hovering over ListOrString will only show the supertype string.

So...

it was working at some point
it was reported and accepted to be a bug
it was given an explanation new is always better

The type "foo" | "bar" | string is equivalent to the string type and now gets simplified early on. So all we see when querying the type checker for the type of x is string. So, this can't be fixed.

the issue got closed and locked so nobody could find it

I've tagged the old issue with a domain label for future use, but it predates when we used domain labels, which is why we didn't have one on it. And most old issues without activity are closed/locked.

Can this be implemented as a TS plugin then?

Type checking should stay as it is
Editor autocomplete should have these items

We don't really have plugins - sans editor-wide ls plugins that wrap the entire ls. They can do anything, since they just wrap and intercept the LS, it's just not always easy.


Properly reset recorder

One of the features should be to reset the recorder to restart the current recording.
The only way I found to achieve this is the following, but it doesn't seem to be stable.
  const reset = () => {
    recorderRef.current = new AudioRecorderPlayer();
    unlink(fileUrl); // unlink from react-native-fs
  };

I sometimes get the following errors:

no such file or directory, open 'Already stopped'
Sometimes a new record stops when reaching the previous record's length

@sofianegargouri For no.1, I made this to print the warning console when you try to stop the recorder when the recorder has already stopped!
I've not have experienced no.2. I need to know why this happens.
Try to stop the recorder and start again when you are doing new recording~!


[REQUEST]: Add get data network in selenium

This feature request respects the following points:

[X] This is a feature request, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
[X] This issue is not already reported on GitHub (I've searched it).
[X] I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
[X] I agree to follow OpenBullet's Code of Conduct.
[X] This report addresses only a single feature request; If you have multiple feature request, kindly create separate reports for each one.

Description of the feature request
Can you add a block that adds get data network on selenium?
Is your feature request related to a problem
I want that because it will do more things.
Describe the solution you'd like
I would like to have this feature
Describe alternatives you've considered
No response
Relevant screenshots or videos
No response
Additional information
No response

Hello, what exactly would this block do? What would be the inputs / outputs? Please write out your ideas and we'll see how to best design something like that.

Hello, what exactly would this block do? What would be the inputs / outputs? Please write out your ideas and we'll see how to best design something like that.

IDK :0


fix time_stamp bug in message

Thanks for fixing this bug, please bump the VERSION file to trigger the devops flow.

Thanks for fixing this bug, please bump the VERSION file to trigger the devops flow.

how to do that?

The latest version in VERSION file is 0.6.8, so you should change the version to 0.6.9 and commit it.

Link to https://github.com/wechaty/PMC/issues/16

@huan CLA license checking seems wrong.  refer to licence/cla — Waiting for status to be reported,  you can ReCheck Prs at  cla-assistant.

It seems that the CLA has no response for this PR, could you please push a new commit to see if it can be triggered?

It seems that the CLA has no response for this PR, could you please push a new commit to see if it can be triggered?

@exctech you can update the VERSION  file to trigger license/cla. Waiting for your new commit.

@exctech Congratulations! 🎉 🎉 🎉
You become a wechaty contributor successfully! 👏 👏 👏
Please:

[ ] Update your profile here: Contributor List, then other contributors will know you better!
[ ]  Join wechaty org by clicking https://github.com/wechaty
[ ]  Add my wechat: ruirui_0914 and send me this pr link. I will invite you into Wechaty Contributor Room


Set canvass image from relative path

...to support serving app from under a base path

Looks good, thanks for the simplification.


Deployment of container?

Hello there, there was no discussions tab so I'm forced to open an issue instead.
Using your container, I want to set up an auth for a self hosted netlifycms application. I'm planning to host the simple website on firebase. My question is, can I "deploy the container" on the same server where the website is being served from? Or should it ideally be hosted elsewhere and only serve it's purpose in facilitating the authorization?
Thanks,
Joe.

It shouldn't matter too much where you host this container. If your platform of choice supports routing with path rewrites, then you could deploy it at example.com/api/auth/, for instance, then the container will work as long as the paths are rewritten before network traffic gets to the container. If not, you could set it up as auth.example.com and you don't have to worry about path rewriting.
I don't have any experience with Firebase I'm afraid, but I hope I helped!

Thanks a lot for the suggestions and helpful pointer about reqritten paths. I will go ahead with setting up a subdomain for my little project. Appreiciate the help and thanks for the project!


Terminal size changes when dragging window to another monitor

Windows Terminal version
1.16.10262.0
Windows build number
10.0.22621.0
Other Software
Anonymous Pro font face, 12.0 font size.
Steps to reproduce
Open a new Terminal on my main monitor (3840x2160, 150% scaling)
Its size is 132 columns by 60 rows, which is exactly what my initialCols and initialRows defaults are.
Drag the window over to my second monitor (2560x1440, 100% scaling)
Expected Behavior
The terminal should remain 132x60
Actual Behavior
The terminal is now 127x56
Thank you for your time,

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #6210 for more discussion.
/dup #6210


Issue adding RSS feed

Describe the bug
Tried to add a youtube RSS feed, Commafeed times out
To Reproduce
Add https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw
Expected behavior
Expected the feed to be added
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

CommaFeed version (or "commafeed.com"): 3.7.0
Browser [e.g. chrome, firefox]: Chrome
Device [e.g. desktop, mobile]: Desktop

Additional context
Add any other context about the problem here.
Subscribe POST from the browser
fetch("https://rss.example.org/rest/feed/subscribe", {
  "headers": {
    "accept": "application/json, text/plain, */*",
    "accept-language": "en-US,en;q=0.9,sv-SE;q=0.8,sv;q=0.7",
    "cache-control": "no-cache",
    "content-type": "application/json",
    "pragma": "no-cache",
    "sec-ch-ua": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\", \"Google Chrome\";v=\"114\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Linux\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin"
  },
  "referrer": "https://rss.example.org/",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": "{\"url\":\"https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw\",\"title\":\"Linus Tech Tips\",\"categoryId\":\"4002\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
});

After 5 minutes of waiting it was still stuck with a spinning, greyed out "Subscribe" button

Sorry, ignore this, I forgot to restart the container after creating my 3.7.0 image, works now


Trouble getting started

I followed the Installation and Setting up required LCOV reporting steps, but I cannot run undercover. Terminal gives back "command not found: undercover"
After running bundle exec rspec, I see that coverage/lcov/*.lcov was generated successfully.
Have you seen this issue before?

Hi!
It seems like the gem executable file is not accessible from system PATH. It kind of depends on your local setup.
If you have added undercover to Gemfile, please try running bundle exec undercover. You can try to install the gem globally with gem install undercover.
Let me know how this goes. Please include some details of your installation of ruby and this gem in case of no success

I tried both gem install undercover and running with bundle exec undercover, I get the following error and trace:
bundler: failed to load command: undercover (/Users/aaron/.rbenv/versions/2.5.1/bin/undercover)
Errno::ENOENT: No such file or directory @ rb_sysopen - ./config/initializers/cloudfront
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/imagen-0.1.4/lib/imagen/ast/parser.rb:10:in `read'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/imagen-0.1.4/lib/imagen/ast/parser.rb:10:in `parse_file'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/imagen-0.1.4/lib/imagen/node.rb:71:in `build_from_file'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/undercover-0.1.7/lib/undercover.rb:85:in `block in each_result_arg'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/undercover-0.1.7/lib/undercover.rb:83:in `each'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/undercover-0.1.7/lib/undercover.rb:83:in `each_result_arg'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/undercover-0.1.7/lib/undercover.rb:39:in `build'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/undercover-0.1.7/lib/undercover/cli.rb:21:in `run'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/undercover-0.1.7/bin/undercover:11:in `block in <top (required)>'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'
  /Users/aaron/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/undercover-0.1.7/bin/undercover:10:in `<top (required)>'
  /Users/aaron/.rbenv/versions/2.5.1/bin/undercover:23:in `load'
  /Users/aaron/.rbenv/versions/2.5.1/bin/undercover:23:in `<top (required)>'

From this error you can tell I'm using rbenv, Ruby 2.5.1, and I should note I'm also using Rails 4.2.8. I was originally on Ruby 2.4.3 but got a lot of deprecation warnings until I bumped up to 2.5.1; not sure if that had anything to do with this issue. I hope this helps!

Thanks for the details @chemturion. I verified that I can install undercover successfully in a rails 4.2.8 Gemfile, so it must be something specific to your app environment.

I would try to run rbenv rehash to refresh shims for executable files (doc)
No such file or directory @ rb_sysopen - ./config/initializers/cloudfront looks suspicious in that stacktrace, but it might be unrelated as well


RefreshIndicator should allow overriding backgroundColor

I want to color the background of the RefreshIndicator different than the backgroundColor of my theme. It would be great if RefreshIndicator supported this.
Thanks!

/cc @HansMuller

/cc @dragostis


How to get the Images with "False Predictions"?

@Cartucho I'm also asking with the same question. Can you help? Thanks

Same question here.


Not an issue but a kudos....

styled-system, and specifically responsiveStyle, has made a significant change to how I write my styled components. The more I use it, the more I see my components styling changing and becoming more clean.
Excellent job and my thanks for this package!

Couldn't agree more. The way I write styled components with styled-system has fundamentally changed the size and structure of our code base. Now we basically have like a base component that handles all sizing and other stuff and all other special components just compose that one and adds their specific stuff. That way when we use the we can always control padding and margins via p={1} my={2} etc if we need to.
So a big kudos!

Thanks! Glad this is working out for you and your teams! 😎


Error in grammer

The grammer of this is incorrect: "This topic describes how to grant the SQL Server Database Engine, file system access to the location..."

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

ID: 6273b4b6-5e71-e8fb-be7a-055e47f224a4
Version Independent ID: 6107681b-f538-12ea-bf7d-c7fb179edd2a
Content: Configure File System Permissions for Database Engine Access - SQL Server
Content Source: docs/database-engine/configure-windows/configure-file-system-permissions-for-database-engine-access.md
Product: sql
Technology: configuration
GitHub Login: @markingmyname
Microsoft Alias: maghan

@TECKenWells -- thank you for catching this.  I am updating the article.


nat: Do not increment delete error metric on nat entry GC

This fixes the spurious increments of the snat_v[46]_external delete
fail metric by extending bpf.Map with SilentDelete() which allows
deleting map entries that may not exist without error counter increments
or deferred repeated delete via resolveErrors().
Fixes: #11485

Please review that only the relevant call sites to Map.Delete have been changed to Map.DeleteIgnoreMissing.

 Will push a fix in a minute.

test-me-please


[REVIEW] Jassi10000

GitHub Profile Link
https://github.com/Jassi10000

https://github.com/Jassi10000/jas/blob/master/background.PNG
Not found

Thanks for telling
Now Check !!

GitHub Profile Link
https://github.com/Jassi10000

Singh is King

Looks greats 👍 Reviewed on live stream https://www.youtube.com/watch?v=KnR5OoVLpc4
Some suggestions

The page is quite long, suggest reducing the length
Suggest removing visitor counter


Extended "ajaxvalidate", new attribute "fieldName"

In some development scenarios, developers have to change input[id|name] in different web pages.
Current situations, enforce developers to make input-specific async server validation process for each input[id] or input[name].
Sometimes this server validation process is repetitive and they can not make/write their codes reusable.
By adding new "fieldName" property to "ajaxvalidate" custom validity rule core object, developers can make server codes more reusable and independent from client input[id|name].
Usage 1:
<input type='text'
    id='Text1'
    neme='UserID'
    data-ajaxvalidate='path to async server validation handler'
    data-ajaxvalidatefield='Username' />

Usage 2:
<input type='text'
    id='Text1'
    neme='UserID'
    data-ajaxvalidate='{ url: "path to async server validation handler", fieldName: "Username"}' />

Hello....
Is there anyone to consider this Pull?


Design built using RTL backend produces incorrect results

Quick summary
When using the RTL backend for synthesizing a simple 2 layer MLP, the rtlsim fails the verification step and the accelerator produces incorrect results.
Details
Steps to Reproduce

Clone the FINN repository
Checkout the dev branch, with commit hash: f649cdad8e08602ac7d6c353b4c12a3e25694c31
Use provided model and configuration: minimal.tar.gz
Start the docker container with the command: ./run-docker.sh build_custom minimal (Noctua 2 setup in Paderborn, so instead of docker, singularity is used, but this should not have an impact on the result.)

build_RTLVARIANT.py and build_HLSVARIANT.py can be used to select rtl or hls. The selected file needs to be renamed to build.py and placed in the minimal build folder.
The difference between both build.py files is, that the rtl variant uses the provided specialize_layers.json.
Expected behavior
Both backends produce the same results.
Actual behavior
The build using the hls backend produces correct results (+ all verification steps succeed), build using rtl backend produces accelerator with incorrect results (+ rtlsim step fails with incorrect results)

I quickly ran your code.
The offending layer seems to be the second MVAU (i.e., it works with all layers but this one switched to RTL). Btw, even your HLS variant ends up with the Thresholding and FIFOs in RTL mode. The second MVAU has the following config:

Unfortunately, the full output context of the STITCHED_IP_RTLSIM verification is not helpful here because all activation tensors within the "GenericPartition_0" (the actual FINN IP which is surrounded by a MultiThreshold before it (why is this not mapped to the back-end?) and a Mul + Add after it) are reported as [0, ..., 0]. Is this a known issue, @auphelia?

Yes, the stitched IP mode can only see the input and the output to the dataflow partition. @hannahxy13 has opened a PR that adds node-by-node rtlsim as a verification step for the builder, in this PR: https://github.com/Xilinx/finn/pull/1087
It is possible to either rebuild the MVAUs in isolation or enabling the verification flow from the PR above could give more insights.

This patch fixes your issue: https://github.com/Xilinx/finn/pull/1135

Yes, it works now. Thanks!


Here are the commands I ran:
helm uninstall grafana --keep-history --namespace=monitoring
release "grafana" uninstalled

Then
helm upgrade grafana grafana/grafana --version 6.21.2 --namespace=monitoring --values helm-grafana-monitoring-values.yml

But it had the following error: Error: UPGRADE FAILED: "grafana" has no deployed releases, So I tried:
helm install grafana grafana/grafana --version 6.21.0 --namespace=monitoring --values helm-grafana-monitoring-values.yml

But it had the following error: Error: cannot re-use a name that is still in use, so I tried using --replace:
helm install grafana grafana/grafana --version 6.21.0 --namespace=monitoring --values helm-grafana-monitoring-values.yml --replace

PROBLEM, I lost all my grafana dashboards! :( days of work gone. can't believe it.
Indeed, when running:
kubectl get pvc -n monitoring
NAME                      STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
grafana                   Bound    pvc-831a7c65-cd0a-40b6-8777-10fb5331093e   10Gi       RWO            scw-bssd       11m

I can see that my PVC age is 11 minutes (while it was created more than a year ago).
Please, someone help to explain what happened.

I had to run these commands following this issue on the Grafana helm chart => https://github.com/grafana/helm-charts/issues/996

@waterdrop01
--replace                      re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production

thanks @yxxhero
Could you precise the "This is unsafe in production"?
Does that explain that it DELETED my PVC?

@waterdrop01 I see you do the uninstall action.

@yxxhero yes, but according to this issue, uninstalling a chart doesn't remove its PVC. What am I missing?

@waterdrop01 Your situation is different from him. Your PVCs is managed by helm, not generated by statefulset.  No I didn't notice the difference. phhhew
Any reason why helm uninstall would delete the PVC?
IMO Persistent Volume should NEVER be deleted. Unless the user explicitly says so (by using kubectl delete pvc or a flag when running helm uninsatll.

Thanks for the link. I will read the documentation.
In my case, everything is managed by Helm. Example of my grafana helm values.yml file:
image:
  repository: grafana/grafana
  tag: 8.3.4
  pullPolicy: IfNotPresent

persistence:
  type: pvc
  enabled: true
  storageClassName: scw-bssd
  accessModes:
    - ReadWriteOnce
  size: 10Gi
  annotations: {}
  finalizers:
    - kubernetes.io/pvc-protection

I would like to change storageClassName to scw-bssd-retain. But helm upgrade complains about immutability.
1- Is that the correct way to ensure following helm uninstall won't remove PV with valuable data?
2- If not, where am I supposed to add the annotation "helm.sh/resource-policy": keep?
Thanks a lot for your help!

@waterdrop01 Grafana PVC is created directly through the template system with helm. statefulset's PVCs is created by k8s.


[cxx-interop] Mark all CxxStdlib APIs as @_alwaysEmitIntoClient

The change in 269fc941 turned out not to be enough to solve linker errors when using the CxxStdlib overlay with a non-default C++ stdlib.
In addition to @inlinable, the Swift functions in the overlay need to be @_alwaysEmitIntoClient to prevent Swift from trying to link a program that uses libc++ on Linux against the CxxStdlib binary shipped in the toolchain.
rdar://138838506

@swift-ci please benchmark

@_alwaysEmitIntoClient implies @inlinable so you don’t need the latter.

Thanks @Azoy!

@swift-ci please benchmark


[idea] Transaction validator for P2PKH signing message

Motivation
The CKB contract is very flexible and can theoretically support any form of HMAC, so it can support signature verification on any blockchain in CKB, therefore, CKB can use other blockchain wallets as CKB's wallet, e.g. Ethereum / Cardano etc.
The user experience of these wallets is excellent, the transaction will be displayed when signing. For example, when we transfer ERC20, MetaMask will show the recipient address, type of the token and token amount, this is because MetaMask is able to recognize ERC20 transactions. However, MetaMask doesn't recognize CKB's transactions, so we can only use an API like personal_sign to sign the hashed transaction. The hashed transactions are unreadable for humans.
Idea
We can provide a validateSigningMessage method to check diget == hash(tx | witness), this helps the user to verify that a transaction is tampered.

type HashAlgorithm =
  | 'ckb-blake2b-256'
  | 'ckb-blake2b-160'
  | 'sha256'
  | 'ripemd-160'
  | 'sha3'
  | '...'
  | ((message: BytesLike) => Uint8Array);

interface Preimage {
  rawTransaction: RawTransaction;
  // witness
  additionalPayload: BytesLike;
}

declare function validateSigningMessage(
  preimage: Preimage,
  messageForSigning: BytesLike,
  options?: {
    hashAlgorithm: HashAlgorithm;
  }
): boolean

Wallet gateway
// TODO a wallet gateway
type SignatureAlgorithms =
  | 'eth_personal_sign'
  | 'eth_signTypedData_v4'
  | 'cardano_personal_sign'
  | '...';

type PubkeyLike =
  // public key
  | BytesLike
  // public key hash
  | { hashAlgorithm: HashAlgorithm, pubkeyHash: BytesLike }

Todo - Explain additionalPayload

I do some investigation for this.
We can call the EC.validate method from package ''elliptic".
The supported algorhtim is:

secp256k1
p192
p224
p256
p384
p521
curve25519
ed25519

I have a question. the message for signing is meanning the sigend message from Metamask?
And recoverableSignature is the signed message by Metamask?

Hash the raw transaction with payload
# need raw transaction and additonal payload
const withHashedTransaction = helpers.prepareSigningEntries(createTransactionSkeleton({ rawTransaction, witness: extraPayload.map(/*
maybe map something */) }))

const unsignedMessage = withHashedTransaction.signingEntries(withHashedTransaction, 'secp256k1');

if (withHashedTransaction.signEntries[0].message !== messageForSigning) {
   return false;
}

const ec = EC('secp256k1')
return ec.validate(unsignedMessage, signature, pubkeyLike);

We can refactor the prepareSigningEntries for support other hasher.
withHashedTransaction.signingEntries(transaction: Transaction, hashAlgorithm: HashAlgorithm)

But I think messageForSigning: BytesLike should be messageForSigning: BytesLike[], because in https://github.com/nervosnetwork/ckb-system-scripts/wiki/How-to-sign-transaction
we can see the signing message digest size is equals input group size


API Management SDK for version 2024-05-01

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.ApiManagement


cdc: replace tableID with Span in TableExecutor and agent

What problem does this PR solve?

Issue Number: ref #7720
What is changed and how it works?

Replace TableID with tablepb.Span in TableExecutor
Replace TableID with tablepb.Span in agent

This PR is compatible with older TiCDC, because #7723 convert table ID and span in message automatically.
Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
None

/run-all-tests

/run-all-tests tidb=f5487e3f2596cdd63ae9840606c7fff3fb539e03

/run-all-tests

kafka tests timeout, but there is no ERROR or WARN log from schedulerv3.

/merge

/run-integration-test

/run-integration-test


Output 10X compatible BAM files

Hi @cxzhu,
@Xieeeee and I are trying to streamline the analysis pipeline for Paired-Tag data. The ideal workflow for Paired-Tag I have in mind is:

Use reach-tools to analyze the raw data (FASTQ) and generate aligned and barcode-included bam files.
Start with the bam files, and use SnapATAC2 to do all downstream analysis.

SnapATAC2 is now capable of converting raw bam files (unfiltered, unsorted) into fragment files, which can then be used by SnapATAC2 to generate count matrices for both RNA and ATAC, and perform downstream analyses.
I think so far we are able to use the bam files generated by reach-tools for this purpose (see kaizhang/SnapATAC2#75). But it would be better if reach-tools can output bam files that are similar to 10X pipeline's output:

Store cell barcode and UMI using BAM tags. This is advantageous because read names are not the best place to store this information. Besides, read names are normally stripped away by GEO. In particular, 'CB" is used to store corrected barcodes and 'CR' is used to store original barcode sequences.
Retain all reads in the BAM files, so that BAM files contain all the raw information from FASTQ files. People can directly use those BAM files if they want to access the raw data (no need to request the FASTQ files). And this also makes it easier for depositing data to a public database (we only need to upload the BAM files).

🙋♂ This is a good idea. Sometimes I also found our format and 10X format incompatible. In some cases I manually change the barcode and umi location with pysam, but it takes long time for reprocessing big file and is not efficient. Output compatible with 10X format would be better.
My understanding:
1: I assume reachtool put barcodes in read name at the very beginning because this is easier to handle as reachtool read bam file in as plain text during processing. We can also add it in barcode tag, I will try it.
2: We removed unaligned reads in DNA and retain only primary alignment in RNA currently during pre-processing. This is done by bowtie2 / STAR independent of reachtool. We can certainly keep them

Hi @kaizhang,
This is a good idea. Yes, as @Xieeeee pointed out, I use reachtools to put barcodes in read name at very begining so bowtie/STAR can retain this information. We can add one additional step (such as with pysam) to convert the format to 10x compatible. The 2nd point @Xieeeee mentioned is also correct, we can certainly keep them by fine-tuning the parameters of mappers.

Following up on this. Currently, I have a script to add the barcodes and UMI to create a 10X format file, we can include this in the pipeline. I think bamtools probably can also do this in c++ to make it more seamless, but I don't know how to implement it now.
Uploading PT2TXG.txt…

Following up on this. Currently, I have a script to add the barcodes and UMI to create a 10X format file, we can include this in the pipeline. I think bamtools probably can also do this in c++ to make it more seamless, but I don't know how to implement it now. PT2TXG.txt

Thank you so much!

Update on 240405: as now snapatac2.pp.make_fragment_file supports create fragments from bam files by matching barcode and umi in read name (using barcode_regex and umi_regex, I am closing this one since there is no need to create 10X compatible bam files


updated crate-admin to 0.21.1

check travis failure, seems like new admin-ui version was not proper released

Current coverage is 81.07% (diff: 100%)

No coverage report found for master at ce72f25.

Powered by Codecov. Last update ce72f25...325c20a


List of files in folder for DSW

To support custom themes feature of DSW we need to be able to receive list of files in themes folder.
REST service should receive folder name as input and return list of files contained in this folder.
Input example: "/css/themes"
Response: ["theme1.css", "theme2.css", "theme3.css"]

Let's fix the dir same as with addons

Call GET /Themes.
Path fised to dsw/themes


Migrate to user-centric config name for cargo check stuff

bors r+
🤖

cc @edwin0cheng

bors r+

bors r+


GopherCI posting comments to the wrong line

There appears to be some strange edge case where GopherCI is posting comments on the wrong line (or another similar issue).
See: https://github.com/shurcooL/Go-Package-Store/pull/71/files/f0ae285da42fb7815473782830c155f55a95f374#diff-bf6382eea9161c56361844f18dfcbe14
Note, it may just be https://github.com/bradleyfalzon/revgrep is detecting an issue when it shouldn't, and may be related to the file being renamed.
GopherCI normally gets this right, so it's an interesting edge case.

Further, this failed the build because:
Apr 14 03:34:21 www1 gopherci[11284]: 2017/04/14 03:34:21 status: "error"
Apr 14 03:34:21 www1 gopherci[11284]: 2017/04/14 03:34:21 queueProcessor: finished processing in 1m12.4128264s
Apr 14 03:34:21 www1 gopherci[11284]: 2017/04/14 03:34:21 queueProcessor: processing error: cannot analyse pr https://github.com/shurcooL/Go-Package-Store/pull/71: could not post comment: POST https://api.github.com/repos/shurcooL/Go-Package-Store/pulls/71/comments: 422 Validation Failed [{Resource:PullRequestReviewComment Field:position Code:invalid Message:}]

OK, so I just had the issue again, and it appears to be because the PR wasn't up to date with head. I'll need to investigate more, but:

Push master a new main.go file
Create a PR editing the main.go file
Push an update to main.go directly to master branch which makes a change somewhere above the change the PR is making
Push another change to the PR which causes a linter to detect an issue.

The PR diff will have the new commit, and try to write a comment, but the commit will be in the wrong position. This appears to be because the PR was based off an older commit than what GopherCI uses (GopherCI uses the latest master branch commit).
I think the solution is to create a Differ which is passed to the Analyser, if it's a PR the differ should fetch the PR's diff URL via the API, if it's a push Differ should do something similar (the push event doesn't have a diff url, but has a compare url you can append .diff to, this might be good enough).
Now, related, is the apicompat still uses FETCH_HEAD, which is now wrong for the same reason the comment position was wrong - we were fetching the latest commit from the base branch, so GopherCI would detect an issue on the wrong lines. This will also need to be fixed.


Possible problem with a less frequent GPX signal

In the case if the GPX signal is not that frequent and the edge of one point P is rather short, this will reduce the impact of the weighting of the taken route through P and therefor could go another route without P.
One solution could be to insert artificial GPX points before and after P to reduce other edges close to P as well and increase probability that the routing engine uses a route through P.

why not use the GPS course when it's available?

Not sure about your question. This issue is only about less frequent GPS signal. Currently one GPS point can only influence its edges around it. And if only one edge is on the path and this is short it could be that the algorithm ignores it. Maybe a picture can describe this better ... also a todo ;)

Will close. Should have added an example to see if this is now fixed.


Decide whether docs should come from eoapi-k8s or a dedicated docs repo

Building block docs need to be included in the main EOEPCA docs site.
If the main BB project has nice docs, they can be pulled directly.
How should we proceed for eoapi-k8s?
Acceptance criteria

[ ] Decided where to source the BB docs from

eoapi-k8s already has basic docs, currently just Markdown files: https://github.com/developmentseed/eoapi-k8s/tree/main/docs
Includes Kubernetes cluster specific information for AWS EKS and GCP GKE.
Decision driver could be, whether EOEPCA & Terrabyte specific information will be added to eoapi-k8s, or we want to keep these separate (in EOEPCA/data-access).


Fast HotStuff Timeout Exponential Backoff

Current dependencies on/for this PR:

feature/proof-of-stake

PR #649

PR #643

PR #645

PR #648

PR #650

PR #654   👈

This comment was auto-generated by Graphite.


Why do we skip wildcard references in ByOption?

The method ByOption.group() has the following piece:
            log.debug("'by' option found on field {} targeting {}", fieldName, eventName);
            if (FieldReference.isWildcard(eventName)) {
                log.warn("Skipping a wildcard event");
                /* Ignore the wildcard `by` options, as we don't know
                   the target event type in this case. */
                continue;
            }

Why do we do it? Does it mean that all wildcard references do not get into the generated property file?

We no longer allow type references in the (by) option. So this issue is no longer applicable.


statusesUpdate() fails to post status because endpoint doesn't support json

The statusesUpdate() method that is used to post a new status takes all parameters (including status), json_encodes them, and adds them to the body of the request. It then makes a POST request with Content-Type set to application/json.
Unfortunately, it appears that the /1.1/statuses/update.json endpoint does not support this. It requires the status text to be passed as a parameter on the url as such /1.1/statuses/update.json?status=test.
This means that the statusesUpdate() method fails to post a status with the response being:
{"errors":[{"code":170,"message":"Missing required parameter: status."}]}

Looks like this "bug" was introduced in #41.
Code to reproduce the issue
$client->statusesUpdate('test status');

Expected results
JSON of the tweet that was posted.
Actual results
{"errors":[{"code":170,"message":"Missing required parameter: status."}]}

This can be verified using the Twurl tool:
$ twurl --header "Content-Type: application/json" -X POST -d '{"status": "test status"}' /1.1/statuses/update.json
{"errors":[{"code":170,"message":"Missing required parameter: status."}]}

$ twurl -X POST -d 'status=test status' /1.1/statuses/update.json
{"created_at":"Sat Oct 28 07:32:08 +0000 2017","id":924176943666290689,...}

$ twurl --header "Content-Type: application/json" -X POST "/1.1/statuses/update.json?status=test"
{"created_at":"Sat Oct 28 07:32:52 +0000 2017","id":924177129331351552,...}

pull request #49

I've verified this locally. However, what's interesting is that the documentation conflicts with itself; it indicates JSON is expected for payloads in the general documentation, but in point of fact, only less than a handful of methods actually accept it.
I've decided to take an approach similar to twit for node, where they specify a list of paths that accept JSON, and, if those are matched, they send raw JSON; otherwise, form data is provided. This will supercede #49, as that particular approach only sends form-encoded data, which breaks a number of endpoints that require it.


fix: clean up gateway chassis list for external gw

Bug fixes

When the external gateway's type is changed from 'distributed' to 'centralized' or external-gw-nodes list changes, it needs to clean up the existing chassis gateways. And also when gw nodes list changes, it should clean the gw chassis too.
Considering the exGw configuration does not change frequently, the entire gw chassis are cleaned here, to avoid code complexity.
Which issue(s) this PR fixes:
Fixes #887

Thanks! @ruijzhan


Flake8 test fixes

Our test file was not passing pep8.
Should we include testing it to travis?

Should we include testing it to travis?

We certainly could.

Done.


After the build, we are getting argon-dashboard-react/static/js/main.e8eb0f76.chunk.js net::ERR_ABORTED 404 (Not Found)

Hello there, ...
Thank you for your interest in working with our products.
It seems that you haven't respected our ISSUE_TEMPLATE, so we are going to close it.
Please add a new comment here, or open a new issue, by filling the mentioned ISSUE_TEMPLATE and please be sure that your issue title is a very small description of your issue as well.
<!--
 IMPORTANT: Please use the following link to create a new issue:

  https://www.creative-tim.com/new-issue/argon-dashboard-react

**If your issue was not created using the app above, it will be closed immediately.**
-->

<!--
Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com
-->

All the best,
Manu
Developer @ Creative-Tim.com


Update TeX.gitignore

Added a line that includes the auto folder that Emacs+ AUCTex automatically creates in the gitignore list.
Reasons for making this change:
Emacs + AUCTex creates a folder called auto in the local dir.
This is due to the automatic parsing of the TeX files.
About this auto folder
https://www.gnu.org/software/auctex/manual/auctex/Parsing-Files.html

@vbalnt thanks!


GOPATH entry cannot start with shell...

path should be /go and not ~/go beacause of this:
root@xxx:~# go get github.com/madcowfred/GoPostStuff
go: GOPATH entry cannot start with shell metacharacter '~': "~/go"
and:
root@xxx:~# go get github.com/madcowfred/GoPostStuff
package code.google.com/p/gcfg: unable to detect version control system for code.google.com/ path

I had to do export GOPATH="/home/username/go".
"/go" seems to indicate a folder go in the root of the filesystem, which might work, but not what I wanted.

Just wanna add that I find that doing
export GOPATH="$HOME/go"

feels 🏠-like

or export GOPATH=~/go without quotes, with quotes ~ is not expanded and go complains.

Thank you  f-a-a
export GOPATH="$HOME/go"
IT WORKED


Warning: Control is changing an uncontrolled input of type text to be controlled.

I believe this is similar to this: https://github.com/erikras/redux-form/issues/785
When using defaultValue={form.field} rather than value={form.field} this error occurs.
If I use value={form.field} it causes strange issues with the input field (cursor moves to the end of the field when a key is pressed) so I need to use defaultValue instead.

Can you show me a full code example that reproduces the problem?

Sure, here's a relatively simple form that has this error. Note that the error only occurs when I submit the form:
render() {

    const {addFlow, form, deleteFlowAlert, currentUser, isPublic} = this.props;

    if ($('#addFlowForm').length) $('#addFlowForm').parsley();

    return (

      <Modal
        show={addFlow}
        backdrop='static'
        onHide={() => this.props.dispatch(toggleModal(false))}>
        <Modal.Header>
          <Modal.Title>{form.flowUuid ? 'Edit' : 'Add'} Flow</Modal.Title>
           this.props.dispatch(toggleModal(false))}/>
        </Modal.Header>
        <Modal.Body>

              <Form model="addFlowForm"
                    id="addFlowForm"
                    data-parsley-validate
                    onSubmit={() => this.submitForm()}
                    className="mb-lg">

                <Control.input model=".flowUuid" value={form.flowUuid} hidden/>

Flow Name

                  <Control.input model=".flowName"
                                 autoFocus
                                 required
                                 defaultValue={form.flowName}
                                 autoComplete="off"
                                 className="form-control input-lg"
                                 placeholder="Enter a name for this flow"/>

              </Form>

            { currentUser.isSuper && form.flowUuid ?

Make this flow public?

                  <Toggle
                    onChange={() => this.props.dispatch(togglePublic(!isPublic))}
                    defaultChecked={isPublic}
                    name='public'
                  />

              : ''

            }

        </Modal.Body>
        <Modal.Footer>

            <Button onClick={() => this.props.dispatch(toggleModal(false))}>Cancel</Button>
            <Button bsStyle="info" style={{marginLeft: 10}} type="submit" form="addFlowForm">{form.flowUuid ? 'Update' : 'Add'} Flow</Button>

            <Button bsStyle="danger" className={form.flowUuid ? '' : 'hidden'}
                    onClick={() => this.deleteAlert(form.flowUuid)}>Delete</Button>
            {deleteFlowAlert}

        </Modal.Footer>
      </Modal>

    );
  }

Correction, I get two errors. The first here is when I open the modal, and the second is when I enter something into the input field:
App.jsx:79 Warning: Control contains an input of type undefined with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components

App.jsx:79 Warning: Control is changing a controlled input of type undefined to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components

Which one is line 79?

Line 79 is orgError.apply(console, [message]);
renderWithHotReload(Routes);

if (module.hot) {
  /**
   * Warning from React Router, caused by react-hot-loader.
   * The warning can be safely ignored, so filter it from the console.
   * Otherwise you'll see it every time something changes.

No, just an empty string by default.
On Sat, Jan 28, 2017 at 12:52 PM David Khourshid<EMAIL_ADDRESS>wrote:

At any point, is the value undefined?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davidkpiano/react-redux-form/issues/630#issuecomment-275873924,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGKHpBbYYL1FjCfgnIHfNqEj42GONG8ks5rW6qigaJpZM4Lt6ql
.

Wait, there is a hidden field that does have an undefined value.

I'd have to see a fully reproduced example on www.esnextb.in - as-is, the above code example is missing a lot of contextual code (as well as the Parsley.JS validation library) for me to be able to reproduce the problem.

If you have a baseline with the basic react components / framework on esnextb.in, that would be helpful.
In the meantime, I pulled everything out and got it to a bare-bones form, When I open the form, it gives me the Control contains an input of type undefined with both value and defaultValue props. error, and when i type something, it gives me the Control is changing a controlled input of type undefined to be uncontrolled. error.
Here's the full source of the file:
import React from 'react';
import {connect} from 'react-redux';
import {Form, Control} from 'react-redux-form';
import {Button} from 'react-bootstrap';

@connect((store) => {
  return {
    addMap: store.maps.addMap,
    form: {
      mapUuid: store.forms.addMap.mapUuid.value,
      mapName: store.forms.addMap.mapName.value
    }
  };
})

export default class AddMap extends React.Component {

  submitForm() {
    console.log('yay');
  }

  render() {

    const {addMap, form} = this.props;

    return (

        { addMap ?

          <Form model="addMapForm"
                id="addMapForm"
                onSubmit={() => this.submitForm()}
                className="mb-lg">

Map Name

              <Control.input model=".mapName"
                             autoFocus
                             required
                             defaultValue={form.mapName}
                             autoComplete="off"
                             className="form-control input-lg"
                             placeholder="Enter a name for this map"/>

            <Button bsStyle="info" style={{marginLeft: 10}} type="submit" form="addMapForm">Add Map</Button>
          </Form>

          : ''
        }

    );
  }
}

What does your store look like? Ideally, you shouldn't even need defaultValue because it would be part of the initial state.

My store is just a bunch of forms, all with empty strings as default:
// Form Reducers
const Forms = combineReducers({
  addMap: formReducer('addMapForm', {
    mapUuid: '',
    mapName: ''
  }),

The reason I have defaultValue in there, is because I reuse this form for two purposes:

Create a new map (empty fields)
Modify an existing map (fields are populated using actions.merge)

Here's the 'editMap' function:
export function editMap(mapUuid, mapName) {
  return dispatch => {
    dispatch(actions.merge('addMapForm', {
      mapUuid,
      mapName
    }));
  };
}

Having this issue as well

@DanielLuu can I see your code as well?

FYI, this issue still exists with 1.9.0

@jgentes Try 1.10.0

Unfortunately I'm still seeing it in 1.10.1 😞

Perhaps the fix wasn't applied to defaultValue ?

Can you recreate it on Codepen? Fork this template: http://codepen.io/davidkpiano/pen/yJwmEa

I tried but couldn't reproduce it on Codepen. I guess it must be something with how my store is configured, because I can reproduce it with this simple page:
import React from 'react';
import {connect} from 'react-redux';
import {Form, Control} from 'react-redux-form';

@connect(store => ({
  form: {name: store.forms.addJob.name.value}
}))

export default class AddJob extends React.Component {
  render() {
    const {form} = this.props;

    return (
      <Form model="addJobForm">
        <Control.input model=".name" defaultValue={form.name}/>
      </Form>
    );
  }
}

As in the warning doesn't occur when trying it in CodePen? If so, upgrade to the latest version

I wasn't able to replicate the store configuration in Codepen, which is why
I assume that has something to do with it. I'm running 1.10.1 already.
On Tue, Apr 11, 2017 at 1:58 PM David Khourshid<EMAIL_ADDRESS>wrote:

As in the warning doesn't occur when trying it in CodePen? If so, upgrade
to the latest version
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/davidkpiano/react-redux-form/issues/630#issuecomment-293397916,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGKHjlWVEhli0yvwvA-JgtprjSJeBv0ks5ru-l4gaJpZM4Lt6ql
.

The problem might be with your usage of defaultValue, I'd recommend not using it and instead setting it as an initial value in your reducers.

If I use value={something} then I run into the cursor jumping issue: https://github.com/facebook/react/issues/955
I somewhat prefer the console error, since at least users won't see that.

As it turns out I had to revert back to 1.8.1 in order to get defaultValue working. Looks like something in 1.8.2 prevents it from populating correctly.

@jgentes If you can replicate it, can you file a bug for that so I can fix it quickly?

I've tried to set it up here but can't get Redux devtools working in Codepen, so I'm not sure how to tell if the actions.merge is working: http://codepen.io/jgentes/pen/qmWxNQ?editors=0010

Open it in debug mode, or use redux-logger (already included).

Ok, merge issue with defaultValue is replicated here: http://codepen.io/jgentes/pen/qmWxNQ

I have merge issue also, new values does not get merged at all.
I have even tried .change(..) method on componentDidMount
I have version 1.16.2


Unable to prefill after changing account password

Describe the bug
After changing my Steam password I am unable to login to SteamPrefill to prefill anymore, as SteamPrefill is still using the previous auth token.
** Expected behavior **
Rather than displaying that SteamPrefill is unable to login, it should instead prompt the user for their new password in order to re-authenticate.
Screenshots

Are there any other cases where an AccessDenied could be thrown when the password is still correct?

I haven't dug much further into this beyond reproducing it, so I'm not really sure of other scenarios where AccessDenied could be thrown.
It does make sense that it throws this error specifically. With the change to how Steam does it's auth now there is just an auth token that is passed over to Steam. I'm assuming that when the password is changed the previous token is invalidated, and thus AccessDenied since the old token can no longer be used to gain access


Rage Candy Bar

I uploaded my Volcanion from the JPN movie event and the Rage Candy Bar picture is broken. looked at the source and it shows
<img draggable="false" class="held-item ng-scope" ng-if="::pokemon.heldItemUrl" ng-src="/img/icons/items/rage-candy bar.png" title="Holding Rage Candy Bar" src="/img/icons/items/rage-candy bar.png">"`
The space between candy and bar needs to be replaced by a "-" according to how it's uploaded to your website.  https://www.porybox.com/img/icons/items/rage-candy-bar.png

Thanks for the bug report; this will be fixed the next time we deploy to production.


FEAT: Add whole site PDF capability

PR #211 added a pdf builder and pipeline for individual pages. We need to add the capability to build a whole of site book version of the website.
This can be an option
jupyter_pdf_book = True -> build a single PDF document of the whole site.

[ ] check book pdf against one made by ipynb_pdf_constructor. (python)


How to install on HomeAssistant Core?

I dropped the folder tibber_data into my HA Core custom_components folder, set owner to homeassistant:homeassistant like my two other custom components. I put "tibber_data:" in my configuration.yaml and first restarted HA then rebooted the RPi.
No integration, devices or entities with tibber_data shows up.
How to install tibber_data on HA Core?

https://community.home-assistant.io/t/install-custom-components/423871


FIX: Parsing nodes with no name

This was previously failing with: NoMethodError: undefined method downcase' for nil:NilClass`

This looks great, thanks so much for the fix!

This looks great, thanks so much for the fix!

my pleasure!  Any idea on when a new gem might be published?


Firebase config setup in Ionic App

Hello everyone, I have an Ionic project, I am using ionic cordova plugin add cordova-plugin-firebasex to receive real-time notifications using Firebase Messaging Cloud.
As indicated in the plugin documentation, the google-services.json file must be added to the root of the project for it to work correctly, but the problem is that I have several projects in Firebase, it is assumed that changing the google-services file. json of the corresponding firebase project, the application should connect to the appropriate project, but after compiling and running the app, it connects to a project that is not the one assigned in the .json file, perhaps something similar has happened to someone?
Greetings

I think it requires deleting the platform and adding it again for it to work correctly.


Provide converter for gmagick

Per discussion in #33

gmagick uses the WebP library from Google. So it does the same as cwebp. There is thus only little reason to add the functionality by running a binary: If there is permission to run exec, then the "official" cwebp is probably a better choice. And as cwebp binaries are supplied, it is only on a few unsupported OS'es, that we might have luck with finding gmagick in a system path, while not being able to run cwebp.
However, Gmagick is also available as an extension. And that is what this converter should look for

Actually, it makes sense to try to run the binary as well. It may be that the webserver user has permission to execute the gmagick binary, but not to the cwebp binary

Having a hard time installing the extension...
First tried to compile from source, using the link above. No luck.
Then tried the pecl: pecl install gmagick
Result:
Failed to download pecl/gmagick within preferred state "stable", latest release is version 2.0.5RC1, stability "beta", use "channel://pecl.php.net/gmagick-2.0.5RC1" to install
install failed

Then tried sudo pecl install gmagick-beta
I got the question: "Please provide the prefix of GraphicsMagick installation [autodetect]"
Installation failed. The error is described here:
https://stackoverflow.com/questions/8626558/please-provide-the-prefix-of-graphicsmagick-installation-autodetect
It ran apt-file search GraphicsMagick-config as suggested in the link above, to get path to config. But it turned out there was no GraphicsMagick-config at that place, so that didn't work either.
Perhaps its the 2.0.5RC1 that isn't working.
Maybe rather try the newest version, 1.3.30?
However, on pecl, there are only beta versions, and the newest is 1.1.7RC3 (https://pecl.php.net/package/gmagick)
Then went back to compiling from source, but using version 1.3.30
https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.30/
cd /usr/local/src
sudo wget https://netix.dl.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.30/GraphicsMagick-1.3.30.tar.gz
sudo tar xfvz GraphicsMagick-1.3.30.tar.gz
cd GraphicsMagick-1.3.30/
sudo /usr/bin/phpize
sudo ./configure --with-php-config=/usr/bin/php-config
sudo make
sudo make install

However, phpize didn't make it:
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

That was new. This did not happen when I followed the instructions at https://duntuk.com/how-install-graphicsmagick-gmagick-php-extension
Also, the make didn't make it:
coders/webp.c:104:22: fatal error: webp/mux.h: No such file or directory
Went to https://developers.google.com/speed/webp/download and downloaded libwebp.
Copied the include/webp folder into the folder where I was running make, and ran sudo make again. It worked! And then ran sudo make install
sudo service php7.0-fpm restart
sudo service php7.1-fpm restart
sudo service apache2 restart

Went back to instructions at https://duntuk.com/how-install-graphicsmagick-gmagick-php-extension, and tried the gmagick-1.1.7RC3 for PHP 5.6 again - because it has the config.m4 file.
I ran
sudo ./configure --with-php-config=/usr/bin/php-config

Worked. ANd then sudo make

but got a long error running  similar to this one: http://graphicsmagick-help.narkive.com/bmRquOfb/gm-help-graphicsmagick-1-3-23-tclmagick-make-errorq

I followed the suggestion in that thread, and added --enable-shared:
sudo ./configure --with-php-config=/usr/bin/php-config --enable-shared
sudo make

Same error:
sudo make
/bin/bash /usr/local/src/gmagick-2.0.5RC1/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/local/src/gmagick-2.0.5RC1/include -I/usr/local/src/gmagick-2.0.5RC1/main -I/usr/local/src/gmagick-2.0.5RC1 -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -I/usr/local/include/GraphicsMagick  -DHAVE_CONFIG_H  -g -O2   -o gmagick.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/src/gmagick-2.0.5RC1/modules  gmagick_helpers.lo gmagick_methods.lo gmagick.lo gmagickdraw_methods.lo gmagickpixel_methods.lo -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lGraphicsMagickWand -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lGraphicsMagick
libtool: link: cc -shared  -fPIC -DPIC  .libs/gmagick_helpers.o .libs/gmagick_methods.o .libs/gmagick.o .libs/gmagickdraw_methods.o .libs/gmagickpixel_methods.o   -L/usr/local/lib /usr/local/lib/libGraphicsMagickWand.a /usr/local/lib/libGraphicsMagick.a  -g -O2 -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib   -fopenmp -pthread -Wl,-soname -Wl,gmagick.so -o .libs/gmagick.so
/usr/bin/ld: /usr/local/lib/libGraphicsMagickWand.a(wand_libGraphicsMagickWand_la-drawing_wand.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libGraphicsMagickWand.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:207: recipe for target 'gmagick.la' failed
make: *** [gmagick.la] Error 1

With all these problems, I guess there can't be that many that uses gmagick anymore?

Also tried an older version on pecl:
sudo pecl install channel://pecl.php.net/gmagick-1.1.7RC3

lots of errors...
macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
   if (zend_hash_get_current_data(coords, (void**)&ppzval) == FAILURE) {
...

And also tried this tutorial: https://support.plesk.com/hc/en-us/articles/115003511013-How-to-install-Gmagick-PHP-extension-on-Ubuntu-Debian-
no luck.

done


Documentation overhaul

The docs could be improved to better explain the tool

Some improvements in 1.1.0


Support NTLM / Kerberos in upstream proxy authentication

As the title says. I have a upstream proxy which requires NTLM authentication and unfortunately Titanium cannot be used with it.

+1

Anybody can help?:)

the code to do it when using an HttpClient is this:
var handler = new HttpClientHandler();
handler.DefaultProxyCredentials = CredentialCache.DefaultCredentials;

var client = new HttpClient(handler);
'''

However, I haven't checked the code in this library yet to see if that could be adapted for it


add assessment result to workflow options

FLPATH-1398
https://issues.redhat.com/browse/FLPATH-1398

LGTM

/lgtm

/approve


Infinite recursion when creating reader

Looks like there is something that can easily trigger a stack overflow; stack trace ending with:
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)
	at com.jenkov.iap.ion.read.IonFieldReaderObject.<init>(IonFieldReaderObject.java:33)
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)
	at com.jenkov.iap.ion.read.IonFieldReaderObject.<init>(IonFieldReaderObject.java:33)
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)
	at com.jenkov.iap.ion.read.IonFieldReaderObject.<init>(IonFieldReaderObject.java:33)
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)
	at com.jenkov.iap.ion.read.IonFieldReaderObject.<init>(IonFieldReaderObject.java:33)
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)
	at com.jenkov.iap.ion.read.IonFieldReaderObject.<init>(IonFieldReaderObject.java:33)
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)
	at com.jenkov.iap.ion.read.IonFieldReaderObject.<init>(IonFieldReaderObject.java:33)
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)
	at com.jenkov.iap.ion.read.IonFieldReaderObject.<init>(IonFieldReaderObject.java:33)
	at com.jenkov.iap.ion.IonUtil.createFieldReader(IonUtil.java:149)

I don't know exactly what (perhaps cyclic type definitions? Not cyclic data, but just something where type refers to itself indirectly, like tree nodes?), but code I use to trigger this is a sample jvm-serializers codec, gist at:
https://gist.github.com/cowtowncoder/197e137e2a91c4837d27
so I hope it is not too difficult to recreate.

Yes, it is possible that the problems stems from a type (class) referring to itself - meaning it has a field where the type is the same class as the class owning the field. That is common with tree structures. I will test that later today, and see if I can come up with a fix for it.

Right. I do not remember offhand that this would be the case for specific type(s) to serialize (it's neither recursive nor tree-node), but exception certainly would suggest something like that.


Added support for Packer 1.0 and W10 Creators Update

What this PR does

Adds support for Packer 1.0
Adds support for Windows 10 Build 1703
Fixes Autologon with Windows 10 Build 1703
Adds Automated copy of new files to Mac
Adds script to install required programs using chocolatey
Adds retry when the generation process fails
Improves VMS generator code
Fixes unattended installation of Parallels Tools

@acasquete,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@acasquete, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot

Thanks for your help @acasquete!


Add column ordering to the processing model

This step is currently missing from the algorithm, which may be confusing for implementers.
See: https://chat.fhir.org/#narrow/stream/179219-analytics-on-FHIR/topic/Column.20Ordering

Resolved by #228.


PowerShell script to get ASR replication health status for all servers in Azure Subscription.

Hello All,
I just need help with PowerShell script to get ASR replication status for all servers in Azure Subscriptions with Azure-to-Azure disaster recovery setup.

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

ID: ff08de1c-1661-5523-0f1a-eca1fd34c3e9
Version Independent ID: 64502dfc-db1c-ad5e-fa61-02e0163f85f6
Content: Monitor Azure Site Recovery with Azure Monitor Logs - Azure Site Recovery
Content Source: articles/site-recovery/monitor-log-analytics.md
Service: site-recovery
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@patiljayesh040 -
Thanks for brining this to our attention. We will investigate it further and update you shortly.

@patiljayesh040 - This will be done using cmdlets in the Az.RecoveryServices module https://docs.microsoft.com/powershell/module/az.recoveryservices..
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hope this might help:
`# Ensure you have installed and configured the Azure PowerShell module
Log in to Azure
Connect-AzAccount
Specify the subscription (optional if already connected to the correct subscription)
Set-AzContext -SubscriptionId ""
Specify the name of the Recovery Services Vault and the resource group
$resourceGroupName = ""
$vaultName = ""
Get the Recovery Services Vault
$vault = Get-AzRecoveryServicesVault -ResourceGroupName $resourceGroupName -Name $vaultName
if ($vault -eq $null) {
Write-Error "Vault not found. Please check the vault name and resource group."
exit
}
Set the context of the Recovery Services Vault
Set-AzRecoveryServicesVaultContext -Vault $vault
Set-AzRecoveryServicesAsrVaultContext -Vault $vault
Get all fabrics associated with the Recovery Services Vault
try {
$fabrics = Get-AzRecoveryServicesAsrFabric
} catch {
Write-Error "Error getting fabrics: $_"
exit
}
if ($fabrics.Count -eq 0) {
Write-Error "No fabrics found."
exit
}
List of replicated items that require an update
$itemsToUpdate = @()
Iterate through each fabric to get the Protection Containers
foreach ($fabric in $fabrics) {
try {
# Get the Protection Containers for the specified fabric
$protectionContainers = Get-AzRecoveryServicesAsrProtectionContainer -Fabric $fabric
} catch {
Write-Error "Error getting Protection Containers for fabric $($fabric.FriendlyName): $_"
continue
}
# Iterate through each Protection Container to get the replicated items
foreach ($container in $protectionContainers) {
    try {
        # Get the replicated items for the specified container
        $replicatedItems = Get-AzRecoveryServicesAsrReplicationProtectedItem -ProtectionContainer $container
    } catch {
        Write-Error "Error getting replicated items for container $($container.Name): $_"
        continue
    }

    # Check the Site Recovery Replication Agent status for each replicated item
    foreach ($item in $replicatedItems) {
        # Get provider-specific details
        $providerDetails = $item.ProviderSpecificDetails
        $vmName = $item.ReplicationProtectedItemFriendlyName

        # Extract the VM name from FabricObjectId if ReplicationProtectedItemFriendlyName is empty
        if ([string]::IsNullOrWhiteSpace($vmName)) {
            $vmName = ($providerDetails.FabricObjectId -split '/')[-1]
        }

        # Check if the replication agent update is required
        if ($providerDetails.IsReplicationAgentUpdateRequired -eq $true) {
            $itemsToUpdate += [PSCustomObject]@{
                VMName                      = $vmName
                AgentVersion                = $providerDetails.AgentVersion
                IsReplicationAgentUpdateRequired = $providerDetails.IsReplicationAgentUpdateRequired
                PrimaryFabricFriendlyName   = $item.PrimaryFabricFriendlyName
                RecoveryFabricFriendlyName  = $item.RecoveryFabricFriendlyName
            }
        }
    }
}

}
Path to the CSV file
$outputFile = ".\output.csv"
Export the replicated items that require an update to a CSV file
$itemsToUpdate | Export-Csv -Path $outputFile -NoTypeInformation
Confirmation message
Write-Output "Export completed. File saved to: $outputFile"
`


No sound in Sirius XM [Exp. 2018-06-08]

From https://groups.google.com/d/msg/nuvola-player-users/MHENCcg8rJ4/Zu7vGutJBgAJ:

I believe I have the latest sirius xm nuvola app with the chromium engine.  I get no sound whatever channel I pick, but the little bars in the channel label are going up and down.  Also, if I go on Chromium, I can play sirius xm, full sound.  A diagnostic window comes up (I don't remember how I got it to come up) and it says there is a problem in  the alsa mixer used by webkit 2.  Does the chromium engine use webkit 2?  Sirius xm did change their player just the day this no sound problem started.  Their (Sirius xm's) new player works fine, as I said, in Chromium.  There may be a problem with the port of the sirius xm playeer to the nuvola app.  No mention of a problem when I search google.  I'm using elementary os.  The nuvola app was scripted to work in elementary, at least when it was using the previous version.  So my question is: has anyone in the group encountered this problem, and if so, does anyone have a soluction?

I cannot reproduce the issue.

Questions for the reporter:

Which version of Nuvola do you use?
Could you provide the debugging output from a terminal as specified in the Bug Reporting Guidelines.
Coul you provide a screenshot of  the diagnostic window if it appears again?

I am using runtime version 4.10.2 (2-gd534d3e).  The Sirius xm script is version 1.4.  I haven't been able to run debugging.  All I can say is the runtime app was playing Sirius xm nicely until Sirius xm changed their player.  I can run other Nuvola apps such as Tunein and Amazon music.

I am using runtime version 4.10.2 (2-gd534d3e). The Sirius xm script is version 1.4.

Could you update to Nuvola 4.11.0 and Sirius xm script 1.4.5?

I haven't been able to run debugging.

What does flatpak run eu.tiliado.NuvolaAppSiriusxm --debug show?

All I can say is the runtime app was playing Sirius xm nicely until Sirius xm changed their player.

The new player works for me.

When I run |"flatpak run eu.tiliado.NuvolaAppSiriusxm --debug" I get:
Gtk-Message: Failed to load module "pantheon-filechooser-module"
Runner: [CRITICAL Δ155149us GLib-GIO] This application can not open files.
Runner: [CRITICAL Δ000105us GLib-GIO] Application will not function
properly.
|
On 05/08/2018 12:30 PM, Jiří Janoušek wrote:

|flatpak run eu.tiliado.NuvolaAppSiriusxm --debug|

When I run |"flatpak run eu.tiliado.NuvolaAppSiriusxm --debug" I get: ...

Is that with Nuvola 4.11.0 and Sirius xm script 1.4.5?? Could you attach the whole debugging output as a text file?

When I run |"flatpak run eu.tiliado.NuvolaAppSiriusxm --debug" I
get: ...

Is that with Nuvola 4.11.0 and Sirius xm script 1.4.5?? Could you attach
the whole debugging output as a text file?
No Jiri, I have Nuvola 4.10.2  and my Sirius xm script is 1.4.
I tried to write the debug output to a text file, but when I stopped the
debugging (It ran for a long long time) and went to the text file, said
file had zero bytes.  So here is the output of the first few seconds of
running the debug that I copied off the terminal screen.
~$ flatpak run eu.tiliado.NuvolaAppSiriusxm --debug
Gtk-Message: Failed to load module "pantheon-filechooser-module"
Runner: [DEBUG Δ148044us DioriteGtk] DesktopShell.vala:251: Shell:
mutter(gala) 3.18.4, CSD 1, appmenu 0, menubar 0
(eu.tiliado.NuvolaAppSiriusxm:2): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1047:30: The style property GtkButton:image-spacing is
deprecated and shouldn't be used anymore. It will be removed in a future
version
(eu.tiliado.NuvolaAppSiriusxm:2): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1048:31: The style property GtkWidget:interior-focus is
deprecated and shouldn't be used anymore. It will be removed in a future
version
(eu.tiliado.NuvolaAppSiriusxm:2): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1049:31: The style property GtkButton:default-border is
deprecated and shouldn't be used anymore. It will be removed in a future
version
Runner: [DEBUG Δ055802us Nuvola] Connection.vala:115: Network Proxy:
system settings
Runner: [DEBUG Δ005612us Nuvola] WebkitOptions.vala:51: MSE supported: no
Runner: [DEBUG Δ204049us Nuvola] AppRunnerController.vala:113: Scale
factor: 1
Runner: [DEBUG Δ049383us Nuvola] FormatSupport.vala:86: Trying to play
/app/share/nuvolaruntime/audio/audiotest.mp3.
Runner: [DEBUG Δ007633us DioriteGtk] Application.vala:276: XFCE session
vanished: org.xfce.SessionManager
Runner: [DEBUG Δ004203us Nuvola] FormatSupport.vala:86: Pipeline state
changed from NULL to READY.
Runner: [DEBUG Δ025147us Nuvola] FormatSupport.vala:86: Pipeline state
changed from READY to PAUSED.
Runner: [DEBUG Δ003167us Nuvola] FormatSupport.vala:86: Pipeline state
changed from PAUSED to PLAYING.
Runner: [DEBUG Δ040724us Nuvola] FormatSupport.vala:86: End of stream
for file /app/share/nuvolaruntime/audio/audiotest.mp3.
Runner: [DEBUG Δ106537us Nuvola] StartupCheck.vala:216: Checking
requirements with WebKitGTK 2.18.6
Runner: [DEBUG Δ000430us Nuvola] WebkitOptions.vala:136:
Nuvola.WebPlugin: Shockwave Flash (enabled, flash) at
/app/lib/flash/libflashplayer.so: Shockwave Flash 27.0 r0
Runner: [DEBUG Δ000342us Nuvola] Traits.vala:62: Feature[flash] ->
DRT_REQUIREMENT_STATE_SUPPORTED
Runner: [DEBUG Δ000320us Nuvola] Traits.vala:62: Codec[mp3] ->
DRT_REQUIREMENT_STATE_SUPPORTED
Runner: [DEBUG Δ000275us Nuvola] StartupCheck.vala:216: Checking
requirements with Chromium 63.0.3239.109
Runner: [DEBUG Δ000321us Nuvola] Traits.vala:62: Feature[flash] ->
DRT_REQUIREMENT_STATE_UNKNOWN
Runner: [DEBUG Δ000304us Nuvola] Traits.vala:62: Codec[mp3] ->
DRT_REQUIREMENT_STATE_SUPPORTED
Runner: [WARNING Δ786051us Nuvola] StartupWindow.vala:205:
tiliado-account-message: Tiliado account: Gene A Fisher
Runner: [DEBUG Δ031307us Nuvola] WebkitEngine.vala:74: Nuvola WebKit
Extension directory: /app/lib/nuvolaruntime
Runner: [DEBUG Δ000323us Nuvola] WebkitEngine.vala:77: Nuvola WebKit
Extension data: {'WEBKITGTK_MICRO': <uint32 6>, 'JS_ENGINE_VERSION':
<'2.18.6'>, 'RUNNER_BUS_NAME': <'N3siriusxm'>, 'WEB_APP_ID':
<'siriusxm'>, 'LIBSOUP_MICRO': <uint32 0>, 'JS_ENGINE_NAME':
<'WebKitGTK'>, 'NUVOLA_API_ROUTER_TOKEN':
<'d3157901527594cfdc9b5ea3d4f8d48e886e068da97e83c5d22aa940c6e95d26'>,
'WEBKITGTK_MAJOR': <uint32 2>, 'LIBSOUP_MAJOR': <uint32 2>,
'WEBKITGTK_MINOR': <uint32 18>, 'JS_ENGINE': <'WebKitGTK 2.18.6'>,
'LIBSOUP_MINOR': <uint32 60>}
Runner: [INFO Δ108705us Nuvola] WebkitEngine.vala:99: User agent set
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1 (KHTML, like Gecko)
Version/11.0 Safari/605.1 Nuvola/4.10.2'
Gtk-Message: Failed to load module "pantheon-filechooser-module"
Runner: [INFO Δ493377us Nuvola] config.vala:230: Config saved to
/home/gene/.var/app/eu.tiliado.NuvolaAppSiriusxm/config/nuvolaruntime/apps_data/siriusxm/config.json
Worker: [DEBUG Δ067692us Nuvola] WebExtension.vala:254: Page 1 created
for (null)
Runner: [DEBUG Δ343398us Nuvola] WebkitEngine.vala:582: Load started
Worker: [DEBUG Δ025376us Nuvola] WebExtension.vala:264: Document loaded
about:loading
Runner: [DEBUG Δ029140us Nuvola] WebkitEngine.vala:576: Terminate
WebKitPluginProcess2
Runner: [DEBUG Δ052809us Nuvola] WebkitEngine.vala:167: Init finished
Runner: [DEBUG Δ002858us Nuvola] WebWorker.vala:80: Cannot call
('Nuvola.actions.emit', <('ActionEnabledChanged', 'go-forward', false)>,
false)
Runner: [DEBUG Δ000718us Nuvola] WebWorker.vala:80: Cannot call
('Nuvola.actions.emit', <('ActionEnabledChanged', 'go-back', false)>, false)
Runner: [DEBUG Δ014248us Nuvola] AppRunnerController.vala:693: Component
tray_icon (Tray Icon) available=true, enabled=false
Runner: [INFO Δ000321us Nuvola] Component.vala:59: Load unity_launcher
Unity Laucher
Runner: [INFO Δ000230us Nuvola] Component.vala:109: Activate:
unity_launcher Unity Laucher
Runner: [DEBUG Δ006048us Nuvola] AppRunnerController.vala:693: Component
unity_launcher (Unity Laucher) available=true, enabled=true
Runner: [DEBUG Δ000353us Nuvola] AppRunnerController.vala:693: Component
notifications (Notifications) available=true, enabled=false
Runner: [INFO Δ000580us Nuvola] Component.vala:59: Load mediakeys Media keys
Runner: [DEBUG Δ000299us Nuvola] AppRunnerController.vala:693: Component
mediakeys (Media keys) available=true, enabled=true
Runner: [DEBUG Δ000547us Nuvola] AppRunnerController.vala:693: Component
passwordmanager (Password Manager (Experimental)) available=true,
enabled=false
Runner: [INFO Δ000352us Nuvola] Component.vala:59: Load scrobbler Audio
Scrobbler Services
Runner: [DEBUG Δ000315us Nuvola] AppRunnerController.vala:693: Component
scrobbler (Audio Scrobbler Services) available=true, enabled=true
Runner: [INFO Δ000371us Nuvola] Component.vala:59: Load mpris MPRIS 2
Runner: [DEBUG Δ000372us Nuvola] AppRunnerController.vala:693: Component
mpris (MPRIS 2) available=true, enabled=true
Runner: [DEBUG Δ000816us Nuvola] AppRunnerController.vala:693: Component
httpremotecontrol (Remote control over HTTP (experimental))
available=true, enabled=false
Runner: [INFO Δ000322us Nuvola] Component.vala:59: Load lyrics Lyrics
Runner: [DEBUG Δ000248us Nuvola] AppRunnerController.vala:693: Component
lyrics (Lyrics) available=true, enabled=true
Runner: [DEBUG Δ000235us Nuvola] AppRunnerController.vala:693: Component
developer (Developer's tools) available=true, enabled=false
Runner: [DEBUG Δ056517us Nuvola] WebkitEngine.vala:155: App Runner
Initialized
Runner: [DEBUG Δ000855us Nuvola] WebkitEngine.vala:159: App Runner Ready
(eu.tiliado.NuvolaAppSiriusxm:2): Gtk-WARNING **: Child name
'lyricssidebar' not found in GtkStack
Runner: [DEBUG Δ030158us Nuvola] WebkitEngine.vala:170: Web Worker Ready
Runner: [DEBUG Δ010789us Nuvola] WebkitEngine.vala:618: Navigation,
current window: uri = https://player.siriusxm.com/favorites/channels,
approved = true, frame = (null), type = WEBKIT_NAVIGATION_TYPE_OTHER,
user gesture false
Runner: [DEBUG Δ003197us Nuvola] WebkitEngine.vala:582: Load started
(eu.tiliado.NuvolaAppSiriusxm:2): Gtk-WARNING **: Unable to parse
accelerator '': ignored request to install 1 accelerators
(eu.tiliado.NuvolaAppSiriusxm:2): Gtk-WARNING **: Unable to parse
accelerator '': ignored request to install 1 accelerators
Runner: [INFO Δ096211us Nuvola] Component.vala:109: Activate: mpris MPRIS 2
Runner: [INFO Δ002749us Nuvola] Component.vala:109: Activate: lyrics Lyrics
Runner: [DEBUG Δ018415us Nuvola] WebWorker.vala:80: Cannot call
('Nuvola.actions.emit', <('ActionEnabledChanged', 'toggle-sidebar',
true)>, false)
Runner: [INFO Δ013611us Nuvola] Component.vala:109: Activate: mediakeys
Media keys
Runner: [DEBUG Δ007295us Nuvola] MPRISProvider.vala:67: Bus acquired:
org.mpris.MediaPlayer2.NuvolaAppSiriusxm, registering objects
Runner: [INFO Δ015814us Nuvola] Component.vala:109: Activate: scrobbler
Audio Scrobbler Services
Runner: [DEBUG Δ022569us Nuvola] MPRISProvider.vala:81: Bus name
acquired: org.mpris.MediaPlayer2.NuvolaAppSiriusxm
(eu.tiliado.NuvolaAppSiriusxm:2): Gtk-WARNING **: Allocating size to
NuvolaSidebar 0x2981f70 without calling
gtk_widget_get_preferred_width/height(). How does the code know the size
to allocate?
Runner: [DEBUG Δ556981us Nuvola] WebAppWindow.vala:176: Sidebar
position: 621
Runner: [DEBUG Δ046029us Nuvola] WebkitEngine.vala:576: Terminate
WebKitPluginProcess2
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:35:15: CONSOLE LOG
Unprefix: webkitIndexedDB -> IndexedDB => true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:35:15: CONSOLE LOG
Unprefix: webkitRequestAnimationFrame -> RequestAnimationFrame => true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:35:15: CONSOLE LOG
Unprefix: webkitCancelAnimationFrame -> CancelAnimationFrame => true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:35:15: CONSOLE LOG
Unprefix: webkitCancelRequestAnimationFrame ->
CancelRequestAnimationFrame => true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:35:15: CONSOLE LOG
Unprefix: webkitConvertPointFromPageToNode -> ConvertPointFromPageToNode
=> true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:35:15: CONSOLE LOG
Unprefix: webkitConvertPointFromNodeToPage -> ConvertPointFromNodeToPage
=> true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:51:14: CONSOLE LOG
Unprefix hidden: webkitAudioContext -> AudioContext => true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:51:14: CONSOLE LOG
Unprefix hidden: webkitAudioPannerNode -> AudioPannerNode => true
file:///app/share/nuvolaruntime/js/webkitgtk-fixes.js:51:14: CONSOLE LOG
Unprefix hidden: webkitOfflineAudioContext -> OfflineAudioContext => true
Worker: [DEBUG Δ01s263225us Nuvola] jsenvironment.vala:61:
~JsEnvironment 0xe2ada0
Worker: [DEBUG Δ000111us Nuvola] WebExtension.vala:119: Window object
cleared for 'https://player.siriusxm.com/favorites/channels'
Worker: [DEBUG Δ000377us Nuvola] WebExtension.vala:158: Init frame:
https://player.siriusxm.com/favorites/channels, 0xe2ad70, 0xca3e60,
0x7f7bf0adc0e8
Runner: [DEBUG Δ06s674296us Nuvola] AppRunnerController.vala:958:
WebWorker not ready
https://player.siriusxm.com/client.bundle.aaba5e7.js:17:835416: CONSOLE
WARN [JS] 17:56:43:636 [WARN] NowPlayingStoreService - Something went
wrong getting channel logo
Runner: [DEBUG Δ03s902126us DioriteGlib] DuplexChannel.vala:551: Channel
(2) has been closed.
Runner: [DEBUG Δ000211us DioriteGlib] DuplexChannel.vala:338: The
channel has already been closed
^C
gene@gene-GB-BXBT-2807:~$

No Jiri, I have Nuvola 4.10.2  and my Sirius xm script is 1.4.

That version is no longer supported. Please upgrade to Nuvola 4.11.0 and Sirius xm script 1.4.5 - use commands flatpak update --system && flatpak update --user. I cannot help you otherwise.

Thanks Jiri,  I upgraded to 4.11.0 and everything works fine now.


optimize e2e kubelet restart case

Signed-off-by: Icarus9913<EMAIL_ADDRESS>

pls add some context in the issue description to introduce the PR


Make field nullable when backend does not require it to be @NotNull or @NotBlank

Basic information

nrich-demo-frontend version: 0.0.3 (only nrich/form-configuration-core is used)

Module: nrich-form-configuration

Additional information

yup version: 0.28.5
Enhancement description
When backend validation does not specify that field has to be @NotNull or @NotBlank then include .nullable() when generating yup schema for that field.

Current behaviour
Current behaviour is that the generated yup schemas expect that every field is not nullable, which is quite problematic when these fields can actually be null. For instance, when updating an entity values returned from the backend for some fields are null (instead of undefined) and this registers as invalid when it is not.

Wanted behaviour
Fields that are nullable should accept null value.

Possible workarounds
A override schema can be added that overrides the generated schema with nullable value, but this brings additional confusion with validation.

@nkescec can you give an example where you have to add this workaround?

Lets say we have on backend a field in our creation DTO like this:
private String note;

As it is visible from no validations, any value is permitted and that includes null.
Unfortunately, when this is parsed into a yup validation on the frontend, it is not declared to the validator that this field can be nullable with .nullable(). Because of that, frontend validation always fails even when the field is permitted to be null. The example where this most often happens is when an entity has to updated and it has null fields.
The workaround is to use the concatenation of the generated yup schema and override schema that specifically says that that field can be nullable.


Move WorldWind renderer calls to a webworker

As a performance measure calls to the renderer could be moved out of the editor controller and into a webworker.

Test case:
All rendering of multipoints is done by calling a worker.
Plot a mil standard multipoint. The test is a success if the graphic renders on the map and it keeps rendering when zoming in and out.

The worker can handle batch calls but that requires converting most of the functions to start accepting batch calls. Right now worldwind is calling the worker for each feature plot and update. Not using batch calls is a performance hit. Using batch calls should  be done in a separate branch.

Reintegrate

Merged into the dev branch. Closing this issue.


Prune duplicated dependency

The current dependency tree contains different versions for same crate, like syn and url. They increase complie time and make binaries bloat. Here is the full list:
 "arbitrary 0.1.1",
 "arbitrary 0.2.0",
 "idna 0.1.5",
 "idna 0.2.0",
 "nom 2.2.1",
 "nom 4.2.3",
 "nom 5.0.1",
 "percent-encoding 1.0.1",
 "percent-encoding 2.1.0",
 "procinfo 0.4.2 (git+https://github.com/tikv/procinfo-rs)",
 "procinfo 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
 "protobuf 2.8.0 (git+https://github.com/nrc/rust-protobuf?branch=v2.8)",
 "protobuf 2.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
 "protobuf-codegen 2.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
 "quote 0.6.13",
 "quote 1.0.2",
 "raft 0.6.0-alpha (registry+https://github.com/rust-lang/crates.io-index)",
 "raft-proto 0.6.0-alpha (git+https://github.com/pingcap/raft-rs)",
 "raft-proto 0.6.0-alpha (registry+https://github.com/rust-lang/crates.io-index)",
 "rand 0.6.5",
 "rand 0.7.2",
 "rand_chacha 0.1.1",
 "rand_chacha 0.2.1",
 "rand_core 0.3.1",
 "rand_core 0.4.2",
 "rand_core 0.5.1",
 "rand_hc 0.1.0",
 "rand_hc 0.2.0",
 "ryu 0.2.8",
 "ryu 1.0.0",
 "scopeguard 0.3.3",
 "scopeguard 1.0.0",
 "static_assertions 0.2.5",
 "static_assertions 0.3.1",
 "strsim 0.8.0",
 "strsim 0.9.2",
 "syn 0.15.44",
 "syn 1.0.5",
 "unicode-xid 0.1.0",
 "unicode-xid 0.2.0",
 "url 1.7.2",
 "url 2.1.0",
 "winapi 0.2.8",
 "winapi 0.3.8",

The list above is generated by
grep -E "^ \"[a-z_-]+ ([0-9\.]){3,}" Cargo.lock | sort | uniq

It would be nice if we can add such check on CI.
#5592 and #5454

Hello I'm new to this project and looking to make my first pull request.
Any tips on how I could take this issue and solve it

Hi! @hk1997
The first step is to locate which crate that is directly dependent by TiKV. Eg, the rand = "0.6.5".
$ find . -name "Cargo.toml" -exec grep "rand = \"" '{}' \;
rand = "0.6.5"
rand = "0.6.5"
…

Then we look into Cargo.lock, and find out rand = "0.7.2" is dependent by tempfile which in turn is dependent by TiKV.
Since we always prefer upgrade, we can replace rand = "0.6.5" by rand = "0.7" in all Cargo.toml, and we run make clippy to check whether it compiles.
Errors may pop up, but don't worry most of them are the same, and we can always find a solution in their doc.
After that we may find rand = "0.6.5" is still in the dependency tree due to other less up-to-date crates, it’s okay we/they are going to upgrade rand sooner or later.

@overvenus  Thank for th heads up.
I will start working on this issue.

If the crate is replaced, then there will be two entries in the lock file, but that is not a duplicate dependency, e.g.,
"protobuf 2.8.0 (git+https://github.com/nrc/rust-protobuf?branch=v2.8)",
 "protobuf 2.8.0 (registry+https://github.com/rust-lang/crates.io-index)"

The first is the crate we replace with, the second is the crate which is replaced. Only the first one is built.
I found that quite a few dups are caused by reqwest which uses old deps in the current published version and new deps on master, but there are a lot of other changes on master too and I don't think they will release soon.
Rand is a mess (very annoying). I found it easier to try and just use 0.6 rather than 0.7 because most of the ecosystem has not upgraded. In any case, rand is mostly used for testing, so I think a better strategy is to try and remove it from the non-dev dependencies so that it does not need to be downloaded or built unless we're testing, I'm not sure if that is the case or not at the moment.

Hmm, yes it's difficult to prune duplicate dependencies unless underlying core packages upgrade to newer versions.
Any heads up on how to identify a dependency as non-dev and remove rand from it

Any heads up on how to identify a dependency as non-dev and remove rand from it

To check is easy: compare the output from Cargo for a clean build and check that rand is not built for cargo build, but is for cargo test. If it is included, then I'm not sure how to fix it - it would depend if it is depended on by one of our crates or a dependency.

Did cargo built, rand is being built for cargo build

I think the next step is to look at Cargo.lock and the individual Cargo.tomls, and find where something uses it as a non-dev dependency. The next step will depend on which crate brings it in. (Note that if a dev-dep uses rand as a non-dev dep, then that still counts as a dev dep and should not pull it in for a build).

@koushiro Is that pr sufficient to close the issue?

@andylokandy  I'm waiting for #8817 to be merged, in which I removed all the dependencies associated with rand 0.6.

Since https://github.com/tikv/tikv/pull/8817 was already merged, this issue can be closed safely.


Creating user model with Passport

Hi all,
Being relatively new to node and knex, I'm wondering how I can integrate a user model with Passport JS. I found tonnes of resources on Passport and Mongoose, but very little about knex(postgres).
Would appreciate it if someone can point me to a direction. Thank you!

Knex has no concept of 'models' as such, it can just help you build SQL and normalizes database responses. Which part specifically were you looking for help with?

Thanks for your reply. In this case, I wouldn't be able to create a knex model for users?  Hence, for creating new users, I create a new 'insert' into my 'users' table, and for users login, I query my 'user' table to check for existing user.
Am not particularly sure what is the best way to go about it with knex.

You might want to look into Bookshelf.js. It adds an ORM layer around Knex.

Thank you!

Hence, for creating new users, I create a new 'insert' into my 'users' table, and for users login, I query my 'user' table to check for existing user.

But yes, essentially that sounds perfect. It should be easy to use knex to replace to query part of any Passport.js tutorial.

Sounds fantastic! Just have to figure how to do hashing of passwords!

Look into the virtuals plug-in if you're using bookshelf.
On Thu, 8 Oct 2015 at 8:39 pm Max<EMAIL_ADDRESS>wrote:

Sounds fantastic! Just have to figure how to do hashing of passwords!
—
Reply to this email directly or view it on GitHub
https://github.com/tgriesser/knex/issues/1013#issuecomment-146474203.


Add more DPS users

Adding 4 more DPS test users in a secure migration

I'm getting an error when trying to run the migrations locally with bin/run-prod-migrations. Have you run that command successfully yourself?
+ readonly migration_file=20181116191945_nov16_dps_users.sql
+ migration_file=20181116191945_nov16_dps_users.sql
+ case $SECURE_MIGRATION_SOURCE in
+ sslmode=disable
+ '[' -z transcom-ppp-app-prod-us-west-2 ']'
+ readonly url=s3://transcom-ppp-app-prod-us-west-2/secure-migrations/20181116191945_nov16_dps_users.sql
+ url=s3://transcom-ppp-app-prod-us-west-2/secure-migrations/20181116191945_nov16_dps_users.sql
+ echo 'Applying secure migrations from S3 using url s3://transcom-ppp-app-prod-us-west-2/secure-migrations/20181116191945_nov16_dps_users.sql'
Applying secure migrations from S3 using url s3://transcom-ppp-app-prod-us-west-2/secure-migrations/20181116191945_nov16_dps_users.sql
+ set +x
[POP] 2018/11/16 12:07:41 info - 4.8979 minutes
[POP] 2018/11/16 12:07:41 info - dumped schema for prod_migrations
Error: error processing ../migrations/20181116191945_nov16_dps_users.up.fizz: could not fizz the migration ../migrations/20181116191945_nov16_dps_users.up.fizz: line 0: error executing command: ./apply-secure-migration.sh<PHONE_NUMBER>1945_nov16_dps_users.sql: exit status 1

I can help troubleshoot after the demo if needed.


Reconstruct all comms after querying kernel

Note: This applies to already running kernels, e.g. when connecting to an active remote kernel
https://jupyter-client.readthedocs.io/en/latest/messaging.html#comm-info
Comm info
When a client needs the currently open comms in the kernel, it can issue a request for the currently open comms. When the optional target_name is specified, the reply only contains the currently open comms for the target.
Message type: comm_info_request:
content = {
    # Optional, the target name
    'target_name': str,
}

Read https://github.com/jupyter-widgets/ipywidgets/issues/2562#issuecomment-534227389
TODO:

Query kernel for open comms
Re-connect to them in widget manager or the like (do what ever we need to do)

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/16288


[FLINK-22085][tests] Add debug code to expose the sink status for KafkaSourceLegacyITCase

What is the purpose of the change
This PR tries to expose the status of the sink for KafkaSourceLegacyITCase to help future debug the unstable cases.
Brief change log

9af118659da3bdf7c392b7fa6d1d88ff5e1cfacb adds the print thread.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@flinkbot run azure

Very thanks @xintongsong for the review!


Change bundle identifier

Hi Felix,
It would be great if it was possible to change the bundle id when resigning.

Sure, sounds good. Do you already have experience with doing that/

Yeah did something similar already.
I'll take a look at it this weekend. :)

That's the script we're currently using: https://github.com/KrauseFx/sigh/blob/master/lib/assets/resign.sh

So adding BUNDLE_IDENTIFIER to the https://github.com/KrauseFx/sigh/blob/master/lib/sigh/options.rb would do the trick?

No, the options.rb is only for the main action. You'll have to add it here

Okay, can do that! I'll check it out and send you a PR.
--
Jelle
www.fousa.be
I craft awesome apps!
On Fri, Jun 19, 2015 at 12:47 PM, Felix Krause<EMAIL_ADDRESS>wrote:

No, the options.rb is only for the main action. You'll have to add it here
Reply to this email directly or view it on GitHub:
https://github.com/KrauseFx/sigh/issues/126#issuecomment-113470099

If you are changing the the bundle identifier, you also need to change it for nested apps (e.g. watch kit apps).
If a host apps has the bundle id com.company.myapp, the nested watch kit app has the bundle id com.company.myapp.watchkitapp.
By changing the bundle id to com.company.anotherappthe corresponding watch kit app has than changed to com.company.anotherapp.watchkitapp


Create a Button with Icon ending

One need to make this component using HTML and CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Button/button_with_icon_end.html.
If you need to use any icon please use it from Hero Icons
Good luck.

Hey, I would like to work on this issue. I used the Tailwind playground as you suggested and created this:

Could you assign me the issue so that I can make a PR :)

Sure @simonpankovski . You are assigned.

This issue is resolved. So closing this PR.